@ezeep/ezeep-js 1.0.314 → 1.0.318
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ezeep.cjs.js +1 -1
- package/dist/cjs/ezp-auth_16.cjs.entry.js +65 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/ezp-auth/ezp-auth.js +67 -9
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +1 -1
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +1 -1
- package/dist/components/ezp-auth2.js +1 -1
- package/dist/components/ezp-backdrop2.js +1 -1
- package/dist/components/ezp-dialog2.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/directives/proxies.ts +7 -1
- package/dist/esm/ezeep.js +1 -1
- package/dist/esm/ezp-auth_16.entry.js +65 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_16.entry.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/{p-82546765.system.entry.js → p-370b211f.system.entry.js} +2 -2
- package/dist/ezeep/p-DCznw2Ee.system.js +1 -1
- package/dist/ezeep/p-be878018.entry.js +1 -0
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +16 -3
- package/dist/types/components.d.ts +5 -0
- package/package.json +1 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/{p-82546765.system.entry.js → p-370b211f.system.entry.js} +2 -2
- package/www/build/p-DCznw2Ee.system.js +1 -1
- package/www/build/{p-222b1c4b.js → p-bb19bfb2.js} +1 -1
- package/www/build/p-be878018.entry.js +1 -0
- package/www/data/locales/de.json +5 -0
- package/www/data/locales/en.json +5 -0
- package/www/index.html +1 -1
- package/dist/ezeep/p-7b8ac37f.entry.js +0 -1
- package/www/build/p-7b8ac37f.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function i(){this.constructor=t}t.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?r(e.value):n(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(i=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];n=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var r={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)r[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++){if(t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n]))r[i[n]]=e[i[n]]}return r};var __await=this&&this.__await||function(e){return this instanceof __await?(this.v=e,this):new __await(e)};var __asyncGenerator=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(e,t||[]),n,a=[];return n=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),n[Symbol.asyncIterator]=function(){return this},n;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){if(i[e]){n[e]=function(t){return new Promise((function(r,i){a.push([e,t,r,i])>1||l(e,t)}))};if(t)n[e]=t(n[e])}}function l(e,t){try{c(i[e](t))}catch(e){m(a[0][3],e)}}function c(e){e.value instanceof __await?Promise.resolve(e.value.v).then(u,d):m(a[0][2],e)}function u(e){l("next",e)}function d(e){l("throw",e)}function m(e,t){if(e(t),a.shift(),a.length)l(a[0][0],a[0][1])}};var __asyncValues=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(t){r[t]=e[t]&&function(r){return new Promise((function(i,a){r=e[t](r),n(i,a,r.done,r.value)}))}}function n(e,t,r,i){Promise.resolve(i).then((function(t){e({value:t,done:r})}),t)}};var __asyncDelegator=this&&this.__asyncDelegator||function(e){var t,r;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,n){t[i]=e[i]?function(t){return(r=!r)?{value:__await(e[i](t)),done:false}:n?n(t):t}:n}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,a;i<n;i++){if(a||!(i in t)){if(!a)a=Array.prototype.slice.call(t,0,i);a[i]=t[i]}}return e.concat(a||Array.prototype.slice.call(t))};var __values=this&&this.__values||function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};System.register(["./p-CYpousxy.system.js"],(function(e){"use strict";var t,r,i,n,a,o,s,l,c;return{setters:[function(e){t=e.S;r=e.f;i=e.r;n=e.a;a=e.h;o=e.d;s=e.g;l=e.e;c=e.F}],execute:function(){var u=this;var d,m;var p;var f=function(e,t,r){var i=e.get(t);if(!i){i=[];e.set(t,i)}if(!i.some((function(e){return e.deref()===r}))){i.push(new WeakRef(r))}};var h=function(e,t){var r;return function(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}if(r){clearTimeout(r)}r=setTimeout((function(){r=0;e.apply(void 0,i)}),t)}};var g=function(e){return!("isConnected"in e)||e.isConnected};var v=h((function(e){for(var t=0,r=e.keys();t<r.length;t++){var i=r[t];var n=e.get(i).filter((function(e){var t=e.deref();return t&&g(t)}));e.set(i,n)}}),2e3);var y=t;var A=y.forceUpdate;var b=y.getRenderingRef;var x=function(){if(typeof b!=="function"||typeof A!=="function"){return{}}var e=A;var t=b;var r=new Map;return{dispose:function(){return r.clear()},get:function(e){var i=t();if(i){f(r,e,i)}},set:function(t){var i=r.get(t);if(i){var n=i.filter((function(t){var r=t.deref();if(!r)return false;return e(r)}));r.set(t,n)}v(r)},reset:function(){r.forEach((function(t){t.forEach((function(t){var r=t.deref();if(r)e(r)}))}));v(r)}}};var N=function(e){return typeof e==="function"?e():e};var C=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var r=function(){var t;return(t=N(e))!==null&&t!==void 0?t:{}};var i=r();var n=new Map(Object.entries(i));var a=typeof Proxy!=="undefined";var o=a?null:{};var s={dispose:[],get:[],set:[],reset:[]};var l=new Map;var c=function(){n=new Map(Object.entries(r()));if(!a){b()}s.reset.forEach((function(e){return e()}))};var u=function(){s.dispose.forEach((function(e){return e()}));c()};var d=function(e){s.get.forEach((function(t){return t(e)}));return n.get(e)};var m=function(e,r){var i=n.get(e);if(t(r,i,e)){n.set(e,r);if(!a){A(e)}s.set.forEach((function(t){return t(e,r,i)}))}};var p=a?new Proxy(i,{get:function(e,t){return d(t)},ownKeys:function(e){return Array.from(n.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return n.has(t)},set:function(e,t,r){m(t,r);return true}}):function(){b();return o}();var f=function(e,t){s[e].push(t);return function(){z(s[e],t)}};var h=function(e,t){var i=function(r,i){if(r===e){t(i)}};var n=function(){var i=r();t(i[e])};var a=f("set",i);var o=f("reset",n);l.set(t,{setHandler:i,resetHandler:n,propName:e});return function(){a();o();l.delete(t)}};var g=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=e.reduce((function(e,t){if(t.set){e.push(f("set",t.set))}if(t.get){e.push(f("get",t.get))}if(t.reset){e.push(f("reset",t.reset))}if(t.dispose){e.push(f("dispose",t.dispose))}return e}),[]);return function(){return r.forEach((function(e){return e()}))}};var v=function(e){var t=n.get(e);s.set.forEach((function(r){return r(e,t,t)}))};var y=function(e,t){var r=l.get(t);if(r&&r.propName===e){z(s.set,r.setHandler);z(s.reset,r.resetHandler);l.delete(t)}};function A(e){if(a||!o){return}if(Object.prototype.hasOwnProperty.call(o,e)){return}Object.defineProperty(o,e,{configurable:true,enumerable:true,get:function(){return d(e)},set:function(t){m(e,t)}})}function b(){if(a||!o){return}var e=new Set(n.keys());for(var t=0,r=Object.keys(o);t<r.length;t++){var i=r[t];if(!e.has(i)){delete o[i]}}for(var s=0,l=e;s<l.length;s++){var i=l[s];A(i)}}return{state:p,get:d,set:m,on:f,onChange:h,use:g,dispose:u,reset:c,forceUpdate:v,removeListener:y}};var z=function(e,t){var r=e.indexOf(t);if(r>=0){e[r]=e[e.length-1];e.length--}};var I=function(e,t){var r=C(e,t);r.use(x());return r};var w=function(e){return typeof e==="string"};var S=function(){var e;var t;var r=new Promise((function(r,i){e=r;t=i}));r.resolve=e;r.reject=t;return r};var B=function(e){if(e==null)return"";return String(e)};var E=function(e,t,r){e.forEach((function(e){if(t[e])r[e]=t[e]}))};var _=/###/g;var k=function(e){return e&&e.includes("###")?e.replace(_,"."):e};var Q=function(e){return!e||w(e)};var P=function(e,t,r){var i=!w(t)?t:t.split(".");var n=0;while(n<i.length-1){if(Q(e))return{};var a=k(i[n]);if(!e[a]&&r)e[a]=new r;if(Object.prototype.hasOwnProperty.call(e,a)){e=e[a]}else{e={}}++n}if(Q(e))return{};return{obj:e,k:k(i[n])}};var M=function(e,t,r){var i=P(e,t,Object),n=i.obj,a=i.k;if(n!==undefined||t.length===1){n[a]=r;return}var o=t[t.length-1];var s=t.slice(0,t.length-1);var l=P(e,s,Object);while(l.obj===undefined&&s.length){o="".concat(s[s.length-1],".").concat(o);s=s.slice(0,s.length-1);l=P(e,s,Object);if((l===null||l===void 0?void 0:l.obj)&&typeof l.obj["".concat(l.k,".").concat(o)]!=="undefined"){l.obj=undefined}}l.obj["".concat(l.k,".").concat(o)]=r};var D=function(e,t,r,i){var n=P(e,t,Object),a=n.obj,o=n.k;a[o]=a[o]||[];a[o].push(r)};var R=function(e,t){var r=P(e,t),i=r.obj,n=r.k;if(!i)return undefined;if(!Object.prototype.hasOwnProperty.call(i,n))return undefined;return i[n]};var T=function(e,t,r){var i=R(e,r);if(i!==undefined){return i}return R(t,r)};var q=function(e,t,r){for(var i in t){if(i!=="__proto__"&&i!=="constructor"){if(Object.prototype.hasOwnProperty.call(e,i)){if(w(e[i])||e[i]instanceof String||w(t[i])||t[i]instanceof String){if(r)e[i]=t[i]}else{q(e[i],t[i],r)}}else{e[i]=t[i]}}}return e};var H=function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")};var U={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};var L=function(e){if(w(e)){return e.replace(/[&<>"'\/]/g,(function(e){return U[e]}))}return e};var F=function(){function e(e){this.capacity=e;this.regExpMap=new Map;this.regExpQueue=[]}e.prototype.getRegExp=function(e){var t=this.regExpMap.get(e);if(t!==undefined){return t}var r=new RegExp(e);if(this.regExpQueue.length===this.capacity){this.regExpMap.delete(this.regExpQueue.shift())}this.regExpMap.set(e,r);this.regExpQueue.push(e);return r};return e}();var O=[" ",",","?","!",";"];var G=new F(20);var Y=function(e,t,r){t=t||"";r=r||"";var i=O.filter((function(e){return!t.includes(e)&&!r.includes(e)}));if(i.length===0)return true;var n=G.getRegExp("(".concat(i.map((function(e){return e==="?"?"\\?":e})).join("|"),")"));var a=!n.test(e);if(!a){var o=e.indexOf(r);if(o>0&&!n.test(e.substring(0,o))){a=true}}return a};var j=function(e,t,r){if(r===void 0){r="."}if(!e)return undefined;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return undefined;return e[t]}var i=t.split(r);var n=e;for(var a=0;a<i.length;){if(!n||typeof n!=="object"){return undefined}var o=void 0;var s="";for(var l=a;l<i.length;++l){if(l!==a){s+=r}s+=i[l];o=n[s];if(o!==undefined){if(["string","number","boolean"].includes(typeof o)&&l<i.length-1){continue}a+=l-a+1;break}}n=o}return n};var K=function(e){return e===null||e===void 0?void 0:e.replace(/_/g,"-")};var J={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){var r,i;(i=(r=console===null||console===void 0?void 0:console[e])===null||r===void 0?void 0:r.apply)===null||i===void 0?void 0:i.call(r,console,t)}};var V=function(){function e(e,t){if(t===void 0){t={}}this.init(e,t)}e.prototype.init=function(e,t){if(t===void 0){t={}}this.prefix=t.prefix||"i18next:";this.logger=e||J;this.options=t;this.debug=t.debug};e.prototype.log=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"log","",true)};e.prototype.warn=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"warn","",true)};e.prototype.error=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"error","")};e.prototype.deprecate=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"warn","WARNING DEPRECATED: ",true)};e.prototype.forward=function(e,t,r,i){if(i&&!this.debug)return null;e=e.map((function(e){return w(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g," "):e}));if(w(e[0]))e[0]="".concat(r).concat(this.prefix," ").concat(e[0]);return this.logger[t](e)};e.prototype.create=function(t){return new e(this.logger,__assign({prefix:"".concat(this.prefix,":").concat(t,":")},this.options))};e.prototype.clone=function(t){t=t||this.options;t.prefix=t.prefix||this.prefix;return new e(this.logger,t)};return e}();var X=new V;var W=function(){function e(){this.observers={}}e.prototype.on=function(e,t){var r=this;e.split(" ").forEach((function(e){if(!r.observers[e])r.observers[e]=new Map;var i=r.observers[e].get(t)||0;r.observers[e].set(t,i+1)}));return this};e.prototype.off=function(e,t){if(!this.observers[e])return;if(!t){delete this.observers[e];return}this.observers[e].delete(t)};e.prototype.once=function(e,t){var r=this;var i=function(){var n=[];for(var a=0;a<arguments.length;a++){n[a]=arguments[a]}t.apply(void 0,n);r.off(e,i)};this.on(e,i);return this};e.prototype.emit=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}if(this.observers[e]){var i=Array.from(this.observers[e].entries());i.forEach((function(e){var r=e[0],i=e[1];for(var n=0;n<i;n++){r.apply(void 0,t)}}))}if(this.observers["*"]){var i=Array.from(this.observers["*"].entries());i.forEach((function(r){var i=r[0],n=r[1];for(var a=0;a<n;a++){i.apply(void 0,__spreadArray([e],t,false))}}))}};return e}();var Z=function(e){__extends(t,e);function t(t,r){if(r===void 0){r={ns:["translation"],defaultNS:"translation"}}var i=e.call(this)||this;i.data=t||{};i.options=r;if(i.options.keySeparator===undefined){i.options.keySeparator="."}if(i.options.ignoreJSONStructure===undefined){i.options.ignoreJSONStructure=true}return i}t.prototype.addNamespaces=function(e){if(!this.options.ns.includes(e)){this.options.ns.push(e)}};t.prototype.removeNamespaces=function(e){var t=this.options.ns.indexOf(e);if(t>-1){this.options.ns.splice(t,1)}};t.prototype.getResource=function(e,t,r,i){var n,a;if(i===void 0){i={}}var o=i.keySeparator!==undefined?i.keySeparator:this.options.keySeparator;var s=i.ignoreJSONStructure!==undefined?i.ignoreJSONStructure:this.options.ignoreJSONStructure;var l;if(e.includes(".")){l=e.split(".")}else{l=[e,t];if(r){if(Array.isArray(r)){l.push.apply(l,r)}else if(w(r)&&o){l.push.apply(l,r.split(o))}else{l.push(r)}}}var c=R(this.data,l);if(!c&&!t&&!r&&e.includes(".")){e=l[0];t=l[1];r=l.slice(2).join(".")}if(c||!s||!w(r))return c;return j((a=(n=this.data)===null||n===void 0?void 0:n[e])===null||a===void 0?void 0:a[t],r,o)};t.prototype.addResource=function(e,t,r,i,n){if(n===void 0){n={silent:false}}var a=n.keySeparator!==undefined?n.keySeparator:this.options.keySeparator;var o=[e,t];if(r)o=o.concat(a?r.split(a):r);if(e.includes(".")){o=e.split(".");i=t;t=o[1]}this.addNamespaces(t);M(this.data,o,i);if(!n.silent)this.emit("added",e,t,r,i)};t.prototype.addResources=function(e,t,r,i){if(i===void 0){i={silent:false}}for(var n in r){if(w(r[n])||Array.isArray(r[n]))this.addResource(e,t,n,r[n],{silent:true})}if(!i.silent)this.emit("added",e,t,r)};t.prototype.addResourceBundle=function(e,t,r,i,n,a){if(a===void 0){a={silent:false,skipCopy:false}}var o=[e,t];if(e.includes(".")){o=e.split(".");i=r;r=t;t=o[1]}this.addNamespaces(t);var s=R(this.data,o)||{};if(!a.skipCopy)r=JSON.parse(JSON.stringify(r));if(i){q(s,r,n)}else{s=__assign(__assign({},s),r)}M(this.data,o,s);if(!a.silent)this.emit("added",e,t,r)};t.prototype.removeResourceBundle=function(e,t){if(this.hasResourceBundle(e,t)){delete this.data[e][t]}this.removeNamespaces(t);this.emit("removed",e,t)};t.prototype.hasResourceBundle=function(e,t){return this.getResource(e,t)!==undefined};t.prototype.getResourceBundle=function(e,t){if(!t)t=this.options.defaultNS;return this.getResource(e,t)};t.prototype.getDataByLanguage=function(e){return this.data[e]};t.prototype.hasLanguageSomeTranslations=function(e){var t=this.getDataByLanguage(e);var r=t&&Object.keys(t)||[];return!!r.find((function(e){return t[e]&&Object.keys(t[e]).length>0}))};t.prototype.toJSON=function(){return this.data};return t}(W);var $={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,r,i,n){var a=this;e.forEach((function(e){var o,s;t=(s=(o=a.processors[e])===null||o===void 0?void 0:o.process(t,r,i,n))!==null&&s!==void 0?s:t}));return t}};var ee=Symbol("i18next/PATH_KEY");function te(){var e=[];var t=Object.create(null);var r;t.get=function(i,n){var a;(a=r===null||r===void 0?void 0:r.revoke)===null||a===void 0?void 0:a.call(r);if(n===ee)return e;e.push(n);r=Proxy.revocable(i,t);return r.proxy};return Proxy.revocable(Object.create(null),t).proxy}function re(e,t){var r,i;var n=e(te()),a=ee,o=n[a];var s=(r=t===null||t===void 0?void 0:t.keySeparator)!==null&&r!==void 0?r:".";var l=(i=t===null||t===void 0?void 0:t.nsSeparator)!==null&&i!==void 0?i:":";var c=(t===null||t===void 0?void 0:t.enableSelector)==="strict";if(o.length>1&&l){var u=t===null||t===void 0?void 0:t.ns;var d=c?Array.isArray(u)?u:u?[u]:null:Array.isArray(u)?u:null;if(d){var m=c?d:d.length>1?d.slice(1):[];if(m.includes(o[0])){return"".concat(o[0]).concat(l).concat(o.slice(1).join(s))}}}return o.join(s)}var ie=function(e){return!w(e)&&typeof e!=="boolean"&&typeof e!=="number"};var ne=function(e){__extends(t,e);function t(t,r){if(r===void 0){r={}}var i=e.call(this)||this;E(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,i);i.options=r;if(i.options.keySeparator===undefined){i.options.keySeparator="."}i.logger=X.create("translator");i.checkedLoadedFor={};return i}t.prototype.changeLanguage=function(e){if(e)this.language=e};t.prototype.exists=function(e,t){if(t===void 0){t={interpolation:{}}}var r=__assign({},t);if(e==null)return false;var i=this.resolve(e,r);if((i===null||i===void 0?void 0:i.res)===undefined)return false;var n=ie(i.res);if(r.returnObjects===false&&n){return false}return true};t.prototype.extractFromKey=function(e,t){var r=t.nsSeparator!==undefined?t.nsSeparator:this.options.nsSeparator;if(r===undefined)r=":";var i=t.keySeparator!==undefined?t.keySeparator:this.options.keySeparator;var n=t.ns||this.options.defaultNS||[];var a=r&&e.includes(r);var o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Y(e,r,i);if(a&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0){return{key:e,namespaces:w(n)?[n]:n}}var l=e.split(r);if(r!==i||r===i&&this.options.ns.includes(l[0]))n=l.shift();e=l.join(i)}return{key:e,namespaces:w(n)?[n]:n}};t.prototype.translate=function(e,r,i){var n=this;var a=typeof r==="object"?__assign({},r):r;if(typeof a!=="object"&&this.options.overloadTranslationOptionHandler){a=this.options.overloadTranslationOptionHandler(arguments)}if(typeof a==="object")a=__assign({},a);if(!a)a={};if(e==null)return"";if(typeof e==="function")e=re(e,__assign(__assign({},this.options),a));if(!Array.isArray(e))e=[String(e)];e=e.map((function(e){return typeof e==="function"?re(e,__assign(__assign({},n.options),a)):String(e)}));var o=a.returnDetails!==undefined?a.returnDetails:this.options.returnDetails;var s=a.keySeparator!==undefined?a.keySeparator:this.options.keySeparator;var l=this.extractFromKey(e[e.length-1],a),c=l.key,u=l.namespaces;var d=u[u.length-1];var m=a.nsSeparator!==undefined?a.nsSeparator:this.options.nsSeparator;if(m===undefined)m=":";var p=a.lng||this.language;var f=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((p===null||p===void 0?void 0:p.toLowerCase())==="cimode"){if(f){if(o){return{res:"".concat(d).concat(m).concat(c),usedKey:c,exactUsedKey:c,usedLng:p,usedNS:d,usedParams:this.getUsedParamsDetails(a)}}return"".concat(d).concat(m).concat(c)}if(o){return{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:d,usedParams:this.getUsedParamsDetails(a)}}return c}var h=this.resolve(e,a);var g=h===null||h===void 0?void 0:h.res;var v=(h===null||h===void 0?void 0:h.usedKey)||c;var y=(h===null||h===void 0?void 0:h.exactUsedKey)||c;var A=["[object Number]","[object Function]","[object RegExp]"];var b=a.joinArrays!==undefined?a.joinArrays:this.options.joinArrays;var x=!this.i18nFormat||this.i18nFormat.handleAsObject;var N=a.count!==undefined&&!w(a.count);var C=t.hasDefaultValue(a);var z=N?this.pluralResolver.getSuffix(p,a.count,a):"";var I=a.ordinal&&N?this.pluralResolver.getSuffix(p,a.count,{ordinal:false}):"";var S=N&&!a.ordinal&&a.count===0;var B=S&&a["defaultValue".concat(this.options.pluralSeparator,"zero")]||a["defaultValue".concat(z)]||a["defaultValue".concat(I)]||a.defaultValue;var E=g;if(x&&!g&&C){E=B}var _=ie(E);var k=Object.prototype.toString.apply(E);if(x&&E&&_&&!A.includes(k)&&!(w(b)&&Array.isArray(E))){if(!a.returnObjects&&!this.options.returnObjects){if(!this.options.returnedObjectHandler){this.logger.warn("accessing an object - but returnObjects options is not enabled!")}var Q=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,E,__assign(__assign({},a),{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");if(o){h.res=Q;h.usedParams=this.getUsedParamsDetails(a);return h}return Q}if(s){var P=Array.isArray(E);var M=P?[]:{};var D=P?y:v;for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var T="".concat(D).concat(s).concat(R);if(C&&!g){M[R]=this.translate(T,__assign(__assign(__assign({},a),{defaultValue:ie(B)?B[R]:undefined}),{joinArrays:false,ns:u}))}else{M[R]=this.translate(T,__assign(__assign({},a),{joinArrays:false,ns:u}))}if(M[R]===T)M[R]=E[R]}}g=M}}else if(x&&w(b)&&Array.isArray(g)){g=g.join(b);if(g)g=this.extendTranslation(g,e,a,i)}else{var q=false;var H=false;if(!this.isValidLookup(g)&&C){q=true;g=B}if(!this.isValidLookup(g)){H=true;g=c}var U=a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey;var L=U&&H?undefined:g;var F=C&&B!==g&&this.options.updateMissing;if(H||q||F){this.logger.log(F?"updateKey":"missingKey",p,d,N&&!F?"".concat(c).concat(this.pluralResolver.getSuffix(p,a.count,a)):c,F?B:g);if(s){var O=this.resolve(c,__assign(__assign({},a),{keySeparator:false}));if(O&&O.res)this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var G=[];var Y=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Y&&Y[0]){for(var j=0;j<Y.length;j++){G.push(Y[j])}}else if(this.options.saveMissingTo==="all"){G=this.languageUtils.toResolveHierarchy(a.lng||this.language)}else{G.push(a.lng||this.language)}var K=function(e,t,r){var i;var o=C&&r!==g?r:L;if(n.options.missingKeyHandler){n.options.missingKeyHandler(e,d,t,o,F,a)}else if((i=n.backendConnector)===null||i===void 0?void 0:i.saveMissing){n.backendConnector.saveMissing(e,d,t,o,F,a)}n.emit("missingKey",e,d,t,g)};if(this.options.saveMissing){if(this.options.saveMissingPlurals&&N){G.forEach((function(e){var t=n.pluralResolver.getSuffixes(e,a);if(S&&a["defaultValue".concat(n.options.pluralSeparator,"zero")]&&!t.includes("".concat(n.options.pluralSeparator,"zero"))){t.push("".concat(n.options.pluralSeparator,"zero"))}t.forEach((function(t){K([e],c+t,a["defaultValue".concat(t)]||B)}))}))}else{K(G,c,B)}}}g=this.extendTranslation(g,e,a,h,i);if(H&&g===c&&this.options.appendNamespaceToMissingKey){g="".concat(d).concat(m).concat(c)}if((H||q)&&this.options.parseMissingKeyHandler){g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d).concat(m).concat(c):c,q?g:undefined,a)}}if(o){h.res=g;h.usedParams=this.getUsedParamsDetails(a);return h}return g};t.prototype.extendTranslation=function(e,t,r,i,n){var a=this;var o,s;if((o=this.i18nFormat)===null||o===void 0?void 0:o.parse){e=this.i18nFormat.parse(e,__assign(__assign({},this.options.interpolation.defaultVariables),r),r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i})}else if(!r.skipInterpolation){if(r.interpolation)this.interpolator.init(__assign(__assign({},r),{interpolation:__assign(__assign({},this.options.interpolation),r.interpolation)}));var l=w(e)&&(((s=r===null||r===void 0?void 0:r.interpolation)===null||s===void 0?void 0:s.skipOnVariables)!==undefined?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);var c=void 0;if(l){var u=e.match(this.interpolator.nestingRegexp);c=u&&u.length}var d=r.replace&&!w(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables)d=__assign(__assign({},this.options.interpolation.defaultVariables),d);e=this.interpolator.interpolate(e,d,r.lng||this.language||i.usedLng,r);if(l){var m=e.match(this.interpolator.nestingRegexp);var p=m&&m.length;if(c<p)r.nest=false}if(!r.lng&&i&&i.res)r.lng=this.language||i.usedLng;if(r.nest!==false)e=this.interpolator.nest(e,(function(){var e=[];for(var i=0;i<arguments.length;i++){e[i]=arguments[i]}if((n===null||n===void 0?void 0:n[0])===e[0]&&!r.context){a.logger.warn("It seems you are nesting recursively key: ".concat(e[0]," in key: ").concat(t[0]));return null}return a.translate.apply(a,__spreadArray(__spreadArray([],e,false),[t],false))}),r);if(r.interpolation)this.interpolator.reset()}var f=r.postProcess||this.options.postProcess;var h=w(f)?[f]:f;if(e!=null&&(h===null||h===void 0?void 0:h.length)&&r.applyPostProcessor!==false){e=$.handle(h,e,t,this.options&&this.options.postProcessPassResolved?__assign({i18nResolved:__assign(__assign({},i),{usedParams:this.getUsedParamsDetails(r)})},r):r,this)}return e};t.prototype.resolve=function(e,t){var r=this;if(t===void 0){t={}}var i;var n;var a;var o;var s;if(w(e))e=[e];if(Array.isArray(e))e=e.map((function(e){return typeof e==="function"?re(e,__assign(__assign({},r.options),t)):e}));e.forEach((function(e){if(r.isValidLookup(i))return;var l=r.extractFromKey(e,t);var c=l.key;n=c;var u=l.namespaces;if(r.options.fallbackNS)u=u.concat(r.options.fallbackNS);var d=t.count!==undefined&&!w(t.count);var m=d&&!t.ordinal&&t.count===0;var p=t.context!==undefined&&(w(t.context)||typeof t.context==="number")&&t.context!=="";var f=t.lngs?t.lngs:r.languageUtils.toResolveHierarchy(t.lng||r.language,t.fallbackLng);u.forEach((function(e){var l,u;if(r.isValidLookup(i))return;s=e;if(!r.checkedLoadedFor["".concat(f[0],"-").concat(e)]&&((l=r.utils)===null||l===void 0?void 0:l.hasLoadedNamespace)&&!((u=r.utils)===null||u===void 0?void 0:u.hasLoadedNamespace(s))){r.checkedLoadedFor["".concat(f[0],"-").concat(e)]=true;r.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(s,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}f.forEach((function(n){var s;if(r.isValidLookup(i))return;o=n;var l=[c];if((s=r.i18nFormat)===null||s===void 0?void 0:s.addLookupKeys){r.i18nFormat.addLookupKeys(l,c,n,e,t)}else{var u=void 0;if(d)u=r.pluralResolver.getSuffix(n,t.count,t);var f="".concat(r.options.pluralSeparator,"zero");var h="".concat(r.options.pluralSeparator,"ordinal").concat(r.options.pluralSeparator);if(d){if(t.ordinal&&u.startsWith(h)){l.push(c+u.replace(h,r.options.pluralSeparator))}l.push(c+u);if(m){l.push(c+f)}}if(p){var g="".concat(c).concat(r.options.contextSeparator||"_").concat(t.context);l.push(g);if(d){if(t.ordinal&&u.startsWith(h)){l.push(g+u.replace(h,r.options.pluralSeparator))}l.push(g+u);if(m){l.push(g+f)}}}}var v;while(v=l.pop()){if(!r.isValidLookup(i)){a=v;i=r.getResource(n,e,v,t)}}}))}))}));return{res:i,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:s}};t.prototype.isValidLookup=function(e){return e!==undefined&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")};t.prototype.getResource=function(e,t,r,i){var n;if(i===void 0){i={}}if((n=this.i18nFormat)===null||n===void 0?void 0:n.getResource)return this.i18nFormat.getResource(e,t,r,i);return this.resourceStore.getResource(e,t,r,i)};t.prototype.getUsedParamsDetails=function(e){if(e===void 0){e={}}var t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"];var r=e.replace&&!w(e.replace);var i=r?e.replace:e;if(r&&typeof e.count!=="undefined"){i.count=e.count}if(this.options.interpolation.defaultVariables){i=__assign(__assign({},this.options.interpolation.defaultVariables),i)}if(!r){i=__assign({},i);for(var n=0,a=t;n<a.length;n++){var o=a[n];delete i[o]}}return i};t.hasDefaultValue=function(e){var t="defaultValue";for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)&&r.startsWith(t)&&undefined!==e[r]){return true}}return false};return t}(W);var ae=function(){function e(e){this.options=e;this.supportedLngs=this.options.supportedLngs||false;this.logger=X.create("languageUtils")}e.prototype.getScriptPartFromCode=function(e){e=K(e);if(!e||!e.includes("-"))return null;var t=e.split("-");if(t.length===2)return null;t.pop();if(t[t.length-1].toLowerCase()==="x")return null;return this.formatLanguageCode(t.join("-"))};e.prototype.getLanguagePartFromCode=function(e){e=K(e);if(!e||!e.includes("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])};e.prototype.formatLanguageCode=function(e){if(w(e)&&e.includes("-")){var t=void 0;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}if(t&&this.options.lowerCaseLng){t=t.toLowerCase()}if(t)return t;if(this.options.lowerCaseLng){return e.toLowerCase()}return e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e};e.prototype.isSupportedCode=function(e){if(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs){e=this.getLanguagePartFromCode(e)}return!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)};e.prototype.getBestMatchFromCodes=function(e){var t=this;if(!e)return null;var r;e.forEach((function(e){if(r)return;var i=t.formatLanguageCode(e);if(!t.options.supportedLngs||t.isSupportedCode(i))r=i}));if(!r&&this.options.supportedLngs){e.forEach((function(e){if(r)return;var i=t.getScriptPartFromCode(e);if(t.isSupportedCode(i))return r=i;var n=t.getLanguagePartFromCode(e);if(t.isSupportedCode(n))return r=n;r=t.options.supportedLngs.find((function(e){if(e===n)return true;if(!e.includes("-")&&!n.includes("-"))return false;if(e.includes("-")&&!n.includes("-")&&e.slice(0,e.indexOf("-"))===n)return true;if(e.startsWith(n)&&n.length>1)return true;return false}))}))}if(!r)r=this.getFallbackCodes(this.options.fallbackLng)[0];return r};e.prototype.getFallbackCodes=function(e,t){if(!e)return[];if(typeof e==="function")e=e(t);if(w(e))e=[e];if(Array.isArray(e))return e;if(!t)return e.default||[];var r=e[t];if(!r)r=e[this.getScriptPartFromCode(t)];if(!r)r=e[this.formatLanguageCode(t)];if(!r)r=e[this.getLanguagePartFromCode(t)];if(!r)r=e.default;return r||[]};e.prototype.toResolveHierarchy=function(e,t){var r=this;var i=this.getFallbackCodes((t===false?[]:t)||this.options.fallbackLng||[],e);var n=[];var a=function(e){if(!e)return;if(r.isSupportedCode(e)){n.push(e)}else{r.logger.warn("rejecting language code not found in supportedLngs: ".concat(e))}};if(w(e)&&(e.includes("-")||e.includes("_"))){if(this.options.load!=="languageOnly")a(this.formatLanguageCode(e));if(this.options.load!=="languageOnly"&&this.options.load!=="currentOnly")a(this.getScriptPartFromCode(e));if(this.options.load!=="currentOnly")a(this.getLanguagePartFromCode(e))}else if(w(e)){a(this.formatLanguageCode(e))}i.forEach((function(e){if(!n.includes(e))a(r.formatLanguageCode(e))}));return n};return e}();var oe={zero:0,one:1,two:2,few:3,many:4,other:5};var se={select:function(e){return e===1?"one":"other"},resolvedOptions:function(){return{pluralCategories:["one","other"]}}};var le=function(){function e(e,t){if(t===void 0){t={}}this.languageUtils=e;this.options=t;this.logger=X.create("pluralResolver");this.pluralRulesCache={}}e.prototype.clearCache=function(){this.pluralRulesCache={}};e.prototype.getRule=function(e,t){if(t===void 0){t={}}var r=K(e==="dev"?"en":e);var i=t.ordinal?"ordinal":"cardinal";var n=JSON.stringify({cleanedCode:r,type:i});if(n in this.pluralRulesCache){return this.pluralRulesCache[n]}var a;try{a=new Intl.PluralRules(r,{type:i})}catch(r){if(typeof Intl==="undefined"){this.logger.error("No Intl support, please use an Intl polyfill!");return se}if(!e.match(/-|_/))return se;var o=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(o,t)}this.pluralRulesCache[n]=a;return a};e.prototype.needsPlural=function(e,t){if(t===void 0){t={}}var r=this.getRule(e,t);if(!r)r=this.getRule("dev",t);return(r===null||r===void 0?void 0:r.resolvedOptions().pluralCategories.length)>1};e.prototype.getPluralFormsOfKey=function(e,t,r){if(r===void 0){r={}}return this.getSuffixes(e,r).map((function(e){return"".concat(t).concat(e)}))};e.prototype.getSuffixes=function(e,t){var r=this;if(t===void 0){t={}}var i=this.getRule(e,t);if(!i)i=this.getRule("dev",t);if(!i)return[];return i.resolvedOptions().pluralCategories.sort((function(e,t){return oe[e]-oe[t]})).map((function(e){return"".concat(r.options.prepend).concat(t.ordinal?"ordinal".concat(r.options.prepend):"").concat(e)}))};e.prototype.getSuffix=function(e,t,r){if(r===void 0){r={}}var i=this.getRule(e,r);if(i){return"".concat(this.options.prepend).concat(r.ordinal?"ordinal".concat(this.options.prepend):"").concat(i.select(t))}this.logger.warn("no plural rule found for: ".concat(e));return this.getSuffix("dev",t,r)};return e}();var ce=function(e,t,r,i,n){if(i===void 0){i="."}if(n===void 0){n=true}var a=T(e,t,r);if(!a&&n&&w(r)){a=j(e,r,i);if(a===undefined)a=j(t,r,i)}return a};var ue=function(e){return e.replace(/\$/g,"$$$$")};var de=function(){function e(e){if(e===void 0){e={}}var t;this.logger=X.create("interpolator");this.options=e;this.format=((t=e===null||e===void 0?void 0:e.interpolation)===null||t===void 0?void 0:t.format)||function(e){return e};this.init(e)}e.prototype.init=function(e){if(e===void 0){e={}}if(!e.interpolation)e.interpolation={escapeValue:true};var t=e.interpolation,r=t.escape,i=t.escapeValue,n=t.useRawValueToEscape,a=t.prefix,o=t.prefixEscaped,s=t.suffix,l=t.suffixEscaped,c=t.formatSeparator,u=t.unescapeSuffix,d=t.unescapePrefix,m=t.nestingPrefix,p=t.nestingPrefixEscaped,f=t.nestingSuffix,h=t.nestingSuffixEscaped,g=t.nestingOptionsSeparator,v=t.maxReplaces,y=t.alwaysFormat;this.escape=r!==undefined?r:L;this.escapeValue=i!==undefined?i:true;this.useRawValueToEscape=n!==undefined?n:false;this.prefix=a?H(a):o||"{{";this.suffix=s?H(s):l||"}}";this.formatSeparator=c||",";this.unescapePrefix=u?"":d?H(d):"-";this.unescapeSuffix=this.unescapePrefix?"":u?H(u):"";this.nestingPrefix=m?H(m):p||H("$t(");this.nestingSuffix=f?H(f):h||H(")");this.nestingOptionsSeparator=g||",";this.maxReplaces=v||1e3;this.alwaysFormat=y!==undefined?y:false;this.resetRegExp()};e.prototype.reset=function(){if(this.options)this.init(this.options)};e.prototype.resetRegExp=function(){var e=function(e,t){if((e===null||e===void 0?void 0:e.source)===t){e.lastIndex=0;return e}return new RegExp(t,"g")};this.regexp=e(this.regexp,"".concat(this.prefix,"(.+?)").concat(this.suffix));this.regexpUnescape=e(this.regexpUnescape,"".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix));this.nestingRegexp=e(this.nestingRegexp,"".concat(this.nestingPrefix,"((?:[^()\"']+|\"[^\"]*\"|'[^']*'|\\((?:[^()]|\"[^\"]*\"|'[^']*')*\\))*?)").concat(this.nestingSuffix))};e.prototype.interpolate=function(e,t,r,i){var n=this;var a;var o;var s;var l;var c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};var u=function(e){if(!e.includes(n.formatSeparator)){var a=ce(t,c,e,n.options.keySeparator,n.options.ignoreJSONStructure);return n.alwaysFormat?n.format(a,undefined,r,__assign(__assign(__assign({},i),t),{interpolationkey:e})):a}var o=e.split(n.formatSeparator);var s=o.shift().trim();var l=o.join(n.formatSeparator).trim();return n.format(ce(t,c,s,n.options.keySeparator,n.options.ignoreJSONStructure),l,r,__assign(__assign(__assign({},i),t),{interpolationkey:s}))};this.resetRegExp();if(!this.escapeValue&&typeof e==="string"&&/\$t\([^)]*\{[^}]*\{\{/.test(e)){this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — "+"if any of those values are attacker-controlled they can inject additional "+"nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing "+"it to t(), or keep escapeValue: true.")}var d=(i===null||i===void 0?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler;var m=((a=i===null||i===void 0?void 0:i.interpolation)===null||a===void 0?void 0:a.skipOnVariables)!==undefined?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;var p=[{regex:this.regexpUnescape,safeValue:function(e){return ue(e)}},{regex:this.regexp,safeValue:function(e){return n.escapeValue?ue(n.escape(e)):ue(e)}}];p.forEach((function(t){l=0;while(o=t.regex.exec(e)){var r=o[1].trim();s=u(r);if(s===undefined){if(typeof d==="function"){var a=d(e,o,i);s=w(a)?a:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r)){s=""}else if(m){s=o[0];continue}else{n.logger.warn("missed to pass in variable ".concat(r," for interpolating ").concat(e));s=""}}else if(!w(s)&&!n.useRawValueToEscape){s=B(s)}var c=t.safeValue(s);e=e.replace(o[0],c);if(m){t.regex.lastIndex+=s.length;t.regex.lastIndex-=o[0].length}else{t.regex.lastIndex=0}l++;if(l>=n.maxReplaces){break}}}));return e};e.prototype.nest=function(e,t,r){var i=this;if(r===void 0){r={}}var n;var a;var o;var s=function(e,t){var r,n;var a=i.nestingOptionsSeparator;if(!e.includes(a))return e;var s=e.split(new RegExp("".concat(H(a),"[ ]*{")));var l="{".concat(s[1]);e=s[0];l=i.interpolate(l,o);var c=l.match(/'/g);var u=l.match(/"/g);if(((r=c===null||c===void 0?void 0:c.length)!==null&&r!==void 0?r:0)%2===0&&!u||((n=u===null||u===void 0?void 0:u.length)!==null&&n!==void 0?n:0)%2!==0){l=l.replace(/'/g,'"')}try{o=JSON.parse(l);if(t)o=__assign(__assign({},t),o)}catch(t){i.logger.warn("failed parsing options string in nesting for key ".concat(e),t);return"".concat(e).concat(a).concat(l)}if(o.defaultValue&&o.defaultValue.includes(i.prefix))delete o.defaultValue;return e};while(n=this.nestingRegexp.exec(e)){var l=[];o=__assign({},r);o=o.replace&&!w(o.replace)?o.replace:o;o.applyPostProcessor=false;delete o.defaultValue;var c=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(c!==-1){l=n[1].slice(c).split(this.formatSeparator).map((function(e){return e.trim()})).filter(Boolean);n[1]=n[1].slice(0,c)}a=t(s.call(this,n[1].trim(),o),o);if(a&&n[0]===e&&!w(a))return a;if(!w(a))a=B(a);if(!a){this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e));a=""}if(l.length){a=l.reduce((function(e,t){return i.format(e,t,r.lng,__assign(__assign({},r),{interpolationkey:n[1].trim()}))}),a.trim())}e=e.replace(n[0],a);this.regexp.lastIndex=0}return e};return e}();var me=function(e){var t=e.toLowerCase().trim();var r={};if(e.includes("(")){var i=e.split("(");t=i[0].toLowerCase().trim();var n=i[1].slice(0,-1);if(t==="currency"&&!n.includes(":")){if(!r.currency)r.currency=n.trim()}else if(t==="relativetime"&&!n.includes(":")){if(!r.range)r.range=n.trim()}else{var a=n.split(";");a.forEach((function(e){if(e){var t=e.split(":"),i=t[0],n=t.slice(1);var a=n.join(":").trim().replace(/^'+|'+$/g,"");var o=i.trim();if(!r[o])r[o]=a;if(a==="false")r[o]=false;if(a==="true")r[o]=true;if(!isNaN(a))r[o]=parseInt(a,10)}}))}}return{formatName:t,formatOptions:r}};var pe=function(e){var t={};return function(r,i,n){var a;var o=n;if(n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]){o=__assign(__assign({},o),(a={},a[n.interpolationkey]=undefined,a))}var s=i+JSON.stringify(o);var l=t[s];if(!l){l=e(K(i),n);t[s]=l}return l(r)}};var fe=function(e){return function(t,r,i){return e(K(r),i)(t)}};var he=function(){function e(e){if(e===void 0){e={}}this.logger=X.create("formatter");this.options=e;this.init(e)}e.prototype.init=function(e,t){if(t===void 0){t={interpolation:{}}}this.formatSeparator=t.interpolation.formatSeparator||",";var r=t.cacheInBuiltFormats?pe:fe;this.formats={number:r((function(e,t){var r=new Intl.NumberFormat(e,__assign({},t));return function(e){return r.format(e)}})),currency:r((function(e,t){var r=new Intl.NumberFormat(e,__assign(__assign({},t),{style:"currency"}));return function(e){return r.format(e)}})),datetime:r((function(e,t){var r=new Intl.DateTimeFormat(e,__assign({},t));return function(e){return r.format(e)}})),relativetime:r((function(e,t){var r=new Intl.RelativeTimeFormat(e,__assign({},t));return function(e){return r.format(e,t.range||"day")}})),list:r((function(e,t){var r=new Intl.ListFormat(e,__assign({},t));return function(e){return r.format(e)}}))}};e.prototype.add=function(e,t){this.formats[e.toLowerCase().trim()]=t};e.prototype.addCached=function(e,t){this.formats[e.toLowerCase().trim()]=pe(t)};e.prototype.format=function(e,t,r,i){var n=this;if(i===void 0){i={}}if(!t)return e;if(e==null)return e;var a=t.split(this.formatSeparator);var o=[];for(var s=0;s<a.length;s++){var l=a[s];while(l.indexOf("(")>-1&&!l.includes(")")&&s+1<a.length){l="".concat(l).concat(this.formatSeparator).concat(a[++s])}o.push(l)}var c=o.reduce((function(e,t){var a;var o=me(t),s=o.formatName,l=o.formatOptions;if(n.formats[s]){var c=e;try{var u=((a=i===null||i===void 0?void 0:i.formatParams)===null||a===void 0?void 0:a[i.interpolationkey])||{};var d=u.locale||u.lng||i.locale||i.lng||r;c=n.formats[s](e,d,__assign(__assign(__assign({},l),i),u))}catch(e){n.logger.warn(e)}return c}else{n.logger.warn("there was no format function for ".concat(s))}return e}),e);return c};return e}();var ge=function(e,t){if(e.pending[t]!==undefined){delete e.pending[t];e.pendingCount--}};var ve=function(e){__extends(t,e);function t(t,r,i,n){if(n===void 0){n={}}var a,o;var s=e.call(this)||this;s.backend=t;s.store=r;s.services=i;s.languageUtils=i.languageUtils;s.options=n;s.logger=X.create("backendConnector");s.waitingReads=[];s.maxParallelReads=n.maxParallelReads||10;s.readingCalls=0;s.maxRetries=n.maxRetries>=0?n.maxRetries:5;s.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350;s.state={};s.queue=[];(o=(a=s.backend)===null||a===void 0?void 0:a.init)===null||o===void 0?void 0:o.call(a,i,n.backend,n);return s}t.prototype.queueLoad=function(e,t,r,i){var n=this;var a={};var o={};var s={};var l={};e.forEach((function(e){var i=true;t.forEach((function(t){var s="".concat(e,"|").concat(t);if(!r.reload&&n.store.hasResourceBundle(e,t)){n.state[s]=2}else if(n.state[s]<0);else if(n.state[s]===1){if(o[s]===undefined)o[s]=true}else{n.state[s]=1;i=false;if(o[s]===undefined)o[s]=true;if(a[s]===undefined)a[s]=true;if(l[t]===undefined)l[t]=true}}));if(!i)s[e]=true}));if(Object.keys(a).length||Object.keys(o).length){this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i})}return{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}};t.prototype.loaded=function(e,t,r){var i=e.split("|");var n=i[0];var a=i[1];if(t)this.emit("failedLoading",n,a,t);if(!t&&r){this.store.addResourceBundle(n,a,r,undefined,undefined,{skipCopy:true})}this.state[e]=t?-1:2;if(t&&r)this.state[e]=0;var o={};this.queue.forEach((function(r){D(r.loaded,[n],a);ge(r,e);if(t)r.errors.push(t);if(r.pendingCount===0&&!r.done){Object.keys(r.loaded).forEach((function(e){if(!o[e])o[e]={};var t=r.loaded[e];if(t.length){t.forEach((function(t){if(o[e][t]===undefined)o[e][t]=true}))}}));r.done=true;if(r.errors.length){r.callback(r.errors)}else{r.callback()}}}));this.emit("loaded",o);this.queue=this.queue.filter((function(e){return!e.done}))};t.prototype.read=function(e,t,r,i,n,a){var o=this;if(i===void 0){i=0}if(n===void 0){n=this.retryTimeout}if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:n,callback:a});return}this.readingCalls++;var s=function(s,l){o.readingCalls--;if(o.waitingReads.length>0){var c=o.waitingReads.shift();o.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(s&&l&&i<o.maxRetries){setTimeout((function(){o.read(e,t,r,i+1,n*2,a)}),n);return}a(s,l)};var l=this.backend[r].bind(this.backend);if(l.length===2){try{var c=l(e,t);if(c&&typeof c.then==="function"){c.then((function(e){return s(null,e)})).catch(s)}else{s(null,c)}}catch(e){s(e)}return}return l(e,t,s)};t.prototype.prepareLoading=function(e,t,r,i){var n=this;if(r===void 0){r={}}if(!this.backend){this.logger.warn("No backend was added via i18next.use. Will not load resources.");return i&&i()}if(w(e))e=this.languageUtils.toResolveHierarchy(e);if(w(t))t=[t];var a=this.queueLoad(e,t,r,i);if(!a.toLoad.length){if(!a.pending.length)i();return null}a.toLoad.forEach((function(e){n.loadOne(e)}))};t.prototype.load=function(e,t,r){this.prepareLoading(e,t,{},r)};t.prototype.reload=function(e,t,r){this.prepareLoading(e,t,{reload:true},r)};t.prototype.loadOne=function(e,t){var r=this;if(t===void 0){t=""}var i=e.split("|");var n=i[0];var a=i[1];this.read(n,a,"read",undefined,undefined,(function(i,o){if(i)r.logger.warn("".concat(t,"loading namespace ").concat(a," for language ").concat(n," failed"),i);if(!i&&o)r.logger.log("".concat(t,"loaded namespace ").concat(a," for language ").concat(n),o);r.loaded(e,i,o)}))};t.prototype.saveMissing=function(e,t,r,i,n,a,o){var s,l,c,u,d;if(a===void 0){a={}}if(o===void 0){o=function(){}}if(((l=(s=this.services)===null||s===void 0?void 0:s.utils)===null||l===void 0?void 0:l.hasLoadedNamespace)&&!((u=(c=this.services)===null||c===void 0?void 0:c.utils)===null||u===void 0?void 0:u.hasLoadedNamespace(t))){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(r===undefined||r===null||r==="")return;if((d=this.backend)===null||d===void 0?void 0:d.create){var m=__assign(__assign({},a),{isUpdate:n});var p=this.backend.create.bind(this.backend);if(p.length<6){try{var f=void 0;if(p.length===5){f=p(e,t,r,i,m)}else{f=p(e,t,r,i)}if(f&&typeof f.then==="function"){f.then((function(e){return o(null,e)})).catch(o)}else{o(null,f)}}catch(e){o(e)}}else{p(e,t,r,i,o,m)}}if(!e||!e[0])return;this.store.addResource(e[0],t,r,i)};return t}(W);var ye=function(){return{debug:false,initAsync:true,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:false,supportedLngs:false,nonExplicitSupportedLngs:false,load:"all",preload:false,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",enableSelector:false,partialBundledLanguages:false,saveMissing:false,updateMissing:false,saveMissingTo:"fallback",saveMissingPlurals:true,missingKeyHandler:false,missingInterpolationHandler:false,postProcess:false,postProcessPassResolved:false,returnNull:false,returnEmptyString:true,returnObjects:false,joinArrays:false,returnedObjectHandler:false,parseMissingKeyHandler:false,appendNamespaceToMissingKey:false,appendNamespaceToCIMode:false,overloadTranslationOptionHandler:function(e){var t={};if(typeof e[1]==="object")t=e[1];if(w(e[1]))t.defaultValue=e[1];if(w(e[2]))t.tDescription=e[2];if(typeof e[2]==="object"||typeof e[3]==="object"){var r=e[3]||e[2];Object.keys(r).forEach((function(e){t[e]=r[e]}))}return t},interpolation:{escapeValue:true,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:true},cacheInBuiltFormats:true}};var Ae=function(e){if(w(e.ns))e.ns=[e.ns];if(w(e.fallbackLng))e.fallbackLng=[e.fallbackLng];if(w(e.fallbackNS))e.fallbackNS=[e.fallbackNS];if(e.supportedLngs&&!e.supportedLngs.includes("cimode")){e.supportedLngs=e.supportedLngs.concat(["cimode"])}return e};var be=function(){};var xe=function(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach((function(t){if(typeof e[t]==="function"){e[t]=e[t].bind(e)}}))};var Ne=function(e){__extends(t,e);function t(t,r){if(t===void 0){t={}}var i=e.call(this)||this;i.options=Ae(t);i.services={};i.logger=X;i.modules={external:[]};xe(i);if(r&&!i.isInitialized&&!t.isClone){if(!i.options.initAsync){i.init(t,r);return i}setTimeout((function(){i.init(t,r)}),0)}return i}t.prototype.init=function(e,t){var r=this;if(e===void 0){e={}}this.isInitializing=true;if(typeof e==="function"){t=e;e={}}if(e.defaultNS==null&&e.ns){if(w(e.ns)){e.defaultNS=e.ns}else if(!e.ns.includes("translation")){e.defaultNS=e.ns[0]}}var i=ye();this.options=__assign(__assign(__assign({},i),this.options),Ae(e));this.options.interpolation=__assign(__assign({},i.interpolation),this.options.interpolation);if(e.keySeparator!==undefined){this.options.userDefinedKeySeparator=e.keySeparator}if(e.nsSeparator!==undefined){this.options.userDefinedNsSeparator=e.nsSeparator}if(typeof this.options.overloadTranslationOptionHandler!=="function"){this.options.overloadTranslationOptionHandler=i.overloadTranslationOptionHandler}var n=function(e){if(!e)return null;if(typeof e==="function")return new e;return e};if(!this.options.isClone){if(this.modules.logger){X.init(n(this.modules.logger),this.options)}else{X.init(null,this.options)}var a=void 0;if(this.modules.formatter){a=this.modules.formatter}else{a=he}var o=new ae(this.options);this.store=new Z(this.options.resources,this.options);var s=this.services;s.logger=X;s.resourceStore=this.store;s.languageUtils=o;s.pluralResolver=new le(o,{prepend:this.options.pluralSeparator});if(a){s.formatter=n(a);if(s.formatter.init)s.formatter.init(s,this.options);this.options.interpolation.format=s.formatter.format.bind(s.formatter)}s.interpolator=new de(this.options);s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)};s.backendConnector=new ve(n(this.modules.backend),s.resourceStore,s,this.options);s.backendConnector.on("*",(function(e){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}r.emit.apply(r,__spreadArray([e],t,false))}));if(this.modules.languageDetector){s.languageDetector=n(this.modules.languageDetector);if(s.languageDetector.init)s.languageDetector.init(s,this.options.detection,this.options)}if(this.modules.i18nFormat){s.i18nFormat=n(this.modules.i18nFormat);if(s.i18nFormat.init)s.i18nFormat.init(this)}this.translator=new ne(this.services,this.options);this.translator.on("*",(function(e){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}r.emit.apply(r,__spreadArray([e],t,false))}));this.modules.external.forEach((function(e){if(e.init)e.init(r)}))}this.format=this.options.interpolation.format;if(!t)t=be;if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);if(l.length>0&&l[0]!=="dev")this.options.lng=l[0]}if(!this.services.languageDetector&&!this.options.lng){this.logger.warn("init: no languageDetector is used and no lng is defined")}var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(e){r[e]=function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=r.store)[e].apply(t,i)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(e){r[e]=function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}(t=r.store)[e].apply(t,i);return r}}));var d=S();var m=function(){var e=function(e,i){r.isInitializing=false;if(r.isInitialized&&!r.initializedStoreOnce)r.logger.warn("init: i18next is already initialized. You should call init just once!");r.isInitialized=true;if(!r.options.isClone)r.logger.log("initialized",r.options);r.emit("initialized",r.options);d.resolve(i);t(e,i)};if((r.languages||r.isLanguageChangingTo)&&!r.isInitialized)return e(null,r.t.bind(r));r.changeLanguage(r.options.lng,e)};if(this.options.resources||!this.options.initAsync){m()}else{setTimeout(m,0)}return d};t.prototype.loadResources=function(e,t){var r=this;var i,n;if(t===void 0){t=be}var a=t;var o=w(e)?e:this.language;if(typeof e==="function")a=e;if(!this.options.resources||this.options.partialBundledLanguages){if((o===null||o===void 0?void 0:o.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return a();var s=[];var l=function(e){if(!e)return;if(e==="cimode")return;var t=r.services.languageUtils.toResolveHierarchy(e);t.forEach((function(e){if(e==="cimode")return;if(!s.includes(e))s.push(e)}))};if(!o){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.forEach((function(e){return l(e)}))}else{l(o)}(n=(i=this.options.preload)===null||i===void 0?void 0:i.forEach)===null||n===void 0?void 0:n.call(i,(function(e){return l(e)}));this.services.backendConnector.load(s,this.options.ns,(function(e){if(!e&&!r.resolvedLanguage&&r.language)r.setResolvedLanguage(r.language);a(e)}))}else{a(null)}};t.prototype.reloadResources=function(e,t,r){var i=S();if(typeof e==="function"){r=e;e=undefined}if(typeof t==="function"){r=t;t=undefined}if(!e)e=this.languages;if(!t)t=this.options.ns;if(!r)r=be;this.services.backendConnector.reload(e,t,(function(e){i.resolve();r(e)}));return i};t.prototype.use=function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");if(e.type==="backend"){this.modules.backend=e}if(e.type==="logger"||e.log&&e.warn&&e.error){this.modules.logger=e}if(e.type==="languageDetector"){this.modules.languageDetector=e}if(e.type==="i18nFormat"){this.modules.i18nFormat=e}if(e.type==="postProcessor"){$.addPostProcessor(e)}if(e.type==="formatter"){this.modules.formatter=e}if(e.type==="3rdParty"){this.modules.external.push(e)}return this};t.prototype.setResolvedLanguage=function(e){if(!e||!this.languages)return;if(["cimode","dev"].includes(e))return;for(var t=0;t<this.languages.length;t++){var r=this.languages[t];if(["cimode","dev"].includes(r))continue;if(this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}if(!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;this.languages.unshift(e)}};t.prototype.changeLanguage=function(e,t){var r=this;this.isLanguageChangingTo=e;var i=S();this.emit("languageChanging",e);var n=function(e){r.language=e;r.languages=r.services.languageUtils.toResolveHierarchy(e);r.resolvedLanguage=undefined;r.setResolvedLanguage(e)};var a=function(a,o){if(o){if(r.isLanguageChangingTo===e){n(o);r.translator.changeLanguage(o);r.isLanguageChangingTo=undefined;r.emit("languageChanged",o);r.logger.log("languageChanged",o)}}else{r.isLanguageChangingTo=undefined}i.resolve((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return r.t.apply(r,e)}));if(t)t(a,(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return r.t.apply(r,e)}))};var o=function(t){var i,o;if(!e&&!t&&r.services.languageDetector)t=[];var s=w(t)?t:t&&t[0];var l=r.store.hasLanguageSomeTranslations(s)?s:r.services.languageUtils.getBestMatchFromCodes(w(t)?[t]:t);if(l){if(!r.language){n(l)}if(!r.translator.language)r.translator.changeLanguage(l);(o=(i=r.services.languageDetector)===null||i===void 0?void 0:i.cacheUserLanguage)===null||o===void 0?void 0:o.call(i,l)}r.loadResources(l,(function(e){a(e,l)}))};if(!e&&this.services.languageDetector&&!this.services.languageDetector.async){o(this.services.languageDetector.detect())}else if(!e&&this.services.languageDetector&&this.services.languageDetector.async){if(this.services.languageDetector.detect.length===0){this.services.languageDetector.detect().then(o)}else{this.services.languageDetector.detect(o)}}else{o(e)}return i};t.prototype.getFixedT=function(e,t,r,i){var n=this;var a=i===null||i===void 0?void 0:i.scopeNs;var o=function(e,t){var i=[];for(var s=2;s<arguments.length;s++){i[s-2]=arguments[s]}var l;if(typeof t!=="object"){l=n.options.overloadTranslationOptionHandler([e,t].concat(i))}else{l=__assign({},t)}l.lng=l.lng||o.lng;l.lngs=l.lngs||o.lngs;var c=l.ns!==undefined&&l.ns!==null;l.ns=l.ns||o.ns;if(l.keyPrefix!=="")l.keyPrefix=l.keyPrefix||r||o.keyPrefix;var u=__assign(__assign({},n.options),l);if(Array.isArray(a)&&!c)u.ns=a;if(typeof l.keyPrefix==="function")l.keyPrefix=re(l.keyPrefix,u);var d=n.options.keySeparator||".";var m;if(l.keyPrefix&&Array.isArray(e)){m=e.map((function(e){if(typeof e==="function")e=re(e,u);return"".concat(l.keyPrefix).concat(d).concat(e)}))}else{if(typeof e==="function")e=re(e,u);m=l.keyPrefix?"".concat(l.keyPrefix).concat(d).concat(e):e}return n.t(m,l)};if(w(e)){o.lng=e}else{o.lngs=e}o.ns=t;o.keyPrefix=r;return o};t.prototype.t=function(){var e;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return(e=this.translator)===null||e===void 0?void 0:e.translate.apply(e,t)};t.prototype.exists=function(){var e;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return(e=this.translator)===null||e===void 0?void 0:e.exists.apply(e,t)};t.prototype.setDefaultNamespace=function(e){this.options.defaultNS=e};t.prototype.hasLoadedNamespace=function(e,t){var r=this;if(t===void 0){t={}}if(!this.isInitialized){this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages);return false}if(!this.languages||!this.languages.length){this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages);return false}var i=t.lng||this.resolvedLanguage||this.languages[0];var n=this.options?this.options.fallbackLng:false;var a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return true;var o=function(e,t){var i=r.services.backendConnector.state["".concat(e,"|").concat(t)];return i===-1||i===0||i===2};if(t.precheck){var s=t.precheck(this,o);if(s!==undefined)return s}if(this.hasResourceBundle(i,e))return true;if(!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return true;if(o(i,e)&&(!n||o(a,e)))return true;return false};t.prototype.loadNamespaces=function(e,t){var r=this;var i=S();if(!this.options.ns){if(t)t();return Promise.resolve()}if(w(e))e=[e];e.forEach((function(e){if(!r.options.ns.includes(e))r.options.ns.push(e)}));this.loadResources((function(e){i.resolve();if(t)t(e)}));return i};t.prototype.loadLanguages=function(e,t){var r=this;var i=S();if(w(e))e=[e];var n=this.options.preload||[];var a=e.filter((function(e){return!n.includes(e)&&r.services.languageUtils.isSupportedCode(e)}));if(!a.length){if(t)t();return Promise.resolve()}this.options.preload=n.concat(a);this.loadResources((function(e){i.resolve();if(t)t(e)}));return i};t.prototype.dir=function(e){var t,r;if(!e)e=this.resolvedLanguage||(((t=this.languages)===null||t===void 0?void 0:t.length)>0?this.languages[0]:this.language);if(!e)return"rtl";try{var i=new Intl.Locale(e);if(i&&i.getTextInfo){var n=i.getTextInfo();if(n&&n.direction)return n.direction}}catch(e){}var a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"];var o=((r=this.services)===null||r===void 0?void 0:r.languageUtils)||new ae(ye());if(e.toLowerCase().indexOf("-latn")>1)return"ltr";return a.includes(o.getLanguagePartFromCode(e))||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"};t.createInstance=function(e,r){if(e===void 0){e={}}var i=new t(e,r);i.createInstance=t.createInstance;return i};t.prototype.cloneInstance=function(e,r){var i=this;if(e===void 0){e={}}if(r===void 0){r=be}var n=e.forkResourceStore;if(n)delete e.forkResourceStore;var a=__assign(__assign(__assign({},this.options),e),{isClone:true});var o=new t(a);if(e.debug!==undefined||e.prefix!==undefined){o.logger=o.logger.clone(e)}var s=["store","services","language"];s.forEach((function(e){o[e]=i[e]}));o.services=__assign({},this.services);o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)};if(n){var l=Object.keys(this.store.data).reduce((function(e,t){e[t]=__assign({},i.store.data[t]);e[t]=Object.keys(e[t]).reduce((function(r,i){r[i]=__assign({},e[t][i]);return r}),e[t]);return e}),{});o.store=new Z(l,a);o.services.resourceStore=o.store}if(e.interpolation){var c=ye();var u=__assign(__assign(__assign({},c.interpolation),this.options.interpolation),e.interpolation);var d=__assign(__assign({},a),{interpolation:u});o.services.interpolator=new de(d)}o.translator=new ne(o.services,a);o.translator.on("*",(function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}o.emit.apply(o,__spreadArray([e],t,false))}));o.init(a,r);o.translator.options=a;o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)};return o};t.prototype.toJSON=function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}};return t}(W);var Ce=Ne.createInstance();var ze={heading:"Drucke mit ezeep Blue",description:"Melde dich mit deinem ezeep Blue-Konto an, um zu drucken.",action:"Anmelden"};var Ie={heading:"Keine Datei ausgewählt",description:"Wähle zunächst eine Datei zum Drucken aus.",action:"OK"};var we={loading:"Lade meine Drucker…",print:"Drucken",printer:"Drucker",print_processing:"Drucken…",print_success:"Erfolgreich gedruckt.",print_success_sub:"Dein Dokument ist auf dem Weg zum Drucker.",print_failed:"Druck fehlgeschlagen",print_timeout:"Das dauert länger als erwartet. Der Auftrag wird möglicherweise noch auf dem Drucker fertiggestellt.",not_supported:"Der ausgewählte Dateityp wird nicht unterstützt.",color:"Farbe",orientation:"Ausrichtung",size:"Papierformat",duplex:"Beidseitig",quality:"Druckqualität",select_printer:"Wähle einen Drucker",select_color:"Wähle Farbe/Graustufen",select_size:"Wähle Papierformat",select_orientation:"Wähle Ausrichtung",select_quality:"Wähle Druckqualität",select_duplex:"Wähle Beidseitig",color_color:"Farbe",color_grayscale:"Graustufen",orientation_portrait:"Hochformat",orientation_landscape:"Querformat",unknown_location:"Unbekannter Standort",no_printers:"Keine Drucker gefunden.",prepare_upload:"Vorbereiten…",uploading:"Hochladen…",duplex_none:"Keine",copies:"Kopien",duplex_long:"auf der langen Seite umdrehen",duplex_short:"auf der kurzen Seite umdrehen",pull_print_success:"Bereit zum Auslösen.",width:"Breite",length:"Länge",trays:"Papierfach",select_trays:"Wähle Papierfach",page_ranges:"Druckbereich",paper_ranges:"Papier-Ranges",files:"Dateien",file_count_one:"{{count}} Datei",file_count_other:"{{count}} Dateien"};var Se={login:"Anmelden",print:"Drucken",cancel:"Abbrechen",close:"Schließen",retry:"Wiederholen",select_printer:"Wähle Drucker"};var Be={choose_files:"Dateien auswählen",drag_hint:"oder Dateien hierher ziehen",dropzone_title:"Zum Hochladen ablegen",file_type_fallback:"DATEI",add_more:"Weitere Dateien hinzufügen",remove_file:"Datei entfernen",remove_files:"Dateien entfernen",continue:"Weiter zu Druckoptionen"};var Ee={theme:"Farbschema",appearance:"Darstellung",system:"System",light:"Hell",dark:"Dunkel",account:"Konto verwalten",help:"Hilfe & Unterstützung",logout:"Ausloggen"};var _e={login_dialog:ze,no_document_dialog:Ie,printer_selection:we,button_actions:Se,upload:Be,user_menu:Ee};var ke={heading:"Print with ezeep Blue",description:"Sign in with your ezeep Blue account to print.",action:"Sign in"};var Qe={heading:"No file selected",description:"Select a file first to print.",action:"OK"};var Pe={loading:"Loading My Printers…",print_processing:"Printing…",print_success:"Successfully printed.",print_success_sub:"Your document is on its way to the printer.",pull_print_success:"Ready to be released.",print_failed:"Print failed",print_timeout:"This is taking longer than expected. The job may still finish on the printer.",not_supported:"The selected file type is not supported.",prepare_upload:"Preparing…",uploading:"Uploading…",print:"Print",printer:"Printer",color:"Color",orientation:"Orientation",size:"Paper Size",duplex:"Double-sided",duplex_none:"None",duplex_long:"flip on long side",duplex_short:"flip on short side",quality:"Print Quality",select_printer:"Select a printer",select_color:"Select Color/Grayscale",select_orientation:"Select Orientation",select_size:"Select Paper Size",select_quality:"Select Print Quality",select_duplex:"Select Double-sided",color_color:"Color",color_grayscale:"Grayscale",orientation_portrait:"Portrait",orientation_landscape:"Landscape",unknown_location:"Unknown location",no_printers:"No printers found.",copies:"Copies",width:"Width",length:"Length",trays:"Tray",select_trays:"Select Tray",page_ranges:"Page Ranges",paper_ranges:"Paper Ranges",files:"files",file_count_one:"{{count}} file",file_count_other:"{{count}} files"};var Me={login:"Sign In",print:"Print",cancel:"Cancel",close:"Close",retry:"Retry",select_printer:"Select Printer"};var De={choose_files:"Choose files",drag_hint:"or drag files here",dropzone_title:"Drop to upload",file_type_fallback:"FILE",add_more:"Add more files",remove_file:"Remove file",remove_files:"Remove files",continue:"Continue to print options"};var Re={theme:"Color theme",appearance:"Appearance",system:"System",light:"Light",dark:"Dark",account:"Manage Account",help:"Help & Support",logout:"Logout"};var Te={login_dialog:ke,no_document_dialog:Qe,printer_selection:Pe,button_actions:Me,upload:De,user_menu:Re};var qe;(function(e){e[e["Success"]=0]="Success";e[e["Processing"]=1246]="Processing";e[e["Rendering"]=129]="Rendering";e[e["Failed"]=3011]="Failed";e[e["Error"]=2]="Error"})(qe||(qe={}));var He=[qe.Processing,qe.Rendering];var Ue=[qe.Failed,qe.Error];var Le=[412,500,503,1048579];var Fe=412;var Oe=804;var Ge=201;var Ye=256;var je=2e3;var Ke=10*60*1e3;var Je=Math.ceil(Ke/je);var Ve=3e4;var Xe=1800;function We(e){var t=function(){return r(e)};Ce.on("languageChanged",t);return function(){return Ce.off("languageChanged",t)}}function Ze(e){var t=e.getBoundingClientRect().top;return Array.from(e.children).findIndex((function(e){var r=e.getBoundingClientRect();return(r.top+r.bottom)/2>t}))}function $e(e,t,r,i){var n=t.top-i.top;var a=i.bottom-t.bottom;var o={top:n,bottom:a};var s=e==="top"?"bottom":"top";if(o[e]>=r)return e;if(o[s]>=r||o[s]>o[e])return s;return e}function et(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function tt(e){var t={en:{translation:Te},de:{translation:_e}};if(e!=""){Ce.init({resources:t,lng:e,nsSeparator:false,fallbackLng:"en"})}else{Ce.init({resources:t,lng:navigator.language,nsSeparator:false,fallbackLng:"en"})}}var rt=function(e){return __awaiter(u,[e],void 0,(function(e){var t,r;var i=this;var n=e.fn,a=e.validate,o=e.interval,s=e.maxAttempts;return __generator(this,(function(e){t=0;r=function(e,l){return __awaiter(i,void 0,void 0,(function(){var i;return __generator(this,(function(c){switch(c.label){case 0:return[4,n()];case 1:i=c.sent();t++;if(a(i)){return[2,e(i)]}else if(s&&t===s){return[2,l(new Error("Exceeded max attempts."))]}else{setTimeout(r,o,e,l)}return[2]}}))}))};return[2,new Promise(r)]}))}))};var it=function(e){var t={};Object.keys(e).forEach((function(r){if(e[r]!==""){t[r]=e[r]}}));return t};var nt=function(e){if(e.paperid!=Ye){delete e.paperlength;delete e.paperwidth}if(e.paperlength&&e.paperwidth){e.paperlength=+e.paperlength*10;e.paperwidth=+e.paperwidth*10}return e};var at=function(e){return e.replace(/,/g,";")};var ot=function(e){if(!e){return true}var t=/^(\d+(-\d+)?(,\d+(-\d+)?)*|(\d+,\d+(-\d+)?(,\d+(-\d+)?)*)+)$/;var r=t.test(e);if(!r){return false}var i=e.split(",");for(var n=0;n<i.length;n++){var a=i[n].trim();if(a.includes("-")){var o=a.split("-"),s=o[0],l=o[1];var c=parseInt(s);var u=parseInt(l);if(isNaN(c)||isNaN(u)||c>u||c<=0){return false}}else{var d=parseInt(a);if(isNaN(d)||d<=0){return false}}}return true};var st={accessToken:"access_token",refreshToken:"refreshToken",isAuthorized:"isAuthorized",properties:"properties",printer:"printer",printerSettings:"printerSettings"};function lt(e){var t=localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch(e){return null}}var ct={getRefreshToken:function(){return localStorage.getItem(st.refreshToken)},setRefreshToken:function(e){localStorage.setItem(st.refreshToken,e)},getIsAuthorized:function(){return localStorage.getItem(st.isAuthorized)==="true"},setIsAuthorized:function(e){localStorage.setItem(st.isAuthorized,e.toString())},hasIsAuthorized:function(){return localStorage.getItem(st.isAuthorized)!==null},getPrinterSettings:function(e){var t;return(t=ut()[e])!==null&&t!==void 0?t:null},setPrinterSettings:function(e,t){var r=ut();r[e]=t;localStorage.setItem(st.printerSettings,JSON.stringify(r))},getPrinter:function(){return lt(st.printer)},setPrinter:function(e){localStorage.setItem(st.printer,JSON.stringify(e))},clearSession:function(){localStorage.removeItem(st.refreshToken);localStorage.removeItem(st.accessToken);localStorage.removeItem(st.isAuthorized)},clearSavedPrinter:function(){localStorage.removeItem(st.printer)}};function ut(){var e;var t=lt(st.printerSettings);if(t)return t;var r=lt(st.properties);var i=lt(st.printer);if(r&&(i===null||i===void 0?void 0:i.id))return e={},e[i.id]=r,e;return{}}var dt=function(){function e(e,t){this.urlParams=new URLSearchParams;this.isAuthorized=false;this.redirectURI=e;this.clientID=t;mt.state.clientID=t;this.oauthUrl=mt.state.authApiHostUrl;this.authURI=new URL("https://".concat(this.oauthUrl,"/oauth/authorize/"));this.accessTokenURL="https://".concat(this.oauthUrl,"/oauth/access_token/")}e.prototype.generateCodeVerifier=function(){if(mt.state.codeVerifier!==""){this.codeVerifier=mt.state.codeVerifier}else{var e=new Uint8Array(128);var t=crypto.getRandomValues(e);var r=btoa(t.toString()).substr(0,128);this.codeVerifier=r;mt.state.codeVerifier=this.codeVerifier}};e.prototype.generateCodeChallenge=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n;return __generator(this,(function(a){switch(a.label){case 0:t=new TextEncoder;r=t.encode(e);return[4,crypto.subtle.digest("SHA-256",r)];case 1:i=a.sent();n=btoa(String.fromCharCode.apply(String,new Uint8Array(i)));this.codeChallenge=n.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return[2]}}))}))};e.prototype.buildAuthURI=function(){this.urlParams.append("response_type","code");this.urlParams.append("client_id",this.clientID);this.urlParams.append("redirect_uri",this.redirectURI);this.urlParams.append("code_challenge",this.codeChallenge);this.urlParams.append("code_challenge_method","S256");this.authURI.search=this.urlParams.toString();mt.state.authUri=this.authURI.toString()};e.prototype.oauthHeaders=function(){return{Authorization:"Basic "+btoa(this.clientID+":"),"Content-Type":"application/x-www-form-urlencoded"}};e.prototype.persistTokens=function(e,t){this.accessToken=e;mt.state.accessToken=e;this.refreshToken=t;mt.state.refreshToken=t;ct.setRefreshToken(t);this.isAuthorized=true;mt.state.isAuthorized=true;ct.setIsAuthorized(true)};e.prototype.getAccessToken=function(){var e=this;return fetch(this.accessTokenURL,{credentials:"include",headers:this.oauthHeaders(),method:"POST",body:et({grant_type:"authorization_code",scope:"printing",code:mt.state.code,redirect_uri:this.redirectURI,code_verifier:mt.state.codeVerifier})}).then((function(e){return e.json()})).then((function(t){if(t.access_token){e.persistTokens(t.access_token,t.refresh_token)}}))};e.prototype.refreshTokens=function(){var e=this;return fetch(this.accessTokenURL,{credentials:"include",headers:this.oauthHeaders(),method:"POST",body:et({grant_type:"refresh_token",scope:"printing",refresh_token:mt.state.refreshToken})}).then((function(e){return e.json()})).then((function(t){if(t.access_token){e.persistTokens(t.access_token,t.refresh_token)}}))};e.prototype.revokeRefreshToken=function(){if(mt.state.refreshToken)fetch("https://".concat(this.oauthUrl,"/oauth/revoke/"),{credentials:"include",headers:this.oauthHeaders(),method:"POST",body:et({token:mt.state.refreshToken})}).catch((function(){}))};return e}();var mt=I({code:"",codeVerifier:"",accessToken:"",refreshToken:"",isAuthorized:false,devApi:false,authApiHostUrl:"",redirectUri:"",authUri:"",clientID:""});function pt(){var e=new URLSearchParams(window.location.search);var t=e.get("code");if(window.opener){if(t){window.opener.postMessage(t,mt.state.redirectUri);window.close()}}}var ft=function(){return":host{--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent);display:block}"};var ht=e("ezp_auth",function(){function e(e){var t=this;i(this,e);this.authCancel=n(this,"authCancel",7);this.authSuccess=n(this,"authSuccess",7);this.userCancel=n(this,"userCancel",7);this.oauthPopupWindow=null;this.previousUrl=null;this.receiveMessage=function(e){if(t.oauthPopupWindow&&e.source&&e.source!==t.oauthPopupWindow){console.warn("[ezeep] Ignored auth message from an unexpected source window.");return}var r=null;try{r=new URL(t.redirectURI).origin}catch(e){r=null}if(r&&e.origin!==r){console.warn('[ezeep] Ignored auth message from unexpected origin "'.concat(e.origin,'" (expected "').concat(r,'").'));return}mt.state.code=e.data;t.auth.getAccessToken().then((function(){t.authCancel.emit();t.authSuccess.emit()}))}}e.prototype.listenDialogAction=function(){this.openSignInWindow(this.auth.authURI.toString(),"ezeep Login")};e.prototype.listenDialogClose=function(){this.authCancel.emit()};e.prototype.listenStatusCancel=function(){if(this.trigger==="file"){this.userCancel.emit()}else{this.authCancel.emit()}};e.prototype.connectedCallback=function(){this.unsubscribeLanguage=We(this)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this);window.removeEventListener("message",this.receiveMessage)};e.prototype.openSignInWindow=function(e,t){var r;if(mt.state.isAuthorized){this.authCancel.emit();this.authSuccess.emit();return}window.removeEventListener("message",this.receiveMessage);var i="toolbar=no, menubar=no, width=600, height=7000, top=100, left=100";if(this.oauthPopupWindow===null||this.oauthPopupWindow.closed){this.oauthPopupWindow=window.open(e,t,i)}else if(this.previousUrl!==this.auth.authURI.toString()){this.oauthPopupWindow=window.open(e,t,i);if(!this.oauthPopupWindow||this.oauthPopupWindow.closed||typeof this.oauthPopupWindow.closed=="undefined"){alert("popup blocked")}(r=this.oauthPopupWindow)===null||r===void 0?void 0:r.focus()}else{this.oauthPopupWindow.focus()}window.addEventListener("message",this.receiveMessage,false);this.previousUrl=this.auth.authURI};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.auth=new dt(this.redirectURI,this.clientID);if(!this.code)return[3,2];mt.state.code=this.code;return[4,this.auth.getAccessToken()];case 1:e.sent();this.authCancel.emit();this.authSuccess.emit();e.label=2;case 2:if(!(mt.state.isAuthorized===false))return[3,4];this.auth.generateCodeVerifier();return[4,this.auth.generateCodeChallenge(mt.state.codeVerifier)];case 3:e.sent();this.auth.buildAuthURI();e.label=4;case 4:if(this.hidelogin&&(this.trigger==="button"||this.trigger==="file")){if(mt.state.isAuthorized){this.authCancel.emit();this.authSuccess.emit()}else{this.openSignInWindow(this.auth.authURI.toString(),"ezeep Login")}}return[2]}}))}))};e.prototype.render=function(){return a(o,{key:"c00096b96d6d21508d1a78d5ae5a7f552516d01f"},this.hidelogin&&(this.trigger==="button"||this.trigger==="file")?a("ezp-status",{description:Ce.t("login_dialog.action"),processing:true,cancel:true}):a("ezp-dialog",{heading:Ce.t("login_dialog.heading"),description:Ce.t("login_dialog.description"),action:Ce.t("login_dialog.action"),iconName:"logo",iconSize:"huge",iconFramed:false,instance:"login"}))};return e}());ht.style=ft();var gt=function(){return":host{-webkit-animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);background:var(--ezp-core-backdrop);border-radius:var(--ezp-backdrop-border-radius, 6px);display:block;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:4}:host(.hide){--ezp-backdrop-animation-name:host-out}@-webkit-keyframes host-in{0%{opacity:0}100%{opacity:1}}@keyframes host-in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes host-out{0%{opacity:1}100%{opacity:0}}@keyframes host-out{0%{opacity:1}100%{opacity:0}}"};var vt=e("ezp_backdrop",function(){function e(e){i(this,e);this.backdropHideStart=n(this,"backdropHideStart",7);this.backdropHideEnd=n(this,"backdropHideEnd",7);this.visible=true}e.prototype.handleClick=function(){this.visible=false;this.backdropHideStart.emit()};e.prototype.listenAnimationEnd=function(){if(!this.visible){this.backdropHideEnd.emit()}};e.prototype.render=function(){var e=this;return a(o,{key:"723bc1fc67fbe5a491e80094ec2444f4d6f9ce32",class:{hide:!this.visible},onClick:function(){return e.handleClick()}})};Object.defineProperty(e.prototype,"component",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());vt.style=gt();var yt=function(){return":host{--ezp-icon-fill:var(--ezp-theme-solid);-ms-flex-line-pack:center;align-content:center;background:var(--ezp-core-backdrop);display:grid;grid-template:auto/minmax(auto, 280px);height:100%;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100%}#box{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10))}#header{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}#body{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);padding:0 var(--ezp-spacing-5);text-align:center}#text{color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4)}#footer{display:grid;grid-template:auto/minmax(144px, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-5)}"};var At=e("ezp_dialog",function(){function e(e){var t=this;i(this,e);this.dialogClose=n(this,"dialogClose",7);this.dialogAction=n(this,"dialogAction",7);this.action=Ce.t("button_actions.close");this.iconSize="large";this.iconFramed=true;this.handleClose=function(){t.dialogClose.emit(t.instance)};this.handleAction=function(){t.dialogAction.emit(t.instance)}}e.prototype.connectedCallback=function(){this.unsubscribeLanguage=We(this)};e.prototype.componentDidLoad=function(){var e;(e=this.box)===null||e===void 0?void 0:e.focus()};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.handleKeydown=function(e){if(e.key==="Escape"){this.handleClose();return}if(e.key==="Tab"){this.trapFocus(e)}};e.prototype.trapFocus=function(e){if(!this.box)return;var t=this.collectFocusable(this.box);if(t.length===0)return;var r=t[0];var i=t[t.length-1];var n=this.deepActiveElement();if(!n||!t.includes(n)){e.preventDefault();r.focus()}else if(e.shiftKey&&n===r){e.preventDefault();i.focus()}else if(!e.shiftKey&&n===i){e.preventDefault();r.focus()}};e.prototype.collectFocusable=function(e){var t=[];var r=function(e){e.querySelectorAll("*").forEach((function(e){if(e.tabIndex>=0&&!e.disabled)t.push(e);if(e.shadowRoot)r(e.shadowRoot)}))};r(e);return t};e.prototype.deepActiveElement=function(){var e;var t=document.activeElement;while((e=t===null||t===void 0?void 0:t.shadowRoot)===null||e===void 0?void 0:e.activeElement){t=t.shadowRoot.activeElement}return t};e.prototype.render=function(){var e=this;return a(o,{key:"4f86872972538970ab0d3e6e15055ae558537f4d"},a("div",{key:"fd78a41cf3f37ecc2481e6fb11c9031dcb45a063",id:"box",role:"dialog","aria-modal":"true","aria-label":this.heading,tabindex:-1,ref:function(t){return e.box=t}},a("div",{key:"defd711c745edc2fd0be5349f67f6795659c4c80",id:"header"},a("ezp-icon-button",{key:"7da94b33c02de9acca8e5a77bb74757d36e607fd",level:"tertiary",icon:"close",type:"button",onClick:this.handleClose})),a("div",{key:"092387310d14f01aea60d0e7750de470a5184fe4",id:"body"},this.iconName&&a("ezp-icon",{key:"a933e2cb2e686544d9fbb31e3b7ee1eee2766deb",name:this.iconName,size:this.iconSize,framed:this.iconFramed}),a("div",{key:"45cafccc90a14bc5993c0696eed9567e01ab62e7",id:"text"},a("ezp-label",{key:"ffbd56a50d2fb7f6d62309eadeeb0f1da7fc93b6",text:this.heading,weight:"heavy"}),a("ezp-label",{key:"7563c3d9085eee67361c4ff8220da5c9a5de9d5c",text:this.description}))),a("div",{key:"999423e06a1b5721cc8c3788471235759e50b14a",id:"footer"},a("ezp-text-button",{key:"16c8a33207a06d3e1a436e08098bfd9b6587306e",type:"button",level:"primary",onClick:this.handleAction,label:this.action}))))};return e}());At.style=yt();var bt=function(){return'@charset "UTF-8";:host{display:block;min-width:0}#trigger{-ms-flex-align:baseline;align-items:baseline;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:4px;color:inherit;cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;margin:0;max-width:100%;min-width:0;outline-color:var(--ezp-theme-solid);outline-offset:2px;padding:0;text-align:left}.head{-ms-flex:0 1 auto;flex:0 1 auto;min-width:0}.tail{-ms-flex:0 0 auto;flex:0 0 auto}:host(:not(.expanded)) .head,:host(:not(.expanded)) .tail{--ezp-label-whiteSpace:pre}:host(.expanded) .head{--ezp-label-whiteSpace:pre-wrap}:host(.expanded) #trigger{word-break:break-all}#tooltip{background:var(--ezp-core-surface-tertiary);border-radius:8px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop);color:var(--ezp-core-foreground-primary);font-size:12px;font-weight:500;left:0;line-height:18px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);pointer-events:auto;position:absolute;right:0;word-break:break-all;z-index:10}:host(.place-top) #tooltip{bottom:calc(100% + var(--ezp-spacing-2))}:host(.place-bottom) #tooltip{top:calc(100% + var(--ezp-spacing-2))}'};var xt=8;var Nt=300;var Ct=200;var zt=e("ezp_file_name",function(){function e(e){var t=this;i(this,e);this.openGeneration=0;this.scrollTargets=[];this.name="";this.level="secondary";this.weight="soft";this.placement="top";this.anchor="container";this.expanded=false;this.tooltipOpen=false;this.openTooltip=function(){if(!t.hasHover||t.expanded)return;clearTimeout(t.openTimeout);var e=++t.openGeneration;t.openTimeout=setTimeout((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.isClipped()];case 1:t=r.sent();if(t&&e===this.openGeneration)this.tooltipOpen=true;return[2]}}))}))}),Nt)};this.closeTooltip=function(){t.openGeneration++;clearTimeout(t.openTimeout);clearTimeout(t.closeTimeout);t.tooltipOpen=false};this.scheduleClose=function(){clearTimeout(t.openTimeout);clearTimeout(t.closeTimeout);t.closeTimeout=setTimeout(t.closeTooltip,Ct)};this.cancelScheduledClose=function(){clearTimeout(t.closeTimeout)};this.toggleExpanded=function(){t.expanded=!t.expanded;if(t.expanded)t.closeTooltip()}}e.prototype.disconnectedCallback=function(){this.closeTooltip();this.stopWatchingScroll()};e.prototype.componentDidRender=function(){if(this.tooltipOpen&&this.anchor==="parent")this.placeTooltip()};e.prototype.watchTooltipOpen=function(e){if(e&&this.anchor==="parent")this.watchScroll();else this.stopWatchingScroll()};e.prototype.handleKeyDown=function(e){if(e.key==="Escape"&&this.tooltipOpen){e.stopPropagation();this.closeTooltip()}};Object.defineProperty(e.prototype,"hasHover",{get:function(){var e,t;return(t=(e=window.matchMedia)===null||e===void 0?void 0:e.call(window,"(hover: hover)").matches)!==null&&t!==void 0?t:false},enumerable:false,configurable:true});e.prototype.isClipped=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(i){switch(i.label){case 0:r=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".head");if(!r)return[2,false];return[4,(t=r.componentOnReady)===null||t===void 0?void 0:t.call(r)];case 1:i.sent();return[2,r.isTruncated()]}}))}))};e.prototype.placeTooltip=function(){var e,t;var r=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector("#tooltip");var i=(t=this.host.closest("[data-tooltip-row]"))!==null&&t!==void 0?t:this.host.parentElement;if(!r||!i)return;r.style.bottom="auto";r.style.top="0px";var n=r.getBoundingClientRect();var a=r.offsetHeight>0?n.height/r.offsetHeight:1;var o=i.getBoundingClientRect();var s=(parseFloat(getComputedStyle(r).getPropertyValue("--ezp-spacing-2"))||6)*a;var l=$e(this.placement,o,n.height+s,this.visibleArea(r));var c=l==="top"?o.top-s-n.height:o.bottom+s;r.style.top="".concat((c-n.top)/(a||1),"px")};e.prototype.visibleArea=function(e){var t;var r=0;var i=window.innerHeight;var n=e.offsetParent;while(n){if(getComputedStyle(n).overflowY!=="visible"){var a=n.getBoundingClientRect();r=Math.max(r,a.top);i=Math.min(i,a.bottom)}n=(t=n.parentElement)!==null&&t!==void 0?t:n.getRootNode().host||null}return{top:r,bottom:i}};e.prototype.watchScroll=function(){var e=this;this.stopWatchingScroll();var t=[window];var r=this.host.parentNode;while(r){if(r.nodeType===Node.ELEMENT_NODE)t.push(r);r=r instanceof ShadowRoot?r.host:r.parentNode}t.forEach((function(t){return t.addEventListener("scroll",e.closeTooltip,{passive:true})}));window.addEventListener("resize",this.closeTooltip,{passive:true});this.scrollTargets=t};e.prototype.stopWatchingScroll=function(){var e=this;this.scrollTargets.forEach((function(t){return t.removeEventListener("scroll",e.closeTooltip)}));this.scrollTargets=[];window.removeEventListener("resize",this.closeTooltip)};e.prototype.render=function(){var e;var t=!this.expanded&&this.name.length>xt;var r=t?this.name.slice(0,-xt):this.name;var i=t?this.name.slice(-xt):"";return a(o,{key:"6fa83e22c07a31d2a56df34f2f12edf20e1eba15",class:(e={expanded:this.expanded},e["place-".concat(this.placement)]=true,e)},a("button",{key:"07c2f0afc897be0ef1bd1622a486d7ff7ec73953",type:"button",id:"trigger","aria-label":this.name,"aria-expanded":this.expanded?"true":"false",onClick:this.toggleExpanded,onMouseEnter:this.openTooltip,onMouseLeave:this.scheduleClose,onFocus:this.openTooltip,onBlur:this.closeTooltip},a("ezp-label",{key:"7a8711a0ac21e2b7bf84a40492b0b193dd3dd29f",class:"head",ellipsis:t,level:this.level,weight:this.weight,text:r}),t&&a("ezp-label",{key:"be08c7a34cff7db6e5328627de26ff272415e27d",class:"tail",level:this.level,weight:this.weight,text:i})),this.tooltipOpen&&a("div",{key:"fe79f1aeced27b5ebf68e8a6cd3fcdd26e19c5eb",id:"tooltip","aria-hidden":"true",onMouseEnter:this.cancelScheduledClose,onMouseLeave:this.closeTooltip},this.name))};Object.defineProperty(e.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{tooltipOpen:[{watchTooltipOpen:0}]}},enumerable:false,configurable:true});return e}());zt.style=bt();var It=function(){return":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-icon-background, transparent);border-radius:var(--ezp-icon-borderRadius, 0);display:grid;grid-template:var(--ezp-icon-gridTemplate)/var(--ezp-icon-gridTemplate);height:var(--ezp-icon-height, var(--ezp-icon-size));-ms-flex-pack:center;justify-content:center;padding:var(--ezp-icon-padding, 0);width:var(--ezp-icon-width, var(--ezp-icon-size))}:host(.framed){--ezp-icon-background:var(--ezp-core-shade-primary);--ezp-icon-borderRadius:50%;--ezp-icon-padding:var(--ezp-icon-frame)}:host(.normal){--ezp-icon-size:18px;--ezp-icon-gridTemplate:24px;--ezp-icon-frame:var(--ezp-spacing-3)}:host(.large){--ezp-icon-size:36px;--ezp-icon-gridTemplate:48px;--ezp-icon-frame:var(--ezp-spacing-4)}:host(.huge){--ezp-icon-size:54px;--ezp-icon-gridTemplate:72px;--ezp-icon-frame:var(--ezp-spacing-5)}svg{display:block;fill:var(--ezp-icon-fill, currentColor);height:100%;width:100%}"};var wt=e("ezp_icon",function(){function e(e){i(this,e);this.size="normal";this.framed=false}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){switch(t.label){case 0:return[4,fetch(l("./assets/glyph-".concat(this.name,".svg"))).then((function(e){return e.text()})).then((function(t){e.glyph=t})).catch((function(){}))];case 1:t.sent();return[2]}}))}))};e.prototype.render=function(){return a(o,{key:"f1a45d38b75ccf4e0c5e6200d9d04c7e5766bfbc",class:"".concat(this.size," ").concat(this.framed?"framed":""),"aria-hidden":"true"},a("div",{key:"70f6963181d31089fefb662079e1e075540d2fe7",id:"glyph",innerHTML:this.glyph}))};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return e}());wt.style=It();var St=function(){return":host{display:block}:host(.primary){--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:var(--ezp-theme-solid);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-white-100);--ezp-iconButton-opacity-active:0.74;--ezp-iconButton-opacity-hover:0.84}:host(.secondary){--ezp-iconButton-background-active:var(--ezp-core-shade-tertiary);--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-hover:var(--ezp-core-shade-secondary);--ezp-iconButton-background-init:var(--ezp-core-shade-primary);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-iconButton-background-active:var(--ezp-core-shade-secondary);--ezp-iconButton-background-hover:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.quaternary){--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid);--ezp-iconButton-opacity-active:0.58;--ezp-iconButton-opacity-hover:0.74}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-iconButton-background, var(--ezp-iconButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-iconButton-color, var(--ezp-iconButton-color-init));cursor:var(--ezp-iconButton-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-iconButton-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){#button:not(:disabled):hover{--ezp-iconButton-background:var( --ezp-iconButton-background-hover, var(--ezp-iconButton-background-init) );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-iconButton-background:var( --ezp-iconButton-background-active, var(--ezp-iconButton-background-init) );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-active, 1)}}#button:disabled{--ezp-iconButton-background:var( --ezp-iconButton-background-disabled, var(--ezp-iconButton-background-init) );--ezp-iconButton-color:var(--ezp-iconButton-color-disabled);--ezp-iconButton-cursor:default}"};var Bt=e("ezp_icon_button",function(){function e(e){i(this,e);this.blank=false;this.disabled=false;this.level="primary"}e.prototype.render=function(){var e=this.type!==undefined?"button":"a";var t=this.type!==undefined?{type:this.type,disabled:this.disabled}:{href:this.href,target:this.blank?"_blank":"_self"};var r=this.icon.replace(/[-_]/g," ");return a(o,{key:"d67a43c2b91eaa4fa79dd8559824f3ffc23757b2",class:"".concat(this.level)},a(e,Object.assign({key:"3b11b4e0c40c8f900496ae03a4eee11f0980cd80",id:"button","aria-label":r},t),a("ezp-icon",{key:"14a35e8f779628197f7dd89219792d7809990631",name:this.icon})))};return e}());Bt.style=St();var Et=function(){return':host{-ms-flex-align:center;align-items:center;background:transparent;cursor:text;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto 1fr);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host(.has-icon){--ezp-input-grid-template:auto / auto auto 1fr}:host([suffix]){--ezp-input-grid-template:auto / auto 1fr auto;--ezp-input-input-padding-right:0}:host([suffix].has-icon){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-label-color:var(--ezp-core-foreground-primary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-primary))}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-input-icon-color, var(--ezp-theme-solid))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;-webkit-font-smoothing:antialiased;font-weight:600;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input::-webkit-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-moz-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input:-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}'};var _t=e("ezp_input",function(){function e(e){var t=this;i(this,e);this.inputValueChanged=n(this,"inputValueChanged",7);this.timeout=null;this.label="Label";this.type="text";this.placeholder="";this.focused=false;this.setFocus=function(){var e;(e=t.input)===null||e===void 0?void 0:e.focus()};this.handleBlur=function(){t.focused=false};this.handleFocus=function(){t.focused=true}}e.prototype.handleChange=function(e){var t=this;if(this.timeout){clearTimeout(this.timeout)}var r=e.target;this.value=r.value?r.value:this.type==="number"?0:"";this.timeout=setTimeout((function(){t.inputValueChanged.emit({type:t.eventType.toLowerCase(),value:t.value})}),500)};e.prototype.render=function(){var e=this;var t=!!this.icon;return a(o,{key:"f36f5811ba4e86b0aa3f53be916220136a1d2443",class:{focused:this.focused,"has-icon":t},onClick:this.setFocus},t?a("ezp-icon",{id:"icon",name:this.icon}):null,a("ezp-label",{key:"88f93411e1463b23ca4ae88d278a69df5038509d",id:"label",noWrap:true,level:"secondary",text:this.label}),a("input",{key:"b23ba3c8fea465a559e9c6d7b3da50152b412a1c",id:"input",type:this.type,value:this.value,placeholder:this.placeholder,"aria-label":this.label,onInput:function(t){return e.handleChange(t)},ref:function(t){return e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur}),this.suffix?a("ezp-label",{id:"suffix",level:"secondary",text:this.suffix}):null)};return e}());_t.style=Et();var kt=function(){return':host{display:block;min-width:var(--ezp-label-minWidth, auto);padding-bottom:1px;padding-top:1px}:host::before,:host::after{content:"";display:block;height:0}:host::before{margin-top:calc((var(--ezp-label-offset) + 1px) * -1)}:host::after{margin-bottom:calc((var(--ezp-label-offset) + 1px) * -1)}:host(.no-wrap){--ezp-label-whiteSpace:nowrap}:host(.ellipsis){--ezp-label-minWidth:0;--ezp-label-overflow:hidden;--ezp-label-textOverflow:ellipsis;--ezp-label-whiteSpace:nowrap;--ezp-label-width:100%}:host(.primary){--ezp-label-fontSize:17px;--ezp-label-lineHeight:24px;--ezp-label-letterSpacing:-0.0127756105em;--ezp-label-offset:6px}:host(.secondary){--ezp-label-fontSize:14px;--ezp-label-lineHeight:20px;--ezp-label-letterSpacing:-0.0062235443em;--ezp-label-offset:5px}:host(.tertiary){--ezp-label-fontSize:12px;--ezp-label-lineHeight:18px;--ezp-label-letterSpacing:0.0004907745em;--ezp-label-offset:5px}:host(.soft){--ezp-label-fontWeight:400}:host(.strong){--ezp-label-fontWeight:500}:host(.heavy){--ezp-label-fontWeight:600}#text{font-size:var(--ezp-label-fontSize);font-weight:var(--ezp-label-fontWeight);letter-spacing:var(--ezp-label-letterSpacing);line-height:var(--ezp-label-lineHeight);overflow:var(--ezp-label-overflow, visible);text-overflow:var(--ezp-label-textOverflow, clip);white-space:var(--ezp-label-whiteSpace, normal);width:var(--ezp-label-width, auto)}'};var Qt=e("ezp_label",function(){function e(e){i(this,e);this.ellipsis=false;this.level="secondary";this.noWrap=false;this.text="Label";this.weight="soft"}e.prototype.isTruncated=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){t=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector("#text");if(!t)return[2,false];return[2,t.scrollWidth>t.clientWidth+1]}))}))};e.prototype.render=function(){return a(o,{key:"42139679511e711132912a1f762d345951fd1774",class:"".concat(this.level," ").concat(this.weight," ").concat(this.ellipsis?"ellipsis":""," ").concat(this.noWrap?"no-wrap":"")},a("div",{key:"5e54e8142d274cacb375cce8d5ef52ccdeaeec84",id:"text"},this.text))};Object.defineProperty(e.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());Qt.style=kt();function Pt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function Mt(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function e(){if(this instanceof e){return Reflect.construct(t,arguments,this.constructor)}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};Object.defineProperty(r,"__esModule",{value:true});Object.keys(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:true,get:function(){return e[t]}})}));return r}var Dt=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var Rt=typeof globalThis!=="undefined"&&globalThis||typeof self!=="undefined"&&self||typeof Dt!=="undefined"&&Dt||{};var Tt={searchParams:"URLSearchParams"in Rt,iterable:"Symbol"in Rt&&"iterator"in Symbol,blob:"FileReader"in Rt&&"Blob"in Rt&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in Rt,arrayBuffer:"ArrayBuffer"in Rt};function qt(e){return e&&DataView.prototype.isPrototypeOf(e)}if(Tt.arrayBuffer){var Ht=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"];var Ut=ArrayBuffer.isView||function(e){return e&&Ht.indexOf(Object.prototype.toString.call(e))>-1}}function Lt(e){if(typeof e!=="string"){e=String(e)}if(/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e===""){throw new TypeError('Invalid character in header field name: "'+e+'"')}return e.toLowerCase()}function Ft(e){if(typeof e!=="string"){e=String(e)}return e}function Ot(e){var t={next:function(){var t=e.shift();return{done:t===undefined,value:t}}};if(Tt.iterable){t[Symbol.iterator]=function(){return t}}return t}function Gt(e){this.map={};if(e instanceof Gt){e.forEach((function(e,t){this.append(t,e)}),this)}else if(Array.isArray(e)){e.forEach((function(e){if(e.length!=2){throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length)}this.append(e[0],e[1])}),this)}else if(e){Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}}Gt.prototype.append=function(e,t){e=Lt(e);t=Ft(t);var r=this.map[e];this.map[e]=r?r+", "+t:t};Gt.prototype["delete"]=function(e){delete this.map[Lt(e)]};Gt.prototype.get=function(e){e=Lt(e);return this.has(e)?this.map[e]:null};Gt.prototype.has=function(e){return this.map.hasOwnProperty(Lt(e))};Gt.prototype.set=function(e,t){this.map[Lt(e)]=Ft(t)};Gt.prototype.forEach=function(e,t){for(var r in this.map){if(this.map.hasOwnProperty(r)){e.call(t,this.map[r],r,this)}}};Gt.prototype.keys=function(){var e=[];this.forEach((function(t,r){e.push(r)}));return Ot(e)};Gt.prototype.values=function(){var e=[];this.forEach((function(t){e.push(t)}));return Ot(e)};Gt.prototype.entries=function(){var e=[];this.forEach((function(t,r){e.push([r,t])}));return Ot(e)};if(Tt.iterable){Gt.prototype[Symbol.iterator]=Gt.prototype.entries}function Yt(e){if(e._noBody)return;if(e.bodyUsed){return Promise.reject(new TypeError("Already read"))}e.bodyUsed=true}function jt(e){return new Promise((function(t,r){e.onload=function(){t(e.result)};e.onerror=function(){r(e.error)}}))}function Kt(e){var t=new FileReader;var r=jt(t);t.readAsArrayBuffer(e);return r}function Jt(e){var t=new FileReader;var r=jt(t);var i=/charset=([A-Za-z0-9_-]+)/.exec(e.type);var n=i?i[1]:"utf-8";t.readAsText(e,n);return r}function Vt(e){var t=new Uint8Array(e);var r=new Array(t.length);for(var i=0;i<t.length;i++){r[i]=String.fromCharCode(t[i])}return r.join("")}function Xt(e){if(e.slice){return e.slice(0)}else{var t=new Uint8Array(e.byteLength);t.set(new Uint8Array(e));return t.buffer}}function Wt(){this.bodyUsed=false;this._initBody=function(e){this.bodyUsed=this.bodyUsed;this._bodyInit=e;if(!e){this._noBody=true;this._bodyText=""}else if(typeof e==="string"){this._bodyText=e}else if(Tt.blob&&Blob.prototype.isPrototypeOf(e)){this._bodyBlob=e}else if(Tt.formData&&FormData.prototype.isPrototypeOf(e)){this._bodyFormData=e}else if(Tt.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)){this._bodyText=e.toString()}else if(Tt.arrayBuffer&&Tt.blob&&qt(e)){this._bodyArrayBuffer=Xt(e.buffer);this._bodyInit=new Blob([this._bodyArrayBuffer])}else if(Tt.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||Ut(e))){this._bodyArrayBuffer=Xt(e)}else{this._bodyText=e=Object.prototype.toString.call(e)}if(!this.headers.get("content-type")){if(typeof e==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}else if(Tt.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)){this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}}};if(Tt.blob){this.blob=function(){var e=Yt(this);if(e){return e}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(new Blob([this._bodyArrayBuffer]))}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}}}this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Yt(this);if(e){return e}else if(ArrayBuffer.isView(this._bodyArrayBuffer)){return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength))}else{return Promise.resolve(this._bodyArrayBuffer)}}else if(Tt.blob){return this.blob().then(Kt)}else{throw new Error("could not read as ArrayBuffer")}};this.text=function(){var e=Yt(this);if(e){return e}if(this._bodyBlob){return Jt(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(Vt(this._bodyArrayBuffer))}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}};if(Tt.formData){this.formData=function(){return this.text().then(tr)}}this.json=function(){return this.text().then(JSON.parse)};return this}var Zt=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function $t(e){var t=e.toUpperCase();return Zt.indexOf(t)>-1?t:e}function er(e,t){if(!(this instanceof er)){throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')}t=t||{};var r=t.body;if(e instanceof er){if(e.bodyUsed){throw new TypeError("Already read")}this.url=e.url;this.credentials=e.credentials;if(!t.headers){this.headers=new Gt(e.headers)}this.method=e.method;this.mode=e.mode;this.signal=e.signal;if(!r&&e._bodyInit!=null){r=e._bodyInit;e.bodyUsed=true}}else{this.url=String(e)}this.credentials=t.credentials||this.credentials||"same-origin";if(t.headers||!this.headers){this.headers=new Gt(t.headers)}this.method=$t(t.method||this.method||"GET");this.mode=t.mode||this.mode||null;this.signal=t.signal||this.signal||function(){if("AbortController"in Rt){var e=new AbortController;return e.signal}}();this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&r){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(r);if(this.method==="GET"||this.method==="HEAD"){if(t.cache==="no-store"||t.cache==="no-cache"){var i=/([?&])_=[^&]*/;if(i.test(this.url)){this.url=this.url.replace(i,"$1_="+(new Date).getTime())}else{var n=/\?/;this.url+=(n.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}}er.prototype.clone=function(){return new er(this,{body:this._bodyInit})};function tr(e){var t=new FormData;e.trim().split("&").forEach((function(e){if(e){var r=e.split("=");var i=r.shift().replace(/\+/g," ");var n=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(n))}}));return t}function rr(e){var t=new Gt;var r=e.replace(/\r?\n[\t ]+/g," ");r.split("\r").map((function(e){return e.indexOf("\n")===0?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":");var i=r.shift().trim();if(i){var n=r.join(":").trim();try{t.append(i,n)}catch(e){console.warn("Response "+e.message)}}}));return t}Wt.call(er.prototype);function ir(e,t){if(!(this instanceof ir)){throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')}if(!t){t={}}this.type="default";this.status=t.status===undefined?200:t.status;if(this.status<200||this.status>599){throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].")}this.ok=this.status>=200&&this.status<300;this.statusText=t.statusText===undefined?"":""+t.statusText;this.headers=new Gt(t.headers);this.url=t.url||"";this._initBody(e)}Wt.call(ir.prototype);ir.prototype.clone=function(){return new ir(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Gt(this.headers),url:this.url})};ir.error=function(){var e=new ir(null,{status:200,statusText:""});e.ok=false;e.status=0;e.type="error";return e};var nr=[301,302,303,307,308];ir.redirect=function(e,t){if(nr.indexOf(t)===-1){throw new RangeError("Invalid status code")}return new ir(null,{status:t,headers:{location:e}})};var ar=Rt.DOMException;try{new ar}catch(e){ar=function(e,t){this.message=e;this.name=t;var r=Error(e);this.stack=r.stack};ar.prototype=Object.create(Error.prototype);ar.prototype.constructor=ar}function or(e,t){return new Promise((function(r,i){var n=new er(e,t);if(n.signal&&n.signal.aborted){return i(new ar("Aborted","AbortError"))}var a=new XMLHttpRequest;function o(){a.abort()}a.onload=function(){var e={statusText:a.statusText,headers:rr(a.getAllResponseHeaders()||"")};if(n.url.indexOf("file://")===0&&(a.status<200||a.status>599)){e.status=200}else{e.status=a.status}e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;setTimeout((function(){r(new ir(t,e))}),0)};a.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)};a.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request timed out"))}),0)};a.onabort=function(){setTimeout((function(){i(new ar("Aborted","AbortError"))}),0)};function s(e){try{return e===""&&Rt.location.href?Rt.location.href:e}catch(t){return e}}a.open(n.method,s(n.url),true);if(n.credentials==="include"){a.withCredentials=true}else if(n.credentials==="omit"){a.withCredentials=false}if("responseType"in a){if(Tt.blob){a.responseType="blob"}else if(Tt.arrayBuffer){a.responseType="arraybuffer"}}if(t&&typeof t.headers==="object"&&!(t.headers instanceof Gt||Rt.Headers&&t.headers instanceof Rt.Headers)){var l=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){l.push(Lt(e));a.setRequestHeader(e,Ft(t.headers[e]))}));n.headers.forEach((function(e,t){if(l.indexOf(t)===-1){a.setRequestHeader(t,e)}}))}else{n.headers.forEach((function(e,t){a.setRequestHeader(t,e)}))}if(n.signal){n.signal.addEventListener("abort",o);a.onreadystatechange=function(){if(a.readyState===4){n.signal.removeEventListener("abort",o)}}}a.send(typeof n._bodyInit==="undefined"?null:n._bodyInit)}))}or.polyfill=true;if(!Rt.fetch){Rt.fetch=or;Rt.Headers=Gt;Rt.Request=er;Rt.Response=ir}var sr=Object.freeze({__proto__:null,get DOMException(){return ar},Headers:Gt,Request:er,Response:ir,fetch:or});var lr=Mt(sr);var cr;var ur;function dr(){if(ur)return cr;ur=1;cr=function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={exports:{},id:i,loaded:false};e[i].call(n.exports,n,n.exports,r);n.loaded=true;return n.exports}r.m=e;r.c=t;r.p="";return r(0)}([function(e,t,r){var i=r(1);var n=typeof importScripts==="function";e.exports=i(n?self:window)},function(e,t,r){function i(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++){r[t]=e[t]}return r}else{return Array.from(e)}}var n=[];function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++){r[a-1]=arguments[a]}var o=n.reduce((function(e,t){return[t].concat(e)}),[]);var s=Promise.resolve(r);o.forEach((function(e){var t=e.request,r=e.requestError;if(t||r){s=s.then((function(e){return t.apply(undefined,i(e))}),r)}}));s=s.then((function(t){var r=new(Function.prototype.bind.apply(Request,[null].concat(i(t))));return e(r).then((function(e){e.request=r;return e})).catch((function(e){e.request=r;return Promise.reject(e)}))}));o.forEach((function(e){var t=e.response,r=e.responseError;if(t||r){s=s.then(t,r)}}));return s}e.exports=function e(t){if(!t.fetch){try{r(2)}catch(e){throw Error("No fetch available. Unable to register fetch-intercept")}}t.fetch=function(e){return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++){r[i]=arguments[i]}return a.apply(undefined,[e].concat(r))}}(t.fetch);return{register:function e(t){n.push(t);return function(){var e=n.indexOf(t);if(e>=0){n.splice(e,1)}}},clear:function e(){n=[]}}}},function(e,t){e.exports=lr}]);return cr}var mr=dr();var pr=Pt(mr);var fr=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.name="AbortError";return r}return t}(Error);var hr={};var gr=[];var vr={};var yr={};var Ar={env:hr,argv:gr,versions:vr,release:yr};function br(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}if(e.length>0){var r=String(e[0]);if(r.includes(":error")){console.error.apply(console,e)}else if(r.includes(":warning")){console.warn.apply(console,e)}else if(r.includes(":info")){console.info.apply(console,e)}else if(r.includes(":verbose")){console.debug.apply(console,e)}else{console.debug.apply(console,e)}}}var xr=typeof Ar!=="undefined"&&Ar.env&&Ar.env.DEBUG||undefined;var Nr;var Cr=[];var zr=[];var Ir=[];if(xr){Sr(xr)}var wr=Object.assign((function(e){return kr(e)}),{enable:Sr,enabled:Br,disable:_r,log:br});function Sr(e){Nr=e;Cr=[];zr=[];var t=e.split(",").map((function(e){return e.trim()}));for(var r=0,i=t;r<i.length;r++){var n=i[r];if(n.startsWith("-")){zr.push(n.substring(1))}else{Cr.push(n)}}for(var a=0,o=Ir;a<o.length;a++){var s=o[a];s.enabled=Br(s.namespace)}}function Br(e){if(e.endsWith("*")){return true}for(var t=0,r=zr;t<r.length;t++){var i=r[t];if(Er(e,i)){return false}}for(var n=0,a=Cr;n<a.length;n++){var o=a[n];if(Er(e,o)){return true}}return false}function Er(e,t){if(t.indexOf("*")===-1){return e===t}var r=t;if(t.indexOf("**")!==-1){var i=[];var n="";for(var a=0,o=t;a<o.length;a++){var s=o[a];if(s==="*"&&n==="*"){continue}else{n=s;i.push(s)}}r=i.join("")}var l=0;var c=0;var u=r.length;var d=e.length;var m=-1;var p=-1;while(l<d&&c<u){if(r[c]==="*"){m=c;c++;if(c===u){return true}while(e[l]!==r[c]){l++;if(l===d){return false}}p=l;l++;c++;continue}else if(r[c]===e[l]){c++;l++}else if(m>=0){c=m+1;l=p+1;if(l===d){return false}while(e[l]!==r[c]){l++;if(l===d){return false}}p=l;l++;c++;continue}else{return false}}var f=l===e.length;var h=c===r.length;var g=c===r.length-1&&r[c]==="*";return f&&(h||g)}function _r(){var e=Nr||"";Sr("");return e}function kr(e){var t=Object.assign(r,{enabled:Br(e),destroy:Qr,log:wr.log,namespace:e,extend:Pr});function r(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}if(!t.enabled){return}if(r.length>0){r[0]="".concat(e," ").concat(r[0])}t.log.apply(t,r)}Ir.push(t);return t}function Qr(){var e=Ir.indexOf(this);if(e>=0){Ir.splice(e,1);return true}return false}function Pr(e){var t=kr("".concat(this.namespace,":").concat(e));t.log=this.log;return t}var Mr=["verbose","info","warning","error"];var Dr={verbose:400,info:300,warning:200,error:100};function Rr(e,t){t.log=function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}e.log.apply(e,t)}}function Tr(e){return Mr.includes(e)}function qr(e){var t=new Set;var r=typeof Ar!=="undefined"&&Ar.env&&Ar.env[e.logLevelEnvVarName]||undefined;var i;var n=wr(e.namespace);n.log=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}wr.log.apply(wr,e)};function a(e){if(e&&!Tr(e)){throw new Error("Unknown log level '".concat(e,"'. Acceptable values: ").concat(Mr.join(",")))}i=e;var r=[];for(var n=0,a=t;n<a.length;n++){var s=a[n];if(o(s)){r.push(s.namespace)}}wr.enable(r.join(","))}if(r){if(Tr(r)){a(r)}else{console.error("".concat(e.logLevelEnvVarName," set to unknown log level '").concat(r,"'; logging is not enabled. Acceptable values: ").concat(Mr.join(", "),"."))}}function o(e){return Boolean(i&&Dr[e.level]<=Dr[i])}function s(e,r){var i=Object.assign(e.extend(r),{level:r});Rr(e,i);if(o(i)){var n=wr.disable();wr.enable(n+","+i.namespace)}t.add(i);return i}function l(){return i}function c(e){var t=n.extend(e);Rr(n,t);return{error:s(t,"error"),warning:s(t,"warning"),info:s(t,"info"),verbose:s(t,"verbose")}}return{setLogLevel:a,getLogLevel:l,createClientLogger:c,logger:n}}var Hr=qr({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function Ur(e){return Hr.createClientLogger(e)}function Lr(e){return e.toLowerCase()}function Fr(e){var t,r,i;return __generator(this,(function(n){switch(n.label){case 0:t=0,r=e.values();n.label=1;case 1:if(!(t<r.length))return[3,4];i=r[t];return[4,[i.name,i.value]];case 2:n.sent();n.label=3;case 3:t++;return[3,1];case 4:return[2]}}))}var Or=function(){function e(e){this._headersMap=new Map;if(e){for(var t=0,r=Object.keys(e);t<r.length;t++){var i=r[t];this.set(i,e[i])}}}e.prototype.set=function(e,t){this._headersMap.set(Lr(e),{name:e,value:String(t).trim()})};e.prototype.get=function(e){var t;return(t=this._headersMap.get(Lr(e)))===null||t===void 0?void 0:t.value};e.prototype.has=function(e){return this._headersMap.has(Lr(e))};e.prototype.delete=function(e){this._headersMap.delete(Lr(e))};e.prototype.toJSON=function(e){if(e===void 0){e={}}var t={};if(e.preserveCase){for(var r=0,i=this._headersMap.values();r<i.length;r++){var n=i[r];t[n.name]=n.value}}else{for(var a=0,o=this._headersMap;a<o.length;a++){var s=o[a],l=s[0],n=s[1];t[l]=n.value}}return t};e.prototype.toString=function(){return JSON.stringify(this.toJSON({preserveCase:true}))};e.prototype[Symbol.iterator]=function(){return Fr(this._headersMap)};return e}();function Gr(e){return new Or(e)}function Yr(){var e="";for(var t=0;t<32;t++){var r=Math.floor(Math.random()*16);if(t===12){e+="4"}else if(t===16){e+=(r&3|8).toString(16)}else{e+=r.toString(16)}if(t===7||t===11||t===15||t===19){e+="-"}}return e}var jr=typeof((d=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||d===void 0?void 0:d.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Yr;function Kr(){return jr()}var Jr=function(){function e(e){var t,r,i,n,a,o,s;this.url=e.url;this.body=e.body;this.headers=(t=e.headers)!==null&&t!==void 0?t:Gr();this.method=(r=e.method)!==null&&r!==void 0?r:"GET";this.timeout=(i=e.timeout)!==null&&i!==void 0?i:0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=(n=e.disableKeepAlive)!==null&&n!==void 0?n:false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=(a=e.withCredentials)!==null&&a!==void 0?a:false;this.abortSignal=e.abortSignal;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||Kr();this.allowInsecureConnection=(o=e.allowInsecureConnection)!==null&&o!==void 0?o:false;this.enableBrowserStreams=(s=e.enableBrowserStreams)!==null&&s!==void 0?s:false;this.requestOverrides=e.requestOverrides;this.authSchemes=e.authSchemes}return e}();function Vr(e){return new Jr(e)}var Xr=new Set(["Deserialize","Serialize","Retry","Sign"]);var Wr=function(){function e(e){var t;this._policies=[];this._policies=(t=e===null||e===void 0?void 0:e.slice(0))!==null&&t!==void 0?t:[];this._orderedPolicies=undefined}e.prototype.addPolicy=function(e,t){if(t===void 0){t={}}if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!Xr.has(t.phase)){throw new Error("Invalid phase name: ".concat(t.phase))}if(t.afterPhase&&!Xr.has(t.afterPhase)){throw new Error("Invalid afterPhase name: ".concat(t.afterPhase))}this._policies.push({policy:e,options:t});this._orderedPolicies=undefined};e.prototype.removePolicy=function(e){var t=[];this._policies=this._policies.filter((function(r){if(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase){t.push(r.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t};e.prototype.sendRequest=function(e,t){var r=this.getOrderedPolicies();var i=r.reduceRight((function(e,t){return function(r){return t.sendRequest(r,e)}}),(function(t){return e.sendRequest(t)}));return i(t)};e.prototype.getOrderedPolicies=function(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies};e.prototype.clone=function(){return new e(this._policies)};e.create=function(){return new e};e.prototype.orderPolicies=function(){var e=[];var t=new Map;function r(e){return{name:e,policies:new Set,hasRun:false,hasAfterPolicies:false}}var i=r("Serialize");var n=r("None");var a=r("Deserialize");var o=r("Retry");var s=r("Sign");var l=[i,n,a,o,s];function c(e){if(e==="Retry"){return o}else if(e==="Serialize"){return i}else if(e==="Deserialize"){return a}else if(e==="Sign"){return s}else{return n}}for(var u=0,d=this._policies;u<d.length;u++){var m=d[u];var p=m.policy;var f=m.options;var h=p.name;if(t.has(h)){throw new Error("Duplicate policy names not allowed in pipeline")}var g={policy:p,dependsOn:new Set,dependants:new Set};if(f.afterPhase){g.afterPhase=c(f.afterPhase);g.afterPhase.hasAfterPolicies=true}t.set(h,g);var v=c(f.phase);v.policies.add(g)}for(var y=0,A=this._policies;y<A.length;y++){var m=A[y];var p=m.policy,f=m.options;var h=p.name;var g=t.get(h);if(!g){throw new Error("Missing node for policy ".concat(h))}if(f.afterPolicies){for(var b=0,x=f.afterPolicies;b<x.length;b++){var N=x[b];var C=t.get(N);if(C){g.dependsOn.add(C);C.dependants.add(g)}}}if(f.beforePolicies){for(var z=0,I=f.beforePolicies;z<I.length;z++){var w=I[z];var S=t.get(w);if(S){S.dependsOn.add(g);g.dependants.add(S)}}}}function B(r){r.hasRun=true;for(var i=0,n=r.policies;i<n.length;i++){var a=n[i];if(a.afterPhase&&(!a.afterPhase.hasRun||a.afterPhase.policies.size)){continue}if(a.dependsOn.size===0){e.push(a.policy);for(var o=0,s=a.dependants;o<s.length;o++){var l=s[o];l.dependsOn.delete(a)}t.delete(a.policy.name);r.policies.delete(a)}}}function E(){for(var e=0,t=l;e<t.length;e++){var r=t[e];B(r);if(r.policies.size>0&&r!==n){if(!n.hasRun){B(n)}return}if(r.hasAfterPolicies){B(n)}}}var _=0;while(t.size>0){_++;var k=e.length;E();if(e.length<=k&&_>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e};return e}();function Zr(){return Wr.create()}function $r(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function ei(e){if($r(e)){var t=typeof e.name==="string";var r=typeof e.message==="string";return t&&r}return false}var ti=Symbol();var ri="REDACTED";var ii=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"];var ni=["api-version"];var ai=function(){function e(e){var t=e===void 0?{}:e,r=t.additionalAllowedHeaderNames,i=r===void 0?[]:r,n=t.additionalAllowedQueryParameters,a=n===void 0?[]:n;i=ii.concat(i);a=ni.concat(a);this.allowedHeaderNames=new Set(i.map((function(e){return e.toLowerCase()})));this.allowedQueryParameters=new Set(a.map((function(e){return e.toLowerCase()})))}e.prototype.sanitize=function(e){var t=this;var r=new Set;return JSON.stringify(e,(function(e,i){if(i instanceof Error){return __assign(__assign({},i),{name:i.name,message:i.message})}if(e==="headers"&&$r(i)){return t.sanitizeHeaders(i)}else if(e==="url"&&typeof i==="string"){return t.sanitizeUrl(i)}else if(e==="query"&&$r(i)){return t.sanitizeQuery(i)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(i)||$r(i)){if(r.has(i)){return"[Circular]"}r.add(i)}return i}),2)};e.prototype.sanitizeUrl=function(e){if(typeof e!=="string"||e===null||e===""){return e}var t=new URL(e);if(!t.search){return e}for(var r=0,i=t.searchParams;r<i.length;r++){var n=i[r][0];if(!this.allowedQueryParameters.has(n.toLowerCase())){t.searchParams.set(n,ri)}}return t.toString()};e.prototype.sanitizeHeaders=function(e){var t={};for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];if(this.allowedHeaderNames.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=ri}}return t};e.prototype.sanitizeQuery=function(e){if(typeof e!=="object"||e===null){return e}var t={};for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];if(this.allowedQueryParameters.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=ri}}return t};return e}();var oi=new ai;var si=(p=function(e){__extends(t,e);function t(t,r){if(r===void 0){r={}}var i;var n=e.call(this,t)||this;n.name="RestError";n.code=r.code;n.statusCode=r.statusCode;Object.defineProperty(n,"request",{value:r.request,enumerable:false});Object.defineProperty(n,"response",{value:r.response,enumerable:false});var a=((i=n.request)===null||i===void 0?void 0:i.agent)?{maxFreeSockets:n.request.agent.maxFreeSockets,maxSockets:n.request.agent.maxSockets}:undefined;Object.defineProperty(n,ti,{value:function(){return"RestError: ".concat(n.message," \n ").concat(oi.sanitize(__assign(__assign({},n),{request:__assign(__assign({},n.request),{agent:a}),response:n.response})))},enumerable:false});Object.setPrototypeOf(n,p.prototype);return n}return t}(Error),p.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",p.PARSE_ERROR="PARSE_ERROR",p);function li(e){if(e instanceof si){return true}return ei(e)&&e.name==="RestError"}function ci(e,t){switch(t){case"utf-8":return pi(e);case"base64":return di(e);case"base64url":return mi(e);case"hex":return fi(e)}}function ui(e,t){switch(t){case"utf-8":return hi(e);case"base64":return gi(e);case"base64url":return vi(e);case"hex":return Ai(e)}}function di(e){return btoa(__spreadArray([],e,true).map((function(e){return String.fromCharCode(e)})).join(""))}function mi(e){return di(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function pi(e){var t=new TextDecoder;var r=t.decode(e);return r}function fi(e){return __spreadArray([],e,true).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}function hi(e){return(new TextEncoder).encode(e)}function gi(e){return new Uint8Array(__spreadArray([],atob(e),true).map((function(e){return e.charCodeAt(0)})))}function vi(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");return gi(t)}var yi=new Set("0123456789abcdefABCDEF");function Ai(e){var t=new Uint8Array(e.length/2);for(var r=0;r<e.length/2;++r){var i=e[2*r];var n=e[2*r+1];if(!yi.has(i)||!yi.has(n)){return t.slice(0,r)}t[r]=parseInt("".concat(i).concat(n),16)}return t}function bi(e){return Boolean(e&&typeof e["pipe"]==="function")}function xi(e){return Boolean(e&&typeof e.getReader==="function"&&typeof e.tee==="function")}function Ni(e){return typeof Blob!=="undefined"&&e instanceof Blob}function Ci(e){if(e.buffer instanceof ArrayBuffer&&e.byteOffset===0&&e.byteLength===e.buffer.byteLength){return e.buffer}var t=new ArrayBuffer(e.byteLength);var r=new Uint8Array(t);var i=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);r.set(i);return r.buffer}function zi(e){return(typeof Blob==="function"||typeof Blob==="object")&&e instanceof Blob}var Ii=function(){function e(){}e.prototype.sendRequest=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i;return __generator(this,(function(n){switch(n.label){case 0:t=new URL(e.url);r=t.protocol!=="https:";if(r&&!e.allowInsecureConnection){throw new Error("Cannot connect to ".concat(e.url," while allowInsecureConnection is false."))}if(e.proxySettings){throw new Error("HTTP proxy is not supported in browser environment")}n.label=1;case 1:n.trys.push([1,3,,4]);return[4,wi(e)];case 2:return[2,n.sent()];case 3:i=n.sent();throw Ei(i,e);case 4:return[2]}}))}))};return e}();function wi(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a,o,s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:t=Bi(e),r=t.abortController,i=t.abortControllerCleanup;d.label=1;case 1:d.trys.push([1,3,,4]);n=_i(e.headers);a=Qi(e),o=a.streaming,s=a.body;l=__assign(__assign({body:s,method:e.method,headers:n,signal:r.signal},"credentials"in Request.prototype?{credentials:e.withCredentials?"include":"same-origin"}:{}),"cache"in Request.prototype?{cache:"no-store"}:{});if(o){l.duplex="half"}return[4,fetch(e.url,__assign(__assign({},l),e.requestOverrides))];case 2:c=d.sent();if(zi(e.body)&&e.onUploadProgress){e.onUploadProgress({loadedBytes:e.body.size})}return[2,Si(c,e,i)];case 3:u=d.sent();i===null||i===void 0?void 0:i();throw u;case 4:return[2]}}))}))}function Si(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a,o,o,s;var l,c;return __generator(this,(function(u){switch(u.label){case 0:i=ki(e);n={request:t,headers:i,status:e.status};a=xi(e.body)?Pi(e.body,{onProgress:t.onDownloadProgress,onEnd:r}):e.body;if(!(((l=t.streamResponseStatusCodes)===null||l===void 0?void 0:l.has(Number.POSITIVE_INFINITY))||((c=t.streamResponseStatusCodes)===null||c===void 0?void 0:c.has(n.status))))return[3,1];if(t.enableBrowserStreams){n.browserStreamBody=a!==null&&a!==void 0?a:undefined}else{o=new Response(a);n.blobBody=o.blob();r===null||r===void 0?void 0:r()}return[3,3];case 1:o=new Response(a);s=n;return[4,o.text()];case 2:s.bodyAsText=u.sent();r===null||r===void 0?void 0:r();u.label=3;case 3:return[2,n]}}))}))}function Bi(e){var t=new AbortController;var r;var i;if(e.abortSignal){if(e.abortSignal.aborted){throw new fr("The operation was aborted. Request has already been canceled.")}i=function(e){if(e.type==="abort"){t.abort()}};e.abortSignal.addEventListener("abort",i);r=function(){var t;if(i){(t=e.abortSignal)===null||t===void 0?void 0:t.removeEventListener("abort",i)}}}if(e.timeout>0){setTimeout((function(){t.abort()}),e.timeout)}return{abortController:t,abortControllerCleanup:r}}function Ei(e,t){var r;if(e&&(e===null||e===void 0?void 0:e.name)==="AbortError"){return e}else{return new si("Error sending request: ".concat(e.message),{code:(r=e===null||e===void 0?void 0:e.code)!==null&&r!==void 0?r:si.REQUEST_SEND_ERROR,request:t})}}function _i(e){var t=new Headers;for(var r=0,i=e;r<i.length;r++){var n=i[r],a=n[0],o=n[1];t.append(a,o)}return t}function ki(e){var t=Gr();for(var r=0,i=e.headers;r<i.length;r++){var n=i[r],a=n[0],o=n[1];t.set(a,o)}return t}function Qi(e){var t=typeof e.body==="function"?e.body():e.body;if(bi(t)){throw new Error("Node streams are not supported in browser environment.")}if(xi(t)){return{streaming:true,body:Pi(t,{onProgress:e.onUploadProgress})}}else if(typeof t==="object"&&t&&"buffer"in t){return{streaming:false,body:Ci(t)}}else if(t===undefined){return{streaming:false}}else{return{streaming:false,body:t}}}function Pi(e,t){if(t===void 0){t={}}var r=0;var i=t.onProgress,n=t.onEnd;if(Di(e)){return e.pipeThrough(new TransformStream({transform:function(e,t){if(e===null){t.terminate();return}t.enqueue(e);r+=e.length;if(i){i({loadedBytes:r})}},flush:function(){n===null||n===void 0?void 0:n()}}))}else{var a=e.getReader();return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var t,o,s;var l;return __generator(this,(function(c){switch(c.label){case 0:return[4,a.read()];case 1:t=c.sent(),o=t.done,s=t.value;if(o||!s){n===null||n===void 0?void 0:n();e.close();a.releaseLock();return[2]}r+=(l=s===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0;e.enqueue(s);if(i){i({loadedBytes:r})}return[2]}}))}))},cancel:function(e){n===null||n===void 0?void 0:n();return a.cancel(e)}})}}function Mi(){return new Ii}function Di(e){return e.pipeThrough!==undefined&&self.TransformStream!==undefined}function Ri(){return Mi()}var Ti=Ur("ts-http-runtime");var qi="logPolicy";function Hi(e){var t;if(e===void 0){e={}}var r=(t=e.logger)!==null&&t!==void 0?t:Ti.info;var i=new ai({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:qi,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(a){switch(a.label){case 0:if(!r.enabled){return[2,t(e)]}r("Request: ".concat(i.sanitize(e)));return[4,t(e)];case 1:n=a.sent();r("Response status code: ".concat(n.status));r("Headers: ".concat(i.sanitize(n.headers)));return[2,n]}}))}))}}}var Ui="redirectPolicy";var Li=["GET","HEAD"];function Fi(e){if(e===void 0){e={}}var t=e.maxRetries,r=t===void 0?20:t,i=e.allowCrossOriginRedirects,n=i===void 0?false:i;return{name:Ui,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:return[4,t(e)];case 1:i=a.sent();return[2,Oi(t,i,r,n)]}}))}))}}}function Oi(e,t,r,i){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a,o,s,l,c,u,d;if(n===void 0){n=0}return __generator(this,(function(m){switch(m.label){case 0:a=t.request,o=t.status,s=t.headers;l=s.get("location");if(!(l&&(o===300||o===301&&Li.includes(a.method)||o===302&&Li.includes(a.method)||o===303&&a.method==="POST"||o===307)&&n<r))return[3,2];c=new URL(l,a.url);if(!i){u=new URL(a.url);if(c.origin!==u.origin){Ti.verbose("Skipping cross-origin redirect from ".concat(u.origin," to ").concat(c.origin,"."));return[2,t]}}a.url=c.toString();if(o===303){a.method="GET";a.headers.delete("Content-Length");delete a.body}a.headers.delete("Authorization");return[4,e(a)];case 1:d=m.sent();return[2,Oi(e,d,r,i,n+1)];case 2:return[2,t]}}))}))}var Gi=3;var Yi="decompressResponsePolicy";function ji(){throw new Error("decompressResponsePolicy is not supported in browser environment")}function Ki(e,t){e=Math.ceil(e);t=Math.floor(t);var r=Math.floor(Math.random()*(t-e+1));return r+e}function Ji(e,t){var r=t.retryDelayInMs*Math.pow(2,e);var i=Math.min(t.maxRetryDelayInMs,r);var n=i/2+Ki(0,i/2);return{retryAfterInMs:n}}var Vi="The operation was aborted.";function Xi(e,t,r){return new Promise((function(i,n){var a=undefined;var o=undefined;var s=function(){return n(new fr((r===null||r===void 0?void 0:r.abortErrorMsg)?r===null||r===void 0?void 0:r.abortErrorMsg:Vi))};var l=function(){if((r===null||r===void 0?void 0:r.abortSignal)&&o){r.abortSignal.removeEventListener("abort",o)}};o=function(){if(a){clearTimeout(a)}l();return s()};if((r===null||r===void 0?void 0:r.abortSignal)&&r.abortSignal.aborted){return s()}a=setTimeout((function(){l();i(t)}),e);if(r===null||r===void 0?void 0:r.abortSignal){r.abortSignal.addEventListener("abort",o)}}))}function Wi(e,t){var r=e.headers.get(t);if(!r)return;var i=Number(r);if(Number.isNaN(i))return;return i}var Zi="Retry-After";var $i=["retry-after-ms","x-ms-retry-after-ms",Zi];function en(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(var t=0,r=$i;t<r.length;t++){var i=r[t];var n=Wi(e,i);if(n===0||n){var a=i===Zi?1e3:1;return n*a}}var o=e.headers.get(Zi);if(!o)return;var s=Date.parse(o);var l=s-Date.now();return Number.isFinite(l)?Math.max(0,l):undefined}catch(e){return undefined}}function tn(e){return Number.isFinite(en(e))}function rn(){return{name:"throttlingRetryStrategy",retry:function(e){var t=e.response;var r=en(t);if(!Number.isFinite(r)){return{skipStrategy:true}}return{retryAfterInMs:r}}}}var nn=1e3;var an=1e3*64;function on(e){var t,r;if(e===void 0){e={}}var i=(t=e.retryDelayInMs)!==null&&t!==void 0?t:nn;var n=(r=e.maxRetryDelayInMs)!==null&&r!==void 0?r:an;return{name:"exponentialRetryStrategy",retry:function(t){var r=t.retryCount,a=t.response,o=t.responseError;var s=ln(o);var l=s&&e.ignoreSystemErrors;var c=sn(a);var u=c&&e.ignoreHttpStatusCodes;var d=a&&(tn(a)||!c);if(d||u||l){return{skipStrategy:true}}if(o&&!s&&!c){return{errorToThrow:o}}return Ji(r,{retryDelayInMs:i,maxRetryDelayInMs:n})}}}function sn(e){return Boolean(e&&e.status!==undefined&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function ln(e){if(!e){return false}return e.code==="ETIMEDOUT"||e.code==="ESOCKETTIMEDOUT"||e.code==="ECONNREFUSED"||e.code==="ECONNRESET"||e.code==="ENOENT"||e.code==="ENOTFOUND"}var cn=Ur("ts-http-runtime retryPolicy");var un="retryPolicy";function dn(e,t){if(t===void 0){t={maxRetries:Gi}}var r=t.logger||cn;return{name:un,sendRequest:function(i,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d,m,p,f,h,g,v;var y,A;return __generator(this,(function(b){switch(b.label){case 0:s=-1;b.label=1;case 1:if(!true)return[3,11];s+=1;a=undefined;o=undefined;b.label=2;case 2:b.trys.push([2,4,,5]);r.info("Retry ".concat(s,": Attempting to send request"),i.requestId);return[4,n(i)];case 3:a=b.sent();r.info("Retry ".concat(s,": Received a response from request"),i.requestId);return[3,5];case 4:l=b.sent();r.error("Retry ".concat(s,": Received an error from request"),i.requestId);if(!li(l)){throw l}o=l;a=l.response;return[3,5];case 5:if((y=i.abortSignal)===null||y===void 0?void 0:y.aborted){r.error("Retry ".concat(s,": Request aborted."));c=new fr;throw c}if(s>=((A=t.maxRetries)!==null&&A!==void 0?A:Gi)){r.info("Retry ".concat(s,": Maximum retries reached. Returning the last received response, or throwing the last received error."));if(o){throw o}else if(a){return[2,a]}else{throw new Error("Maximum retries reached with no response or error to throw")}}r.info("Retry ".concat(s,": Processing ").concat(e.length," retry strategies."));u=0,d=e;b.label=6;case 6:if(!(u<d.length))return[3,10];m=d[u];p=m.logger||r;p.info("Retry ".concat(s,": Processing retry strategy ").concat(m.name,"."));f=m.retry({retryCount:s,response:a,responseError:o});if(f.skipStrategy){p.info("Retry ".concat(s,": Skipped."));return[3,9]}h=f.errorToThrow,g=f.retryAfterInMs,v=f.redirectTo;if(h){p.error("Retry ".concat(s,": Retry strategy ").concat(m.name," throws error:"),h);throw h}if(!(g||g===0))return[3,8];p.info("Retry ".concat(s,": Retry strategy ").concat(m.name," retries after ").concat(g));return[4,Xi(g,undefined,{abortSignal:i.abortSignal})];case 7:b.sent();return[3,1];case 8:if(v){p.info("Retry ".concat(s,": Retry strategy ").concat(m.name," redirects to ").concat(v));i.url=v;return[3,1]}b.label=9;case 9:u++;return[3,6];case 10:if(o){r.info("None of the retry strategies could work with the received error. Throwing it.");throw o}if(a){r.info("None of the retry strategies could work with the received response. Returning it.");return[2,a]}return[3,1];case 11:return[2]}}))}))}}}var mn="defaultRetryPolicy";function pn(e){var t;if(e===void 0){e={}}return{name:mn,sendRequest:dn([rn(),on(e)],{maxRetries:(t=e.maxRetries)!==null&&t!==void 0?t:Gi}).sendRequest}}typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";var fn=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean((m=globalThis.process.versions)===null||m===void 0?void 0:m.node);var hn="formDataPolicy";function gn(e){var t;var r={};for(var i=0,n=e.entries();i<n.length;i++){var a=n[i],o=a[0],s=a[1];(t=r[o])!==null&&t!==void 0?t:r[o]=[];r[o].push(s)}return r}function vn(){return{name:hn,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:if(fn&&typeof FormData!=="undefined"&&e.body instanceof FormData){e.formData=gn(e.body);e.body=undefined}if(!e.formData)return[3,4];r=e.headers.get("Content-Type");if(!(r&&r.indexOf("application/x-www-form-urlencoded")!==-1))return[3,1];e.body=yn(e.formData);return[3,3];case 1:return[4,An(e.formData,e)];case 2:i.sent();i.label=3;case 3:e.formData=undefined;i.label=4;case 4:return[2,t(e)]}}))}))}}}function yn(e){var t=new URLSearchParams;for(var r=0,i=Object.entries(e);r<i.length;r++){var n=i[r],a=n[0],o=n[1];if(Array.isArray(o)){for(var s=0,l=o;s<l.length;s++){var c=l[s];t.append(a,c.toString())}}else{t.append(a,o.toString())}}return t.toString()}function An(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,c,u,d,m,p;return __generator(this,(function(f){r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data")){return[2]}t.headers.set("Content-Type",r!==null&&r!==void 0?r:"multipart/form-data");i=[];for(n=0,a=Object.entries(e);n<a.length;n++){o=a[n],s=o[0],l=o[1];for(c=0,u=Array.isArray(l)?l:[l];c<u.length;c++){d=u[c];if(typeof d==="string"){i.push({headers:Gr({"Content-Disposition":'form-data; name="'.concat(s,'"')}),body:ui(d,"utf-8")})}else if(d===undefined||d===null||typeof d!=="object"){throw new Error("Unexpected value for key ".concat(s,": ").concat(d,". Value should be serialized to string first."))}else{m=d.name||"blob";p=Gr();p.set("Content-Disposition",'form-data; name="'.concat(s,'"; filename="').concat(m,'"'));p.set("Content-Type",d.type||"application/octet-stream");i.push({headers:p,body:d})}}}t.multipartBody={parts:i};return[2]}))}))}var bn="proxyPolicy is not supported in browser environment";function xn(e){throw new Error(bn)}function Nn(e,t){throw new Error(bn)}var Cn="agentPolicy";function zn(e){var t=this;return{name:Cn,sendRequest:function(r,i){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){if(!r.agent){r.agent=e}return[2,i(r)]}))}))}}}var In="tlsPolicy";function wn(e){var t=this;return{name:In,sendRequest:function(r,i){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){if(!r.tlsSettings){r.tlsSettings=e}return[2,i(r)]}))}))}}}function Sn(e){return new Response(e).blob()}function Bn(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e instanceof Blob||e instanceof Uint8Array){return[2,e]}if(xi(e)){return[2,Sn(e)]}else{throw new Error("Unsupported source type. Only Blob, Uint8Array, and ReadableStream are supported in browser.")}return[2]}))}))}function En(e){if("resize"in e.buffer){return e}return e.map((function(e){return e}))}function _n(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=[];r=0,i=e;o.label=1;case 1:if(!(r<i.length))return[3,4];n=i[r];return[4,Bn(typeof n==="function"?n():n)];case 2:a=o.sent();if(a instanceof Blob){t.push(a)}else{t.push(new Blob([En(a)]))}o.label=3;case 3:r++;return[3,1];case 4:return[2,new Blob(t)]}}))}))}function kn(){return"----AzSDKFormBoundary".concat(Kr())}function Qn(e){var t="";for(var r=0,i=e;r<i.length;r++){var n=i[r],a=n[0],o=n[1];t+="".concat(a,": ").concat(o,"\r\n")}return t}function Pn(e){if(e instanceof Uint8Array){return e.byteLength}else if(Ni(e)){return e.size===-1?undefined:e.size}else{return undefined}}function Mn(e){var t=0;for(var r=0,i=e;r<i.length;r++){var n=i[r];var a=Pn(n);if(a===undefined){return undefined}else{t+=a}}return t}function Dn(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:i=__spreadArray(__spreadArray([ui("--".concat(r),"utf-8")],t.flatMap((function(e){return[ui("\r\n","utf-8"),ui(Qn(e.headers),"utf-8"),ui("\r\n","utf-8"),e.body,ui("\r\n--".concat(r),"utf-8")]})),true),[ui("--\r\n\r\n","utf-8")],false);n=Mn(i);if(n){e.headers.set("Content-Length",n)}a=e;return[4,_n(i)];case 1:a.body=o.sent();return[2]}}))}))}var Rn="multipartPolicy";var Tn=70;var qn=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Hn(e){if(e.length>Tn){throw new Error('Multipart boundary "'.concat(e,'" exceeds maximum length of 70 characters'))}if(Array.from(e).some((function(e){return!qn.has(e)}))){throw new Error('Multipart boundary "'.concat(e,'" contains invalid characters'))}}function Un(){return{name:Rn,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:if(!e.multipartBody){return[2,t(e)]}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}r=e.multipartBody.boundary;i=(s=e.headers.get("Content-Type"))!==null&&s!==void 0?s:"multipart/mixed";n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n){throw new Error("Got multipart request body, but content-type header was not multipart: ".concat(i))}a=n[1],o=n[2];if(o&&r&&o!==r){throw new Error("Multipart boundary was specified as ".concat(o," in the header, but got ").concat(r," in the request body"))}r!==null&&r!==void 0?r:r=o;if(r){Hn(r)}else{r=kn()}e.headers.set("Content-Type","".concat(a,"; boundary=").concat(r));return[4,Dn(e,e.multipartBody.parts,r)];case 1:l.sent();e.multipartBody=undefined;return[2,t(e)]}}))}))}}}function Ln(){return Zr()}var Fn=qr({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function On(e){return Fn.createClientLogger(e)}var Gn=On("core-rest-pipeline");function Yn(e){if(e===void 0){e={}}return Hi(__assign({logger:Gn.info},e))}var jn=Ui;function Kn(e){if(e===void 0){e={}}return Fi(e)}function Jn(){return"x-ms-useragent"}function Vn(e){var t=[{name:"Firefox",regex:/Firefox\/([\d.]+)/},{name:"Safari",regex:/Version\/([\d.]+).*Safari/}];for(var r=0,i=t;r<i.length;r++){var n=i[r];var a=e.match(n.regex);if(a){return{brand:n.name,version:a[1]}}}return undefined}function Xn(e){var t=["Google Chrome","Microsoft Edge","Opera","Brave","Chromium"];var r=function(t){var r=e.find((function(e){return e.brand===t}));if(r){return{value:r}}};for(var i=0,n=t;i<n.length;i++){var a=n[i];var o=r(a);if(typeof o==="object")return o.value}return undefined}function Wn(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,n;return __generator(this,(function(a){switch(a.label){case 0:t=globalThis.navigator;r="unknown";if(!(t===null||t===void 0?void 0:t.userAgentData))return[3,2];return[4,t.userAgentData.getHighEntropyValues(["architecture","platformVersion"])];case 1:i=a.sent();r="".concat(i.platform," ").concat(i.platformVersion,"; ").concat(i.architecture);n=Xn(t.userAgentData.brands);if(n){e.set(n.brand,"".concat(n.version," (").concat(r,")"))}return[3,3];case 2:if(t===null||t===void 0?void 0:t.platform){r=t.platform;n=Vn(t.userAgent);if(n){e.set(n.brand,"".concat(n.version," (").concat(r,")"))}}else if(typeof EdgeRuntime==="string"){e.set("EdgeRuntime","".concat(EdgeRuntime," (").concat(r,")"))}a.label=3;case 3:return[2]}}))}))}var Zn="1.24.0";function $n(e){var t=[];for(var r=0,i=e;r<i.length;r++){var n=i[r],a=n[0],o=n[1];var s=o?"".concat(a,"/").concat(o):a;t.push(s)}return t.join(" ")}function ea(){return Jn()}function ta(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i;return __generator(this,(function(n){switch(n.label){case 0:t=new Map;t.set("core-rest-pipeline",Zn);return[4,Wn(t)];case 1:n.sent();r=$n(t);i=e?"".concat(e," ").concat(r):r;return[2,i]}}))}))}var ra=ea();var ia="userAgentPolicy";function na(e){if(e===void 0){e={}}var t=ta(e.userAgentPrefix);return{name:ia,sendRequest:function(e,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:if(!!e.headers.has(ra))return[3,2];n=(i=e.headers).set;a=[ra];return[4,t];case 1:n.apply(i,a.concat([o.sent()]));o.label=2;case 2:return[2,r(e)]}}))}))}}}var aa=Symbol("rawContent");function oa(e){return typeof e[aa]==="function"}function sa(e){if(oa(e)){return e[aa]()}else{return e}}var la=Rn;function ca(){var e=this;var t=Un();return{name:la,sendRequest:function(r,i){return __awaiter(e,void 0,void 0,(function(){var e,n,a;return __generator(this,(function(o){if(r.multipartBody){for(e=0,n=r.multipartBody.parts;e<n.length;e++){a=n[e];if(oa(a.body)){a.body=sa(a.body)}}}return[2,t.sendRequest(r,i)]}))}))}}}var ua=Yi;function da(){return ji()}function ma(e){if(e===void 0){e={}}return pn(e)}function pa(){return vn()}var fa=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.name="AbortError";return r}return t}(Error);function ha(e,t){var r=t!==null&&t!==void 0?t:{},i=r.cleanupBeforeAbort,n=r.abortSignal,a=r.abortErrorMsg;return new Promise((function(t,r){function o(){r(new fa(a!==null&&a!==void 0?a:"The operation was aborted."))}function s(){n===null||n===void 0?void 0:n.removeEventListener("abort",l)}function l(){i===null||i===void 0?void 0:i();s();o()}if(n===null||n===void 0?void 0:n.aborted){return o()}try{e((function(e){s();t(e)}),(function(e){s();r(e)}))}catch(e){r(e)}n===null||n===void 0?void 0:n.addEventListener("abort",l)}))}var ga="The delay was aborted.";function va(e,t){var r;var i={},n=i.abortSignal,a=i.abortErrorMsg;return ha((function(t){r=setTimeout(t,e)}),{cleanupBeforeAbort:function(){return clearTimeout(r)},abortSignal:n,abortErrorMsg:a!==null&&a!==void 0?a:ga})}function ya(e){if(ei(e)){return e.message}else{var t=void 0;try{if(typeof e==="object"&&e){t=JSON.stringify(e)}else{t=String(e)}}catch(e){t="[unable to stringify input]"}return"Unknown error ".concat(t)}}function Aa(e){return ei(e)}function ba(){return Kr()}var xa=fn;function Na(e,t){return ci(e,t)}function Ca(e,t){return ui(e,t)}function za(e){return xn()}function Ia(e,t){return Nn()}var wa="setClientRequestIdPolicy";function Sa(e){if(e===void 0){e="x-ms-client-request-id"}return{name:wa,sendRequest:function(t,r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return[2,r(t)]}))}))}}}function Ba(e){return zn(e)}function Ea(e){return wn(e)}var _a={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function ka(e){if(e===void 0){e={}}var t=new Qa(e.parentContext);if(e.span){t=t.setValue(_a.span,e.span)}if(e.namespace){t=t.setValue(_a.namespace,e.namespace)}return t}var Qa=function(){function e(t){this._contextMap=t instanceof e?new Map(t._contextMap):new Map}e.prototype.setValue=function(t,r){var i=new e(this);i._contextMap.set(t,r);return i};e.prototype.getValue=function(e){return this._contextMap.get(e)};e.prototype.deleteValue=function(t){var r=new e(this);r._contextMap.delete(t);return r};return e}();var Pa={instrumenterImplementation:undefined};function Ma(){return{end:function(){},isRecording:function(){return false},recordException:function(){},setAttribute:function(){},setStatus:function(){},addEvent:function(){}}}function Da(){return{createRequestHeaders:function(){return{}},parseTraceparentHeader:function(){return undefined},startSpan:function(e,t){return{span:Ma(),tracingContext:ka({parentContext:t.tracingContext})}},withContext:function(e,t){var r=[];for(var i=2;i<arguments.length;i++){r[i-2]=arguments[i]}return t.apply(void 0,r)}}}function Ra(){if(!Pa.instrumenterImplementation){Pa.instrumenterImplementation=Da()}return Pa.instrumenterImplementation}function Ta(e){var t=e.namespace,r=e.packageName,i=e.packageVersion;function n(e,n,a){var o;var s=Ra().startSpan(e,__assign(__assign({},a),{packageName:r,packageVersion:i,tracingContext:(o=n===null||n===void 0?void 0:n.tracingOptions)===null||o===void 0?void 0:o.tracingContext}));var l=s.tracingContext;var c=s.span;if(!l.getValue(_a.namespace)){l=l.setValue(_a.namespace,t)}c.setAttribute("az.namespace",l.getValue(_a.namespace));var u=Object.assign({},n,{tracingOptions:__assign(__assign({},n===null||n===void 0?void 0:n.tracingOptions),{tracingContext:l})});return{span:c,updatedOptions:u}}function a(e,t,r,i){return __awaiter(this,void 0,void 0,(function(){var a,s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:a=n(e,t,i),s=a.span,l=a.updatedOptions;d.label=1;case 1:d.trys.push([1,3,4,5]);return[4,o(l.tracingOptions.tracingContext,(function(){return Promise.resolve(r(l,s))}))];case 2:c=d.sent();s.setStatus({status:"success"});return[2,c];case 3:u=d.sent();s.setStatus({status:"error",error:u});throw u;case 4:s.end();return[7];case 5:return[2]}}))}))}function o(e,t){var r;var i=[];for(var n=2;n<arguments.length;n++){i[n-2]=arguments[n]}return(r=Ra()).withContext.apply(r,__spreadArray([e,t],i,false))}function s(e){return Ra().parseTraceparentHeader(e)}function l(e){return Ra().createRequestHeaders(e)}return{startSpan:n,withSpan:a,withContext:o,parseTraceparentHeader:s,createRequestHeaders:l}}var qa=si;function Ha(e){return li(e)}var Ua="tracingPolicy";function La(e){if(e===void 0){e={}}var t=ta(e.userAgentPrefix);var r=new ai({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});var i=Fa();return{name:Ua,sendRequest:function(e,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d;var m;return __generator(this,(function(p){switch(p.label){case 0:if(!i){return[2,n(e)]}return[4,t];case 1:a=p.sent();o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":a,requestId:e.requestId};if(a){o["http.user_agent"]=a}s=(m=Oa(i,e,o))!==null&&m!==void 0?m:{},l=s.span,c=s.tracingContext;if(!l||!c){return[2,n(e)]}p.label=2;case 2:p.trys.push([2,4,,5]);return[4,i.withContext(c,n,e)];case 3:u=p.sent();Ya(l,u);return[2,u];case 4:d=p.sent();Ga(l,d);throw d;case 5:return[2]}}))}))}}}function Fa(){try{return Ta({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Zn})}catch(e){Gn.warning("Error when creating the TracingClient: ".concat(ya(e)));return undefined}}function Oa(e,t,r){try{var i=e.startSpan("HTTP ".concat(t.method),{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r}),n=i.span,a=i.updatedOptions;if(!n.isRecording()){n.end();return undefined}var o=e.createRequestHeaders(a.tracingOptions.tracingContext);for(var s=0,l=Object.entries(o);s<l.length;s++){var c=l[s],u=c[0],d=c[1];t.headers.set(u,d)}return{span:n,tracingContext:a.tracingOptions.tracingContext}}catch(e){Gn.warning("Skipping creating a tracing span due to an error: ".concat(ya(e)));return undefined}}function Ga(e,t){try{e.setStatus({status:"error",error:Aa(t)?t:undefined});if(Ha(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){Gn.warning("Skipping tracing span processing due to an error: ".concat(ya(e)))}}function Ya(e,t){try{e.setAttribute("http.status_code",t.status);var r=t.headers.get("x-ms-request-id");if(r){e.setAttribute("serviceRequestId",r)}if(t.status>=400){e.setStatus({status:"error"})}e.end()}catch(e){Gn.warning("Skipping tracing span processing due to an error: ".concat(ya(e)))}}function ja(e){if(e instanceof AbortSignal){return{abortSignal:e}}if(e.aborted){return{abortSignal:AbortSignal.abort("reason"in e?e.reason:undefined)}}var t=new AbortController;var r=true;function i(){if(r){e.removeEventListener("abort",n);r=false}}function n(){t.abort("reason"in e?e.reason:undefined);i()}e.addEventListener("abort",n);return{abortSignal:t.signal,cleanup:i}}var Ka="wrapAbortSignalLikePolicy";function Ja(){var e=this;return{name:Ka,sendRequest:function(t,r){return __awaiter(e,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(a){switch(a.label){case 0:if(!t.abortSignal){return[2,r(t)]}e=ja(t.abortSignal),i=e.abortSignal,n=e.cleanup;t.abortSignal=i;a.label=1;case 1:a.trys.push([1,,3,4]);return[4,r(t)];case 2:return[2,a.sent()];case 3:n===null||n===void 0?void 0:n();return[7];case 4:return[2]}}))}))}}}function Va(e){var t;var r=Ln();if(xa){if(e.agent){r.addPolicy(Ba(e.agent))}if(e.tlsOptions){r.addPolicy(Ea(e.tlsOptions))}r.addPolicy(Ia());r.addPolicy(da())}r.addPolicy(Ja());r.addPolicy(pa(),{beforePolicies:[la]});r.addPolicy(na(e.userAgentOptions));r.addPolicy(Sa((t=e.telemetryOptions)===null||t===void 0?void 0:t.clientRequestIdHeaderName));r.addPolicy(ca(),{afterPhase:"Deserialize"});r.addPolicy(ma(e.retryOptions),{phase:"Retry"});r.addPolicy(La(__assign(__assign({},e.userAgentOptions),e.loggingOptions)),{afterPhase:"Retry"});if(xa){r.addPolicy(Kn(e.redirectOptions),{afterPhase:"Retry"})}r.addPolicy(Yn(e.loggingOptions),{afterPhase:"Sign"});return r}function Xa(){var e=Ri();return{sendRequest:function(t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:r=t.abortSignal?ja(t.abortSignal):{},i=r.abortSignal,n=r.cleanup;a.label=1;case 1:a.trys.push([1,,3,4]);t.abortSignal=i;return[4,e.sendRequest(t)];case 2:return[2,a.sent()];case 3:n===null||n===void 0?void 0:n();return[7];case 4:return[2]}}))}))}}}function Wa(e){return Gr(e)}function Za(e){return Vr(e)}var $a={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};function eo(e,t,r){return __awaiter(this,void 0,void 0,(function(){function i(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(n){switch(n.label){case 0:if(!(Date.now()<r))return[3,5];n.label=1;case 1:n.trys.push([1,3,,4]);return[4,e()];case 2:return[2,n.sent()];case 3:t=n.sent();return[2,null];case 4:return[3,7];case 5:return[4,e()];case 6:i=n.sent();if(i===null){throw new Error("Failed to refresh access token.")}return[2,i];case 7:return[2]}}))}))}var n;return __generator(this,(function(e){switch(e.label){case 0:return[4,i()];case 1:n=e.sent();e.label=2;case 2:if(!(n===null))return[3,5];return[4,va(t)];case 3:e.sent();return[4,i()];case 4:n=e.sent();return[3,2];case 5:return[2,n]}}))}))}function to(e,t){var r=this;var i=null;var n=null;var a;var o=__assign(__assign({},$a),t);var s={get isRefreshing(){return i!==null},get shouldRefresh(){if(n===null){return true}if(s.isRefreshing){return false}if(n.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()){return true}return n.expiresOnTimestamp-o.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-o.forcedRefreshWindowInMs<Date.now()}};function l(t,r){var l;if(!s.isRefreshing){var c=function(){return e.getToken(t,r)};i=eo(c,o.retryIntervalInMs,(l=n===null||n===void 0?void 0:n.expiresOnTimestamp)!==null&&l!==void 0?l:Date.now()).then((function(e){i=null;n=e;a=r.tenantId;return n})).catch((function(e){i=null;n=null;a=undefined;throw e}))}return i}return function(e,t){return __awaiter(r,void 0,void 0,(function(){var r,i,o;return __generator(this,(function(c){r=Boolean(t.claims);i=a!==t.tenantId;if(r){n=null}o=i||r||s.mustRefresh;if(o){return[2,l(e,t)]}if(s.shouldRefresh){l(e,t)}return[2,n]}))}))}}var ro="bearerTokenAuthenticationPolicy";function io(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);return[4,t(e)];case 1:return[2,[i.sent(),undefined]];case 2:r=i.sent();if(Ha(r)&&r.response){return[2,[r.response,r]]}else{throw r}return[3,3];case 3:return[2]}}))}))}function no(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=e.scopes,r=e.getAccessToken,i=e.request;n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:true};return[4,r(t,n)];case 1:a=o.sent();if(a){e.request.headers.set("Authorization","Bearer ".concat(a.token))}return[2]}}))}))}function ao(e){return e.status===401&&e.headers.has("WWW-Authenticate")}function oo(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i;var n;return __generator(this,(function(a){switch(a.label){case 0:r=e.scopes;return[4,e.getAccessToken(r,{enableCae:true,claims:t})];case 1:i=a.sent();if(!i){return[2,false]}e.request.headers.set("Authorization","".concat((n=i.tokenType)!==null&&n!==void 0?n:"Bearer"," ").concat(i.token));return[2,true]}}))}))}function so(e){var t,r,i;var n=e.credential,a=e.scopes,o=e.challengeCallbacks;var s=e.logger||Gn;var l={authorizeRequest:(r=(t=o===null||o===void 0?void 0:o.authorizeRequest)===null||t===void 0?void 0:t.bind(o))!==null&&r!==void 0?r:no,authorizeRequestOnChallenge:(i=o===null||o===void 0?void 0:o.authorizeRequestOnChallenge)===null||i===void 0?void 0:i.bind(o)};var c=n?to(n):function(){return Promise.resolve(null)};return{name:ro,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,o,u,u;var d,m,p,f;var h;return __generator(this,(function(g){switch(g.label){case 0:if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}return[4,l.authorizeRequest({scopes:Array.isArray(a)?a:[a],request:e,getAccessToken:c,logger:s})];case 1:g.sent();return[4,io(e,t)];case 2:d=g.sent(),r=d[0],i=d[1];if(!ao(r))return[3,12];o=co(r.headers.get("WWW-Authenticate"));if(!o)return[3,6];u=void 0;try{u=atob(o)}catch(e){s.warning('The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: '.concat(o));return[2,r]}return[4,oo({scopes:Array.isArray(a)?a:[a],response:r,request:e,getAccessToken:c,logger:s},u)];case 3:n=g.sent();if(!n)return[3,5];return[4,io(e,t)];case 4:m=g.sent(),r=m[0],i=m[1];g.label=5;case 5:return[3,12];case 6:if(!l.authorizeRequestOnChallenge)return[3,12];return[4,l.authorizeRequestOnChallenge({scopes:Array.isArray(a)?a:[a],request:e,response:r,getAccessToken:c,logger:s})];case 7:n=g.sent();if(!n)return[3,9];return[4,io(e,t)];case 8:p=g.sent(),r=p[0],i=p[1];g.label=9;case 9:if(!ao(r))return[3,12];o=co((h=r.headers.get("WWW-Authenticate"))!==null&&h!==void 0?h:"");if(!o)return[3,12];u=void 0;try{u=atob(o)}catch(e){s.warning('The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: '.concat(o));return[2,r]}return[4,oo({scopes:Array.isArray(a)?a:[a],response:r,request:e,getAccessToken:c,logger:s},u)];case 10:n=g.sent();if(!n)return[3,12];return[4,io(e,t)];case 11:f=g.sent(),r=f[0],i=f[1];g.label=12;case 12:if(i){throw i}else{return[2,r]}return[2]}}))}))}}}function lo(e){var t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;var r=/(\w+)="([^"]*)"/g;var i=[];var n;while((n=t.exec(e))!==null){var a=n[1];var o=n[2];var s={};var l=void 0;while((l=r.exec(o))!==null){s[l[1]]=l[2]}i.push({scheme:a,params:s})}return i}function co(e){var t;if(!e){return}var r=lo(e);return(t=r.find((function(e){return e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims"})))===null||t===void 0?void 0:t.params.claims}function uo(e){var t=e;return t&&typeof t.getToken==="function"&&(t.signRequest===undefined||t.getToken.length>0)}var mo="DisableKeepAlivePolicy";function po(){return{name:mo,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){e.disableKeepAlive=true;return[2,t(e)]}))}))}}}function fo(e){return e.getOrderedPolicies().some((function(e){return e.name===mo}))}function ho(e){return Na(e,"base64")}function go(e){return Ca(e,"base64")}var vo="$";var yo="_";function Ao(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||(t===null||t===void 0?void 0:t.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i))!==null||e===undefined||e===null)}var bo=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xo(e){return bo.test(e)}var No=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function Co(e){return No.test(e)}function zo(e){var t=__assign(__assign({},e.headers),e.body);if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?__assign(__assign({},e.headers),{body:e.body}):t}}function Io(e,t){var r,i;var n=e.parsedHeaders;if(e.request.method==="HEAD"){return __assign(__assign({},n),{body:e.parsedBody})}var a=t&&t.bodyMapper;var o=Boolean(a===null||a===void 0?void 0:a.nullable);var s=a===null||a===void 0?void 0:a.type.name;if(s==="Stream"){return __assign(__assign({},n),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody})}var l=s==="Composite"&&a.type.modelProperties||{};var c=Object.keys(l).some((function(e){return l[e].serializedName===""}));if(s==="Sequence"||c){var u=(r=e.parsedBody)!==null&&r!==void 0?r:[];for(var d=0,m=Object.keys(l);d<m.length;d++){var p=m[d];if(l[p].serializedName){u[p]=(i=e.parsedBody)===null||i===void 0?void 0:i[p]}}if(n){for(var f=0,h=Object.keys(n);f<h.length;f++){var p=h[f];u[p]=n[p]}}return o&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(l).length===0?null:u}return zo({body:e.parsedBody,headers:n,hasNullableType:o,shouldWrapBody:Ao(e.parsedBody,s)})}var wo=function(){function e(e,t){if(e===void 0){e={}}if(t===void 0){t=false}this.modelMappers=e;this.isXML=t}e.prototype.validateConstraints=function(e,t,r){var i=function(e,i){throw new Error('"'.concat(r,'" with value "').concat(t,'" should satisfy the constraint "').concat(e,'": ').concat(i,"."))};if(e.constraints&&t!==undefined&&t!==null){var n=e.constraints,a=n.ExclusiveMaximum,o=n.ExclusiveMinimum,s=n.InclusiveMaximum,l=n.InclusiveMinimum,c=n.MaxItems,u=n.MaxLength,d=n.MinItems,m=n.MinLength,p=n.MultipleOf,f=n.Pattern,h=n.UniqueItems;if(a!==undefined&&t>=a){i("ExclusiveMaximum",a)}if(o!==undefined&&t<=o){i("ExclusiveMinimum",o)}if(s!==undefined&&t>s){i("InclusiveMaximum",s)}if(l!==undefined&&t<l){i("InclusiveMinimum",l)}if(c!==undefined&&t.length>c){i("MaxItems",c)}if(u!==undefined&&t.length>u){i("MaxLength",u)}if(d!==undefined&&t.length<d){i("MinItems",d)}if(m!==undefined&&t.length<m){i("MinLength",m)}if(p!==undefined&&t%p!==0){i("MultipleOf",p)}if(f){var g=typeof f==="string"?new RegExp(f):f;if(typeof t!=="string"||t.match(g)===null){i("Pattern",f)}}if(h&&t.some((function(e,t,r){return r.indexOf(e)!==t}))){i("UniqueItems",h)}}};e.prototype.serialize=function(e,t,r,i){var n,a,o;if(i===void 0){i={xml:{}}}var s={xml:{rootName:(n=i.xml.rootName)!==null&&n!==void 0?n:"",includeRoot:(a=i.xml.includeRoot)!==null&&a!==void 0?a:false,xmlCharKey:(o=i.xml.xmlCharKey)!==null&&o!==void 0?o:yo}};var l={};var c=e.type.name;if(!r){r=e.serializedName}if(c.match(/^Sequence$/i)!==null){l=[]}if(e.isConstant){t=e.defaultValue}var u=e.required,d=e.nullable;if(u&&d&&t===undefined){throw new Error("".concat(r," cannot be undefined."))}if(u&&!d&&(t===undefined||t===null)){throw new Error("".concat(r," cannot be null or undefined."))}if(!u&&d===false&&t===null){throw new Error("".concat(r," cannot be null."))}if(t===undefined||t===null){l=t}else{if(c.match(/^any$/i)!==null){l=t}else if(c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){l=Mo(c,r,t)}else if(c.match(/^Enum$/i)!==null){var m=e;l=Do(r,m.type.allowedValues,t)}else if(c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){l=qo(c,t,r)}else if(c.match(/^ByteArray$/i)!==null){l=Ro(r,t)}else if(c.match(/^Base64Url$/i)!==null){l=To(r,t)}else if(c.match(/^Sequence$/i)!==null){l=Ho(this,e,t,r,Boolean(this.isXML),s)}else if(c.match(/^Dictionary$/i)!==null){l=Uo(this,e,t,r,Boolean(this.isXML),s)}else if(c.match(/^Composite$/i)!==null){l=Go(this,e,t,r,Boolean(this.isXML),s)}}return l};e.prototype.deserialize=function(e,t,r,i){var n,a,o,s;if(i===void 0){i={xml:{}}}var l={xml:{rootName:(n=i.xml.rootName)!==null&&n!==void 0?n:"",includeRoot:(a=i.xml.includeRoot)!==null&&a!==void 0?a:false,xmlCharKey:(o=i.xml.xmlCharKey)!==null&&o!==void 0?o:yo},ignoreUnknownProperties:(s=i.ignoreUnknownProperties)!==null&&s!==void 0?s:false};if(t===undefined||t===null){if(this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped){t=[]}if(e.defaultValue!==undefined){t=e.defaultValue}return t}var c;var u=e.type.name;if(!r){r=e.serializedName}if(u.match(/^Composite$/i)!==null){c=Ko(this,e,t,r,l)}else{if(this.isXML){var d=l.xml.xmlCharKey;if(t[vo]!==undefined&&t[d]!==undefined){t=t[d]}}if(u.match(/^Number$/i)!==null){c=parseFloat(t);if(isNaN(c)){c=t}}else if(u.match(/^Boolean$/i)!==null){if(t==="true"){c=true}else if(t==="false"){c=false}else{c=t}}else if(u.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){c=t}else if(u.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){c=new Date(t)}else if(u.match(/^UnixTime$/i)!==null){c=Po(t)}else if(u.match(/^ByteArray$/i)!==null){c=go(t)}else if(u.match(/^Base64Url$/i)!==null){c=_o(t)}else if(u.match(/^Sequence$/i)!==null){c=Vo(this,e,t,r,l)}else if(u.match(/^Dictionary$/i)!==null){c=Jo(this,e,t,r,l)}}if(e.isConstant){c=e.defaultValue}return c};return e}();function So(e,t){if(e===void 0){e={}}if(t===void 0){t=false}return new wo(e,t)}function Bo(e,t){var r=e.length;while(r-1>=0&&e[r-1]===t){--r}return e.substr(0,r)}function Eo(e){if(!e){return undefined}if(!(e instanceof Uint8Array)){throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.")}var t=ho(e);return Bo(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function _o(e){if(!e){return undefined}if(e&&typeof e.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}e=e.replace(/-/g,"+").replace(/_/g,"/");return go(e)}function ko(e){var t=[];var r="";if(e){var i=e.split(".");for(var n=0,a=i;n<a.length;n++){var o=a[n];if(o.charAt(o.length-1)==="\\"){r+=o.substr(0,o.length-1)+"."}else{r+=o;t.push(r);r=""}}}return t}function Qo(e){if(!e){return undefined}if(typeof e.valueOf()==="string"){e=new Date(e)}return Math.floor(e.getTime()/1e3)}function Po(e){if(!e){return undefined}return new Date(e*1e3)}function Mo(e,t,r){if(r!==null&&r!==undefined){if(e.match(/^Number$/i)!==null){if(typeof r!=="number"){throw new Error("".concat(t," with value ").concat(r," must be of type number."))}}else if(e.match(/^String$/i)!==null){if(typeof r.valueOf()!=="string"){throw new Error("".concat(t,' with value "').concat(r,'" must be of type string.'))}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()==="string"&&Co(r))){throw new Error("".concat(t,' with value "').concat(r,'" must be of type string and a valid uuid.'))}}else if(e.match(/^Boolean$/i)!==null){if(typeof r!=="boolean"){throw new Error("".concat(t," with value ").concat(r," must be of type boolean."))}}else if(e.match(/^Stream$/i)!==null){var i=typeof r;if(i!=="string"&&typeof r.pipe!=="function"&&typeof r.tee!=="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob==="function"||typeof Blob==="object")&&r instanceof Blob)&&i!=="function"){throw new Error("".concat(t," must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream."))}}}return r}function Do(e,t,r){if(!t){throw new Error("Please provide a set of allowedValues to validate ".concat(e," as an Enum Type."))}var i=t.some((function(e){if(typeof e.valueOf()==="string"){return e.toLowerCase()===r.toLowerCase()}return e===r}));if(!i){throw new Error("".concat(r," is not a valid value for ").concat(e,". The valid values are: ").concat(JSON.stringify(t),"."))}return r}function Ro(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error("".concat(e," must be of type Uint8Array."))}t=ho(t)}return t}function To(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error("".concat(e," must be of type Uint8Array."))}t=Eo(t)}return t}function qo(e,t,r){if(t!==undefined&&t!==null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in ISO8601 format."))}t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in ISO8601 format."))}t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in RFC-1123 format."))}t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in RFC-1123/ISO8601 format ")+"for it to be serialized in UnixTime/Epoch format.")}t=Qo(t)}else if(e.match(/^TimeSpan$/i)!==null){if(!xo(t)){throw new Error("".concat(r,' must be a string in ISO 8601 format. Instead was "').concat(t,'".'))}}}return t}function Ho(e,t,r,i,n,a){var o,s;var l;if(!Array.isArray(r)){throw new Error("".concat(i," must be of type Array."))}var c=t.type.element;if(!c||typeof c!=="object"){throw new Error('"element" metadata for an Array must be defined in the '+'mapper and it must be of type "object" in '.concat(i,"."))}if(c.type.name==="Composite"&&c.type.className){c=(l=e.modelMappers[c.type.className])!==null&&l!==void 0?l:c}var u=[];for(var d=0;d<r.length;d++){var m=e.serialize(c,r[d],i,a);if(n&&c.xmlNamespace){var p=c.xmlNamespacePrefix?"xmlns:".concat(c.xmlNamespacePrefix):"xmlns";if(c.type.name==="Composite"){u[d]=__assign({},m);u[d][vo]=(o={},o[p]=c.xmlNamespace,o)}else{u[d]={};u[d][a.xml.xmlCharKey]=m;u[d][vo]=(s={},s[p]=c.xmlNamespace,s)}}else{u[d]=m}}return u}function Uo(e,t,r,i,n,a){var o;if(typeof r!=="object"){throw new Error("".concat(i," must be of type object."))}var s=t.type.value;if(!s||typeof s!=="object"){throw new Error('"value" metadata for a Dictionary must be defined in the '+'mapper and it must of type "object" in '.concat(i,"."))}var l={};for(var c=0,u=Object.keys(r);c<u.length;c++){var d=u[c];var m=e.serialize(s,r[d],i,a);l[d]=Yo(s,m,n,a)}if(n&&t.xmlNamespace){var p=t.xmlNamespacePrefix?"xmlns:".concat(t.xmlNamespacePrefix):"xmlns";var f=l;f[vo]=(o={},o[p]=t.xmlNamespace,o);return f}return l}function Lo(e,t,r){var i=t.type.additionalProperties;if(!i&&t.type.className){var n=Fo(e,t,r);return n===null||n===void 0?void 0:n.type.additionalProperties}return i}function Fo(e,t,r){var i=t.type.className;if(!i){throw new Error('Class name for model "'.concat(r,'" is not provided in the mapper "').concat(JSON.stringify(t,undefined,2),'".'))}return e.modelMappers[i]}function Oo(e,t,r){var i=t.type.modelProperties;if(!i){var n=Fo(e,t,r);if(!n){throw new Error('mapper() cannot be null or undefined for model "'.concat(t.type.className,'".'))}i=n===null||n===void 0?void 0:n.type.modelProperties;if(!i){throw new Error("modelProperties cannot be null or undefined in the "+'mapper "'.concat(JSON.stringify(n),'" of type "').concat(t.type.className,'" for object "').concat(r,'".'))}}return i}function Go(e,t,r,i,n,a){var o,s;if(Zo(e,t)){t=Wo(e,t,r,"clientName")}if(r!==undefined&&r!==null){var l={};var c=Oo(e,t,i);for(var u=0,d=Object.keys(c);u<d.length;u++){var m=d[u];var p=c[m];if(p.readOnly){continue}var f=void 0;var h=l;if(e.isXML){if(p.xmlIsWrapped){f=p.xmlName}else{f=p.xmlElementName||p.xmlName}}else{var g=ko(p.serializedName);f=g.pop();for(var v=0,y=g;v<y.length;v++){var A=y[v];var b=h[A];if((b===undefined||b===null)&&(r[m]!==undefined&&r[m]!==null||p.defaultValue!==undefined)){h[A]={}}h=h[A]}}if(h!==undefined&&h!==null){if(n&&t.xmlNamespace){var x=t.xmlNamespacePrefix?"xmlns:".concat(t.xmlNamespacePrefix):"xmlns";h[vo]=__assign(__assign({},h[vo]),(o={},o[x]=t.xmlNamespace,o))}var N=p.serializedName!==""?i+"."+p.serializedName:i;var C=r[m];var z=Zo(e,t);if(z&&z.clientName===m&&(C===undefined||C===null)){C=t.serializedName}var I=e.serialize(p,C,N,a);if(I!==undefined&&f!==undefined&&f!==null){var w=Yo(p,I,n,a);if(n&&p.xmlIsAttribute){h[vo]=h[vo]||{};h[vo][f]=I}else if(n&&p.xmlIsWrapped){h[f]=(s={},s[p.xmlElementName]=w,s)}else{h[f]=w}}}}var S=Lo(e,t,i);if(S){var B=Object.keys(c);var E=function(t){var n=B.every((function(e){return e!==t}));if(n){Object.defineProperty(l,t,{value:e.serialize(S,r[t],i+'["'+t+'"]',a),enumerable:true,configurable:true,writable:true})}};for(var _=0,k=Object.keys(r);_<k.length;_++){var Q=k[_];E(Q)}}return l}return r}function Yo(e,t,r,i){var n;if(!r||!e.xmlNamespace){return t}var a=e.xmlNamespacePrefix?"xmlns:".concat(e.xmlNamespacePrefix):"xmlns";var o=(n={},n[a]=e.xmlNamespace,n);if(["Composite"].includes(e.type.name)){if(t[vo]){return t}else{var s=__assign({},t);s[vo]=o;return s}}var l={};l[i.xml.xmlCharKey]=t;l[vo]=o;return l}function jo(e,t){return[vo,t.xml.xmlCharKey].includes(e)}function Ko(e,t,r,i,n){var a,o;var s=(a=n.xml.xmlCharKey)!==null&&a!==void 0?a:yo;if(Zo(e,t)){t=Wo(e,t,r,"serializedName")}var l=Oo(e,t,i);var c={};var u=[];for(var d=0,m=Object.keys(l);d<m.length;d++){var p=m[d];var f=l[p];var h=ko(l[p].serializedName);u.push(h[0]);var g=f.serializedName,v=f.xmlName,y=f.xmlElementName;var A=i;if(g!==""&&g!==undefined){A=i+"."+g}var b=f.headerCollectionPrefix;if(b){var x={};for(var N=0,C=Object.keys(r);N<C.length;N++){var z=C[N];if(z.startsWith(b)){x[z.substring(b.length)]=e.deserialize(f.type.value,r[z],A,n)}u.push(z)}c[p]=x}else if(e.isXML){if(f.xmlIsAttribute&&r[vo]){c[p]=e.deserialize(f,r[vo][v],A,n)}else if(f.xmlIsMsText){if(r[s]!==undefined){c[p]=r[s]}else if(typeof r==="string"){c[p]=r}}else{var I=y||v||g;if(f.xmlIsWrapped){var w=r[v];var S=(o=w===null||w===void 0?void 0:w[y])!==null&&o!==void 0?o:[];Object.defineProperty(c,p,{value:e.deserialize(f,S,A,n),enumerable:true,configurable:true,writable:true});u.push(v)}else{var B=r[I];c[p]=e.deserialize(f,B,A,n);u.push(I)}}}else{var E=void 0;var _=r;var k=0;for(var Q=0,P=h;Q<P.length;Q++){var M=P[Q];if(!_)break;k++;_=_[M]}if(_===null&&k<h.length){_=undefined}E=_;var D=t.type.polymorphicDiscriminator;if(D&&p===D.clientName&&(E===undefined||E===null)){E=t.serializedName}var R=void 0;if(Array.isArray(r[p])&&l[p].serializedName===""){E=r[p];var T=e.deserialize(f,E,A,n);for(var q=0,H=Object.entries(c);q<H.length;q++){var U=H[q],L=U[0],F=U[1];if(!Object.prototype.hasOwnProperty.call(T,L)){T[L]=F}}c=T}else if(E!==undefined||f.defaultValue!==undefined){R=e.deserialize(f,E,A,n);c[p]=R}}}var O=t.type.additionalProperties;if(O){var G=function(e){for(var t=0,r=Object.keys(l);t<r.length;t++){var i=r[t];var n=ko(l[i].serializedName);if(n[0]===e){return false}}return true};for(var Y=0,j=Object.keys(r);Y<j.length;Y++){var K=j[Y];if(G(K)){var J=e.deserialize(O,r[K],i+'["'+K+'"]',n);Object.defineProperty(c,K,{value:J,enumerable:true,configurable:true,writable:true})}}}else if(r&&!n.ignoreUnknownProperties){for(var V=0,X=Object.keys(r);V<X.length;V++){var p=X[V];if(c[p]===undefined&&!u.includes(p)&&!jo(p,n)){Object.defineProperty(c,p,{value:r[p],enumerable:true,configurable:true,writable:true})}}}return c}function Jo(e,t,r,i,n){var a=t.type.value;if(!a||typeof a!=="object"){throw new Error('"value" metadata for a Dictionary must be defined in the '+'mapper and it must of type "object" in '.concat(i))}if(r){var o={};for(var s=0,l=Object.keys(r);s<l.length;s++){var c=l[s];o[c]=e.deserialize(a,r[c],i,n)}return o}return r}function Vo(e,t,r,i,n){var a;var o=t.type.element;if(!o||typeof o!=="object"){throw new Error('"element" metadata for an Array must be defined in the '+'mapper and it must be of type "object" in '.concat(i))}if(r){if(!Array.isArray(r)){r=[r]}if(o.type.name==="Composite"&&o.type.className){o=(a=e.modelMappers[o.type.className])!==null&&a!==void 0?a:o}var s=[];for(var l=0;l<r.length;l++){s[l]=e.deserialize(o,r[l],"".concat(i,"[").concat(l,"]"),n)}return s}return r}function Xo(e,t,r){var i=[r];while(i.length){var n=i.shift();var a=t===n?t:n+"."+t;if(Object.prototype.hasOwnProperty.call(e,a)){return e[a]}else{for(var o=0,s=Object.entries(e);o<s.length;o++){var l=s[o],c=l[0],u=l[1];if(c.startsWith(n+".")&&u.type.uberParent===n&&u.type.className){i.push(u.type.className)}}}}return undefined}function Wo(e,t,r,i){var n;var a=Zo(e,t);if(a){var o=a[i];if(o){if(i==="serializedName"){o=o.replace(/\\/gi,"")}var s=r[o];var l=(n=t.type.uberParent)!==null&&n!==void 0?n:t.type.className;if(typeof s==="string"&&l){var c=Xo(e.modelMappers.discriminators,s,l);if(c){t=c}}}}return t}function Zo(e,t){return t.type.polymorphicDiscriminator||$o(e,t.type.uberParent)||$o(e,t.type.className)}function $o(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}var es={Sequence:"Sequence",String:"String",Stream:"Stream"};var ts={operationRequestMap:new WeakMap};function rs(e,t,r){var i=t.parameterPath;var n=t.mapper;var a;if(typeof i==="string"){i=[i]}if(Array.isArray(i)){if(i.length>0){if(n.isConstant){a=n.defaultValue}else{var o=is(e,i);if(!o.propertyFound&&r){o=is(r,i)}var s=false;if(!o.propertyFound){s=n.required||i[0]==="options"&&i.length===2}a=s?n.defaultValue:o.propertyValue}}}else{if(n.required){a={}}for(var l=0,c=Object.entries(i);l<c.length;l++){var u=c[l],d=u[0],m=u[1];var p=n.type.modelProperties[d];var f=rs(e,{parameterPath:m,mapper:p},r);if(f!==undefined){if(!a){a={}}Object.defineProperty(a,d,{value:f,enumerable:true,configurable:true,writable:true})}}}return a}function is(e,t){var r={propertyFound:false};var i=0;for(;i<t.length;++i){var n=t[i];if(e&&n in e){e=e[n]}else{break}}if(i===t.length){r.propertyValue=e;r.propertyFound=true}return r}var ns=Symbol.for("@azure/core-client original request");function as(e){return ns in e}function os(e){if(as(e)){return os(e[ns])}var t=ts.operationRequestMap.get(e);if(!t){t={};ts.operationRequestMap.set(e,t)}return t}var ss=["application/json","text/json"];var ls=["application/xml","application/atom+xml"];var cs="deserializationPolicy";function us(e){var t,r,i,n,a,o,s;if(e===void 0){e={}}var l=(r=(t=e.expectedContentTypes)===null||t===void 0?void 0:t.json)!==null&&r!==void 0?r:ss;var c=(n=(i=e.expectedContentTypes)===null||i===void 0?void 0:i.xml)!==null&&n!==void 0?n:ls;var u=e.parseXML;var d=e.serializerOptions;var m={xml:{rootName:(a=d===null||d===void 0?void 0:d.xml.rootName)!==null&&a!==void 0?a:"",includeRoot:(o=d===null||d===void 0?void 0:d.xml.includeRoot)!==null&&o!==void 0?o:false,xmlCharKey:(s=d===null||d===void 0?void 0:d.xml.xmlCharKey)!==null&&s!==void 0?s:yo}};return{name:cs,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,t(e)];case 1:r=i.sent();return[2,ps(l,c,r,m,u)]}}))}))}}}function ds(e){var t;var r=e.request;var i=os(r);var n=i===null||i===void 0?void 0:i.operationSpec;if(n){if(!(i===null||i===void 0?void 0:i.operationResponseGetter)){t=n.responses[e.status]}else{t=i===null||i===void 0?void 0:i.operationResponseGetter(n,e)}}return t}function ms(e){var t=e.request;var r=os(t);var i=r===null||r===void 0?void 0:r.shouldDeserialize;var n;if(i===undefined){n=true}else if(typeof i==="boolean"){n=i}else{n=i(e)}return n}function ps(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d,m,p;return __generator(this,(function(f){switch(f.label){case 0:return[4,gs(e,t,r,i,n)];case 1:a=f.sent();if(!ms(a)){return[2,a]}o=os(a.request);s=o===null||o===void 0?void 0:o.operationSpec;if(!s||!s.responses){return[2,a]}l=ds(a);c=hs(a,s,l,i),u=c.error,d=c.shouldReturnResponse;if(u){throw u}else if(d){return[2,a]}if(l){if(l.bodyMapper){m=a.parsedBody;if(s.isXML&&l.bodyMapper.type.name===es.Sequence){m=typeof m==="object"?m[l.bodyMapper.xmlElementName]:[]}try{a.parsedBody=s.serializer.deserialize(l.bodyMapper,m,"operationRes.parsedBody",i)}catch(e){p=new qa("Error ".concat(e," occurred in deserializing the responseBody - ").concat(a.bodyAsText),{statusCode:a.status,request:a.request,response:a});throw p}}else if(s.httpMethod==="HEAD"){a.parsedBody=r.status>=200&&r.status<300}if(l.headersMapper){a.parsedHeaders=s.serializer.deserialize(l.headersMapper,a.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return[2,a]}}))}))}function fs(e){var t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function hs(e,t,r,i){var n,a,o,s,l;var c=200<=e.status&&e.status<300;var u=fs(t)?c:!!r;if(u){if(r){if(!r.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}var d=r!==null&&r!==void 0?r:t.responses.default;var m=((n=e.request.streamResponseStatusCodes)===null||n===void 0?void 0:n.has(e.status))?"Unexpected status code: ".concat(e.status):e.bodyAsText;var p=new qa(m,{statusCode:e.status,request:e.request,response:e});if(!d&&!(((o=(a=e.parsedBody)===null||a===void 0?void 0:a.error)===null||o===void 0?void 0:o.code)&&((l=(s=e.parsedBody)===null||s===void 0?void 0:s.error)===null||l===void 0?void 0:l.message))){throw p}var f=d===null||d===void 0?void 0:d.bodyMapper;var h=d===null||d===void 0?void 0:d.headersMapper;try{if(e.parsedBody){var g=e.parsedBody;var v=void 0;if(f){var y=g;if(t.isXML&&f.type.name===es.Sequence){y=[];var A=f.xmlElementName;if(typeof g==="object"&&A){y=g[A]}}v=t.serializer.deserialize(f,y,"error.response.parsedBody",i)}var b=g.error||v||g;p.code=b.code;if(b.message){p.message=b.message}if(f){p.response.parsedBody=v}}if(e.headers&&h){p.response.parsedHeaders=t.serializer.deserialize(h,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){p.message='Error "'.concat(t.message,'" occurred in deserializing the responseBody - "').concat(e.bodyAsText,'" for the default response.')}return{error:p,shouldReturnResponse:false}}function gs(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d,m;var p;return __generator(this,(function(f){switch(f.label){case 0:if(!(!((p=r.request.streamResponseStatusCodes)===null||p===void 0?void 0:p.has(r.status))&&r.bodyAsText))return[3,6];a=r.bodyAsText;o=r.headers.get("Content-Type")||"";s=!o?[]:o.split(";").map((function(e){return e.toLowerCase()}));f.label=1;case 1:f.trys.push([1,5,,6]);if(!(s.length===0||s.some((function(t){return e.indexOf(t)!==-1}))))return[3,2];r.parsedBody=JSON.parse(a);return[2,r];case 2:if(!s.some((function(e){return t.indexOf(e)!==-1})))return[3,4];if(!n){throw new Error("Parsing XML not supported.")}return[4,n(a,i.xml)];case 3:l=f.sent();r.parsedBody=l;return[2,r];case 4:return[3,6];case 5:c=f.sent();u='Error "'.concat(c,'" occurred while parsing the response body - ').concat(r.bodyAsText,".");d=c.code||qa.PARSE_ERROR;m=new qa(u,{code:d,statusCode:r.status,request:r.request,response:r});throw m;case 6:return[2,r]}}))}))}function vs(e){var t=new Set;for(var r=0,i=Object.entries(e.responses);r<i.length;r++){var n=i[r],a=n[0],o=n[1];if(o.bodyMapper&&o.bodyMapper.type.name===es.Stream){t.add(Number(a))}}return t}function ys(e){var t=e.parameterPath,r=e.mapper;var i;if(typeof t==="string"){i=t}else if(Array.isArray(t)){i=t.join(".")}else{i=r.serializedName}return i}var As="serializationPolicy";function bs(e){if(e===void 0){e={}}var t=e.stringifyXML;return{name:As,sendRequest:function(e,r){var i=os(e);var n=i===null||i===void 0?void 0:i.operationSpec;var a=i===null||i===void 0?void 0:i.operationArguments;if(n&&a){xs(e,a,n);Ns(e,a,n,t)}return r(e)}}}function xs(e,t,r){var i,n;if(r.headerParameters){for(var a=0,o=r.headerParameters;a<o.length;a++){var s=o[a];var l=rs(t,s);if(l!==null&&l!==undefined||s.mapper.required){l=r.serializer.serialize(s.mapper,l,ys(s));var c=s.mapper.headerCollectionPrefix;if(c){for(var u=0,d=Object.keys(l);u<d.length;u++){var m=d[u];e.headers.set(c+m,l[m])}}else{e.headers.set(s.mapper.serializedName||ys(s),l)}}}}var p=(n=(i=t.options)===null||i===void 0?void 0:i.requestOptions)===null||n===void 0?void 0:n.customHeaders;if(p){for(var f=0,h=Object.keys(p);f<h.length;f++){var g=h[f];e.headers.set(g,p[g])}}}function Ns(e,t,r,i){var n,a,o,s,l;if(i===void 0){i=function(){throw new Error("XML serialization unsupported!")}}var c=(n=t.options)===null||n===void 0?void 0:n.serializerOptions;var u={xml:{rootName:(a=c===null||c===void 0?void 0:c.xml.rootName)!==null&&a!==void 0?a:"",includeRoot:(o=c===null||c===void 0?void 0:c.xml.includeRoot)!==null&&o!==void 0?o:false,xmlCharKey:(s=c===null||c===void 0?void 0:c.xml.xmlCharKey)!==null&&s!==void 0?s:yo}};var d=u.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=rs(t,r.requestBody);var m=r.requestBody.mapper;var p=m.required,f=m.serializedName,h=m.xmlName,g=m.xmlElementName,v=m.xmlNamespace,y=m.xmlNamespacePrefix,A=m.nullable;var b=m.type.name;try{if(e.body!==undefined&&e.body!==null||A&&e.body===null||p){var x=ys(r.requestBody);e.body=r.serializer.serialize(m,e.body,x,u);var N=b===es.Stream;if(r.isXML){var C=y?"xmlns:".concat(y):"xmlns";var z=Cs(v,C,b,e.body,u);if(b===es.Sequence){e.body=i(zs(z,g||h||f,C,v),{rootName:h||f,xmlCharKey:d})}else if(!N){e.body=i(z,{rootName:h||f,xmlCharKey:d})}}else if(b===es.String&&(((l=r.contentType)===null||l===void 0?void 0:l.match("text/plain"))||r.mediaType==="text")){return}else if(!N){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error('Error "'.concat(e.message,'" occurred in serializing the payload - ').concat(JSON.stringify(f,undefined," "),"."))}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(var I=0,w=r.formDataParameters;I<w.length;I++){var S=w[I];var B=rs(t,S);if(B!==undefined&&B!==null){var E=S.mapper.serializedName||ys(S);e.formData[E]=r.serializer.serialize(S.mapper,B,ys(S),u)}}}}function Cs(e,t,r,i,n){var a;if(e&&!["Composite","Sequence","Dictionary"].includes(r)){var o={};o[n.xml.xmlCharKey]=i;o[vo]=(a={},a[t]=e,a);return o}return i}function zs(e,t,r,i){var n,a,o;if(!Array.isArray(e)){e=[e]}if(!r||!i){return n={},n[t]=e,n}var s=(a={},a[t]=e,a);s[vo]=(o={},o[r]=i,o);return s}function Is(e){if(e===void 0){e={}}var t=Va(e!==null&&e!==void 0?e:{});if(e.credentialOptions){t.addPolicy(so({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy(bs(e.serializationOptions),{phase:"Serialize"});t.addPolicy(us(e.deserializationOptions),{phase:"Deserialize"});return t}var ws;function Ss(){if(!ws){ws=Xa()}return ws}var Bs={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function Es(e,t,r,i){var n=ks(t,r,i);var a=false;var o=_s(e,n);if(t.path){var s=_s(t.path,n);if(t.path==="/{nextLink}"&&s.startsWith("/")){s=s.substring(1)}if(Qs(s)){o=s;a=true}else{o=Ps(o,s)}}var l=Ms(t,r,i),c=l.queryParams,u=l.sequenceParams;o=Rs(o,c,u,a);return o}function _s(e,t){var r=e;for(var i=0,n=t;i<n.length;i++){var a=n[i],o=a[0],s=a[1];r=r.split(o).join(s)}return r}function ks(e,t,r){var i;var n=new Map;if((i=e.urlParameters)===null||i===void 0?void 0:i.length){for(var a=0,o=e.urlParameters;a<o.length;a++){var s=o[a];var l=rs(t,s,r);var c=ys(s);l=e.serializer.serialize(s.mapper,l,c);if(!s.skipEncoding){l=encodeURIComponent(l)}n.set("{".concat(s.mapper.serializedName||c,"}"),l)}}return n}function Qs(e){return e.includes("://")}function Ps(e,t){if(!t){return e}var r=new URL(e);var i=r.pathname;if(!i.endsWith("/")){i="".concat(i,"/")}if(t.startsWith("/")){t=t.substring(1)}var n=t.indexOf("?");if(n!==-1){var a=t.substring(0,n);var o=t.substring(n+1);i=i+a;if(o){r.search=r.search?"".concat(r.search,"&").concat(o):o}}else{i=i+t}Object.assign(r,{pathname:i});return r.toString()}function Ms(e,t,r){var i;var n=new Map;var a=new Set;if((i=e.queryParameters)===null||i===void 0?void 0:i.length){for(var o=0,s=e.queryParameters;o<s.length;o++){var l=s[o];if(l.mapper.type.name==="Sequence"&&l.mapper.serializedName){a.add(l.mapper.serializedName)}var c=rs(t,l,r);if(c!==undefined&&c!==null||l.mapper.required){c=e.serializer.serialize(l.mapper,c,ys(l));var u=l.collectionFormat?Bs[l.collectionFormat]:"";if(Array.isArray(c)){c=c.map((function(e){if(e===null||e===undefined){return""}return e}))}if(l.collectionFormat==="Multi"&&c.length===0){continue}else if(Array.isArray(c)&&(l.collectionFormat==="SSV"||l.collectionFormat==="TSV")){c=c.join(u)}if(!l.skipEncoding){if(Array.isArray(c)){c=c.map((function(e){return encodeURIComponent(e)}))}else{c=encodeURIComponent(c)}}if(Array.isArray(c)&&(l.collectionFormat==="CSV"||l.collectionFormat==="Pipes")){c=c.join(u)}n.set(l.mapper.serializedName||ys(l),c)}}}return{queryParams:n,sequenceParams:a}}function Ds(e){var t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);var r=e.split("&");for(var i=0,n=r;i<n.length;i++){var a=n[i];var o=a.split("=",2),s=o[0],l=o[1];var c=t.get(s);if(c){if(Array.isArray(c)){c.push(l)}else{t.set(s,[c,l])}}else{t.set(s,l)}}return t}function Rs(e,t,r,i){if(i===void 0){i=false}if(t.size===0){return e}var n=new URL(e);var a=Ds(n.search);for(var o=0,s=t;o<s.length;o++){var l=s[o],c=l[0],u=l[1];var d=a.get(c);if(Array.isArray(d)){if(Array.isArray(u)){d.push.apply(d,u);var m=new Set(d);a.set(c,Array.from(m))}else{d.push(u)}}else if(d){if(Array.isArray(u)){u.unshift(d)}else if(r.has(c)){a.set(c,[d,u])}if(!i){a.set(c,u)}}else{a.set(c,u)}}var p=[];for(var f=0,h=a;f<h.length;f++){var g=h[f],c=g[0],u=g[1];if(typeof u==="string"){p.push("".concat(c,"=").concat(u))}else if(Array.isArray(u)){for(var v=0,y=u;v<y.length;v++){var A=y[v];p.push("".concat(c,"=").concat(A))}}else{p.push("".concat(c,"=").concat(u))}}n.search=p.length?"?".concat(p.join("&")):"";return n.toString()}var Ts=On("core-client");var qs=function(){function e(e){if(e===void 0){e={}}var t,r;this._requestContentType=e.requestContentType;this._endpoint=(t=e.endpoint)!==null&&t!==void 0?t:e.baseUri;if(e.baseUri){Ts.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||Ss();this.pipeline=e.pipeline||Hs(e);if((r=e.additionalPolicies)===null||r===void 0?void 0:r.length){for(var i=0,n=e.additionalPolicies;i<n.length;i++){var a=n[i],o=a.policy,s=a.position;var l=s==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(o,{afterPhase:l})}}}e.prototype.sendRequest=function(e){return this.pipeline.sendRequest(this._httpClient,e)};e.prototype.sendOperationRequest=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,c,u,d,c,u;return __generator(this,(function(m){switch(m.label){case 0:r=t.baseUrl||this._endpoint;if(!r){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}i=Es(r,t,e,this);n=Za({url:i});n.method=t.httpMethod;a=os(n);a.operationSpec=t;a.operationArguments=e;o=t.contentType||this._requestContentType;if(o&&t.requestBody){n.headers.set("Content-Type",o)}s=e.options;if(s){l=s.requestOptions;if(l){if(l.timeout){n.timeout=l.timeout}if(l.onUploadProgress){n.onUploadProgress=l.onUploadProgress}if(l.onDownloadProgress){n.onDownloadProgress=l.onDownloadProgress}if(l.shouldDeserialize!==undefined){a.shouldDeserialize=l.shouldDeserialize}if(l.allowInsecureConnection){n.allowInsecureConnection=true}}if(s.abortSignal){n.abortSignal=s.abortSignal}if(s.tracingOptions){n.tracingOptions=s.tracingOptions}}if(this._allowInsecureConnection){n.allowInsecureConnection=true}if(n.streamResponseStatusCodes===undefined){n.streamResponseStatusCodes=vs(t)}m.label=1;case 1:m.trys.push([1,3,,4]);return[4,this.sendRequest(n)];case 2:c=m.sent();u=Io(c,t.responses[c.status]);if(s===null||s===void 0?void 0:s.onResponse){s.onResponse(c,u)}return[2,u];case 3:d=m.sent();if(typeof d==="object"&&(d===null||d===void 0?void 0:d.response)){c=d.response;u=Io(c,t.responses[d.statusCode]||t.responses["default"]);d.details=u;if(s===null||s===void 0?void 0:s.onResponse){s.onResponse(c,u,d)}}throw d;case 4:return[2]}}))}))};return e}();function Hs(e){var t=Us(e);var r=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return Is(__assign(__assign({},e),{credentialOptions:r}))}function Us(e){if(e.credentialScopes){return e.credentialScopes}if(e.endpoint){return"".concat(e.endpoint,"/.default")}if(e.baseUri){return"".concat(e.baseUri,"/.default")}if(e.credential){throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}return undefined}var Ls={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Fs(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}var Os=function(e){return __awaiter(u,void 0,void 0,(function(){var t,r,i,n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:t=Js(e.request);r=js(e.response);if(!r)return[3,2];i=Ks(r);n=Ys(e,i);a=Gs(i);if(!a){return[2,false]}return[4,e.getAccessToken(n,__assign(__assign({},t),{tenantId:a}))];case 1:o=l.sent();if(!o){return[2,false]}e.request.headers.set(Ls.HeaderConstants.AUTHORIZATION,"".concat((s=o.tokenType)!==null&&s!==void 0?s:"Bearer"," ").concat(o.token));return[2,true];case 2:return[2,false]}}))}))};function Gs(e){var t=new URL(e.authorization_uri);var r=t.pathname.split("/");var i=r[1];if(i&&Fs(i)){return i}return undefined}function Ys(e,t){if(!t.resource_id){return e.scopes}var r=new URL(t.resource_id);var i=new URL(Ls.DefaultScope,r.origin).toString();if(i==="https://disk.azure.com/.default"){i="https://disk.azure.com//.default"}return[i]}function js(e){var t=e.headers.get("WWW-Authenticate");if(e.status===401&&t){return t}return}function Ks(e){var t=e.slice("Bearer ".length);var r="".concat(t.trim()," ").split(" ").filter((function(e){return e}));var i=r.map((function(e){return function(e){var t;var r=e[0],i=e[1];return t={},t[r]=i,t}(e.trim().split("="))}));return i.reduce((function(e,t){return __assign(__assign({},e),t)}),{})}function Js(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}var Vs=Symbol("Original PipelineRequest");var Xs=Symbol.for("@azure/core-client original request");function Ws(e,t){if(t===void 0){t={}}var r=e;var i=r[Vs];var n=Wa(e.headers.toJson({preserveCase:true}));if(i){i.headers=n;return i}else{var a=Za({url:e.url,method:e.method,headers:n,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});if(t.originalRequest){a[Xs]=t.originalRequest}return a}}function Zs(e,t){var r;var i=(r=t===null||t===void 0?void 0:t.originalRequest)!==null&&r!==void 0?r:e;var n={url:e.url,method:e.method,headers:$s(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone:function(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare:function(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties:function(){}};if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(n,{get:function(t,r,a){if(r===Vs){return e}else if(r==="clone"){return function(){return Zs(Ws(n,{originalRequest:i}),{createProxy:true,originalRequest:i})}}return Reflect.get(t,r,a)},set:function(t,r,i,n){if(r==="keepAlive"){e.disableKeepAlive=!i}var a=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof r==="string"&&a.includes(r)){e[r]=i}return Reflect.set(t,r,i,n)}})}else{return n}}function $s(e){return new tl(e.toJSON({preserveCase:true}))}function el(e){return e.toLowerCase()}var tl=function(){function e(e){this._headersMap={};if(e){for(var t in e){this.set(t,e[t])}}}e.prototype.set=function(e,t){this._headersMap[el(e)]={name:e,value:t.toString()}};e.prototype.get=function(e){var t=this._headersMap[el(e)];return!t?undefined:t.value};e.prototype.contains=function(e){return!!this._headersMap[el(e)]};e.prototype.remove=function(e){var t=this.contains(e);delete this._headersMap[el(e)];return t};e.prototype.rawHeaders=function(){return this.toJson({preserveCase:true})};e.prototype.headersArray=function(){var e=[];for(var t in this._headersMap){e.push(this._headersMap[t])}return e};e.prototype.headerNames=function(){var e=[];var t=this.headersArray();for(var r=0;r<t.length;++r){e.push(t[r].name)}return e};e.prototype.headerValues=function(){var e=[];var t=this.headersArray();for(var r=0;r<t.length;++r){e.push(t[r].value)}return e};e.prototype.toJson=function(e){if(e===void 0){e={}}var t={};if(e.preserveCase){for(var r in this._headersMap){var i=this._headersMap[r];t[i.name]=i.value}}else{for(var r in this._headersMap){var i=this._headersMap[r];t[el(i.name)]=i.value}}return t};e.prototype.toString=function(){return JSON.stringify(this.toJson({preserveCase:true}))};e.prototype.clone=function(){var t={};for(var r in this._headersMap){var i=this._headersMap[r];t[i.name]=i.value}return new e(t)};return e}();var rl=Symbol("Original FullOperationResponse");function il(e,t){var r=Zs(e.request);var i=$s(e.headers);if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(e,{get:function(t,n,a){if(n==="headers"){return i}else if(n==="request"){return r}else if(n===rl){return e}return Reflect.get(t,n,a)},set:function(e,t,n,a){if(t==="headers"){i=n}else if(t==="request"){r=n}return Reflect.set(e,t,n,a)}})}else{return __assign(__assign({},e),{request:r,headers:i})}}function nl(e){var t=e;var r=t[rl];var i=Wa(e.headers.toJson({preserveCase:true}));if(r){r.headers=i;return r}else{return __assign(__assign({},e),{headers:i,request:Ws(e.request)})}}var al=function(e){__extends(t,e);function t(t){var r,i;var n=e.call(this,t)||this;if(((r=t.keepAliveOptions)===null||r===void 0?void 0:r.enable)===false&&!fo(n.pipeline)){n.pipeline.addPolicy(po())}if(((i=t.redirectOptions)===null||i===void 0?void 0:i.handleRedirects)===false){n.pipeline.removePolicy({name:jn})}return n}t.prototype.sendOperationRequest=function(t,r){return __awaiter(this,void 0,void 0,(function(){function i(e,t,r){a=e;if(n){n(e,t,r)}}var n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:n=(s=t===null||t===void 0?void 0:t.options)===null||s===void 0?void 0:s.onResponse;t.options=__assign(__assign({},t.options),{onResponse:i});return[4,e.prototype.sendOperationRequest.call(this,t,r)];case 1:o=l.sent();if(a){Object.defineProperty(o,"_response",{value:il(a)})}return[2,o]}}))}))};return t}(qs);var ol;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(ol||(ol={}));var sl={log:function(e,t){},shouldLog:function(e){return false}};var ll="RequestPolicyFactoryPolicy";function cl(e){var t=e.slice().reverse();return{name:ll,sendRequest:function(e,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a,o,s,l;return __generator(this,(function(c){switch(c.label){case 0:i={sendRequest:function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,r(Ws(e))];case 1:t=i.sent();return[2,il(t,{createProxy:true})]}}))}))}};for(n=0,a=t;n<a.length;n++){o=a[n];i=o.create(i,sl)}s=Zs(e,{createProxy:true});return[4,i.sendRequest(s)];case 1:l=c.sent();return[2,nl(l)]}}))}))}}}function ul(e){var t=this;return{sendRequest:function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,e.sendRequest(Zs(r,{createProxy:true}))];case 1:t=i.sent();return[2,nl(t)]}}))}))}}}var dl="$";var ml="_";if(!document||!DOMParser||!Node||!XMLSerializer){throw new Error('This library depends on the following DOM objects: ["document", "DOMParser", "Node", "XMLSerializer"] to parse XML, but some of these are undefined. You may provide a polyfill to make these globally available in order to support your environment. For more information, please refer to https://aka.ms/azsdk/js/web-workers. ')}var pl;try{if(typeof self.trustedTypes!=="undefined"){pl=self.trustedTypes.createPolicy("@azure/core-xml#xml.browser",{createHTML:function(e){return e}})}}catch(e){console.warn('Could not create trusted types policy "@azure/core-xml#xml.browser"')}var fl=document.implementation.createDocument(null,null,null);var hl=new DOMParser;function gl(e,t){var r,i,n;if(t===void 0){t={}}try{var a={includeRoot:(r=t.includeRoot)!==null&&r!==void 0?r:false,xmlCharKey:(i=t.xmlCharKey)!==null&&i!==void 0?i:ml};var o=hl.parseFromString((n=pl===null||pl===void 0?void 0:pl.createHTML(e))!==null&&n!==void 0?n:e,"application/xml");Al(o);var s=void 0;if(a.includeRoot){s=Nl(o,a)}else{s=Nl(o.childNodes[0],a)}return Promise.resolve(s)}catch(e){return Promise.reject(e)}}var vl;function yl(){var e,t;if(vl===undefined){try{var r=(e=pl===null||pl===void 0?void 0:pl.createHTML("INVALID"))!==null&&e!==void 0?e:"INVALID";vl=(t=hl.parseFromString(r,"text/xml").getElementsByTagName("parsererror")[0].namespaceURI)!==null&&t!==void 0?t:""}catch(e){vl=""}}return vl}function Al(e){var t=e.getElementsByTagName("parsererror");if(t.length>0&&yl()){for(var r=0;r<t.length;r++){if(t[r].namespaceURI===vl){throw new Error(t[r].innerHTML)}}}}function bl(e){return!!e.attributes}function xl(e){return bl(e)&&e.hasAttributes()?e:undefined}function Nl(e,t){var r;var i={};var n=e.childNodes.length;var a=e.childNodes[0];var o=a&&n===1&&a.nodeType===Node.TEXT_NODE&&a.nodeValue||undefined;var s=xl(e);if(s){i[dl]={};for(var l=0;l<s.attributes.length;l++){var c=s.attributes[l];i[dl][c.nodeName]=c.nodeValue}if(o){i[t.xmlCharKey]=o}}else if(n===0){i=""}else if(o){i=o}if(!o){for(var l=0;l<n;l++){var u=e.childNodes[l];if((u===null||u===void 0?void 0:u.nodeType)===Node.CDATA_SECTION_NODE){i=u.textContent}else if(((r=u===null||u===void 0?void 0:u.firstChild)===null||r===void 0?void 0:r.nodeType)===Node.CDATA_SECTION_NODE){i[u.nodeName]=u.textContent}else if(u.nodeType!==Node.TEXT_NODE){var d=Nl(u,t);if(!i[u.nodeName]){i[u.nodeName]=d}else if(Array.isArray(i[u.nodeName])){i[u.nodeName].push(d)}else{i[u.nodeName]=[i[u.nodeName],d]}}}}return i}var Cl=new XMLSerializer;function zl(e,t){var r,i,n;if(t===void 0){t={}}var a={rootName:(r=t.rootName)!==null&&r!==void 0?r:"root",xmlCharKey:(i=t.xmlCharKey)!==null&&i!==void 0?i:ml,cdataPropName:(n=t.cdataPropName)!==null&&n!==void 0?n:"__cdata"};var o=wl(e,a.rootName,a)[0];return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Cl.serializeToString(o).replace(/ xmlns=""/g,"")}function Il(e){var t=[];for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];var a=fl.createAttribute(n);a.value=e[n].toString();t.push(a)}return t}function wl(e,t,r){var i;if(e===undefined||e===null||typeof e==="string"||typeof e==="number"||typeof e==="boolean"){var n=fl.createElement(t);n.textContent=e===undefined||e===null?"":e.toString();return[n]}else if(Array.isArray(e)){var a=[];for(var o=0,s=e;o<s.length;o++){var l=s[o];for(var c=0,u=wl(l,t,r);c<u.length;c++){var d=u[c];a.push(d)}}return a}else if(typeof e==="object"){var n=void 0;if((i=e[dl])===null||i===void 0?void 0:i["xmlns"]){n=fl.createElementNS(e[dl]["xmlns"],t)}else{n=fl.createElement(t)}for(var m=0,p=Object.keys(e);m<p.length;m++){var f=p[m];if(f===dl){for(var h=0,g=Il(e[f]);h<g.length;h++){var v=g[h];n.attributes.setNamedItem(v)}}else if(f===r.xmlCharKey){n.textContent=e[f].toString()}else if(f===r.cdataPropName){var y=fl.createCDATASection(e[f].toString());n.appendChild(y)}else{for(var A=0,b=wl(e[f],f,r);A<b.length;A++){var d=b[A];n.appendChild(d)}}}return[n]}else{throw new Error("Illegal value passed to buildObject: ".concat(e))}}var Sl=On("storage-blob");var Bl=function(){function e(e,t,r,i,n,a){throw new Error("BufferScheduler is not supported in non-Node.js environments.")}e.prototype.do=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("BufferScheduler is not supported in non-Node.js environments.")}))}))};return e}();var El="/home/runner/work/ezeep-js/ezeep-js/node_modules/@azure/storage-common/dist/browser";var _l=[];var kl=[];var Ql=typeof Uint8Array!=="undefined"?Uint8Array:Array;var Pl=false;function Ml(){Pl=true;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var t=0,r=e.length;t<r;++t){_l[t]=e[t];kl[e.charCodeAt(t)]=t}kl["-".charCodeAt(0)]=62;kl["_".charCodeAt(0)]=63}function Dl(e){if(!Pl){Ml()}var t,r,i,n,a,o;var s=e.length;if(s%4>0){throw new Error("Invalid string. Length must be a multiple of 4")}a=e[s-2]==="="?2:e[s-1]==="="?1:0;o=new Ql(s*3/4-a);i=a>0?s-4:s;var l=0;for(t=0,r=0;t<i;t+=4,r+=3){n=kl[e.charCodeAt(t)]<<18|kl[e.charCodeAt(t+1)]<<12|kl[e.charCodeAt(t+2)]<<6|kl[e.charCodeAt(t+3)];o[l++]=n>>16&255;o[l++]=n>>8&255;o[l++]=n&255}if(a===2){n=kl[e.charCodeAt(t)]<<2|kl[e.charCodeAt(t+1)]>>4;o[l++]=n&255}else if(a===1){n=kl[e.charCodeAt(t)]<<10|kl[e.charCodeAt(t+1)]<<4|kl[e.charCodeAt(t+2)]>>2;o[l++]=n>>8&255;o[l++]=n&255}return o}function Rl(e){return _l[e>>18&63]+_l[e>>12&63]+_l[e>>6&63]+_l[e&63]}function Tl(e,t,r){var i;var n=[];for(var a=t;a<r;a+=3){i=(e[a]<<16)+(e[a+1]<<8)+e[a+2];n.push(Rl(i))}return n.join("")}function ql(e){if(!Pl){Ml()}var t;var r=e.length;var i=r%3;var n="";var a=[];var o=16383;for(var s=0,l=r-i;s<l;s+=o){a.push(Tl(e,s,s+o>l?l:s+o))}if(i===1){t=e[r-1];n+=_l[t>>2];n+=_l[t<<4&63];n+="=="}else if(i===2){t=(e[r-2]<<8)+e[r-1];n+=_l[t>>10];n+=_l[t>>4&63];n+=_l[t<<2&63];n+="="}a.push(n);return a.join("")}function Hl(e,t,r,i,n){var a,o;var s=n*8-i-1;var l=(1<<s)-1;var c=l>>1;var u=-7;var d=r?n-1:0;var m=r?-1:1;var p=e[t+d];d+=m;a=p&(1<<-u)-1;p>>=-u;u+=s;for(;u>0;a=a*256+e[t+d],d+=m,u-=8){}o=a&(1<<-u)-1;a>>=-u;u+=i;for(;u>0;o=o*256+e[t+d],d+=m,u-=8){}if(a===0){a=1-c}else if(a===l){return o?NaN:(p?-1:1)*Infinity}else{o=o+Math.pow(2,i);a=a-c}return(p?-1:1)*o*Math.pow(2,a-i)}function Ul(e,t,r,i,n,a){var o,s,l;var c=a*8-n-1;var u=(1<<c)-1;var d=u>>1;var m=n===23?Math.pow(2,-24)-Math.pow(2,-77):0;var p=i?0:a-1;var f=i?1:-1;var h=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){s=isNaN(t)?1:0;o=u}else{o=Math.floor(Math.log(t)/Math.LN2);if(t*(l=Math.pow(2,-o))<1){o--;l*=2}if(o+d>=1){t+=m/l}else{t+=m*Math.pow(2,1-d)}if(t*l>=2){o++;l/=2}if(o+d>=u){s=0;o=u}else if(o+d>=1){s=(t*l-1)*Math.pow(2,n);o=o+d}else{s=t*Math.pow(2,d-1)*Math.pow(2,n);o=0}}for(;n>=8;e[r+p]=s&255,p+=f,s/=256,n-=8){}o=o<<n|s;c+=n;for(;c>0;e[r+p]=o&255,p+=f,o/=256,c-=8){}e[r+p-f]|=h*128}var Ll={}.toString;var Fl=Array.isArray||function(e){return Ll.call(e)=="[object Array]"};
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function i(){this.constructor=t}t.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?r(e.value):n(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(i=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];n=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var r={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)r[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++){if(t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n]))r[i[n]]=e[i[n]]}return r};var __await=this&&this.__await||function(e){return this instanceof __await?(this.v=e,this):new __await(e)};var __asyncGenerator=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(e,t||[]),n,a=[];return n=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),n[Symbol.asyncIterator]=function(){return this},n;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){if(i[e]){n[e]=function(t){return new Promise((function(r,i){a.push([e,t,r,i])>1||l(e,t)}))};if(t)n[e]=t(n[e])}}function l(e,t){try{c(i[e](t))}catch(e){m(a[0][3],e)}}function c(e){e.value instanceof __await?Promise.resolve(e.value.v).then(u,d):m(a[0][2],e)}function u(e){l("next",e)}function d(e){l("throw",e)}function m(e,t){if(e(t),a.shift(),a.length)l(a[0][0],a[0][1])}};var __asyncValues=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(t){r[t]=e[t]&&function(r){return new Promise((function(i,a){r=e[t](r),n(i,a,r.done,r.value)}))}}function n(e,t,r,i){Promise.resolve(i).then((function(t){e({value:t,done:r})}),t)}};var __asyncDelegator=this&&this.__asyncDelegator||function(e){var t,r;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,n){t[i]=e[i]?function(t){return(r=!r)?{value:__await(e[i](t)),done:false}:n?n(t):t}:n}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,a;i<n;i++){if(a||!(i in t)){if(!a)a=Array.prototype.slice.call(t,0,i);a[i]=t[i]}}return e.concat(a||Array.prototype.slice.call(t))};var __values=this&&this.__values||function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};System.register(["./p-CYpousxy.system.js"],(function(e){"use strict";var t,r,i,n,a,o,s,l,c;return{setters:[function(e){t=e.S;r=e.f;i=e.r;n=e.a;a=e.h;o=e.d;s=e.g;l=e.e;c=e.F}],execute:function(){var u=this;var d,m;var p;var f=function(e,t,r){var i=e.get(t);if(!i){i=[];e.set(t,i)}if(!i.some((function(e){return e.deref()===r}))){i.push(new WeakRef(r))}};var h=function(e,t){var r;return function(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}if(r){clearTimeout(r)}r=setTimeout((function(){r=0;e.apply(void 0,i)}),t)}};var g=function(e){return!("isConnected"in e)||e.isConnected};var v=h((function(e){for(var t=0,r=e.keys();t<r.length;t++){var i=r[t];var n=e.get(i).filter((function(e){var t=e.deref();return t&&g(t)}));e.set(i,n)}}),2e3);var y=t;var A=y.forceUpdate;var b=y.getRenderingRef;var x=function(){if(typeof b!=="function"||typeof A!=="function"){return{}}var e=A;var t=b;var r=new Map;return{dispose:function(){return r.clear()},get:function(e){var i=t();if(i){f(r,e,i)}},set:function(t){var i=r.get(t);if(i){var n=i.filter((function(t){var r=t.deref();if(!r)return false;return e(r)}));r.set(t,n)}v(r)},reset:function(){r.forEach((function(t){t.forEach((function(t){var r=t.deref();if(r)e(r)}))}));v(r)}}};var N=function(e){return typeof e==="function"?e():e};var C=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var r=function(){var t;return(t=N(e))!==null&&t!==void 0?t:{}};var i=r();var n=new Map(Object.entries(i));var a=typeof Proxy!=="undefined";var o=a?null:{};var s={dispose:[],get:[],set:[],reset:[]};var l=new Map;var c=function(){n=new Map(Object.entries(r()));if(!a){b()}s.reset.forEach((function(e){return e()}))};var u=function(){s.dispose.forEach((function(e){return e()}));c()};var d=function(e){s.get.forEach((function(t){return t(e)}));return n.get(e)};var m=function(e,r){var i=n.get(e);if(t(r,i,e)){n.set(e,r);if(!a){A(e)}s.set.forEach((function(t){return t(e,r,i)}))}};var p=a?new Proxy(i,{get:function(e,t){return d(t)},ownKeys:function(e){return Array.from(n.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return n.has(t)},set:function(e,t,r){m(t,r);return true}}):function(){b();return o}();var f=function(e,t){s[e].push(t);return function(){z(s[e],t)}};var h=function(e,t){var i=function(r,i){if(r===e){t(i)}};var n=function(){var i=r();t(i[e])};var a=f("set",i);var o=f("reset",n);l.set(t,{setHandler:i,resetHandler:n,propName:e});return function(){a();o();l.delete(t)}};var g=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=e.reduce((function(e,t){if(t.set){e.push(f("set",t.set))}if(t.get){e.push(f("get",t.get))}if(t.reset){e.push(f("reset",t.reset))}if(t.dispose){e.push(f("dispose",t.dispose))}return e}),[]);return function(){return r.forEach((function(e){return e()}))}};var v=function(e){var t=n.get(e);s.set.forEach((function(r){return r(e,t,t)}))};var y=function(e,t){var r=l.get(t);if(r&&r.propName===e){z(s.set,r.setHandler);z(s.reset,r.resetHandler);l.delete(t)}};function A(e){if(a||!o){return}if(Object.prototype.hasOwnProperty.call(o,e)){return}Object.defineProperty(o,e,{configurable:true,enumerable:true,get:function(){return d(e)},set:function(t){m(e,t)}})}function b(){if(a||!o){return}var e=new Set(n.keys());for(var t=0,r=Object.keys(o);t<r.length;t++){var i=r[t];if(!e.has(i)){delete o[i]}}for(var s=0,l=e;s<l.length;s++){var i=l[s];A(i)}}return{state:p,get:d,set:m,on:f,onChange:h,use:g,dispose:u,reset:c,forceUpdate:v,removeListener:y}};var z=function(e,t){var r=e.indexOf(t);if(r>=0){e[r]=e[e.length-1];e.length--}};var I=function(e,t){var r=C(e,t);r.use(x());return r};var w=function(e){return typeof e==="string"};var S=function(){var e;var t;var r=new Promise((function(r,i){e=r;t=i}));r.resolve=e;r.reject=t;return r};var B=function(e){if(e==null)return"";return String(e)};var E=function(e,t,r){e.forEach((function(e){if(t[e])r[e]=t[e]}))};var _=/###/g;var k=function(e){return e&&e.includes("###")?e.replace(_,"."):e};var Q=function(e){return!e||w(e)};var P=function(e,t,r){var i=!w(t)?t:t.split(".");var n=0;while(n<i.length-1){if(Q(e))return{};var a=k(i[n]);if(!e[a]&&r)e[a]=new r;if(Object.prototype.hasOwnProperty.call(e,a)){e=e[a]}else{e={}}++n}if(Q(e))return{};return{obj:e,k:k(i[n])}};var M=function(e,t,r){var i=P(e,t,Object),n=i.obj,a=i.k;if(n!==undefined||t.length===1){n[a]=r;return}var o=t[t.length-1];var s=t.slice(0,t.length-1);var l=P(e,s,Object);while(l.obj===undefined&&s.length){o="".concat(s[s.length-1],".").concat(o);s=s.slice(0,s.length-1);l=P(e,s,Object);if((l===null||l===void 0?void 0:l.obj)&&typeof l.obj["".concat(l.k,".").concat(o)]!=="undefined"){l.obj=undefined}}l.obj["".concat(l.k,".").concat(o)]=r};var D=function(e,t,r,i){var n=P(e,t,Object),a=n.obj,o=n.k;a[o]=a[o]||[];a[o].push(r)};var R=function(e,t){var r=P(e,t),i=r.obj,n=r.k;if(!i)return undefined;if(!Object.prototype.hasOwnProperty.call(i,n))return undefined;return i[n]};var T=function(e,t,r){var i=R(e,r);if(i!==undefined){return i}return R(t,r)};var q=function(e,t,r){for(var i in t){if(i!=="__proto__"&&i!=="constructor"){if(Object.prototype.hasOwnProperty.call(e,i)){if(w(e[i])||e[i]instanceof String||w(t[i])||t[i]instanceof String){if(r)e[i]=t[i]}else{q(e[i],t[i],r)}}else{e[i]=t[i]}}}return e};var H=function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")};var U={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};var L=function(e){if(w(e)){return e.replace(/[&<>"'\/]/g,(function(e){return U[e]}))}return e};var F=function(){function e(e){this.capacity=e;this.regExpMap=new Map;this.regExpQueue=[]}e.prototype.getRegExp=function(e){var t=this.regExpMap.get(e);if(t!==undefined){return t}var r=new RegExp(e);if(this.regExpQueue.length===this.capacity){this.regExpMap.delete(this.regExpQueue.shift())}this.regExpMap.set(e,r);this.regExpQueue.push(e);return r};return e}();var O=[" ",",","?","!",";"];var G=new F(20);var Y=function(e,t,r){t=t||"";r=r||"";var i=O.filter((function(e){return!t.includes(e)&&!r.includes(e)}));if(i.length===0)return true;var n=G.getRegExp("(".concat(i.map((function(e){return e==="?"?"\\?":e})).join("|"),")"));var a=!n.test(e);if(!a){var o=e.indexOf(r);if(o>0&&!n.test(e.substring(0,o))){a=true}}return a};var j=function(e,t,r){if(r===void 0){r="."}if(!e)return undefined;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return undefined;return e[t]}var i=t.split(r);var n=e;for(var a=0;a<i.length;){if(!n||typeof n!=="object"){return undefined}var o=void 0;var s="";for(var l=a;l<i.length;++l){if(l!==a){s+=r}s+=i[l];o=n[s];if(o!==undefined){if(["string","number","boolean"].includes(typeof o)&&l<i.length-1){continue}a+=l-a+1;break}}n=o}return n};var K=function(e){return e===null||e===void 0?void 0:e.replace(/_/g,"-")};var J={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){var r,i;(i=(r=console===null||console===void 0?void 0:console[e])===null||r===void 0?void 0:r.apply)===null||i===void 0?void 0:i.call(r,console,t)}};var V=function(){function e(e,t){if(t===void 0){t={}}this.init(e,t)}e.prototype.init=function(e,t){if(t===void 0){t={}}this.prefix=t.prefix||"i18next:";this.logger=e||J;this.options=t;this.debug=t.debug};e.prototype.log=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"log","",true)};e.prototype.warn=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"warn","",true)};e.prototype.error=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"error","")};e.prototype.deprecate=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return this.forward(e,"warn","WARNING DEPRECATED: ",true)};e.prototype.forward=function(e,t,r,i){if(i&&!this.debug)return null;e=e.map((function(e){return w(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g," "):e}));if(w(e[0]))e[0]="".concat(r).concat(this.prefix," ").concat(e[0]);return this.logger[t](e)};e.prototype.create=function(t){return new e(this.logger,__assign({prefix:"".concat(this.prefix,":").concat(t,":")},this.options))};e.prototype.clone=function(t){t=t||this.options;t.prefix=t.prefix||this.prefix;return new e(this.logger,t)};return e}();var X=new V;var W=function(){function e(){this.observers={}}e.prototype.on=function(e,t){var r=this;e.split(" ").forEach((function(e){if(!r.observers[e])r.observers[e]=new Map;var i=r.observers[e].get(t)||0;r.observers[e].set(t,i+1)}));return this};e.prototype.off=function(e,t){if(!this.observers[e])return;if(!t){delete this.observers[e];return}this.observers[e].delete(t)};e.prototype.once=function(e,t){var r=this;var i=function(){var n=[];for(var a=0;a<arguments.length;a++){n[a]=arguments[a]}t.apply(void 0,n);r.off(e,i)};this.on(e,i);return this};e.prototype.emit=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}if(this.observers[e]){var i=Array.from(this.observers[e].entries());i.forEach((function(e){var r=e[0],i=e[1];for(var n=0;n<i;n++){r.apply(void 0,t)}}))}if(this.observers["*"]){var i=Array.from(this.observers["*"].entries());i.forEach((function(r){var i=r[0],n=r[1];for(var a=0;a<n;a++){i.apply(void 0,__spreadArray([e],t,false))}}))}};return e}();var Z=function(e){__extends(t,e);function t(t,r){if(r===void 0){r={ns:["translation"],defaultNS:"translation"}}var i=e.call(this)||this;i.data=t||{};i.options=r;if(i.options.keySeparator===undefined){i.options.keySeparator="."}if(i.options.ignoreJSONStructure===undefined){i.options.ignoreJSONStructure=true}return i}t.prototype.addNamespaces=function(e){if(!this.options.ns.includes(e)){this.options.ns.push(e)}};t.prototype.removeNamespaces=function(e){var t=this.options.ns.indexOf(e);if(t>-1){this.options.ns.splice(t,1)}};t.prototype.getResource=function(e,t,r,i){var n,a;if(i===void 0){i={}}var o=i.keySeparator!==undefined?i.keySeparator:this.options.keySeparator;var s=i.ignoreJSONStructure!==undefined?i.ignoreJSONStructure:this.options.ignoreJSONStructure;var l;if(e.includes(".")){l=e.split(".")}else{l=[e,t];if(r){if(Array.isArray(r)){l.push.apply(l,r)}else if(w(r)&&o){l.push.apply(l,r.split(o))}else{l.push(r)}}}var c=R(this.data,l);if(!c&&!t&&!r&&e.includes(".")){e=l[0];t=l[1];r=l.slice(2).join(".")}if(c||!s||!w(r))return c;return j((a=(n=this.data)===null||n===void 0?void 0:n[e])===null||a===void 0?void 0:a[t],r,o)};t.prototype.addResource=function(e,t,r,i,n){if(n===void 0){n={silent:false}}var a=n.keySeparator!==undefined?n.keySeparator:this.options.keySeparator;var o=[e,t];if(r)o=o.concat(a?r.split(a):r);if(e.includes(".")){o=e.split(".");i=t;t=o[1]}this.addNamespaces(t);M(this.data,o,i);if(!n.silent)this.emit("added",e,t,r,i)};t.prototype.addResources=function(e,t,r,i){if(i===void 0){i={silent:false}}for(var n in r){if(w(r[n])||Array.isArray(r[n]))this.addResource(e,t,n,r[n],{silent:true})}if(!i.silent)this.emit("added",e,t,r)};t.prototype.addResourceBundle=function(e,t,r,i,n,a){if(a===void 0){a={silent:false,skipCopy:false}}var o=[e,t];if(e.includes(".")){o=e.split(".");i=r;r=t;t=o[1]}this.addNamespaces(t);var s=R(this.data,o)||{};if(!a.skipCopy)r=JSON.parse(JSON.stringify(r));if(i){q(s,r,n)}else{s=__assign(__assign({},s),r)}M(this.data,o,s);if(!a.silent)this.emit("added",e,t,r)};t.prototype.removeResourceBundle=function(e,t){if(this.hasResourceBundle(e,t)){delete this.data[e][t]}this.removeNamespaces(t);this.emit("removed",e,t)};t.prototype.hasResourceBundle=function(e,t){return this.getResource(e,t)!==undefined};t.prototype.getResourceBundle=function(e,t){if(!t)t=this.options.defaultNS;return this.getResource(e,t)};t.prototype.getDataByLanguage=function(e){return this.data[e]};t.prototype.hasLanguageSomeTranslations=function(e){var t=this.getDataByLanguage(e);var r=t&&Object.keys(t)||[];return!!r.find((function(e){return t[e]&&Object.keys(t[e]).length>0}))};t.prototype.toJSON=function(){return this.data};return t}(W);var $={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,r,i,n){var a=this;e.forEach((function(e){var o,s;t=(s=(o=a.processors[e])===null||o===void 0?void 0:o.process(t,r,i,n))!==null&&s!==void 0?s:t}));return t}};var ee=Symbol("i18next/PATH_KEY");function te(){var e=[];var t=Object.create(null);var r;t.get=function(i,n){var a;(a=r===null||r===void 0?void 0:r.revoke)===null||a===void 0?void 0:a.call(r);if(n===ee)return e;e.push(n);r=Proxy.revocable(i,t);return r.proxy};return Proxy.revocable(Object.create(null),t).proxy}function re(e,t){var r,i;var n=e(te()),a=ee,o=n[a];var s=(r=t===null||t===void 0?void 0:t.keySeparator)!==null&&r!==void 0?r:".";var l=(i=t===null||t===void 0?void 0:t.nsSeparator)!==null&&i!==void 0?i:":";var c=(t===null||t===void 0?void 0:t.enableSelector)==="strict";if(o.length>1&&l){var u=t===null||t===void 0?void 0:t.ns;var d=c?Array.isArray(u)?u:u?[u]:null:Array.isArray(u)?u:null;if(d){var m=c?d:d.length>1?d.slice(1):[];if(m.includes(o[0])){return"".concat(o[0]).concat(l).concat(o.slice(1).join(s))}}}return o.join(s)}var ie=function(e){return!w(e)&&typeof e!=="boolean"&&typeof e!=="number"};var ne=function(e){__extends(t,e);function t(t,r){if(r===void 0){r={}}var i=e.call(this)||this;E(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,i);i.options=r;if(i.options.keySeparator===undefined){i.options.keySeparator="."}i.logger=X.create("translator");i.checkedLoadedFor={};return i}t.prototype.changeLanguage=function(e){if(e)this.language=e};t.prototype.exists=function(e,t){if(t===void 0){t={interpolation:{}}}var r=__assign({},t);if(e==null)return false;var i=this.resolve(e,r);if((i===null||i===void 0?void 0:i.res)===undefined)return false;var n=ie(i.res);if(r.returnObjects===false&&n){return false}return true};t.prototype.extractFromKey=function(e,t){var r=t.nsSeparator!==undefined?t.nsSeparator:this.options.nsSeparator;if(r===undefined)r=":";var i=t.keySeparator!==undefined?t.keySeparator:this.options.keySeparator;var n=t.ns||this.options.defaultNS||[];var a=r&&e.includes(r);var o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Y(e,r,i);if(a&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0){return{key:e,namespaces:w(n)?[n]:n}}var l=e.split(r);if(r!==i||r===i&&this.options.ns.includes(l[0]))n=l.shift();e=l.join(i)}return{key:e,namespaces:w(n)?[n]:n}};t.prototype.translate=function(e,r,i){var n=this;var a=typeof r==="object"?__assign({},r):r;if(typeof a!=="object"&&this.options.overloadTranslationOptionHandler){a=this.options.overloadTranslationOptionHandler(arguments)}if(typeof a==="object")a=__assign({},a);if(!a)a={};if(e==null)return"";if(typeof e==="function")e=re(e,__assign(__assign({},this.options),a));if(!Array.isArray(e))e=[String(e)];e=e.map((function(e){return typeof e==="function"?re(e,__assign(__assign({},n.options),a)):String(e)}));var o=a.returnDetails!==undefined?a.returnDetails:this.options.returnDetails;var s=a.keySeparator!==undefined?a.keySeparator:this.options.keySeparator;var l=this.extractFromKey(e[e.length-1],a),c=l.key,u=l.namespaces;var d=u[u.length-1];var m=a.nsSeparator!==undefined?a.nsSeparator:this.options.nsSeparator;if(m===undefined)m=":";var p=a.lng||this.language;var f=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((p===null||p===void 0?void 0:p.toLowerCase())==="cimode"){if(f){if(o){return{res:"".concat(d).concat(m).concat(c),usedKey:c,exactUsedKey:c,usedLng:p,usedNS:d,usedParams:this.getUsedParamsDetails(a)}}return"".concat(d).concat(m).concat(c)}if(o){return{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:d,usedParams:this.getUsedParamsDetails(a)}}return c}var h=this.resolve(e,a);var g=h===null||h===void 0?void 0:h.res;var v=(h===null||h===void 0?void 0:h.usedKey)||c;var y=(h===null||h===void 0?void 0:h.exactUsedKey)||c;var A=["[object Number]","[object Function]","[object RegExp]"];var b=a.joinArrays!==undefined?a.joinArrays:this.options.joinArrays;var x=!this.i18nFormat||this.i18nFormat.handleAsObject;var N=a.count!==undefined&&!w(a.count);var C=t.hasDefaultValue(a);var z=N?this.pluralResolver.getSuffix(p,a.count,a):"";var I=a.ordinal&&N?this.pluralResolver.getSuffix(p,a.count,{ordinal:false}):"";var S=N&&!a.ordinal&&a.count===0;var B=S&&a["defaultValue".concat(this.options.pluralSeparator,"zero")]||a["defaultValue".concat(z)]||a["defaultValue".concat(I)]||a.defaultValue;var E=g;if(x&&!g&&C){E=B}var _=ie(E);var k=Object.prototype.toString.apply(E);if(x&&E&&_&&!A.includes(k)&&!(w(b)&&Array.isArray(E))){if(!a.returnObjects&&!this.options.returnObjects){if(!this.options.returnedObjectHandler){this.logger.warn("accessing an object - but returnObjects options is not enabled!")}var Q=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,E,__assign(__assign({},a),{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");if(o){h.res=Q;h.usedParams=this.getUsedParamsDetails(a);return h}return Q}if(s){var P=Array.isArray(E);var M=P?[]:{};var D=P?y:v;for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var T="".concat(D).concat(s).concat(R);if(C&&!g){M[R]=this.translate(T,__assign(__assign(__assign({},a),{defaultValue:ie(B)?B[R]:undefined}),{joinArrays:false,ns:u}))}else{M[R]=this.translate(T,__assign(__assign({},a),{joinArrays:false,ns:u}))}if(M[R]===T)M[R]=E[R]}}g=M}}else if(x&&w(b)&&Array.isArray(g)){g=g.join(b);if(g)g=this.extendTranslation(g,e,a,i)}else{var q=false;var H=false;if(!this.isValidLookup(g)&&C){q=true;g=B}if(!this.isValidLookup(g)){H=true;g=c}var U=a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey;var L=U&&H?undefined:g;var F=C&&B!==g&&this.options.updateMissing;if(H||q||F){this.logger.log(F?"updateKey":"missingKey",p,d,N&&!F?"".concat(c).concat(this.pluralResolver.getSuffix(p,a.count,a)):c,F?B:g);if(s){var O=this.resolve(c,__assign(__assign({},a),{keySeparator:false}));if(O&&O.res)this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var G=[];var Y=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Y&&Y[0]){for(var j=0;j<Y.length;j++){G.push(Y[j])}}else if(this.options.saveMissingTo==="all"){G=this.languageUtils.toResolveHierarchy(a.lng||this.language)}else{G.push(a.lng||this.language)}var K=function(e,t,r){var i;var o=C&&r!==g?r:L;if(n.options.missingKeyHandler){n.options.missingKeyHandler(e,d,t,o,F,a)}else if((i=n.backendConnector)===null||i===void 0?void 0:i.saveMissing){n.backendConnector.saveMissing(e,d,t,o,F,a)}n.emit("missingKey",e,d,t,g)};if(this.options.saveMissing){if(this.options.saveMissingPlurals&&N){G.forEach((function(e){var t=n.pluralResolver.getSuffixes(e,a);if(S&&a["defaultValue".concat(n.options.pluralSeparator,"zero")]&&!t.includes("".concat(n.options.pluralSeparator,"zero"))){t.push("".concat(n.options.pluralSeparator,"zero"))}t.forEach((function(t){K([e],c+t,a["defaultValue".concat(t)]||B)}))}))}else{K(G,c,B)}}}g=this.extendTranslation(g,e,a,h,i);if(H&&g===c&&this.options.appendNamespaceToMissingKey){g="".concat(d).concat(m).concat(c)}if((H||q)&&this.options.parseMissingKeyHandler){g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d).concat(m).concat(c):c,q?g:undefined,a)}}if(o){h.res=g;h.usedParams=this.getUsedParamsDetails(a);return h}return g};t.prototype.extendTranslation=function(e,t,r,i,n){var a=this;var o,s;if((o=this.i18nFormat)===null||o===void 0?void 0:o.parse){e=this.i18nFormat.parse(e,__assign(__assign({},this.options.interpolation.defaultVariables),r),r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i})}else if(!r.skipInterpolation){if(r.interpolation)this.interpolator.init(__assign(__assign({},r),{interpolation:__assign(__assign({},this.options.interpolation),r.interpolation)}));var l=w(e)&&(((s=r===null||r===void 0?void 0:r.interpolation)===null||s===void 0?void 0:s.skipOnVariables)!==undefined?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);var c=void 0;if(l){var u=e.match(this.interpolator.nestingRegexp);c=u&&u.length}var d=r.replace&&!w(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables)d=__assign(__assign({},this.options.interpolation.defaultVariables),d);e=this.interpolator.interpolate(e,d,r.lng||this.language||i.usedLng,r);if(l){var m=e.match(this.interpolator.nestingRegexp);var p=m&&m.length;if(c<p)r.nest=false}if(!r.lng&&i&&i.res)r.lng=this.language||i.usedLng;if(r.nest!==false)e=this.interpolator.nest(e,(function(){var e=[];for(var i=0;i<arguments.length;i++){e[i]=arguments[i]}if((n===null||n===void 0?void 0:n[0])===e[0]&&!r.context){a.logger.warn("It seems you are nesting recursively key: ".concat(e[0]," in key: ").concat(t[0]));return null}return a.translate.apply(a,__spreadArray(__spreadArray([],e,false),[t],false))}),r);if(r.interpolation)this.interpolator.reset()}var f=r.postProcess||this.options.postProcess;var h=w(f)?[f]:f;if(e!=null&&(h===null||h===void 0?void 0:h.length)&&r.applyPostProcessor!==false){e=$.handle(h,e,t,this.options&&this.options.postProcessPassResolved?__assign({i18nResolved:__assign(__assign({},i),{usedParams:this.getUsedParamsDetails(r)})},r):r,this)}return e};t.prototype.resolve=function(e,t){var r=this;if(t===void 0){t={}}var i;var n;var a;var o;var s;if(w(e))e=[e];if(Array.isArray(e))e=e.map((function(e){return typeof e==="function"?re(e,__assign(__assign({},r.options),t)):e}));e.forEach((function(e){if(r.isValidLookup(i))return;var l=r.extractFromKey(e,t);var c=l.key;n=c;var u=l.namespaces;if(r.options.fallbackNS)u=u.concat(r.options.fallbackNS);var d=t.count!==undefined&&!w(t.count);var m=d&&!t.ordinal&&t.count===0;var p=t.context!==undefined&&(w(t.context)||typeof t.context==="number")&&t.context!=="";var f=t.lngs?t.lngs:r.languageUtils.toResolveHierarchy(t.lng||r.language,t.fallbackLng);u.forEach((function(e){var l,u;if(r.isValidLookup(i))return;s=e;if(!r.checkedLoadedFor["".concat(f[0],"-").concat(e)]&&((l=r.utils)===null||l===void 0?void 0:l.hasLoadedNamespace)&&!((u=r.utils)===null||u===void 0?void 0:u.hasLoadedNamespace(s))){r.checkedLoadedFor["".concat(f[0],"-").concat(e)]=true;r.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(s,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}f.forEach((function(n){var s;if(r.isValidLookup(i))return;o=n;var l=[c];if((s=r.i18nFormat)===null||s===void 0?void 0:s.addLookupKeys){r.i18nFormat.addLookupKeys(l,c,n,e,t)}else{var u=void 0;if(d)u=r.pluralResolver.getSuffix(n,t.count,t);var f="".concat(r.options.pluralSeparator,"zero");var h="".concat(r.options.pluralSeparator,"ordinal").concat(r.options.pluralSeparator);if(d){if(t.ordinal&&u.startsWith(h)){l.push(c+u.replace(h,r.options.pluralSeparator))}l.push(c+u);if(m){l.push(c+f)}}if(p){var g="".concat(c).concat(r.options.contextSeparator||"_").concat(t.context);l.push(g);if(d){if(t.ordinal&&u.startsWith(h)){l.push(g+u.replace(h,r.options.pluralSeparator))}l.push(g+u);if(m){l.push(g+f)}}}}var v;while(v=l.pop()){if(!r.isValidLookup(i)){a=v;i=r.getResource(n,e,v,t)}}}))}))}));return{res:i,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:s}};t.prototype.isValidLookup=function(e){return e!==undefined&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")};t.prototype.getResource=function(e,t,r,i){var n;if(i===void 0){i={}}if((n=this.i18nFormat)===null||n===void 0?void 0:n.getResource)return this.i18nFormat.getResource(e,t,r,i);return this.resourceStore.getResource(e,t,r,i)};t.prototype.getUsedParamsDetails=function(e){if(e===void 0){e={}}var t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"];var r=e.replace&&!w(e.replace);var i=r?e.replace:e;if(r&&typeof e.count!=="undefined"){i.count=e.count}if(this.options.interpolation.defaultVariables){i=__assign(__assign({},this.options.interpolation.defaultVariables),i)}if(!r){i=__assign({},i);for(var n=0,a=t;n<a.length;n++){var o=a[n];delete i[o]}}return i};t.hasDefaultValue=function(e){var t="defaultValue";for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)&&r.startsWith(t)&&undefined!==e[r]){return true}}return false};return t}(W);var ae=function(){function e(e){this.options=e;this.supportedLngs=this.options.supportedLngs||false;this.logger=X.create("languageUtils")}e.prototype.getScriptPartFromCode=function(e){e=K(e);if(!e||!e.includes("-"))return null;var t=e.split("-");if(t.length===2)return null;t.pop();if(t[t.length-1].toLowerCase()==="x")return null;return this.formatLanguageCode(t.join("-"))};e.prototype.getLanguagePartFromCode=function(e){e=K(e);if(!e||!e.includes("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])};e.prototype.formatLanguageCode=function(e){if(w(e)&&e.includes("-")){var t=void 0;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}if(t&&this.options.lowerCaseLng){t=t.toLowerCase()}if(t)return t;if(this.options.lowerCaseLng){return e.toLowerCase()}return e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e};e.prototype.isSupportedCode=function(e){if(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs){e=this.getLanguagePartFromCode(e)}return!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)};e.prototype.getBestMatchFromCodes=function(e){var t=this;if(!e)return null;var r;e.forEach((function(e){if(r)return;var i=t.formatLanguageCode(e);if(!t.options.supportedLngs||t.isSupportedCode(i))r=i}));if(!r&&this.options.supportedLngs){e.forEach((function(e){if(r)return;var i=t.getScriptPartFromCode(e);if(t.isSupportedCode(i))return r=i;var n=t.getLanguagePartFromCode(e);if(t.isSupportedCode(n))return r=n;r=t.options.supportedLngs.find((function(e){if(e===n)return true;if(!e.includes("-")&&!n.includes("-"))return false;if(e.includes("-")&&!n.includes("-")&&e.slice(0,e.indexOf("-"))===n)return true;if(e.startsWith(n)&&n.length>1)return true;return false}))}))}if(!r)r=this.getFallbackCodes(this.options.fallbackLng)[0];return r};e.prototype.getFallbackCodes=function(e,t){if(!e)return[];if(typeof e==="function")e=e(t);if(w(e))e=[e];if(Array.isArray(e))return e;if(!t)return e.default||[];var r=e[t];if(!r)r=e[this.getScriptPartFromCode(t)];if(!r)r=e[this.formatLanguageCode(t)];if(!r)r=e[this.getLanguagePartFromCode(t)];if(!r)r=e.default;return r||[]};e.prototype.toResolveHierarchy=function(e,t){var r=this;var i=this.getFallbackCodes((t===false?[]:t)||this.options.fallbackLng||[],e);var n=[];var a=function(e){if(!e)return;if(r.isSupportedCode(e)){n.push(e)}else{r.logger.warn("rejecting language code not found in supportedLngs: ".concat(e))}};if(w(e)&&(e.includes("-")||e.includes("_"))){if(this.options.load!=="languageOnly")a(this.formatLanguageCode(e));if(this.options.load!=="languageOnly"&&this.options.load!=="currentOnly")a(this.getScriptPartFromCode(e));if(this.options.load!=="currentOnly")a(this.getLanguagePartFromCode(e))}else if(w(e)){a(this.formatLanguageCode(e))}i.forEach((function(e){if(!n.includes(e))a(r.formatLanguageCode(e))}));return n};return e}();var oe={zero:0,one:1,two:2,few:3,many:4,other:5};var se={select:function(e){return e===1?"one":"other"},resolvedOptions:function(){return{pluralCategories:["one","other"]}}};var le=function(){function e(e,t){if(t===void 0){t={}}this.languageUtils=e;this.options=t;this.logger=X.create("pluralResolver");this.pluralRulesCache={}}e.prototype.clearCache=function(){this.pluralRulesCache={}};e.prototype.getRule=function(e,t){if(t===void 0){t={}}var r=K(e==="dev"?"en":e);var i=t.ordinal?"ordinal":"cardinal";var n=JSON.stringify({cleanedCode:r,type:i});if(n in this.pluralRulesCache){return this.pluralRulesCache[n]}var a;try{a=new Intl.PluralRules(r,{type:i})}catch(r){if(typeof Intl==="undefined"){this.logger.error("No Intl support, please use an Intl polyfill!");return se}if(!e.match(/-|_/))return se;var o=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(o,t)}this.pluralRulesCache[n]=a;return a};e.prototype.needsPlural=function(e,t){if(t===void 0){t={}}var r=this.getRule(e,t);if(!r)r=this.getRule("dev",t);return(r===null||r===void 0?void 0:r.resolvedOptions().pluralCategories.length)>1};e.prototype.getPluralFormsOfKey=function(e,t,r){if(r===void 0){r={}}return this.getSuffixes(e,r).map((function(e){return"".concat(t).concat(e)}))};e.prototype.getSuffixes=function(e,t){var r=this;if(t===void 0){t={}}var i=this.getRule(e,t);if(!i)i=this.getRule("dev",t);if(!i)return[];return i.resolvedOptions().pluralCategories.sort((function(e,t){return oe[e]-oe[t]})).map((function(e){return"".concat(r.options.prepend).concat(t.ordinal?"ordinal".concat(r.options.prepend):"").concat(e)}))};e.prototype.getSuffix=function(e,t,r){if(r===void 0){r={}}var i=this.getRule(e,r);if(i){return"".concat(this.options.prepend).concat(r.ordinal?"ordinal".concat(this.options.prepend):"").concat(i.select(t))}this.logger.warn("no plural rule found for: ".concat(e));return this.getSuffix("dev",t,r)};return e}();var ce=function(e,t,r,i,n){if(i===void 0){i="."}if(n===void 0){n=true}var a=T(e,t,r);if(!a&&n&&w(r)){a=j(e,r,i);if(a===undefined)a=j(t,r,i)}return a};var ue=function(e){return e.replace(/\$/g,"$$$$")};var de=function(){function e(e){if(e===void 0){e={}}var t;this.logger=X.create("interpolator");this.options=e;this.format=((t=e===null||e===void 0?void 0:e.interpolation)===null||t===void 0?void 0:t.format)||function(e){return e};this.init(e)}e.prototype.init=function(e){if(e===void 0){e={}}if(!e.interpolation)e.interpolation={escapeValue:true};var t=e.interpolation,r=t.escape,i=t.escapeValue,n=t.useRawValueToEscape,a=t.prefix,o=t.prefixEscaped,s=t.suffix,l=t.suffixEscaped,c=t.formatSeparator,u=t.unescapeSuffix,d=t.unescapePrefix,m=t.nestingPrefix,p=t.nestingPrefixEscaped,f=t.nestingSuffix,h=t.nestingSuffixEscaped,g=t.nestingOptionsSeparator,v=t.maxReplaces,y=t.alwaysFormat;this.escape=r!==undefined?r:L;this.escapeValue=i!==undefined?i:true;this.useRawValueToEscape=n!==undefined?n:false;this.prefix=a?H(a):o||"{{";this.suffix=s?H(s):l||"}}";this.formatSeparator=c||",";this.unescapePrefix=u?"":d?H(d):"-";this.unescapeSuffix=this.unescapePrefix?"":u?H(u):"";this.nestingPrefix=m?H(m):p||H("$t(");this.nestingSuffix=f?H(f):h||H(")");this.nestingOptionsSeparator=g||",";this.maxReplaces=v||1e3;this.alwaysFormat=y!==undefined?y:false;this.resetRegExp()};e.prototype.reset=function(){if(this.options)this.init(this.options)};e.prototype.resetRegExp=function(){var e=function(e,t){if((e===null||e===void 0?void 0:e.source)===t){e.lastIndex=0;return e}return new RegExp(t,"g")};this.regexp=e(this.regexp,"".concat(this.prefix,"(.+?)").concat(this.suffix));this.regexpUnescape=e(this.regexpUnescape,"".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix));this.nestingRegexp=e(this.nestingRegexp,"".concat(this.nestingPrefix,"((?:[^()\"']+|\"[^\"]*\"|'[^']*'|\\((?:[^()]|\"[^\"]*\"|'[^']*')*\\))*?)").concat(this.nestingSuffix))};e.prototype.interpolate=function(e,t,r,i){var n=this;var a;var o;var s;var l;var c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};var u=function(e){if(!e.includes(n.formatSeparator)){var a=ce(t,c,e,n.options.keySeparator,n.options.ignoreJSONStructure);return n.alwaysFormat?n.format(a,undefined,r,__assign(__assign(__assign({},i),t),{interpolationkey:e})):a}var o=e.split(n.formatSeparator);var s=o.shift().trim();var l=o.join(n.formatSeparator).trim();return n.format(ce(t,c,s,n.options.keySeparator,n.options.ignoreJSONStructure),l,r,__assign(__assign(__assign({},i),t),{interpolationkey:s}))};this.resetRegExp();if(!this.escapeValue&&typeof e==="string"&&/\$t\([^)]*\{[^}]*\{\{/.test(e)){this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — "+"if any of those values are attacker-controlled they can inject additional "+"nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing "+"it to t(), or keep escapeValue: true.")}var d=(i===null||i===void 0?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler;var m=((a=i===null||i===void 0?void 0:i.interpolation)===null||a===void 0?void 0:a.skipOnVariables)!==undefined?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;var p=[{regex:this.regexpUnescape,safeValue:function(e){return ue(e)}},{regex:this.regexp,safeValue:function(e){return n.escapeValue?ue(n.escape(e)):ue(e)}}];p.forEach((function(t){l=0;while(o=t.regex.exec(e)){var r=o[1].trim();s=u(r);if(s===undefined){if(typeof d==="function"){var a=d(e,o,i);s=w(a)?a:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r)){s=""}else if(m){s=o[0];continue}else{n.logger.warn("missed to pass in variable ".concat(r," for interpolating ").concat(e));s=""}}else if(!w(s)&&!n.useRawValueToEscape){s=B(s)}var c=t.safeValue(s);e=e.replace(o[0],c);if(m){t.regex.lastIndex+=s.length;t.regex.lastIndex-=o[0].length}else{t.regex.lastIndex=0}l++;if(l>=n.maxReplaces){break}}}));return e};e.prototype.nest=function(e,t,r){var i=this;if(r===void 0){r={}}var n;var a;var o;var s=function(e,t){var r,n;var a=i.nestingOptionsSeparator;if(!e.includes(a))return e;var s=e.split(new RegExp("".concat(H(a),"[ ]*{")));var l="{".concat(s[1]);e=s[0];l=i.interpolate(l,o);var c=l.match(/'/g);var u=l.match(/"/g);if(((r=c===null||c===void 0?void 0:c.length)!==null&&r!==void 0?r:0)%2===0&&!u||((n=u===null||u===void 0?void 0:u.length)!==null&&n!==void 0?n:0)%2!==0){l=l.replace(/'/g,'"')}try{o=JSON.parse(l);if(t)o=__assign(__assign({},t),o)}catch(t){i.logger.warn("failed parsing options string in nesting for key ".concat(e),t);return"".concat(e).concat(a).concat(l)}if(o.defaultValue&&o.defaultValue.includes(i.prefix))delete o.defaultValue;return e};while(n=this.nestingRegexp.exec(e)){var l=[];o=__assign({},r);o=o.replace&&!w(o.replace)?o.replace:o;o.applyPostProcessor=false;delete o.defaultValue;var c=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(c!==-1){l=n[1].slice(c).split(this.formatSeparator).map((function(e){return e.trim()})).filter(Boolean);n[1]=n[1].slice(0,c)}a=t(s.call(this,n[1].trim(),o),o);if(a&&n[0]===e&&!w(a))return a;if(!w(a))a=B(a);if(!a){this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e));a=""}if(l.length){a=l.reduce((function(e,t){return i.format(e,t,r.lng,__assign(__assign({},r),{interpolationkey:n[1].trim()}))}),a.trim())}e=e.replace(n[0],a);this.regexp.lastIndex=0}return e};return e}();var me=function(e){var t=e.toLowerCase().trim();var r={};if(e.includes("(")){var i=e.split("(");t=i[0].toLowerCase().trim();var n=i[1].slice(0,-1);if(t==="currency"&&!n.includes(":")){if(!r.currency)r.currency=n.trim()}else if(t==="relativetime"&&!n.includes(":")){if(!r.range)r.range=n.trim()}else{var a=n.split(";");a.forEach((function(e){if(e){var t=e.split(":"),i=t[0],n=t.slice(1);var a=n.join(":").trim().replace(/^'+|'+$/g,"");var o=i.trim();if(!r[o])r[o]=a;if(a==="false")r[o]=false;if(a==="true")r[o]=true;if(!isNaN(a))r[o]=parseInt(a,10)}}))}}return{formatName:t,formatOptions:r}};var pe=function(e){var t={};return function(r,i,n){var a;var o=n;if(n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]){o=__assign(__assign({},o),(a={},a[n.interpolationkey]=undefined,a))}var s=i+JSON.stringify(o);var l=t[s];if(!l){l=e(K(i),n);t[s]=l}return l(r)}};var fe=function(e){return function(t,r,i){return e(K(r),i)(t)}};var he=function(){function e(e){if(e===void 0){e={}}this.logger=X.create("formatter");this.options=e;this.init(e)}e.prototype.init=function(e,t){if(t===void 0){t={interpolation:{}}}this.formatSeparator=t.interpolation.formatSeparator||",";var r=t.cacheInBuiltFormats?pe:fe;this.formats={number:r((function(e,t){var r=new Intl.NumberFormat(e,__assign({},t));return function(e){return r.format(e)}})),currency:r((function(e,t){var r=new Intl.NumberFormat(e,__assign(__assign({},t),{style:"currency"}));return function(e){return r.format(e)}})),datetime:r((function(e,t){var r=new Intl.DateTimeFormat(e,__assign({},t));return function(e){return r.format(e)}})),relativetime:r((function(e,t){var r=new Intl.RelativeTimeFormat(e,__assign({},t));return function(e){return r.format(e,t.range||"day")}})),list:r((function(e,t){var r=new Intl.ListFormat(e,__assign({},t));return function(e){return r.format(e)}}))}};e.prototype.add=function(e,t){this.formats[e.toLowerCase().trim()]=t};e.prototype.addCached=function(e,t){this.formats[e.toLowerCase().trim()]=pe(t)};e.prototype.format=function(e,t,r,i){var n=this;if(i===void 0){i={}}if(!t)return e;if(e==null)return e;var a=t.split(this.formatSeparator);var o=[];for(var s=0;s<a.length;s++){var l=a[s];while(l.indexOf("(")>-1&&!l.includes(")")&&s+1<a.length){l="".concat(l).concat(this.formatSeparator).concat(a[++s])}o.push(l)}var c=o.reduce((function(e,t){var a;var o=me(t),s=o.formatName,l=o.formatOptions;if(n.formats[s]){var c=e;try{var u=((a=i===null||i===void 0?void 0:i.formatParams)===null||a===void 0?void 0:a[i.interpolationkey])||{};var d=u.locale||u.lng||i.locale||i.lng||r;c=n.formats[s](e,d,__assign(__assign(__assign({},l),i),u))}catch(e){n.logger.warn(e)}return c}else{n.logger.warn("there was no format function for ".concat(s))}return e}),e);return c};return e}();var ge=function(e,t){if(e.pending[t]!==undefined){delete e.pending[t];e.pendingCount--}};var ve=function(e){__extends(t,e);function t(t,r,i,n){if(n===void 0){n={}}var a,o;var s=e.call(this)||this;s.backend=t;s.store=r;s.services=i;s.languageUtils=i.languageUtils;s.options=n;s.logger=X.create("backendConnector");s.waitingReads=[];s.maxParallelReads=n.maxParallelReads||10;s.readingCalls=0;s.maxRetries=n.maxRetries>=0?n.maxRetries:5;s.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350;s.state={};s.queue=[];(o=(a=s.backend)===null||a===void 0?void 0:a.init)===null||o===void 0?void 0:o.call(a,i,n.backend,n);return s}t.prototype.queueLoad=function(e,t,r,i){var n=this;var a={};var o={};var s={};var l={};e.forEach((function(e){var i=true;t.forEach((function(t){var s="".concat(e,"|").concat(t);if(!r.reload&&n.store.hasResourceBundle(e,t)){n.state[s]=2}else if(n.state[s]<0);else if(n.state[s]===1){if(o[s]===undefined)o[s]=true}else{n.state[s]=1;i=false;if(o[s]===undefined)o[s]=true;if(a[s]===undefined)a[s]=true;if(l[t]===undefined)l[t]=true}}));if(!i)s[e]=true}));if(Object.keys(a).length||Object.keys(o).length){this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i})}return{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}};t.prototype.loaded=function(e,t,r){var i=e.split("|");var n=i[0];var a=i[1];if(t)this.emit("failedLoading",n,a,t);if(!t&&r){this.store.addResourceBundle(n,a,r,undefined,undefined,{skipCopy:true})}this.state[e]=t?-1:2;if(t&&r)this.state[e]=0;var o={};this.queue.forEach((function(r){D(r.loaded,[n],a);ge(r,e);if(t)r.errors.push(t);if(r.pendingCount===0&&!r.done){Object.keys(r.loaded).forEach((function(e){if(!o[e])o[e]={};var t=r.loaded[e];if(t.length){t.forEach((function(t){if(o[e][t]===undefined)o[e][t]=true}))}}));r.done=true;if(r.errors.length){r.callback(r.errors)}else{r.callback()}}}));this.emit("loaded",o);this.queue=this.queue.filter((function(e){return!e.done}))};t.prototype.read=function(e,t,r,i,n,a){var o=this;if(i===void 0){i=0}if(n===void 0){n=this.retryTimeout}if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:n,callback:a});return}this.readingCalls++;var s=function(s,l){o.readingCalls--;if(o.waitingReads.length>0){var c=o.waitingReads.shift();o.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(s&&l&&i<o.maxRetries){setTimeout((function(){o.read(e,t,r,i+1,n*2,a)}),n);return}a(s,l)};var l=this.backend[r].bind(this.backend);if(l.length===2){try{var c=l(e,t);if(c&&typeof c.then==="function"){c.then((function(e){return s(null,e)})).catch(s)}else{s(null,c)}}catch(e){s(e)}return}return l(e,t,s)};t.prototype.prepareLoading=function(e,t,r,i){var n=this;if(r===void 0){r={}}if(!this.backend){this.logger.warn("No backend was added via i18next.use. Will not load resources.");return i&&i()}if(w(e))e=this.languageUtils.toResolveHierarchy(e);if(w(t))t=[t];var a=this.queueLoad(e,t,r,i);if(!a.toLoad.length){if(!a.pending.length)i();return null}a.toLoad.forEach((function(e){n.loadOne(e)}))};t.prototype.load=function(e,t,r){this.prepareLoading(e,t,{},r)};t.prototype.reload=function(e,t,r){this.prepareLoading(e,t,{reload:true},r)};t.prototype.loadOne=function(e,t){var r=this;if(t===void 0){t=""}var i=e.split("|");var n=i[0];var a=i[1];this.read(n,a,"read",undefined,undefined,(function(i,o){if(i)r.logger.warn("".concat(t,"loading namespace ").concat(a," for language ").concat(n," failed"),i);if(!i&&o)r.logger.log("".concat(t,"loaded namespace ").concat(a," for language ").concat(n),o);r.loaded(e,i,o)}))};t.prototype.saveMissing=function(e,t,r,i,n,a,o){var s,l,c,u,d;if(a===void 0){a={}}if(o===void 0){o=function(){}}if(((l=(s=this.services)===null||s===void 0?void 0:s.utils)===null||l===void 0?void 0:l.hasLoadedNamespace)&&!((u=(c=this.services)===null||c===void 0?void 0:c.utils)===null||u===void 0?void 0:u.hasLoadedNamespace(t))){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(r===undefined||r===null||r==="")return;if((d=this.backend)===null||d===void 0?void 0:d.create){var m=__assign(__assign({},a),{isUpdate:n});var p=this.backend.create.bind(this.backend);if(p.length<6){try{var f=void 0;if(p.length===5){f=p(e,t,r,i,m)}else{f=p(e,t,r,i)}if(f&&typeof f.then==="function"){f.then((function(e){return o(null,e)})).catch(o)}else{o(null,f)}}catch(e){o(e)}}else{p(e,t,r,i,o,m)}}if(!e||!e[0])return;this.store.addResource(e[0],t,r,i)};return t}(W);var ye=function(){return{debug:false,initAsync:true,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:false,supportedLngs:false,nonExplicitSupportedLngs:false,load:"all",preload:false,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",enableSelector:false,partialBundledLanguages:false,saveMissing:false,updateMissing:false,saveMissingTo:"fallback",saveMissingPlurals:true,missingKeyHandler:false,missingInterpolationHandler:false,postProcess:false,postProcessPassResolved:false,returnNull:false,returnEmptyString:true,returnObjects:false,joinArrays:false,returnedObjectHandler:false,parseMissingKeyHandler:false,appendNamespaceToMissingKey:false,appendNamespaceToCIMode:false,overloadTranslationOptionHandler:function(e){var t={};if(typeof e[1]==="object")t=e[1];if(w(e[1]))t.defaultValue=e[1];if(w(e[2]))t.tDescription=e[2];if(typeof e[2]==="object"||typeof e[3]==="object"){var r=e[3]||e[2];Object.keys(r).forEach((function(e){t[e]=r[e]}))}return t},interpolation:{escapeValue:true,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:true},cacheInBuiltFormats:true}};var Ae=function(e){if(w(e.ns))e.ns=[e.ns];if(w(e.fallbackLng))e.fallbackLng=[e.fallbackLng];if(w(e.fallbackNS))e.fallbackNS=[e.fallbackNS];if(e.supportedLngs&&!e.supportedLngs.includes("cimode")){e.supportedLngs=e.supportedLngs.concat(["cimode"])}return e};var be=function(){};var xe=function(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach((function(t){if(typeof e[t]==="function"){e[t]=e[t].bind(e)}}))};var Ne=function(e){__extends(t,e);function t(t,r){if(t===void 0){t={}}var i=e.call(this)||this;i.options=Ae(t);i.services={};i.logger=X;i.modules={external:[]};xe(i);if(r&&!i.isInitialized&&!t.isClone){if(!i.options.initAsync){i.init(t,r);return i}setTimeout((function(){i.init(t,r)}),0)}return i}t.prototype.init=function(e,t){var r=this;if(e===void 0){e={}}this.isInitializing=true;if(typeof e==="function"){t=e;e={}}if(e.defaultNS==null&&e.ns){if(w(e.ns)){e.defaultNS=e.ns}else if(!e.ns.includes("translation")){e.defaultNS=e.ns[0]}}var i=ye();this.options=__assign(__assign(__assign({},i),this.options),Ae(e));this.options.interpolation=__assign(__assign({},i.interpolation),this.options.interpolation);if(e.keySeparator!==undefined){this.options.userDefinedKeySeparator=e.keySeparator}if(e.nsSeparator!==undefined){this.options.userDefinedNsSeparator=e.nsSeparator}if(typeof this.options.overloadTranslationOptionHandler!=="function"){this.options.overloadTranslationOptionHandler=i.overloadTranslationOptionHandler}var n=function(e){if(!e)return null;if(typeof e==="function")return new e;return e};if(!this.options.isClone){if(this.modules.logger){X.init(n(this.modules.logger),this.options)}else{X.init(null,this.options)}var a=void 0;if(this.modules.formatter){a=this.modules.formatter}else{a=he}var o=new ae(this.options);this.store=new Z(this.options.resources,this.options);var s=this.services;s.logger=X;s.resourceStore=this.store;s.languageUtils=o;s.pluralResolver=new le(o,{prepend:this.options.pluralSeparator});if(a){s.formatter=n(a);if(s.formatter.init)s.formatter.init(s,this.options);this.options.interpolation.format=s.formatter.format.bind(s.formatter)}s.interpolator=new de(this.options);s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)};s.backendConnector=new ve(n(this.modules.backend),s.resourceStore,s,this.options);s.backendConnector.on("*",(function(e){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}r.emit.apply(r,__spreadArray([e],t,false))}));if(this.modules.languageDetector){s.languageDetector=n(this.modules.languageDetector);if(s.languageDetector.init)s.languageDetector.init(s,this.options.detection,this.options)}if(this.modules.i18nFormat){s.i18nFormat=n(this.modules.i18nFormat);if(s.i18nFormat.init)s.i18nFormat.init(this)}this.translator=new ne(this.services,this.options);this.translator.on("*",(function(e){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}r.emit.apply(r,__spreadArray([e],t,false))}));this.modules.external.forEach((function(e){if(e.init)e.init(r)}))}this.format=this.options.interpolation.format;if(!t)t=be;if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);if(l.length>0&&l[0]!=="dev")this.options.lng=l[0]}if(!this.services.languageDetector&&!this.options.lng){this.logger.warn("init: no languageDetector is used and no lng is defined")}var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(e){r[e]=function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}return(t=r.store)[e].apply(t,i)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(e){r[e]=function(){var t;var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}(t=r.store)[e].apply(t,i);return r}}));var d=S();var m=function(){var e=function(e,i){r.isInitializing=false;if(r.isInitialized&&!r.initializedStoreOnce)r.logger.warn("init: i18next is already initialized. You should call init just once!");r.isInitialized=true;if(!r.options.isClone)r.logger.log("initialized",r.options);r.emit("initialized",r.options);d.resolve(i);t(e,i)};if((r.languages||r.isLanguageChangingTo)&&!r.isInitialized)return e(null,r.t.bind(r));r.changeLanguage(r.options.lng,e)};if(this.options.resources||!this.options.initAsync){m()}else{setTimeout(m,0)}return d};t.prototype.loadResources=function(e,t){var r=this;var i,n;if(t===void 0){t=be}var a=t;var o=w(e)?e:this.language;if(typeof e==="function")a=e;if(!this.options.resources||this.options.partialBundledLanguages){if((o===null||o===void 0?void 0:o.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return a();var s=[];var l=function(e){if(!e)return;if(e==="cimode")return;var t=r.services.languageUtils.toResolveHierarchy(e);t.forEach((function(e){if(e==="cimode")return;if(!s.includes(e))s.push(e)}))};if(!o){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.forEach((function(e){return l(e)}))}else{l(o)}(n=(i=this.options.preload)===null||i===void 0?void 0:i.forEach)===null||n===void 0?void 0:n.call(i,(function(e){return l(e)}));this.services.backendConnector.load(s,this.options.ns,(function(e){if(!e&&!r.resolvedLanguage&&r.language)r.setResolvedLanguage(r.language);a(e)}))}else{a(null)}};t.prototype.reloadResources=function(e,t,r){var i=S();if(typeof e==="function"){r=e;e=undefined}if(typeof t==="function"){r=t;t=undefined}if(!e)e=this.languages;if(!t)t=this.options.ns;if(!r)r=be;this.services.backendConnector.reload(e,t,(function(e){i.resolve();r(e)}));return i};t.prototype.use=function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");if(e.type==="backend"){this.modules.backend=e}if(e.type==="logger"||e.log&&e.warn&&e.error){this.modules.logger=e}if(e.type==="languageDetector"){this.modules.languageDetector=e}if(e.type==="i18nFormat"){this.modules.i18nFormat=e}if(e.type==="postProcessor"){$.addPostProcessor(e)}if(e.type==="formatter"){this.modules.formatter=e}if(e.type==="3rdParty"){this.modules.external.push(e)}return this};t.prototype.setResolvedLanguage=function(e){if(!e||!this.languages)return;if(["cimode","dev"].includes(e))return;for(var t=0;t<this.languages.length;t++){var r=this.languages[t];if(["cimode","dev"].includes(r))continue;if(this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}if(!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;this.languages.unshift(e)}};t.prototype.changeLanguage=function(e,t){var r=this;this.isLanguageChangingTo=e;var i=S();this.emit("languageChanging",e);var n=function(e){r.language=e;r.languages=r.services.languageUtils.toResolveHierarchy(e);r.resolvedLanguage=undefined;r.setResolvedLanguage(e)};var a=function(a,o){if(o){if(r.isLanguageChangingTo===e){n(o);r.translator.changeLanguage(o);r.isLanguageChangingTo=undefined;r.emit("languageChanged",o);r.logger.log("languageChanged",o)}}else{r.isLanguageChangingTo=undefined}i.resolve((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return r.t.apply(r,e)}));if(t)t(a,(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return r.t.apply(r,e)}))};var o=function(t){var i,o;if(!e&&!t&&r.services.languageDetector)t=[];var s=w(t)?t:t&&t[0];var l=r.store.hasLanguageSomeTranslations(s)?s:r.services.languageUtils.getBestMatchFromCodes(w(t)?[t]:t);if(l){if(!r.language){n(l)}if(!r.translator.language)r.translator.changeLanguage(l);(o=(i=r.services.languageDetector)===null||i===void 0?void 0:i.cacheUserLanguage)===null||o===void 0?void 0:o.call(i,l)}r.loadResources(l,(function(e){a(e,l)}))};if(!e&&this.services.languageDetector&&!this.services.languageDetector.async){o(this.services.languageDetector.detect())}else if(!e&&this.services.languageDetector&&this.services.languageDetector.async){if(this.services.languageDetector.detect.length===0){this.services.languageDetector.detect().then(o)}else{this.services.languageDetector.detect(o)}}else{o(e)}return i};t.prototype.getFixedT=function(e,t,r,i){var n=this;var a=i===null||i===void 0?void 0:i.scopeNs;var o=function(e,t){var i=[];for(var s=2;s<arguments.length;s++){i[s-2]=arguments[s]}var l;if(typeof t!=="object"){l=n.options.overloadTranslationOptionHandler([e,t].concat(i))}else{l=__assign({},t)}l.lng=l.lng||o.lng;l.lngs=l.lngs||o.lngs;var c=l.ns!==undefined&&l.ns!==null;l.ns=l.ns||o.ns;if(l.keyPrefix!=="")l.keyPrefix=l.keyPrefix||r||o.keyPrefix;var u=__assign(__assign({},n.options),l);if(Array.isArray(a)&&!c)u.ns=a;if(typeof l.keyPrefix==="function")l.keyPrefix=re(l.keyPrefix,u);var d=n.options.keySeparator||".";var m;if(l.keyPrefix&&Array.isArray(e)){m=e.map((function(e){if(typeof e==="function")e=re(e,u);return"".concat(l.keyPrefix).concat(d).concat(e)}))}else{if(typeof e==="function")e=re(e,u);m=l.keyPrefix?"".concat(l.keyPrefix).concat(d).concat(e):e}return n.t(m,l)};if(w(e)){o.lng=e}else{o.lngs=e}o.ns=t;o.keyPrefix=r;return o};t.prototype.t=function(){var e;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return(e=this.translator)===null||e===void 0?void 0:e.translate.apply(e,t)};t.prototype.exists=function(){var e;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return(e=this.translator)===null||e===void 0?void 0:e.exists.apply(e,t)};t.prototype.setDefaultNamespace=function(e){this.options.defaultNS=e};t.prototype.hasLoadedNamespace=function(e,t){var r=this;if(t===void 0){t={}}if(!this.isInitialized){this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages);return false}if(!this.languages||!this.languages.length){this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages);return false}var i=t.lng||this.resolvedLanguage||this.languages[0];var n=this.options?this.options.fallbackLng:false;var a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return true;var o=function(e,t){var i=r.services.backendConnector.state["".concat(e,"|").concat(t)];return i===-1||i===0||i===2};if(t.precheck){var s=t.precheck(this,o);if(s!==undefined)return s}if(this.hasResourceBundle(i,e))return true;if(!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return true;if(o(i,e)&&(!n||o(a,e)))return true;return false};t.prototype.loadNamespaces=function(e,t){var r=this;var i=S();if(!this.options.ns){if(t)t();return Promise.resolve()}if(w(e))e=[e];e.forEach((function(e){if(!r.options.ns.includes(e))r.options.ns.push(e)}));this.loadResources((function(e){i.resolve();if(t)t(e)}));return i};t.prototype.loadLanguages=function(e,t){var r=this;var i=S();if(w(e))e=[e];var n=this.options.preload||[];var a=e.filter((function(e){return!n.includes(e)&&r.services.languageUtils.isSupportedCode(e)}));if(!a.length){if(t)t();return Promise.resolve()}this.options.preload=n.concat(a);this.loadResources((function(e){i.resolve();if(t)t(e)}));return i};t.prototype.dir=function(e){var t,r;if(!e)e=this.resolvedLanguage||(((t=this.languages)===null||t===void 0?void 0:t.length)>0?this.languages[0]:this.language);if(!e)return"rtl";try{var i=new Intl.Locale(e);if(i&&i.getTextInfo){var n=i.getTextInfo();if(n&&n.direction)return n.direction}}catch(e){}var a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"];var o=((r=this.services)===null||r===void 0?void 0:r.languageUtils)||new ae(ye());if(e.toLowerCase().indexOf("-latn")>1)return"ltr";return a.includes(o.getLanguagePartFromCode(e))||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"};t.createInstance=function(e,r){if(e===void 0){e={}}var i=new t(e,r);i.createInstance=t.createInstance;return i};t.prototype.cloneInstance=function(e,r){var i=this;if(e===void 0){e={}}if(r===void 0){r=be}var n=e.forkResourceStore;if(n)delete e.forkResourceStore;var a=__assign(__assign(__assign({},this.options),e),{isClone:true});var o=new t(a);if(e.debug!==undefined||e.prefix!==undefined){o.logger=o.logger.clone(e)}var s=["store","services","language"];s.forEach((function(e){o[e]=i[e]}));o.services=__assign({},this.services);o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)};if(n){var l=Object.keys(this.store.data).reduce((function(e,t){e[t]=__assign({},i.store.data[t]);e[t]=Object.keys(e[t]).reduce((function(r,i){r[i]=__assign({},e[t][i]);return r}),e[t]);return e}),{});o.store=new Z(l,a);o.services.resourceStore=o.store}if(e.interpolation){var c=ye();var u=__assign(__assign(__assign({},c.interpolation),this.options.interpolation),e.interpolation);var d=__assign(__assign({},a),{interpolation:u});o.services.interpolator=new de(d)}o.translator=new ne(o.services,a);o.translator.on("*",(function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}o.emit.apply(o,__spreadArray([e],t,false))}));o.init(a,r);o.translator.options=a;o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)};return o};t.prototype.toJSON=function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}};return t}(W);var Ce=Ne.createInstance();var ze={heading:"Drucke mit ezeep Blue",description:"Melde dich mit deinem ezeep Blue-Konto an, um zu drucken.",action:"Anmelden"};var Ie={heading:"Anmeldefenster wurde nicht geöffnet",description:"Tippe auf Erneut versuchen, um fortzufahren. Falls es weiterhin nicht funktioniert, erlaube Pop-ups für diese Website in den Browser-Einstellungen.",action:"Erneut versuchen"};var we={heading:"Keine Datei ausgewählt",description:"Wähle zunächst eine Datei zum Drucken aus.",action:"OK"};var Se={loading:"Lade meine Drucker…",print:"Drucken",printer:"Drucker",print_processing:"Drucken…",print_success:"Erfolgreich gedruckt.",print_success_sub:"Dein Dokument ist auf dem Weg zum Drucker.",print_failed:"Druck fehlgeschlagen",print_timeout:"Das dauert länger als erwartet. Der Auftrag wird möglicherweise noch auf dem Drucker fertiggestellt.",not_supported:"Der ausgewählte Dateityp wird nicht unterstützt.",color:"Farbe",orientation:"Ausrichtung",size:"Papierformat",duplex:"Beidseitig",quality:"Druckqualität",select_printer:"Wähle einen Drucker",select_color:"Wähle Farbe/Graustufen",select_size:"Wähle Papierformat",select_orientation:"Wähle Ausrichtung",select_quality:"Wähle Druckqualität",select_duplex:"Wähle Beidseitig",color_color:"Farbe",color_grayscale:"Graustufen",orientation_portrait:"Hochformat",orientation_landscape:"Querformat",unknown_location:"Unbekannter Standort",no_printers:"Keine Drucker gefunden.",prepare_upload:"Vorbereiten…",uploading:"Hochladen…",duplex_none:"Keine",copies:"Kopien",duplex_long:"auf der langen Seite umdrehen",duplex_short:"auf der kurzen Seite umdrehen",pull_print_success:"Bereit zum Auslösen.",width:"Breite",length:"Länge",trays:"Papierfach",select_trays:"Wähle Papierfach",page_ranges:"Druckbereich",paper_ranges:"Papier-Ranges",files:"Dateien",file_count_one:"{{count}} Datei",file_count_other:"{{count}} Dateien"};var Be={login:"Anmelden",print:"Drucken",cancel:"Abbrechen",close:"Schließen",retry:"Wiederholen",select_printer:"Wähle Drucker"};var Ee={choose_files:"Dateien auswählen",drag_hint:"oder Dateien hierher ziehen",dropzone_title:"Zum Hochladen ablegen",file_type_fallback:"DATEI",add_more:"Weitere Dateien hinzufügen",remove_file:"Datei entfernen",remove_files:"Dateien entfernen",continue:"Weiter zu Druckoptionen"};var _e={theme:"Farbschema",appearance:"Darstellung",system:"System",light:"Hell",dark:"Dunkel",account:"Konto verwalten",help:"Hilfe & Unterstützung",logout:"Ausloggen"};var ke={login_dialog:ze,popup_blocked_dialog:Ie,no_document_dialog:we,printer_selection:Se,button_actions:Be,upload:Ee,user_menu:_e};var Qe={heading:"Print with ezeep Blue",description:"Sign in with your ezeep Blue account to print.",action:"Sign in"};var Pe={heading:"Sign-in window didn't open",description:"Tap Try again to continue. If it still doesn't work, allow pop-ups for this site in your browser settings.",action:"Try again"};var Me={heading:"No file selected",description:"Select a file first to print.",action:"OK"};var De={loading:"Loading My Printers…",print_processing:"Printing…",print_success:"Successfully printed.",print_success_sub:"Your document is on its way to the printer.",pull_print_success:"Ready to be released.",print_failed:"Print failed",print_timeout:"This is taking longer than expected. The job may still finish on the printer.",not_supported:"The selected file type is not supported.",prepare_upload:"Preparing…",uploading:"Uploading…",print:"Print",printer:"Printer",color:"Color",orientation:"Orientation",size:"Paper Size",duplex:"Double-sided",duplex_none:"None",duplex_long:"flip on long side",duplex_short:"flip on short side",quality:"Print Quality",select_printer:"Select a printer",select_color:"Select Color/Grayscale",select_orientation:"Select Orientation",select_size:"Select Paper Size",select_quality:"Select Print Quality",select_duplex:"Select Double-sided",color_color:"Color",color_grayscale:"Grayscale",orientation_portrait:"Portrait",orientation_landscape:"Landscape",unknown_location:"Unknown location",no_printers:"No printers found.",copies:"Copies",width:"Width",length:"Length",trays:"Tray",select_trays:"Select Tray",page_ranges:"Page Ranges",paper_ranges:"Paper Ranges",files:"files",file_count_one:"{{count}} file",file_count_other:"{{count}} files"};var Re={login:"Sign In",print:"Print",cancel:"Cancel",close:"Close",retry:"Retry",select_printer:"Select Printer"};var Te={choose_files:"Choose files",drag_hint:"or drag files here",dropzone_title:"Drop to upload",file_type_fallback:"FILE",add_more:"Add more files",remove_file:"Remove file",remove_files:"Remove files",continue:"Continue to print options"};var qe={theme:"Color theme",appearance:"Appearance",system:"System",light:"Light",dark:"Dark",account:"Manage Account",help:"Help & Support",logout:"Logout"};var He={login_dialog:Qe,popup_blocked_dialog:Pe,no_document_dialog:Me,printer_selection:De,button_actions:Re,upload:Te,user_menu:qe};var Ue;(function(e){e[e["Success"]=0]="Success";e[e["Processing"]=1246]="Processing";e[e["Rendering"]=129]="Rendering";e[e["Failed"]=3011]="Failed";e[e["Error"]=2]="Error"})(Ue||(Ue={}));var Le=[Ue.Processing,Ue.Rendering];var Fe=[Ue.Failed,Ue.Error];var Oe=[412,500,503,1048579];var Ge=412;var Ye=804;var je=201;var Ke=256;var Je=2e3;var Ve=10*60*1e3;var Xe=Math.ceil(Ve/Je);var We=3e4;var Ze=1800;function $e(e){var t=function(){return r(e)};Ce.on("languageChanged",t);return function(){return Ce.off("languageChanged",t)}}function et(e){var t=e.getBoundingClientRect().top;return Array.from(e.children).findIndex((function(e){var r=e.getBoundingClientRect();return(r.top+r.bottom)/2>t}))}function tt(e,t,r,i){var n=t.top-i.top;var a=i.bottom-t.bottom;var o={top:n,bottom:a};var s=e==="top"?"bottom":"top";if(o[e]>=r)return e;if(o[s]>=r||o[s]>o[e])return s;return e}function rt(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function it(e){var t={en:{translation:He},de:{translation:ke}};if(e!=""){Ce.init({resources:t,lng:e,nsSeparator:false,fallbackLng:"en"})}else{Ce.init({resources:t,lng:navigator.language,nsSeparator:false,fallbackLng:"en"})}}var nt=function(e){return __awaiter(u,[e],void 0,(function(e){var t,r;var i=this;var n=e.fn,a=e.validate,o=e.interval,s=e.maxAttempts;return __generator(this,(function(e){t=0;r=function(e,l){return __awaiter(i,void 0,void 0,(function(){var i;return __generator(this,(function(c){switch(c.label){case 0:return[4,n()];case 1:i=c.sent();t++;if(a(i)){return[2,e(i)]}else if(s&&t===s){return[2,l(new Error("Exceeded max attempts."))]}else{setTimeout(r,o,e,l)}return[2]}}))}))};return[2,new Promise(r)]}))}))};var at=function(e){var t={};Object.keys(e).forEach((function(r){if(e[r]!==""){t[r]=e[r]}}));return t};var ot=function(e){if(e.paperid!=Ke){delete e.paperlength;delete e.paperwidth}if(e.paperlength&&e.paperwidth){e.paperlength=+e.paperlength*10;e.paperwidth=+e.paperwidth*10}return e};var st=function(e){return e.replace(/,/g,";")};var lt=function(e){if(!e){return true}var t=/^(\d+(-\d+)?(,\d+(-\d+)?)*|(\d+,\d+(-\d+)?(,\d+(-\d+)?)*)+)$/;var r=t.test(e);if(!r){return false}var i=e.split(",");for(var n=0;n<i.length;n++){var a=i[n].trim();if(a.includes("-")){var o=a.split("-"),s=o[0],l=o[1];var c=parseInt(s);var u=parseInt(l);if(isNaN(c)||isNaN(u)||c>u||c<=0){return false}}else{var d=parseInt(a);if(isNaN(d)||d<=0){return false}}}return true};var ct={accessToken:"access_token",refreshToken:"refreshToken",isAuthorized:"isAuthorized",properties:"properties",printer:"printer",printerSettings:"printerSettings"};function ut(e){var t=localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch(e){return null}}var dt={getRefreshToken:function(){return localStorage.getItem(ct.refreshToken)},setRefreshToken:function(e){localStorage.setItem(ct.refreshToken,e)},getIsAuthorized:function(){return localStorage.getItem(ct.isAuthorized)==="true"},setIsAuthorized:function(e){localStorage.setItem(ct.isAuthorized,e.toString())},hasIsAuthorized:function(){return localStorage.getItem(ct.isAuthorized)!==null},getPrinterSettings:function(e){var t;return(t=mt()[e])!==null&&t!==void 0?t:null},setPrinterSettings:function(e,t){var r=mt();r[e]=t;localStorage.setItem(ct.printerSettings,JSON.stringify(r))},getPrinter:function(){return ut(ct.printer)},setPrinter:function(e){localStorage.setItem(ct.printer,JSON.stringify(e))},clearSession:function(){localStorage.removeItem(ct.refreshToken);localStorage.removeItem(ct.accessToken);localStorage.removeItem(ct.isAuthorized)},clearSavedPrinter:function(){localStorage.removeItem(ct.printer)}};function mt(){var e;var t=ut(ct.printerSettings);if(t)return t;var r=ut(ct.properties);var i=ut(ct.printer);if(r&&(i===null||i===void 0?void 0:i.id))return e={},e[i.id]=r,e;return{}}var pt=function(){function e(e,t){this.urlParams=new URLSearchParams;this.isAuthorized=false;this.redirectURI=e;this.clientID=t;ft.state.clientID=t;this.oauthUrl=ft.state.authApiHostUrl;this.authURI=new URL("https://".concat(this.oauthUrl,"/oauth/authorize/"));this.accessTokenURL="https://".concat(this.oauthUrl,"/oauth/access_token/")}e.prototype.generateCodeVerifier=function(){if(ft.state.codeVerifier!==""){this.codeVerifier=ft.state.codeVerifier}else{var e=new Uint8Array(128);var t=crypto.getRandomValues(e);var r=btoa(t.toString()).substr(0,128);this.codeVerifier=r;ft.state.codeVerifier=this.codeVerifier}};e.prototype.generateCodeChallenge=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n;return __generator(this,(function(a){switch(a.label){case 0:t=new TextEncoder;r=t.encode(e);return[4,crypto.subtle.digest("SHA-256",r)];case 1:i=a.sent();n=btoa(String.fromCharCode.apply(String,new Uint8Array(i)));this.codeChallenge=n.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return[2]}}))}))};e.prototype.buildAuthURI=function(){this.urlParams.append("response_type","code");this.urlParams.append("client_id",this.clientID);this.urlParams.append("redirect_uri",this.redirectURI);this.urlParams.append("code_challenge",this.codeChallenge);this.urlParams.append("code_challenge_method","S256");this.authURI.search=this.urlParams.toString();ft.state.authUri=this.authURI.toString()};e.prototype.oauthHeaders=function(){return{Authorization:"Basic "+btoa(this.clientID+":"),"Content-Type":"application/x-www-form-urlencoded"}};e.prototype.persistTokens=function(e,t){this.accessToken=e;ft.state.accessToken=e;this.refreshToken=t;ft.state.refreshToken=t;dt.setRefreshToken(t);this.isAuthorized=true;ft.state.isAuthorized=true;dt.setIsAuthorized(true)};e.prototype.getAccessToken=function(){var e=this;return fetch(this.accessTokenURL,{credentials:"include",headers:this.oauthHeaders(),method:"POST",body:rt({grant_type:"authorization_code",scope:"printing",code:ft.state.code,redirect_uri:this.redirectURI,code_verifier:ft.state.codeVerifier})}).then((function(e){return e.json()})).then((function(t){if(t.access_token){e.persistTokens(t.access_token,t.refresh_token)}}))};e.prototype.refreshTokens=function(){var e=this;return fetch(this.accessTokenURL,{credentials:"include",headers:this.oauthHeaders(),method:"POST",body:rt({grant_type:"refresh_token",scope:"printing",refresh_token:ft.state.refreshToken})}).then((function(e){return e.json()})).then((function(t){if(t.access_token){e.persistTokens(t.access_token,t.refresh_token)}}))};e.prototype.revokeRefreshToken=function(){if(ft.state.refreshToken)fetch("https://".concat(this.oauthUrl,"/oauth/revoke/"),{credentials:"include",headers:this.oauthHeaders(),method:"POST",body:rt({token:ft.state.refreshToken})}).catch((function(){}))};return e}();var ft=I({code:"",codeVerifier:"",accessToken:"",refreshToken:"",isAuthorized:false,devApi:false,authApiHostUrl:"",redirectUri:"",authUri:"",clientID:""});function ht(){var e=new URLSearchParams(window.location.search);var t=e.get("code");if(window.opener){if(t){window.opener.postMessage(t,ft.state.redirectUri);window.close()}}}var gt=function(){return":host{--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent);display:block}"};var vt=e("ezp_auth",function(){function e(e){var t=this;i(this,e);this.authCancel=n(this,"authCancel",7);this.authSuccess=n(this,"authSuccess",7);this.userCancel=n(this,"userCancel",7);this.popupBlocked=n(this,"popupBlocked",7);this.isPopupBlocked=false;this.oauthPopupWindow=null;this.previousUrl=null;this.receiveMessage=function(e){if(t.oauthPopupWindow&&e.source&&e.source!==t.oauthPopupWindow){console.warn("[ezeep] Ignored auth message from an unexpected source window.");return}var r=null;try{r=new URL(t.redirectURI).origin}catch(e){r=null}if(r&&e.origin!==r){console.warn('[ezeep] Ignored auth message from unexpected origin "'.concat(e.origin,'" (expected "').concat(r,'").'));return}ft.state.code=e.data;t.auth.getAccessToken().then((function(){t.authCancel.emit();t.authSuccess.emit()}))}}e.prototype.listenDialogAction=function(e){if(e.detail==="popup-blocked"){this.handleRetry();return}this.openSignInWindow(this.auth.authURI.toString(),"ezeep Login")};e.prototype.listenDialogClose=function(e){if(e.detail==="popup-blocked"){this.isPopupBlocked=false;if(this.showsSignInStatus()){this.listenStatusCancel();return}}this.authCancel.emit()};e.prototype.listenStatusCancel=function(){if(this.trigger==="file"){this.userCancel.emit()}else{this.authCancel.emit()}};e.prototype.connectedCallback=function(){this.unsubscribeLanguage=$e(this)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this);window.removeEventListener("message",this.receiveMessage)};e.prototype.openSignInWindow=function(e,t){var r;if(ft.state.isAuthorized){this.authCancel.emit();this.authSuccess.emit();return}window.removeEventListener("message",this.receiveMessage);var i="toolbar=no, menubar=no, width=600, height=7000, top=100, left=100";if(this.oauthPopupWindow===null||this.oauthPopupWindow.closed){this.oauthPopupWindow=window.open(e,t,i);if(this.isWindowBlocked(this.oauthPopupWindow)){this.handlePopupBlocked();return}}else if(this.previousUrl!==this.auth.authURI.toString()){var n=this.oauthPopupWindow;this.oauthPopupWindow=window.open(e,t,i);if(this.isWindowBlocked(this.oauthPopupWindow)){n===null||n===void 0?void 0:n.close();this.handlePopupBlocked();return}(r=this.oauthPopupWindow)===null||r===void 0?void 0:r.focus()}else{this.oauthPopupWindow.focus()}window.addEventListener("message",this.receiveMessage,false);this.previousUrl=this.auth.authURI.toString()};e.prototype.showsSignInStatus=function(){return this.hidelogin&&(this.trigger==="button"||this.trigger==="file")};e.prototype.isWindowBlocked=function(e){return!e||e.closed||typeof e.closed==="undefined"};e.prototype.handlePopupBlocked=function(){this.oauthPopupWindow=null;this.isPopupBlocked=true;this.popupBlocked.emit()};e.prototype.handleRetry=function(){this.isPopupBlocked=false;this.openSignInWindow(this.auth.authURI.toString(),"ezeep Login")};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.auth=new pt(this.redirectURI,this.clientID);if(!this.code)return[3,2];ft.state.code=this.code;return[4,this.auth.getAccessToken()];case 1:e.sent();this.authCancel.emit();this.authSuccess.emit();e.label=2;case 2:if(!(ft.state.isAuthorized===false))return[3,4];this.auth.generateCodeVerifier();return[4,this.auth.generateCodeChallenge(ft.state.codeVerifier)];case 3:e.sent();this.auth.buildAuthURI();e.label=4;case 4:if(this.hidelogin&&(this.trigger==="button"||this.trigger==="file")){if(ft.state.isAuthorized){this.authCancel.emit();this.authSuccess.emit()}else{this.openSignInWindow(this.auth.authURI.toString(),"ezeep Login")}}return[2]}}))}))};e.prototype.render=function(){return a(o,{key:"b947c930b88083bbcde53215bcb6159f2d2a79ce"},this.isPopupBlocked?a("ezp-dialog",{heading:Ce.t("popup_blocked_dialog.heading"),description:Ce.t("popup_blocked_dialog.description"),action:Ce.t("popup_blocked_dialog.action"),iconName:"exclamation-mark",instance:"popup-blocked",key:"popup-blocked"}):this.showsSignInStatus()?a("ezp-status",{description:Ce.t("login_dialog.action"),processing:true,cancel:true}):a("ezp-dialog",{heading:Ce.t("login_dialog.heading"),description:Ce.t("login_dialog.description"),action:Ce.t("login_dialog.action"),iconName:"logo",iconSize:"huge",iconFramed:false,instance:"login",key:"login"}))};return e}());vt.style=gt();var yt=function(){return":host{-webkit-animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);background:var(--ezp-core-backdrop);border-radius:var(--ezp-backdrop-border-radius, 6px);display:block;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:4}:host(.hide){--ezp-backdrop-animation-name:host-out}@-webkit-keyframes host-in{0%{opacity:0}100%{opacity:1}}@keyframes host-in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes host-out{0%{opacity:1}100%{opacity:0}}@keyframes host-out{0%{opacity:1}100%{opacity:0}}"};var At=e("ezp_backdrop",function(){function e(e){i(this,e);this.backdropHideStart=n(this,"backdropHideStart",7);this.backdropHideEnd=n(this,"backdropHideEnd",7);this.visible=true}e.prototype.handleClick=function(){this.visible=false;this.backdropHideStart.emit()};e.prototype.listenAnimationEnd=function(){if(!this.visible){this.backdropHideEnd.emit()}};e.prototype.render=function(){var e=this;return a(o,{key:"7a559a59b645ba3610c90c872a8bc60de2ce5645",class:{hide:!this.visible},onClick:function(){return e.handleClick()}})};Object.defineProperty(e.prototype,"component",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());At.style=yt();var bt=function(){return":host{--ezp-icon-fill:var(--ezp-theme-solid);-ms-flex-line-pack:center;align-content:center;background:var(--ezp-core-backdrop);display:grid;grid-template:auto/minmax(auto, 280px);height:100%;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100%}#box{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10))}#header{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}#body{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);padding:0 var(--ezp-spacing-5);text-align:center}#text{color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4)}#footer{display:grid;grid-template:auto/minmax(144px, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-5)}"};var xt=e("ezp_dialog",function(){function e(e){var t=this;i(this,e);this.dialogClose=n(this,"dialogClose",7);this.dialogAction=n(this,"dialogAction",7);this.action=Ce.t("button_actions.close");this.iconSize="large";this.iconFramed=true;this.handleClose=function(){t.dialogClose.emit(t.instance)};this.handleAction=function(){t.dialogAction.emit(t.instance)}}e.prototype.connectedCallback=function(){this.unsubscribeLanguage=$e(this)};e.prototype.componentDidLoad=function(){var e;(e=this.box)===null||e===void 0?void 0:e.focus()};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.handleKeydown=function(e){if(e.key==="Escape"){this.handleClose();return}if(e.key==="Tab"){this.trapFocus(e)}};e.prototype.trapFocus=function(e){if(!this.box)return;var t=this.collectFocusable(this.box);if(t.length===0)return;var r=t[0];var i=t[t.length-1];var n=this.deepActiveElement();if(!n||!t.includes(n)){e.preventDefault();r.focus()}else if(e.shiftKey&&n===r){e.preventDefault();i.focus()}else if(!e.shiftKey&&n===i){e.preventDefault();r.focus()}};e.prototype.collectFocusable=function(e){var t=[];var r=function(e){e.querySelectorAll("*").forEach((function(e){if(e.tabIndex>=0&&!e.disabled)t.push(e);if(e.shadowRoot)r(e.shadowRoot)}))};r(e);return t};e.prototype.deepActiveElement=function(){var e;var t=document.activeElement;while((e=t===null||t===void 0?void 0:t.shadowRoot)===null||e===void 0?void 0:e.activeElement){t=t.shadowRoot.activeElement}return t};e.prototype.render=function(){var e=this;return a(o,{key:"31add15a63c15bd40f88056c8db4b1621be8365c"},a("div",{key:"4027e801bd98fea212c079282ace0e414cf23525",id:"box",role:"dialog","aria-modal":"true","aria-label":this.heading,tabindex:-1,ref:function(t){return e.box=t}},a("div",{key:"8efa479a250d00b64400ca75c2fe7b1e490a5f78",id:"header"},a("ezp-icon-button",{key:"492ca4802b7ddf20c37a0ce712f77cb0beea07d5",level:"tertiary",icon:"close",type:"button",onClick:this.handleClose})),a("div",{key:"65c7484b089a30b71f24014a5705a870522f4b65",id:"body"},this.iconName&&a("ezp-icon",{key:"9d7689c2c5bc50196e7a4a7a25e9c314e0ca7372",name:this.iconName,size:this.iconSize,framed:this.iconFramed}),a("div",{key:"d2d9418cef0d876f9a59200b6c4a0995e18b8624",id:"text"},a("ezp-label",{key:"cf5ac182ee507a4e558e6d77a8ceae2fcd33912e",text:this.heading,weight:"heavy"}),a("ezp-label",{key:"b925e9c5e830cf2b42b36b1fc60903ddc6aa9613",text:this.description}))),a("div",{key:"9d5d1663b68c8187d4e1767eee3587486974e7c5",id:"footer"},a("ezp-text-button",{key:"3093c085f0001afec6a57aadb5f6866b1f4f2d22",type:"button",level:"primary",onClick:this.handleAction,label:this.action}))))};return e}());xt.style=bt();var Nt=function(){return'@charset "UTF-8";:host{display:block;min-width:0}#trigger{-ms-flex-align:baseline;align-items:baseline;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:4px;color:inherit;cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;margin:0;max-width:100%;min-width:0;outline-color:var(--ezp-theme-solid);outline-offset:2px;padding:0;text-align:left}.head{-ms-flex:0 1 auto;flex:0 1 auto;min-width:0}.tail{-ms-flex:0 0 auto;flex:0 0 auto}:host(:not(.expanded)) .head,:host(:not(.expanded)) .tail{--ezp-label-whiteSpace:pre}:host(.expanded) .head{--ezp-label-whiteSpace:pre-wrap}:host(.expanded) #trigger{word-break:break-all}#tooltip{background:var(--ezp-core-surface-tertiary);border-radius:8px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop);color:var(--ezp-core-foreground-primary);font-size:12px;font-weight:500;left:0;line-height:18px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);pointer-events:auto;position:absolute;right:0;word-break:break-all;z-index:10}:host(.place-top) #tooltip{bottom:calc(100% + var(--ezp-spacing-2))}:host(.place-bottom) #tooltip{top:calc(100% + var(--ezp-spacing-2))}'};var Ct=8;var zt=300;var It=200;var wt=e("ezp_file_name",function(){function e(e){var t=this;i(this,e);this.openGeneration=0;this.scrollTargets=[];this.name="";this.level="secondary";this.weight="soft";this.placement="top";this.anchor="container";this.expanded=false;this.tooltipOpen=false;this.openTooltip=function(){if(!t.hasHover||t.expanded)return;clearTimeout(t.openTimeout);var e=++t.openGeneration;t.openTimeout=setTimeout((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.isClipped()];case 1:t=r.sent();if(t&&e===this.openGeneration)this.tooltipOpen=true;return[2]}}))}))}),zt)};this.closeTooltip=function(){t.openGeneration++;clearTimeout(t.openTimeout);clearTimeout(t.closeTimeout);t.tooltipOpen=false};this.scheduleClose=function(){clearTimeout(t.openTimeout);clearTimeout(t.closeTimeout);t.closeTimeout=setTimeout(t.closeTooltip,It)};this.cancelScheduledClose=function(){clearTimeout(t.closeTimeout)};this.toggleExpanded=function(){t.expanded=!t.expanded;if(t.expanded)t.closeTooltip()}}e.prototype.disconnectedCallback=function(){this.closeTooltip();this.stopWatchingScroll()};e.prototype.componentDidRender=function(){if(this.tooltipOpen&&this.anchor==="parent")this.placeTooltip()};e.prototype.watchTooltipOpen=function(e){if(e&&this.anchor==="parent")this.watchScroll();else this.stopWatchingScroll()};e.prototype.handleKeyDown=function(e){if(e.key==="Escape"&&this.tooltipOpen){e.stopPropagation();this.closeTooltip()}};Object.defineProperty(e.prototype,"hasHover",{get:function(){var e,t;return(t=(e=window.matchMedia)===null||e===void 0?void 0:e.call(window,"(hover: hover)").matches)!==null&&t!==void 0?t:false},enumerable:false,configurable:true});e.prototype.isClipped=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(i){switch(i.label){case 0:r=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".head");if(!r)return[2,false];return[4,(t=r.componentOnReady)===null||t===void 0?void 0:t.call(r)];case 1:i.sent();return[2,r.isTruncated()]}}))}))};e.prototype.placeTooltip=function(){var e,t;var r=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector("#tooltip");var i=(t=this.host.closest("[data-tooltip-row]"))!==null&&t!==void 0?t:this.host.parentElement;if(!r||!i)return;r.style.bottom="auto";r.style.top="0px";var n=r.getBoundingClientRect();var a=r.offsetHeight>0?n.height/r.offsetHeight:1;var o=i.getBoundingClientRect();var s=(parseFloat(getComputedStyle(r).getPropertyValue("--ezp-spacing-2"))||6)*a;var l=tt(this.placement,o,n.height+s,this.visibleArea(r));var c=l==="top"?o.top-s-n.height:o.bottom+s;r.style.top="".concat((c-n.top)/(a||1),"px")};e.prototype.visibleArea=function(e){var t;var r=0;var i=window.innerHeight;var n=e.offsetParent;while(n){if(getComputedStyle(n).overflowY!=="visible"){var a=n.getBoundingClientRect();r=Math.max(r,a.top);i=Math.min(i,a.bottom)}n=(t=n.parentElement)!==null&&t!==void 0?t:n.getRootNode().host||null}return{top:r,bottom:i}};e.prototype.watchScroll=function(){var e=this;this.stopWatchingScroll();var t=[window];var r=this.host.parentNode;while(r){if(r.nodeType===Node.ELEMENT_NODE)t.push(r);r=r instanceof ShadowRoot?r.host:r.parentNode}t.forEach((function(t){return t.addEventListener("scroll",e.closeTooltip,{passive:true})}));window.addEventListener("resize",this.closeTooltip,{passive:true});this.scrollTargets=t};e.prototype.stopWatchingScroll=function(){var e=this;this.scrollTargets.forEach((function(t){return t.removeEventListener("scroll",e.closeTooltip)}));this.scrollTargets=[];window.removeEventListener("resize",this.closeTooltip)};e.prototype.render=function(){var e;var t=!this.expanded&&this.name.length>Ct;var r=t?this.name.slice(0,-Ct):this.name;var i=t?this.name.slice(-Ct):"";return a(o,{key:"6fa83e22c07a31d2a56df34f2f12edf20e1eba15",class:(e={expanded:this.expanded},e["place-".concat(this.placement)]=true,e)},a("button",{key:"07c2f0afc897be0ef1bd1622a486d7ff7ec73953",type:"button",id:"trigger","aria-label":this.name,"aria-expanded":this.expanded?"true":"false",onClick:this.toggleExpanded,onMouseEnter:this.openTooltip,onMouseLeave:this.scheduleClose,onFocus:this.openTooltip,onBlur:this.closeTooltip},a("ezp-label",{key:"7a8711a0ac21e2b7bf84a40492b0b193dd3dd29f",class:"head",ellipsis:t,level:this.level,weight:this.weight,text:r}),t&&a("ezp-label",{key:"be08c7a34cff7db6e5328627de26ff272415e27d",class:"tail",level:this.level,weight:this.weight,text:i})),this.tooltipOpen&&a("div",{key:"fe79f1aeced27b5ebf68e8a6cd3fcdd26e19c5eb",id:"tooltip","aria-hidden":"true",onMouseEnter:this.cancelScheduledClose,onMouseLeave:this.closeTooltip},this.name))};Object.defineProperty(e.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{tooltipOpen:[{watchTooltipOpen:0}]}},enumerable:false,configurable:true});return e}());wt.style=Nt();var St=function(){return":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-icon-background, transparent);border-radius:var(--ezp-icon-borderRadius, 0);display:grid;grid-template:var(--ezp-icon-gridTemplate)/var(--ezp-icon-gridTemplate);height:var(--ezp-icon-height, var(--ezp-icon-size));-ms-flex-pack:center;justify-content:center;padding:var(--ezp-icon-padding, 0);width:var(--ezp-icon-width, var(--ezp-icon-size))}:host(.framed){--ezp-icon-background:var(--ezp-core-shade-primary);--ezp-icon-borderRadius:50%;--ezp-icon-padding:var(--ezp-icon-frame)}:host(.normal){--ezp-icon-size:18px;--ezp-icon-gridTemplate:24px;--ezp-icon-frame:var(--ezp-spacing-3)}:host(.large){--ezp-icon-size:36px;--ezp-icon-gridTemplate:48px;--ezp-icon-frame:var(--ezp-spacing-4)}:host(.huge){--ezp-icon-size:54px;--ezp-icon-gridTemplate:72px;--ezp-icon-frame:var(--ezp-spacing-5)}svg{display:block;fill:var(--ezp-icon-fill, currentColor);height:100%;width:100%}"};var Bt=e("ezp_icon",function(){function e(e){i(this,e);this.size="normal";this.framed=false}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){switch(t.label){case 0:return[4,fetch(l("./assets/glyph-".concat(this.name,".svg"))).then((function(e){return e.text()})).then((function(t){e.glyph=t})).catch((function(){}))];case 1:t.sent();return[2]}}))}))};e.prototype.render=function(){return a(o,{key:"f1a45d38b75ccf4e0c5e6200d9d04c7e5766bfbc",class:"".concat(this.size," ").concat(this.framed?"framed":""),"aria-hidden":"true"},a("div",{key:"70f6963181d31089fefb662079e1e075540d2fe7",id:"glyph",innerHTML:this.glyph}))};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return e}());Bt.style=St();var Et=function(){return":host{display:block}:host(.primary){--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:var(--ezp-theme-solid);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-white-100);--ezp-iconButton-opacity-active:0.74;--ezp-iconButton-opacity-hover:0.84}:host(.secondary){--ezp-iconButton-background-active:var(--ezp-core-shade-tertiary);--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-hover:var(--ezp-core-shade-secondary);--ezp-iconButton-background-init:var(--ezp-core-shade-primary);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-iconButton-background-active:var(--ezp-core-shade-secondary);--ezp-iconButton-background-hover:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.quaternary){--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid);--ezp-iconButton-opacity-active:0.58;--ezp-iconButton-opacity-hover:0.74}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-iconButton-background, var(--ezp-iconButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-iconButton-color, var(--ezp-iconButton-color-init));cursor:var(--ezp-iconButton-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-iconButton-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){#button:not(:disabled):hover{--ezp-iconButton-background:var( --ezp-iconButton-background-hover, var(--ezp-iconButton-background-init) );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-iconButton-background:var( --ezp-iconButton-background-active, var(--ezp-iconButton-background-init) );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-active, 1)}}#button:disabled{--ezp-iconButton-background:var( --ezp-iconButton-background-disabled, var(--ezp-iconButton-background-init) );--ezp-iconButton-color:var(--ezp-iconButton-color-disabled);--ezp-iconButton-cursor:default}"};var _t=e("ezp_icon_button",function(){function e(e){i(this,e);this.blank=false;this.disabled=false;this.level="primary"}e.prototype.render=function(){var e=this.type!==undefined?"button":"a";var t=this.type!==undefined?{type:this.type,disabled:this.disabled}:{href:this.href,target:this.blank?"_blank":"_self"};var r=this.icon.replace(/[-_]/g," ");return a(o,{key:"d67a43c2b91eaa4fa79dd8559824f3ffc23757b2",class:"".concat(this.level)},a(e,Object.assign({key:"3b11b4e0c40c8f900496ae03a4eee11f0980cd80",id:"button","aria-label":r},t),a("ezp-icon",{key:"14a35e8f779628197f7dd89219792d7809990631",name:this.icon})))};return e}());_t.style=Et();var kt=function(){return':host{-ms-flex-align:center;align-items:center;background:transparent;cursor:text;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto 1fr);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host(.has-icon){--ezp-input-grid-template:auto / auto auto 1fr}:host([suffix]){--ezp-input-grid-template:auto / auto 1fr auto;--ezp-input-input-padding-right:0}:host([suffix].has-icon){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-label-color:var(--ezp-core-foreground-primary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-primary))}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-input-icon-color, var(--ezp-theme-solid))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;-webkit-font-smoothing:antialiased;font-weight:600;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input::-webkit-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-moz-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input:-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}'};var Qt=e("ezp_input",function(){function e(e){var t=this;i(this,e);this.inputValueChanged=n(this,"inputValueChanged",7);this.timeout=null;this.label="Label";this.type="text";this.placeholder="";this.focused=false;this.setFocus=function(){var e;(e=t.input)===null||e===void 0?void 0:e.focus()};this.handleBlur=function(){t.focused=false};this.handleFocus=function(){t.focused=true}}e.prototype.handleChange=function(e){var t=this;if(this.timeout){clearTimeout(this.timeout)}var r=e.target;this.value=r.value?r.value:this.type==="number"?0:"";this.timeout=setTimeout((function(){t.inputValueChanged.emit({type:t.eventType.toLowerCase(),value:t.value})}),500)};e.prototype.render=function(){var e=this;var t=!!this.icon;return a(o,{key:"f36f5811ba4e86b0aa3f53be916220136a1d2443",class:{focused:this.focused,"has-icon":t},onClick:this.setFocus},t?a("ezp-icon",{id:"icon",name:this.icon}):null,a("ezp-label",{key:"88f93411e1463b23ca4ae88d278a69df5038509d",id:"label",noWrap:true,level:"secondary",text:this.label}),a("input",{key:"b23ba3c8fea465a559e9c6d7b3da50152b412a1c",id:"input",type:this.type,value:this.value,placeholder:this.placeholder,"aria-label":this.label,onInput:function(t){return e.handleChange(t)},ref:function(t){return e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur}),this.suffix?a("ezp-label",{id:"suffix",level:"secondary",text:this.suffix}):null)};return e}());Qt.style=kt();var Pt=function(){return':host{display:block;min-width:var(--ezp-label-minWidth, auto);padding-bottom:1px;padding-top:1px}:host::before,:host::after{content:"";display:block;height:0}:host::before{margin-top:calc((var(--ezp-label-offset) + 1px) * -1)}:host::after{margin-bottom:calc((var(--ezp-label-offset) + 1px) * -1)}:host(.no-wrap){--ezp-label-whiteSpace:nowrap}:host(.ellipsis){--ezp-label-minWidth:0;--ezp-label-overflow:hidden;--ezp-label-textOverflow:ellipsis;--ezp-label-whiteSpace:nowrap;--ezp-label-width:100%}:host(.primary){--ezp-label-fontSize:17px;--ezp-label-lineHeight:24px;--ezp-label-letterSpacing:-0.0127756105em;--ezp-label-offset:6px}:host(.secondary){--ezp-label-fontSize:14px;--ezp-label-lineHeight:20px;--ezp-label-letterSpacing:-0.0062235443em;--ezp-label-offset:5px}:host(.tertiary){--ezp-label-fontSize:12px;--ezp-label-lineHeight:18px;--ezp-label-letterSpacing:0.0004907745em;--ezp-label-offset:5px}:host(.soft){--ezp-label-fontWeight:400}:host(.strong){--ezp-label-fontWeight:500}:host(.heavy){--ezp-label-fontWeight:600}#text{font-size:var(--ezp-label-fontSize);font-weight:var(--ezp-label-fontWeight);letter-spacing:var(--ezp-label-letterSpacing);line-height:var(--ezp-label-lineHeight);overflow:var(--ezp-label-overflow, visible);text-overflow:var(--ezp-label-textOverflow, clip);white-space:var(--ezp-label-whiteSpace, normal);width:var(--ezp-label-width, auto)}'};var Mt=e("ezp_label",function(){function e(e){i(this,e);this.ellipsis=false;this.level="secondary";this.noWrap=false;this.text="Label";this.weight="soft"}e.prototype.isTruncated=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){t=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector("#text");if(!t)return[2,false];return[2,t.scrollWidth>t.clientWidth+1]}))}))};e.prototype.render=function(){return a(o,{key:"42139679511e711132912a1f762d345951fd1774",class:"".concat(this.level," ").concat(this.weight," ").concat(this.ellipsis?"ellipsis":""," ").concat(this.noWrap?"no-wrap":"")},a("div",{key:"5e54e8142d274cacb375cce8d5ef52ccdeaeec84",id:"text"},this.text))};Object.defineProperty(e.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());Mt.style=Pt();function Dt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function Rt(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function e(){if(this instanceof e){return Reflect.construct(t,arguments,this.constructor)}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};Object.defineProperty(r,"__esModule",{value:true});Object.keys(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:true,get:function(){return e[t]}})}));return r}var Tt=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var qt=typeof globalThis!=="undefined"&&globalThis||typeof self!=="undefined"&&self||typeof Tt!=="undefined"&&Tt||{};var Ht={searchParams:"URLSearchParams"in qt,iterable:"Symbol"in qt&&"iterator"in Symbol,blob:"FileReader"in qt&&"Blob"in qt&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in qt,arrayBuffer:"ArrayBuffer"in qt};function Ut(e){return e&&DataView.prototype.isPrototypeOf(e)}if(Ht.arrayBuffer){var Lt=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"];var Ft=ArrayBuffer.isView||function(e){return e&&Lt.indexOf(Object.prototype.toString.call(e))>-1}}function Ot(e){if(typeof e!=="string"){e=String(e)}if(/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e===""){throw new TypeError('Invalid character in header field name: "'+e+'"')}return e.toLowerCase()}function Gt(e){if(typeof e!=="string"){e=String(e)}return e}function Yt(e){var t={next:function(){var t=e.shift();return{done:t===undefined,value:t}}};if(Ht.iterable){t[Symbol.iterator]=function(){return t}}return t}function jt(e){this.map={};if(e instanceof jt){e.forEach((function(e,t){this.append(t,e)}),this)}else if(Array.isArray(e)){e.forEach((function(e){if(e.length!=2){throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length)}this.append(e[0],e[1])}),this)}else if(e){Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}}jt.prototype.append=function(e,t){e=Ot(e);t=Gt(t);var r=this.map[e];this.map[e]=r?r+", "+t:t};jt.prototype["delete"]=function(e){delete this.map[Ot(e)]};jt.prototype.get=function(e){e=Ot(e);return this.has(e)?this.map[e]:null};jt.prototype.has=function(e){return this.map.hasOwnProperty(Ot(e))};jt.prototype.set=function(e,t){this.map[Ot(e)]=Gt(t)};jt.prototype.forEach=function(e,t){for(var r in this.map){if(this.map.hasOwnProperty(r)){e.call(t,this.map[r],r,this)}}};jt.prototype.keys=function(){var e=[];this.forEach((function(t,r){e.push(r)}));return Yt(e)};jt.prototype.values=function(){var e=[];this.forEach((function(t){e.push(t)}));return Yt(e)};jt.prototype.entries=function(){var e=[];this.forEach((function(t,r){e.push([r,t])}));return Yt(e)};if(Ht.iterable){jt.prototype[Symbol.iterator]=jt.prototype.entries}function Kt(e){if(e._noBody)return;if(e.bodyUsed){return Promise.reject(new TypeError("Already read"))}e.bodyUsed=true}function Jt(e){return new Promise((function(t,r){e.onload=function(){t(e.result)};e.onerror=function(){r(e.error)}}))}function Vt(e){var t=new FileReader;var r=Jt(t);t.readAsArrayBuffer(e);return r}function Xt(e){var t=new FileReader;var r=Jt(t);var i=/charset=([A-Za-z0-9_-]+)/.exec(e.type);var n=i?i[1]:"utf-8";t.readAsText(e,n);return r}function Wt(e){var t=new Uint8Array(e);var r=new Array(t.length);for(var i=0;i<t.length;i++){r[i]=String.fromCharCode(t[i])}return r.join("")}function Zt(e){if(e.slice){return e.slice(0)}else{var t=new Uint8Array(e.byteLength);t.set(new Uint8Array(e));return t.buffer}}function $t(){this.bodyUsed=false;this._initBody=function(e){this.bodyUsed=this.bodyUsed;this._bodyInit=e;if(!e){this._noBody=true;this._bodyText=""}else if(typeof e==="string"){this._bodyText=e}else if(Ht.blob&&Blob.prototype.isPrototypeOf(e)){this._bodyBlob=e}else if(Ht.formData&&FormData.prototype.isPrototypeOf(e)){this._bodyFormData=e}else if(Ht.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)){this._bodyText=e.toString()}else if(Ht.arrayBuffer&&Ht.blob&&Ut(e)){this._bodyArrayBuffer=Zt(e.buffer);this._bodyInit=new Blob([this._bodyArrayBuffer])}else if(Ht.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||Ft(e))){this._bodyArrayBuffer=Zt(e)}else{this._bodyText=e=Object.prototype.toString.call(e)}if(!this.headers.get("content-type")){if(typeof e==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}else if(Ht.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)){this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}}};if(Ht.blob){this.blob=function(){var e=Kt(this);if(e){return e}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(new Blob([this._bodyArrayBuffer]))}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}}}this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Kt(this);if(e){return e}else if(ArrayBuffer.isView(this._bodyArrayBuffer)){return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength))}else{return Promise.resolve(this._bodyArrayBuffer)}}else if(Ht.blob){return this.blob().then(Vt)}else{throw new Error("could not read as ArrayBuffer")}};this.text=function(){var e=Kt(this);if(e){return e}if(this._bodyBlob){return Xt(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(Wt(this._bodyArrayBuffer))}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}};if(Ht.formData){this.formData=function(){return this.text().then(ir)}}this.json=function(){return this.text().then(JSON.parse)};return this}var er=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function tr(e){var t=e.toUpperCase();return er.indexOf(t)>-1?t:e}function rr(e,t){if(!(this instanceof rr)){throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')}t=t||{};var r=t.body;if(e instanceof rr){if(e.bodyUsed){throw new TypeError("Already read")}this.url=e.url;this.credentials=e.credentials;if(!t.headers){this.headers=new jt(e.headers)}this.method=e.method;this.mode=e.mode;this.signal=e.signal;if(!r&&e._bodyInit!=null){r=e._bodyInit;e.bodyUsed=true}}else{this.url=String(e)}this.credentials=t.credentials||this.credentials||"same-origin";if(t.headers||!this.headers){this.headers=new jt(t.headers)}this.method=tr(t.method||this.method||"GET");this.mode=t.mode||this.mode||null;this.signal=t.signal||this.signal||function(){if("AbortController"in qt){var e=new AbortController;return e.signal}}();this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&r){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(r);if(this.method==="GET"||this.method==="HEAD"){if(t.cache==="no-store"||t.cache==="no-cache"){var i=/([?&])_=[^&]*/;if(i.test(this.url)){this.url=this.url.replace(i,"$1_="+(new Date).getTime())}else{var n=/\?/;this.url+=(n.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}}rr.prototype.clone=function(){return new rr(this,{body:this._bodyInit})};function ir(e){var t=new FormData;e.trim().split("&").forEach((function(e){if(e){var r=e.split("=");var i=r.shift().replace(/\+/g," ");var n=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(n))}}));return t}function nr(e){var t=new jt;var r=e.replace(/\r?\n[\t ]+/g," ");r.split("\r").map((function(e){return e.indexOf("\n")===0?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":");var i=r.shift().trim();if(i){var n=r.join(":").trim();try{t.append(i,n)}catch(e){console.warn("Response "+e.message)}}}));return t}$t.call(rr.prototype);function ar(e,t){if(!(this instanceof ar)){throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')}if(!t){t={}}this.type="default";this.status=t.status===undefined?200:t.status;if(this.status<200||this.status>599){throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].")}this.ok=this.status>=200&&this.status<300;this.statusText=t.statusText===undefined?"":""+t.statusText;this.headers=new jt(t.headers);this.url=t.url||"";this._initBody(e)}$t.call(ar.prototype);ar.prototype.clone=function(){return new ar(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new jt(this.headers),url:this.url})};ar.error=function(){var e=new ar(null,{status:200,statusText:""});e.ok=false;e.status=0;e.type="error";return e};var or=[301,302,303,307,308];ar.redirect=function(e,t){if(or.indexOf(t)===-1){throw new RangeError("Invalid status code")}return new ar(null,{status:t,headers:{location:e}})};var sr=qt.DOMException;try{new sr}catch(e){sr=function(e,t){this.message=e;this.name=t;var r=Error(e);this.stack=r.stack};sr.prototype=Object.create(Error.prototype);sr.prototype.constructor=sr}function lr(e,t){return new Promise((function(r,i){var n=new rr(e,t);if(n.signal&&n.signal.aborted){return i(new sr("Aborted","AbortError"))}var a=new XMLHttpRequest;function o(){a.abort()}a.onload=function(){var e={statusText:a.statusText,headers:nr(a.getAllResponseHeaders()||"")};if(n.url.indexOf("file://")===0&&(a.status<200||a.status>599)){e.status=200}else{e.status=a.status}e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;setTimeout((function(){r(new ar(t,e))}),0)};a.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)};a.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request timed out"))}),0)};a.onabort=function(){setTimeout((function(){i(new sr("Aborted","AbortError"))}),0)};function s(e){try{return e===""&&qt.location.href?qt.location.href:e}catch(t){return e}}a.open(n.method,s(n.url),true);if(n.credentials==="include"){a.withCredentials=true}else if(n.credentials==="omit"){a.withCredentials=false}if("responseType"in a){if(Ht.blob){a.responseType="blob"}else if(Ht.arrayBuffer){a.responseType="arraybuffer"}}if(t&&typeof t.headers==="object"&&!(t.headers instanceof jt||qt.Headers&&t.headers instanceof qt.Headers)){var l=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){l.push(Ot(e));a.setRequestHeader(e,Gt(t.headers[e]))}));n.headers.forEach((function(e,t){if(l.indexOf(t)===-1){a.setRequestHeader(t,e)}}))}else{n.headers.forEach((function(e,t){a.setRequestHeader(t,e)}))}if(n.signal){n.signal.addEventListener("abort",o);a.onreadystatechange=function(){if(a.readyState===4){n.signal.removeEventListener("abort",o)}}}a.send(typeof n._bodyInit==="undefined"?null:n._bodyInit)}))}lr.polyfill=true;if(!qt.fetch){qt.fetch=lr;qt.Headers=jt;qt.Request=rr;qt.Response=ar}var cr=Object.freeze({__proto__:null,get DOMException(){return sr},Headers:jt,Request:rr,Response:ar,fetch:lr});var ur=Rt(cr);var dr;var mr;function pr(){if(mr)return dr;mr=1;dr=function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={exports:{},id:i,loaded:false};e[i].call(n.exports,n,n.exports,r);n.loaded=true;return n.exports}r.m=e;r.c=t;r.p="";return r(0)}([function(e,t,r){var i=r(1);var n=typeof importScripts==="function";e.exports=i(n?self:window)},function(e,t,r){function i(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++){r[t]=e[t]}return r}else{return Array.from(e)}}var n=[];function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++){r[a-1]=arguments[a]}var o=n.reduce((function(e,t){return[t].concat(e)}),[]);var s=Promise.resolve(r);o.forEach((function(e){var t=e.request,r=e.requestError;if(t||r){s=s.then((function(e){return t.apply(undefined,i(e))}),r)}}));s=s.then((function(t){var r=new(Function.prototype.bind.apply(Request,[null].concat(i(t))));return e(r).then((function(e){e.request=r;return e})).catch((function(e){e.request=r;return Promise.reject(e)}))}));o.forEach((function(e){var t=e.response,r=e.responseError;if(t||r){s=s.then(t,r)}}));return s}e.exports=function e(t){if(!t.fetch){try{r(2)}catch(e){throw Error("No fetch available. Unable to register fetch-intercept")}}t.fetch=function(e){return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++){r[i]=arguments[i]}return a.apply(undefined,[e].concat(r))}}(t.fetch);return{register:function e(t){n.push(t);return function(){var e=n.indexOf(t);if(e>=0){n.splice(e,1)}}},clear:function e(){n=[]}}}},function(e,t){e.exports=ur}]);return dr}var fr=pr();var hr=Dt(fr);var gr=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.name="AbortError";return r}return t}(Error);var vr={};var yr=[];var Ar={};var br={};var xr={env:vr,argv:yr,versions:Ar,release:br};function Nr(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}if(e.length>0){var r=String(e[0]);if(r.includes(":error")){console.error.apply(console,e)}else if(r.includes(":warning")){console.warn.apply(console,e)}else if(r.includes(":info")){console.info.apply(console,e)}else if(r.includes(":verbose")){console.debug.apply(console,e)}else{console.debug.apply(console,e)}}}var Cr=typeof xr!=="undefined"&&xr.env&&xr.env.DEBUG||undefined;var zr;var Ir=[];var wr=[];var Sr=[];if(Cr){Er(Cr)}var Br=Object.assign((function(e){return Pr(e)}),{enable:Er,enabled:_r,disable:Qr,log:Nr});function Er(e){zr=e;Ir=[];wr=[];var t=e.split(",").map((function(e){return e.trim()}));for(var r=0,i=t;r<i.length;r++){var n=i[r];if(n.startsWith("-")){wr.push(n.substring(1))}else{Ir.push(n)}}for(var a=0,o=Sr;a<o.length;a++){var s=o[a];s.enabled=_r(s.namespace)}}function _r(e){if(e.endsWith("*")){return true}for(var t=0,r=wr;t<r.length;t++){var i=r[t];if(kr(e,i)){return false}}for(var n=0,a=Ir;n<a.length;n++){var o=a[n];if(kr(e,o)){return true}}return false}function kr(e,t){if(t.indexOf("*")===-1){return e===t}var r=t;if(t.indexOf("**")!==-1){var i=[];var n="";for(var a=0,o=t;a<o.length;a++){var s=o[a];if(s==="*"&&n==="*"){continue}else{n=s;i.push(s)}}r=i.join("")}var l=0;var c=0;var u=r.length;var d=e.length;var m=-1;var p=-1;while(l<d&&c<u){if(r[c]==="*"){m=c;c++;if(c===u){return true}while(e[l]!==r[c]){l++;if(l===d){return false}}p=l;l++;c++;continue}else if(r[c]===e[l]){c++;l++}else if(m>=0){c=m+1;l=p+1;if(l===d){return false}while(e[l]!==r[c]){l++;if(l===d){return false}}p=l;l++;c++;continue}else{return false}}var f=l===e.length;var h=c===r.length;var g=c===r.length-1&&r[c]==="*";return f&&(h||g)}function Qr(){var e=zr||"";Er("");return e}function Pr(e){var t=Object.assign(r,{enabled:_r(e),destroy:Mr,log:Br.log,namespace:e,extend:Dr});function r(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}if(!t.enabled){return}if(r.length>0){r[0]="".concat(e," ").concat(r[0])}t.log.apply(t,r)}Sr.push(t);return t}function Mr(){var e=Sr.indexOf(this);if(e>=0){Sr.splice(e,1);return true}return false}function Dr(e){var t=Pr("".concat(this.namespace,":").concat(e));t.log=this.log;return t}var Rr=["verbose","info","warning","error"];var Tr={verbose:400,info:300,warning:200,error:100};function qr(e,t){t.log=function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}e.log.apply(e,t)}}function Hr(e){return Rr.includes(e)}function Ur(e){var t=new Set;var r=typeof xr!=="undefined"&&xr.env&&xr.env[e.logLevelEnvVarName]||undefined;var i;var n=Br(e.namespace);n.log=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}Br.log.apply(Br,e)};function a(e){if(e&&!Hr(e)){throw new Error("Unknown log level '".concat(e,"'. Acceptable values: ").concat(Rr.join(",")))}i=e;var r=[];for(var n=0,a=t;n<a.length;n++){var s=a[n];if(o(s)){r.push(s.namespace)}}Br.enable(r.join(","))}if(r){if(Hr(r)){a(r)}else{console.error("".concat(e.logLevelEnvVarName," set to unknown log level '").concat(r,"'; logging is not enabled. Acceptable values: ").concat(Rr.join(", "),"."))}}function o(e){return Boolean(i&&Tr[e.level]<=Tr[i])}function s(e,r){var i=Object.assign(e.extend(r),{level:r});qr(e,i);if(o(i)){var n=Br.disable();Br.enable(n+","+i.namespace)}t.add(i);return i}function l(){return i}function c(e){var t=n.extend(e);qr(n,t);return{error:s(t,"error"),warning:s(t,"warning"),info:s(t,"info"),verbose:s(t,"verbose")}}return{setLogLevel:a,getLogLevel:l,createClientLogger:c,logger:n}}var Lr=Ur({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function Fr(e){return Lr.createClientLogger(e)}function Or(e){return e.toLowerCase()}function Gr(e){var t,r,i;return __generator(this,(function(n){switch(n.label){case 0:t=0,r=e.values();n.label=1;case 1:if(!(t<r.length))return[3,4];i=r[t];return[4,[i.name,i.value]];case 2:n.sent();n.label=3;case 3:t++;return[3,1];case 4:return[2]}}))}var Yr=function(){function e(e){this._headersMap=new Map;if(e){for(var t=0,r=Object.keys(e);t<r.length;t++){var i=r[t];this.set(i,e[i])}}}e.prototype.set=function(e,t){this._headersMap.set(Or(e),{name:e,value:String(t).trim()})};e.prototype.get=function(e){var t;return(t=this._headersMap.get(Or(e)))===null||t===void 0?void 0:t.value};e.prototype.has=function(e){return this._headersMap.has(Or(e))};e.prototype.delete=function(e){this._headersMap.delete(Or(e))};e.prototype.toJSON=function(e){if(e===void 0){e={}}var t={};if(e.preserveCase){for(var r=0,i=this._headersMap.values();r<i.length;r++){var n=i[r];t[n.name]=n.value}}else{for(var a=0,o=this._headersMap;a<o.length;a++){var s=o[a],l=s[0],n=s[1];t[l]=n.value}}return t};e.prototype.toString=function(){return JSON.stringify(this.toJSON({preserveCase:true}))};e.prototype[Symbol.iterator]=function(){return Gr(this._headersMap)};return e}();function jr(e){return new Yr(e)}function Kr(){var e="";for(var t=0;t<32;t++){var r=Math.floor(Math.random()*16);if(t===12){e+="4"}else if(t===16){e+=(r&3|8).toString(16)}else{e+=r.toString(16)}if(t===7||t===11||t===15||t===19){e+="-"}}return e}var Jr=typeof((d=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||d===void 0?void 0:d.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Kr;function Vr(){return Jr()}var Xr=function(){function e(e){var t,r,i,n,a,o,s;this.url=e.url;this.body=e.body;this.headers=(t=e.headers)!==null&&t!==void 0?t:jr();this.method=(r=e.method)!==null&&r!==void 0?r:"GET";this.timeout=(i=e.timeout)!==null&&i!==void 0?i:0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=(n=e.disableKeepAlive)!==null&&n!==void 0?n:false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=(a=e.withCredentials)!==null&&a!==void 0?a:false;this.abortSignal=e.abortSignal;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||Vr();this.allowInsecureConnection=(o=e.allowInsecureConnection)!==null&&o!==void 0?o:false;this.enableBrowserStreams=(s=e.enableBrowserStreams)!==null&&s!==void 0?s:false;this.requestOverrides=e.requestOverrides;this.authSchemes=e.authSchemes}return e}();function Wr(e){return new Xr(e)}var Zr=new Set(["Deserialize","Serialize","Retry","Sign"]);var $r=function(){function e(e){var t;this._policies=[];this._policies=(t=e===null||e===void 0?void 0:e.slice(0))!==null&&t!==void 0?t:[];this._orderedPolicies=undefined}e.prototype.addPolicy=function(e,t){if(t===void 0){t={}}if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!Zr.has(t.phase)){throw new Error("Invalid phase name: ".concat(t.phase))}if(t.afterPhase&&!Zr.has(t.afterPhase)){throw new Error("Invalid afterPhase name: ".concat(t.afterPhase))}this._policies.push({policy:e,options:t});this._orderedPolicies=undefined};e.prototype.removePolicy=function(e){var t=[];this._policies=this._policies.filter((function(r){if(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase){t.push(r.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t};e.prototype.sendRequest=function(e,t){var r=this.getOrderedPolicies();var i=r.reduceRight((function(e,t){return function(r){return t.sendRequest(r,e)}}),(function(t){return e.sendRequest(t)}));return i(t)};e.prototype.getOrderedPolicies=function(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies};e.prototype.clone=function(){return new e(this._policies)};e.create=function(){return new e};e.prototype.orderPolicies=function(){var e=[];var t=new Map;function r(e){return{name:e,policies:new Set,hasRun:false,hasAfterPolicies:false}}var i=r("Serialize");var n=r("None");var a=r("Deserialize");var o=r("Retry");var s=r("Sign");var l=[i,n,a,o,s];function c(e){if(e==="Retry"){return o}else if(e==="Serialize"){return i}else if(e==="Deserialize"){return a}else if(e==="Sign"){return s}else{return n}}for(var u=0,d=this._policies;u<d.length;u++){var m=d[u];var p=m.policy;var f=m.options;var h=p.name;if(t.has(h)){throw new Error("Duplicate policy names not allowed in pipeline")}var g={policy:p,dependsOn:new Set,dependants:new Set};if(f.afterPhase){g.afterPhase=c(f.afterPhase);g.afterPhase.hasAfterPolicies=true}t.set(h,g);var v=c(f.phase);v.policies.add(g)}for(var y=0,A=this._policies;y<A.length;y++){var m=A[y];var p=m.policy,f=m.options;var h=p.name;var g=t.get(h);if(!g){throw new Error("Missing node for policy ".concat(h))}if(f.afterPolicies){for(var b=0,x=f.afterPolicies;b<x.length;b++){var N=x[b];var C=t.get(N);if(C){g.dependsOn.add(C);C.dependants.add(g)}}}if(f.beforePolicies){for(var z=0,I=f.beforePolicies;z<I.length;z++){var w=I[z];var S=t.get(w);if(S){S.dependsOn.add(g);g.dependants.add(S)}}}}function B(r){r.hasRun=true;for(var i=0,n=r.policies;i<n.length;i++){var a=n[i];if(a.afterPhase&&(!a.afterPhase.hasRun||a.afterPhase.policies.size)){continue}if(a.dependsOn.size===0){e.push(a.policy);for(var o=0,s=a.dependants;o<s.length;o++){var l=s[o];l.dependsOn.delete(a)}t.delete(a.policy.name);r.policies.delete(a)}}}function E(){for(var e=0,t=l;e<t.length;e++){var r=t[e];B(r);if(r.policies.size>0&&r!==n){if(!n.hasRun){B(n)}return}if(r.hasAfterPolicies){B(n)}}}var _=0;while(t.size>0){_++;var k=e.length;E();if(e.length<=k&&_>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e};return e}();function ei(){return $r.create()}function ti(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function ri(e){if(ti(e)){var t=typeof e.name==="string";var r=typeof e.message==="string";return t&&r}return false}var ii=Symbol();var ni="REDACTED";var ai=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"];var oi=["api-version"];var si=function(){function e(e){var t=e===void 0?{}:e,r=t.additionalAllowedHeaderNames,i=r===void 0?[]:r,n=t.additionalAllowedQueryParameters,a=n===void 0?[]:n;i=ai.concat(i);a=oi.concat(a);this.allowedHeaderNames=new Set(i.map((function(e){return e.toLowerCase()})));this.allowedQueryParameters=new Set(a.map((function(e){return e.toLowerCase()})))}e.prototype.sanitize=function(e){var t=this;var r=new Set;return JSON.stringify(e,(function(e,i){if(i instanceof Error){return __assign(__assign({},i),{name:i.name,message:i.message})}if(e==="headers"&&ti(i)){return t.sanitizeHeaders(i)}else if(e==="url"&&typeof i==="string"){return t.sanitizeUrl(i)}else if(e==="query"&&ti(i)){return t.sanitizeQuery(i)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(i)||ti(i)){if(r.has(i)){return"[Circular]"}r.add(i)}return i}),2)};e.prototype.sanitizeUrl=function(e){if(typeof e!=="string"||e===null||e===""){return e}var t=new URL(e);if(!t.search){return e}for(var r=0,i=t.searchParams;r<i.length;r++){var n=i[r][0];if(!this.allowedQueryParameters.has(n.toLowerCase())){t.searchParams.set(n,ni)}}return t.toString()};e.prototype.sanitizeHeaders=function(e){var t={};for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];if(this.allowedHeaderNames.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=ni}}return t};e.prototype.sanitizeQuery=function(e){if(typeof e!=="object"||e===null){return e}var t={};for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];if(this.allowedQueryParameters.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=ni}}return t};return e}();var li=new si;var ci=(p=function(e){__extends(t,e);function t(t,r){if(r===void 0){r={}}var i;var n=e.call(this,t)||this;n.name="RestError";n.code=r.code;n.statusCode=r.statusCode;Object.defineProperty(n,"request",{value:r.request,enumerable:false});Object.defineProperty(n,"response",{value:r.response,enumerable:false});var a=((i=n.request)===null||i===void 0?void 0:i.agent)?{maxFreeSockets:n.request.agent.maxFreeSockets,maxSockets:n.request.agent.maxSockets}:undefined;Object.defineProperty(n,ii,{value:function(){return"RestError: ".concat(n.message," \n ").concat(li.sanitize(__assign(__assign({},n),{request:__assign(__assign({},n.request),{agent:a}),response:n.response})))},enumerable:false});Object.setPrototypeOf(n,p.prototype);return n}return t}(Error),p.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",p.PARSE_ERROR="PARSE_ERROR",p);function ui(e){if(e instanceof ci){return true}return ri(e)&&e.name==="RestError"}function di(e,t){switch(t){case"utf-8":return hi(e);case"base64":return pi(e);case"base64url":return fi(e);case"hex":return gi(e)}}function mi(e,t){switch(t){case"utf-8":return vi(e);case"base64":return yi(e);case"base64url":return Ai(e);case"hex":return xi(e)}}function pi(e){return btoa(__spreadArray([],e,true).map((function(e){return String.fromCharCode(e)})).join(""))}function fi(e){return pi(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function hi(e){var t=new TextDecoder;var r=t.decode(e);return r}function gi(e){return __spreadArray([],e,true).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}function vi(e){return(new TextEncoder).encode(e)}function yi(e){return new Uint8Array(__spreadArray([],atob(e),true).map((function(e){return e.charCodeAt(0)})))}function Ai(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");return yi(t)}var bi=new Set("0123456789abcdefABCDEF");function xi(e){var t=new Uint8Array(e.length/2);for(var r=0;r<e.length/2;++r){var i=e[2*r];var n=e[2*r+1];if(!bi.has(i)||!bi.has(n)){return t.slice(0,r)}t[r]=parseInt("".concat(i).concat(n),16)}return t}function Ni(e){return Boolean(e&&typeof e["pipe"]==="function")}function Ci(e){return Boolean(e&&typeof e.getReader==="function"&&typeof e.tee==="function")}function zi(e){return typeof Blob!=="undefined"&&e instanceof Blob}function Ii(e){if(e.buffer instanceof ArrayBuffer&&e.byteOffset===0&&e.byteLength===e.buffer.byteLength){return e.buffer}var t=new ArrayBuffer(e.byteLength);var r=new Uint8Array(t);var i=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);r.set(i);return r.buffer}function wi(e){return(typeof Blob==="function"||typeof Blob==="object")&&e instanceof Blob}var Si=function(){function e(){}e.prototype.sendRequest=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i;return __generator(this,(function(n){switch(n.label){case 0:t=new URL(e.url);r=t.protocol!=="https:";if(r&&!e.allowInsecureConnection){throw new Error("Cannot connect to ".concat(e.url," while allowInsecureConnection is false."))}if(e.proxySettings){throw new Error("HTTP proxy is not supported in browser environment")}n.label=1;case 1:n.trys.push([1,3,,4]);return[4,Bi(e)];case 2:return[2,n.sent()];case 3:i=n.sent();throw ki(i,e);case 4:return[2]}}))}))};return e}();function Bi(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a,o,s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:t=_i(e),r=t.abortController,i=t.abortControllerCleanup;d.label=1;case 1:d.trys.push([1,3,,4]);n=Qi(e.headers);a=Mi(e),o=a.streaming,s=a.body;l=__assign(__assign({body:s,method:e.method,headers:n,signal:r.signal},"credentials"in Request.prototype?{credentials:e.withCredentials?"include":"same-origin"}:{}),"cache"in Request.prototype?{cache:"no-store"}:{});if(o){l.duplex="half"}return[4,fetch(e.url,__assign(__assign({},l),e.requestOverrides))];case 2:c=d.sent();if(wi(e.body)&&e.onUploadProgress){e.onUploadProgress({loadedBytes:e.body.size})}return[2,Ei(c,e,i)];case 3:u=d.sent();i===null||i===void 0?void 0:i();throw u;case 4:return[2]}}))}))}function Ei(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a,o,o,s;var l,c;return __generator(this,(function(u){switch(u.label){case 0:i=Pi(e);n={request:t,headers:i,status:e.status};a=Ci(e.body)?Di(e.body,{onProgress:t.onDownloadProgress,onEnd:r}):e.body;if(!(((l=t.streamResponseStatusCodes)===null||l===void 0?void 0:l.has(Number.POSITIVE_INFINITY))||((c=t.streamResponseStatusCodes)===null||c===void 0?void 0:c.has(n.status))))return[3,1];if(t.enableBrowserStreams){n.browserStreamBody=a!==null&&a!==void 0?a:undefined}else{o=new Response(a);n.blobBody=o.blob();r===null||r===void 0?void 0:r()}return[3,3];case 1:o=new Response(a);s=n;return[4,o.text()];case 2:s.bodyAsText=u.sent();r===null||r===void 0?void 0:r();u.label=3;case 3:return[2,n]}}))}))}function _i(e){var t=new AbortController;var r;var i;if(e.abortSignal){if(e.abortSignal.aborted){throw new gr("The operation was aborted. Request has already been canceled.")}i=function(e){if(e.type==="abort"){t.abort()}};e.abortSignal.addEventListener("abort",i);r=function(){var t;if(i){(t=e.abortSignal)===null||t===void 0?void 0:t.removeEventListener("abort",i)}}}if(e.timeout>0){setTimeout((function(){t.abort()}),e.timeout)}return{abortController:t,abortControllerCleanup:r}}function ki(e,t){var r;if(e&&(e===null||e===void 0?void 0:e.name)==="AbortError"){return e}else{return new ci("Error sending request: ".concat(e.message),{code:(r=e===null||e===void 0?void 0:e.code)!==null&&r!==void 0?r:ci.REQUEST_SEND_ERROR,request:t})}}function Qi(e){var t=new Headers;for(var r=0,i=e;r<i.length;r++){var n=i[r],a=n[0],o=n[1];t.append(a,o)}return t}function Pi(e){var t=jr();for(var r=0,i=e.headers;r<i.length;r++){var n=i[r],a=n[0],o=n[1];t.set(a,o)}return t}function Mi(e){var t=typeof e.body==="function"?e.body():e.body;if(Ni(t)){throw new Error("Node streams are not supported in browser environment.")}if(Ci(t)){return{streaming:true,body:Di(t,{onProgress:e.onUploadProgress})}}else if(typeof t==="object"&&t&&"buffer"in t){return{streaming:false,body:Ii(t)}}else if(t===undefined){return{streaming:false}}else{return{streaming:false,body:t}}}function Di(e,t){if(t===void 0){t={}}var r=0;var i=t.onProgress,n=t.onEnd;if(Ti(e)){return e.pipeThrough(new TransformStream({transform:function(e,t){if(e===null){t.terminate();return}t.enqueue(e);r+=e.length;if(i){i({loadedBytes:r})}},flush:function(){n===null||n===void 0?void 0:n()}}))}else{var a=e.getReader();return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var t,o,s;var l;return __generator(this,(function(c){switch(c.label){case 0:return[4,a.read()];case 1:t=c.sent(),o=t.done,s=t.value;if(o||!s){n===null||n===void 0?void 0:n();e.close();a.releaseLock();return[2]}r+=(l=s===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0;e.enqueue(s);if(i){i({loadedBytes:r})}return[2]}}))}))},cancel:function(e){n===null||n===void 0?void 0:n();return a.cancel(e)}})}}function Ri(){return new Si}function Ti(e){return e.pipeThrough!==undefined&&self.TransformStream!==undefined}function qi(){return Ri()}var Hi=Fr("ts-http-runtime");var Ui="logPolicy";function Li(e){var t;if(e===void 0){e={}}var r=(t=e.logger)!==null&&t!==void 0?t:Hi.info;var i=new si({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:Ui,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(a){switch(a.label){case 0:if(!r.enabled){return[2,t(e)]}r("Request: ".concat(i.sanitize(e)));return[4,t(e)];case 1:n=a.sent();r("Response status code: ".concat(n.status));r("Headers: ".concat(i.sanitize(n.headers)));return[2,n]}}))}))}}}var Fi="redirectPolicy";var Oi=["GET","HEAD"];function Gi(e){if(e===void 0){e={}}var t=e.maxRetries,r=t===void 0?20:t,i=e.allowCrossOriginRedirects,n=i===void 0?false:i;return{name:Fi,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:return[4,t(e)];case 1:i=a.sent();return[2,Yi(t,i,r,n)]}}))}))}}}function Yi(e,t,r,i){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a,o,s,l,c,u,d;if(n===void 0){n=0}return __generator(this,(function(m){switch(m.label){case 0:a=t.request,o=t.status,s=t.headers;l=s.get("location");if(!(l&&(o===300||o===301&&Oi.includes(a.method)||o===302&&Oi.includes(a.method)||o===303&&a.method==="POST"||o===307)&&n<r))return[3,2];c=new URL(l,a.url);if(!i){u=new URL(a.url);if(c.origin!==u.origin){Hi.verbose("Skipping cross-origin redirect from ".concat(u.origin," to ").concat(c.origin,"."));return[2,t]}}a.url=c.toString();if(o===303){a.method="GET";a.headers.delete("Content-Length");delete a.body}a.headers.delete("Authorization");return[4,e(a)];case 1:d=m.sent();return[2,Yi(e,d,r,i,n+1)];case 2:return[2,t]}}))}))}var ji=3;var Ki="decompressResponsePolicy";function Ji(){throw new Error("decompressResponsePolicy is not supported in browser environment")}function Vi(e,t){e=Math.ceil(e);t=Math.floor(t);var r=Math.floor(Math.random()*(t-e+1));return r+e}function Xi(e,t){var r=t.retryDelayInMs*Math.pow(2,e);var i=Math.min(t.maxRetryDelayInMs,r);var n=i/2+Vi(0,i/2);return{retryAfterInMs:n}}var Wi="The operation was aborted.";function Zi(e,t,r){return new Promise((function(i,n){var a=undefined;var o=undefined;var s=function(){return n(new gr((r===null||r===void 0?void 0:r.abortErrorMsg)?r===null||r===void 0?void 0:r.abortErrorMsg:Wi))};var l=function(){if((r===null||r===void 0?void 0:r.abortSignal)&&o){r.abortSignal.removeEventListener("abort",o)}};o=function(){if(a){clearTimeout(a)}l();return s()};if((r===null||r===void 0?void 0:r.abortSignal)&&r.abortSignal.aborted){return s()}a=setTimeout((function(){l();i(t)}),e);if(r===null||r===void 0?void 0:r.abortSignal){r.abortSignal.addEventListener("abort",o)}}))}function $i(e,t){var r=e.headers.get(t);if(!r)return;var i=Number(r);if(Number.isNaN(i))return;return i}var en="Retry-After";var tn=["retry-after-ms","x-ms-retry-after-ms",en];function rn(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(var t=0,r=tn;t<r.length;t++){var i=r[t];var n=$i(e,i);if(n===0||n){var a=i===en?1e3:1;return n*a}}var o=e.headers.get(en);if(!o)return;var s=Date.parse(o);var l=s-Date.now();return Number.isFinite(l)?Math.max(0,l):undefined}catch(e){return undefined}}function nn(e){return Number.isFinite(rn(e))}function an(){return{name:"throttlingRetryStrategy",retry:function(e){var t=e.response;var r=rn(t);if(!Number.isFinite(r)){return{skipStrategy:true}}return{retryAfterInMs:r}}}}var on=1e3;var sn=1e3*64;function ln(e){var t,r;if(e===void 0){e={}}var i=(t=e.retryDelayInMs)!==null&&t!==void 0?t:on;var n=(r=e.maxRetryDelayInMs)!==null&&r!==void 0?r:sn;return{name:"exponentialRetryStrategy",retry:function(t){var r=t.retryCount,a=t.response,o=t.responseError;var s=un(o);var l=s&&e.ignoreSystemErrors;var c=cn(a);var u=c&&e.ignoreHttpStatusCodes;var d=a&&(nn(a)||!c);if(d||u||l){return{skipStrategy:true}}if(o&&!s&&!c){return{errorToThrow:o}}return Xi(r,{retryDelayInMs:i,maxRetryDelayInMs:n})}}}function cn(e){return Boolean(e&&e.status!==undefined&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function un(e){if(!e){return false}return e.code==="ETIMEDOUT"||e.code==="ESOCKETTIMEDOUT"||e.code==="ECONNREFUSED"||e.code==="ECONNRESET"||e.code==="ENOENT"||e.code==="ENOTFOUND"}var dn=Fr("ts-http-runtime retryPolicy");var mn="retryPolicy";function pn(e,t){if(t===void 0){t={maxRetries:ji}}var r=t.logger||dn;return{name:mn,sendRequest:function(i,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d,m,p,f,h,g,v;var y,A;return __generator(this,(function(b){switch(b.label){case 0:s=-1;b.label=1;case 1:if(!true)return[3,11];s+=1;a=undefined;o=undefined;b.label=2;case 2:b.trys.push([2,4,,5]);r.info("Retry ".concat(s,": Attempting to send request"),i.requestId);return[4,n(i)];case 3:a=b.sent();r.info("Retry ".concat(s,": Received a response from request"),i.requestId);return[3,5];case 4:l=b.sent();r.error("Retry ".concat(s,": Received an error from request"),i.requestId);if(!ui(l)){throw l}o=l;a=l.response;return[3,5];case 5:if((y=i.abortSignal)===null||y===void 0?void 0:y.aborted){r.error("Retry ".concat(s,": Request aborted."));c=new gr;throw c}if(s>=((A=t.maxRetries)!==null&&A!==void 0?A:ji)){r.info("Retry ".concat(s,": Maximum retries reached. Returning the last received response, or throwing the last received error."));if(o){throw o}else if(a){return[2,a]}else{throw new Error("Maximum retries reached with no response or error to throw")}}r.info("Retry ".concat(s,": Processing ").concat(e.length," retry strategies."));u=0,d=e;b.label=6;case 6:if(!(u<d.length))return[3,10];m=d[u];p=m.logger||r;p.info("Retry ".concat(s,": Processing retry strategy ").concat(m.name,"."));f=m.retry({retryCount:s,response:a,responseError:o});if(f.skipStrategy){p.info("Retry ".concat(s,": Skipped."));return[3,9]}h=f.errorToThrow,g=f.retryAfterInMs,v=f.redirectTo;if(h){p.error("Retry ".concat(s,": Retry strategy ").concat(m.name," throws error:"),h);throw h}if(!(g||g===0))return[3,8];p.info("Retry ".concat(s,": Retry strategy ").concat(m.name," retries after ").concat(g));return[4,Zi(g,undefined,{abortSignal:i.abortSignal})];case 7:b.sent();return[3,1];case 8:if(v){p.info("Retry ".concat(s,": Retry strategy ").concat(m.name," redirects to ").concat(v));i.url=v;return[3,1]}b.label=9;case 9:u++;return[3,6];case 10:if(o){r.info("None of the retry strategies could work with the received error. Throwing it.");throw o}if(a){r.info("None of the retry strategies could work with the received response. Returning it.");return[2,a]}return[3,1];case 11:return[2]}}))}))}}}var fn="defaultRetryPolicy";function hn(e){var t;if(e===void 0){e={}}return{name:fn,sendRequest:pn([an(),ln(e)],{maxRetries:(t=e.maxRetries)!==null&&t!==void 0?t:ji}).sendRequest}}typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";var gn=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean((m=globalThis.process.versions)===null||m===void 0?void 0:m.node);var vn="formDataPolicy";function yn(e){var t;var r={};for(var i=0,n=e.entries();i<n.length;i++){var a=n[i],o=a[0],s=a[1];(t=r[o])!==null&&t!==void 0?t:r[o]=[];r[o].push(s)}return r}function An(){return{name:vn,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:if(gn&&typeof FormData!=="undefined"&&e.body instanceof FormData){e.formData=yn(e.body);e.body=undefined}if(!e.formData)return[3,4];r=e.headers.get("Content-Type");if(!(r&&r.indexOf("application/x-www-form-urlencoded")!==-1))return[3,1];e.body=bn(e.formData);return[3,3];case 1:return[4,xn(e.formData,e)];case 2:i.sent();i.label=3;case 3:e.formData=undefined;i.label=4;case 4:return[2,t(e)]}}))}))}}}function bn(e){var t=new URLSearchParams;for(var r=0,i=Object.entries(e);r<i.length;r++){var n=i[r],a=n[0],o=n[1];if(Array.isArray(o)){for(var s=0,l=o;s<l.length;s++){var c=l[s];t.append(a,c.toString())}}else{t.append(a,o.toString())}}return t.toString()}function xn(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,c,u,d,m,p;return __generator(this,(function(f){r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data")){return[2]}t.headers.set("Content-Type",r!==null&&r!==void 0?r:"multipart/form-data");i=[];for(n=0,a=Object.entries(e);n<a.length;n++){o=a[n],s=o[0],l=o[1];for(c=0,u=Array.isArray(l)?l:[l];c<u.length;c++){d=u[c];if(typeof d==="string"){i.push({headers:jr({"Content-Disposition":'form-data; name="'.concat(s,'"')}),body:mi(d,"utf-8")})}else if(d===undefined||d===null||typeof d!=="object"){throw new Error("Unexpected value for key ".concat(s,": ").concat(d,". Value should be serialized to string first."))}else{m=d.name||"blob";p=jr();p.set("Content-Disposition",'form-data; name="'.concat(s,'"; filename="').concat(m,'"'));p.set("Content-Type",d.type||"application/octet-stream");i.push({headers:p,body:d})}}}t.multipartBody={parts:i};return[2]}))}))}var Nn="proxyPolicy is not supported in browser environment";function Cn(e){throw new Error(Nn)}function zn(e,t){throw new Error(Nn)}var In="agentPolicy";function wn(e){var t=this;return{name:In,sendRequest:function(r,i){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){if(!r.agent){r.agent=e}return[2,i(r)]}))}))}}}var Sn="tlsPolicy";function Bn(e){var t=this;return{name:Sn,sendRequest:function(r,i){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){if(!r.tlsSettings){r.tlsSettings=e}return[2,i(r)]}))}))}}}function En(e){return new Response(e).blob()}function _n(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e instanceof Blob||e instanceof Uint8Array){return[2,e]}if(Ci(e)){return[2,En(e)]}else{throw new Error("Unsupported source type. Only Blob, Uint8Array, and ReadableStream are supported in browser.")}return[2]}))}))}function kn(e){if("resize"in e.buffer){return e}return e.map((function(e){return e}))}function Qn(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=[];r=0,i=e;o.label=1;case 1:if(!(r<i.length))return[3,4];n=i[r];return[4,_n(typeof n==="function"?n():n)];case 2:a=o.sent();if(a instanceof Blob){t.push(a)}else{t.push(new Blob([kn(a)]))}o.label=3;case 3:r++;return[3,1];case 4:return[2,new Blob(t)]}}))}))}function Pn(){return"----AzSDKFormBoundary".concat(Vr())}function Mn(e){var t="";for(var r=0,i=e;r<i.length;r++){var n=i[r],a=n[0],o=n[1];t+="".concat(a,": ").concat(o,"\r\n")}return t}function Dn(e){if(e instanceof Uint8Array){return e.byteLength}else if(zi(e)){return e.size===-1?undefined:e.size}else{return undefined}}function Rn(e){var t=0;for(var r=0,i=e;r<i.length;r++){var n=i[r];var a=Dn(n);if(a===undefined){return undefined}else{t+=a}}return t}function Tn(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:i=__spreadArray(__spreadArray([mi("--".concat(r),"utf-8")],t.flatMap((function(e){return[mi("\r\n","utf-8"),mi(Mn(e.headers),"utf-8"),mi("\r\n","utf-8"),e.body,mi("\r\n--".concat(r),"utf-8")]})),true),[mi("--\r\n\r\n","utf-8")],false);n=Rn(i);if(n){e.headers.set("Content-Length",n)}a=e;return[4,Qn(i)];case 1:a.body=o.sent();return[2]}}))}))}var qn="multipartPolicy";var Hn=70;var Un=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Ln(e){if(e.length>Hn){throw new Error('Multipart boundary "'.concat(e,'" exceeds maximum length of 70 characters'))}if(Array.from(e).some((function(e){return!Un.has(e)}))){throw new Error('Multipart boundary "'.concat(e,'" contains invalid characters'))}}function Fn(){return{name:qn,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:if(!e.multipartBody){return[2,t(e)]}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}r=e.multipartBody.boundary;i=(s=e.headers.get("Content-Type"))!==null&&s!==void 0?s:"multipart/mixed";n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n){throw new Error("Got multipart request body, but content-type header was not multipart: ".concat(i))}a=n[1],o=n[2];if(o&&r&&o!==r){throw new Error("Multipart boundary was specified as ".concat(o," in the header, but got ").concat(r," in the request body"))}r!==null&&r!==void 0?r:r=o;if(r){Ln(r)}else{r=Pn()}e.headers.set("Content-Type","".concat(a,"; boundary=").concat(r));return[4,Tn(e,e.multipartBody.parts,r)];case 1:l.sent();e.multipartBody=undefined;return[2,t(e)]}}))}))}}}function On(){return ei()}var Gn=Ur({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function Yn(e){return Gn.createClientLogger(e)}var jn=Yn("core-rest-pipeline");function Kn(e){if(e===void 0){e={}}return Li(__assign({logger:jn.info},e))}var Jn=Fi;function Vn(e){if(e===void 0){e={}}return Gi(e)}function Xn(){return"x-ms-useragent"}function Wn(e){var t=[{name:"Firefox",regex:/Firefox\/([\d.]+)/},{name:"Safari",regex:/Version\/([\d.]+).*Safari/}];for(var r=0,i=t;r<i.length;r++){var n=i[r];var a=e.match(n.regex);if(a){return{brand:n.name,version:a[1]}}}return undefined}function Zn(e){var t=["Google Chrome","Microsoft Edge","Opera","Brave","Chromium"];var r=function(t){var r=e.find((function(e){return e.brand===t}));if(r){return{value:r}}};for(var i=0,n=t;i<n.length;i++){var a=n[i];var o=r(a);if(typeof o==="object")return o.value}return undefined}function $n(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,n;return __generator(this,(function(a){switch(a.label){case 0:t=globalThis.navigator;r="unknown";if(!(t===null||t===void 0?void 0:t.userAgentData))return[3,2];return[4,t.userAgentData.getHighEntropyValues(["architecture","platformVersion"])];case 1:i=a.sent();r="".concat(i.platform," ").concat(i.platformVersion,"; ").concat(i.architecture);n=Zn(t.userAgentData.brands);if(n){e.set(n.brand,"".concat(n.version," (").concat(r,")"))}return[3,3];case 2:if(t===null||t===void 0?void 0:t.platform){r=t.platform;n=Wn(t.userAgent);if(n){e.set(n.brand,"".concat(n.version," (").concat(r,")"))}}else if(typeof EdgeRuntime==="string"){e.set("EdgeRuntime","".concat(EdgeRuntime," (").concat(r,")"))}a.label=3;case 3:return[2]}}))}))}var ea="1.24.0";function ta(e){var t=[];for(var r=0,i=e;r<i.length;r++){var n=i[r],a=n[0],o=n[1];var s=o?"".concat(a,"/").concat(o):a;t.push(s)}return t.join(" ")}function ra(){return Xn()}function ia(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i;return __generator(this,(function(n){switch(n.label){case 0:t=new Map;t.set("core-rest-pipeline",ea);return[4,$n(t)];case 1:n.sent();r=ta(t);i=e?"".concat(e," ").concat(r):r;return[2,i]}}))}))}var na=ra();var aa="userAgentPolicy";function oa(e){if(e===void 0){e={}}var t=ia(e.userAgentPrefix);return{name:aa,sendRequest:function(e,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:if(!!e.headers.has(na))return[3,2];n=(i=e.headers).set;a=[na];return[4,t];case 1:n.apply(i,a.concat([o.sent()]));o.label=2;case 2:return[2,r(e)]}}))}))}}}var sa=Symbol("rawContent");function la(e){return typeof e[sa]==="function"}function ca(e){if(la(e)){return e[sa]()}else{return e}}var ua=qn;function da(){var e=this;var t=Fn();return{name:ua,sendRequest:function(r,i){return __awaiter(e,void 0,void 0,(function(){var e,n,a;return __generator(this,(function(o){if(r.multipartBody){for(e=0,n=r.multipartBody.parts;e<n.length;e++){a=n[e];if(la(a.body)){a.body=ca(a.body)}}}return[2,t.sendRequest(r,i)]}))}))}}}var ma=Ki;function pa(){return Ji()}function fa(e){if(e===void 0){e={}}return hn(e)}function ha(){return An()}var ga=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.name="AbortError";return r}return t}(Error);function va(e,t){var r=t!==null&&t!==void 0?t:{},i=r.cleanupBeforeAbort,n=r.abortSignal,a=r.abortErrorMsg;return new Promise((function(t,r){function o(){r(new ga(a!==null&&a!==void 0?a:"The operation was aborted."))}function s(){n===null||n===void 0?void 0:n.removeEventListener("abort",l)}function l(){i===null||i===void 0?void 0:i();s();o()}if(n===null||n===void 0?void 0:n.aborted){return o()}try{e((function(e){s();t(e)}),(function(e){s();r(e)}))}catch(e){r(e)}n===null||n===void 0?void 0:n.addEventListener("abort",l)}))}var ya="The delay was aborted.";function Aa(e,t){var r;var i={},n=i.abortSignal,a=i.abortErrorMsg;return va((function(t){r=setTimeout(t,e)}),{cleanupBeforeAbort:function(){return clearTimeout(r)},abortSignal:n,abortErrorMsg:a!==null&&a!==void 0?a:ya})}function ba(e){if(ri(e)){return e.message}else{var t=void 0;try{if(typeof e==="object"&&e){t=JSON.stringify(e)}else{t=String(e)}}catch(e){t="[unable to stringify input]"}return"Unknown error ".concat(t)}}function xa(e){return ri(e)}function Na(){return Vr()}var Ca=gn;function za(e,t){return di(e,t)}function Ia(e,t){return mi(e,t)}function wa(e){return Cn()}function Sa(e,t){return zn()}var Ba="setClientRequestIdPolicy";function Ea(e){if(e===void 0){e="x-ms-client-request-id"}return{name:Ba,sendRequest:function(t,r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return[2,r(t)]}))}))}}}function _a(e){return wn(e)}function ka(e){return Bn(e)}var Qa={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Pa(e){if(e===void 0){e={}}var t=new Ma(e.parentContext);if(e.span){t=t.setValue(Qa.span,e.span)}if(e.namespace){t=t.setValue(Qa.namespace,e.namespace)}return t}var Ma=function(){function e(t){this._contextMap=t instanceof e?new Map(t._contextMap):new Map}e.prototype.setValue=function(t,r){var i=new e(this);i._contextMap.set(t,r);return i};e.prototype.getValue=function(e){return this._contextMap.get(e)};e.prototype.deleteValue=function(t){var r=new e(this);r._contextMap.delete(t);return r};return e}();var Da={instrumenterImplementation:undefined};function Ra(){return{end:function(){},isRecording:function(){return false},recordException:function(){},setAttribute:function(){},setStatus:function(){},addEvent:function(){}}}function Ta(){return{createRequestHeaders:function(){return{}},parseTraceparentHeader:function(){return undefined},startSpan:function(e,t){return{span:Ra(),tracingContext:Pa({parentContext:t.tracingContext})}},withContext:function(e,t){var r=[];for(var i=2;i<arguments.length;i++){r[i-2]=arguments[i]}return t.apply(void 0,r)}}}function qa(){if(!Da.instrumenterImplementation){Da.instrumenterImplementation=Ta()}return Da.instrumenterImplementation}function Ha(e){var t=e.namespace,r=e.packageName,i=e.packageVersion;function n(e,n,a){var o;var s=qa().startSpan(e,__assign(__assign({},a),{packageName:r,packageVersion:i,tracingContext:(o=n===null||n===void 0?void 0:n.tracingOptions)===null||o===void 0?void 0:o.tracingContext}));var l=s.tracingContext;var c=s.span;if(!l.getValue(Qa.namespace)){l=l.setValue(Qa.namespace,t)}c.setAttribute("az.namespace",l.getValue(Qa.namespace));var u=Object.assign({},n,{tracingOptions:__assign(__assign({},n===null||n===void 0?void 0:n.tracingOptions),{tracingContext:l})});return{span:c,updatedOptions:u}}function a(e,t,r,i){return __awaiter(this,void 0,void 0,(function(){var a,s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:a=n(e,t,i),s=a.span,l=a.updatedOptions;d.label=1;case 1:d.trys.push([1,3,4,5]);return[4,o(l.tracingOptions.tracingContext,(function(){return Promise.resolve(r(l,s))}))];case 2:c=d.sent();s.setStatus({status:"success"});return[2,c];case 3:u=d.sent();s.setStatus({status:"error",error:u});throw u;case 4:s.end();return[7];case 5:return[2]}}))}))}function o(e,t){var r;var i=[];for(var n=2;n<arguments.length;n++){i[n-2]=arguments[n]}return(r=qa()).withContext.apply(r,__spreadArray([e,t],i,false))}function s(e){return qa().parseTraceparentHeader(e)}function l(e){return qa().createRequestHeaders(e)}return{startSpan:n,withSpan:a,withContext:o,parseTraceparentHeader:s,createRequestHeaders:l}}var Ua=ci;function La(e){return ui(e)}var Fa="tracingPolicy";function Oa(e){if(e===void 0){e={}}var t=ia(e.userAgentPrefix);var r=new si({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});var i=Ga();return{name:Fa,sendRequest:function(e,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d;var m;return __generator(this,(function(p){switch(p.label){case 0:if(!i){return[2,n(e)]}return[4,t];case 1:a=p.sent();o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":a,requestId:e.requestId};if(a){o["http.user_agent"]=a}s=(m=Ya(i,e,o))!==null&&m!==void 0?m:{},l=s.span,c=s.tracingContext;if(!l||!c){return[2,n(e)]}p.label=2;case 2:p.trys.push([2,4,,5]);return[4,i.withContext(c,n,e)];case 3:u=p.sent();Ka(l,u);return[2,u];case 4:d=p.sent();ja(l,d);throw d;case 5:return[2]}}))}))}}}function Ga(){try{return Ha({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:ea})}catch(e){jn.warning("Error when creating the TracingClient: ".concat(ba(e)));return undefined}}function Ya(e,t,r){try{var i=e.startSpan("HTTP ".concat(t.method),{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r}),n=i.span,a=i.updatedOptions;if(!n.isRecording()){n.end();return undefined}var o=e.createRequestHeaders(a.tracingOptions.tracingContext);for(var s=0,l=Object.entries(o);s<l.length;s++){var c=l[s],u=c[0],d=c[1];t.headers.set(u,d)}return{span:n,tracingContext:a.tracingOptions.tracingContext}}catch(e){jn.warning("Skipping creating a tracing span due to an error: ".concat(ba(e)));return undefined}}function ja(e,t){try{e.setStatus({status:"error",error:xa(t)?t:undefined});if(La(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){jn.warning("Skipping tracing span processing due to an error: ".concat(ba(e)))}}function Ka(e,t){try{e.setAttribute("http.status_code",t.status);var r=t.headers.get("x-ms-request-id");if(r){e.setAttribute("serviceRequestId",r)}if(t.status>=400){e.setStatus({status:"error"})}e.end()}catch(e){jn.warning("Skipping tracing span processing due to an error: ".concat(ba(e)))}}function Ja(e){if(e instanceof AbortSignal){return{abortSignal:e}}if(e.aborted){return{abortSignal:AbortSignal.abort("reason"in e?e.reason:undefined)}}var t=new AbortController;var r=true;function i(){if(r){e.removeEventListener("abort",n);r=false}}function n(){t.abort("reason"in e?e.reason:undefined);i()}e.addEventListener("abort",n);return{abortSignal:t.signal,cleanup:i}}var Va="wrapAbortSignalLikePolicy";function Xa(){var e=this;return{name:Va,sendRequest:function(t,r){return __awaiter(e,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(a){switch(a.label){case 0:if(!t.abortSignal){return[2,r(t)]}e=Ja(t.abortSignal),i=e.abortSignal,n=e.cleanup;t.abortSignal=i;a.label=1;case 1:a.trys.push([1,,3,4]);return[4,r(t)];case 2:return[2,a.sent()];case 3:n===null||n===void 0?void 0:n();return[7];case 4:return[2]}}))}))}}}function Wa(e){var t;var r=On();if(Ca){if(e.agent){r.addPolicy(_a(e.agent))}if(e.tlsOptions){r.addPolicy(ka(e.tlsOptions))}r.addPolicy(Sa());r.addPolicy(pa())}r.addPolicy(Xa());r.addPolicy(ha(),{beforePolicies:[ua]});r.addPolicy(oa(e.userAgentOptions));r.addPolicy(Ea((t=e.telemetryOptions)===null||t===void 0?void 0:t.clientRequestIdHeaderName));r.addPolicy(da(),{afterPhase:"Deserialize"});r.addPolicy(fa(e.retryOptions),{phase:"Retry"});r.addPolicy(Oa(__assign(__assign({},e.userAgentOptions),e.loggingOptions)),{afterPhase:"Retry"});if(Ca){r.addPolicy(Vn(e.redirectOptions),{afterPhase:"Retry"})}r.addPolicy(Kn(e.loggingOptions),{afterPhase:"Sign"});return r}function Za(){var e=qi();return{sendRequest:function(t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:r=t.abortSignal?Ja(t.abortSignal):{},i=r.abortSignal,n=r.cleanup;a.label=1;case 1:a.trys.push([1,,3,4]);t.abortSignal=i;return[4,e.sendRequest(t)];case 2:return[2,a.sent()];case 3:n===null||n===void 0?void 0:n();return[7];case 4:return[2]}}))}))}}}function $a(e){return jr(e)}function eo(e){return Wr(e)}var to={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};function ro(e,t,r){return __awaiter(this,void 0,void 0,(function(){function i(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(n){switch(n.label){case 0:if(!(Date.now()<r))return[3,5];n.label=1;case 1:n.trys.push([1,3,,4]);return[4,e()];case 2:return[2,n.sent()];case 3:t=n.sent();return[2,null];case 4:return[3,7];case 5:return[4,e()];case 6:i=n.sent();if(i===null){throw new Error("Failed to refresh access token.")}return[2,i];case 7:return[2]}}))}))}var n;return __generator(this,(function(e){switch(e.label){case 0:return[4,i()];case 1:n=e.sent();e.label=2;case 2:if(!(n===null))return[3,5];return[4,Aa(t)];case 3:e.sent();return[4,i()];case 4:n=e.sent();return[3,2];case 5:return[2,n]}}))}))}function io(e,t){var r=this;var i=null;var n=null;var a;var o=__assign(__assign({},to),t);var s={get isRefreshing(){return i!==null},get shouldRefresh(){if(n===null){return true}if(s.isRefreshing){return false}if(n.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()){return true}return n.expiresOnTimestamp-o.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-o.forcedRefreshWindowInMs<Date.now()}};function l(t,r){var l;if(!s.isRefreshing){var c=function(){return e.getToken(t,r)};i=ro(c,o.retryIntervalInMs,(l=n===null||n===void 0?void 0:n.expiresOnTimestamp)!==null&&l!==void 0?l:Date.now()).then((function(e){i=null;n=e;a=r.tenantId;return n})).catch((function(e){i=null;n=null;a=undefined;throw e}))}return i}return function(e,t){return __awaiter(r,void 0,void 0,(function(){var r,i,o;return __generator(this,(function(c){r=Boolean(t.claims);i=a!==t.tenantId;if(r){n=null}o=i||r||s.mustRefresh;if(o){return[2,l(e,t)]}if(s.shouldRefresh){l(e,t)}return[2,n]}))}))}}var no="bearerTokenAuthenticationPolicy";function ao(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);return[4,t(e)];case 1:return[2,[i.sent(),undefined]];case 2:r=i.sent();if(La(r)&&r.response){return[2,[r.response,r]]}else{throw r}return[3,3];case 3:return[2]}}))}))}function oo(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=e.scopes,r=e.getAccessToken,i=e.request;n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:true};return[4,r(t,n)];case 1:a=o.sent();if(a){e.request.headers.set("Authorization","Bearer ".concat(a.token))}return[2]}}))}))}function so(e){return e.status===401&&e.headers.has("WWW-Authenticate")}function lo(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i;var n;return __generator(this,(function(a){switch(a.label){case 0:r=e.scopes;return[4,e.getAccessToken(r,{enableCae:true,claims:t})];case 1:i=a.sent();if(!i){return[2,false]}e.request.headers.set("Authorization","".concat((n=i.tokenType)!==null&&n!==void 0?n:"Bearer"," ").concat(i.token));return[2,true]}}))}))}function co(e){var t,r,i;var n=e.credential,a=e.scopes,o=e.challengeCallbacks;var s=e.logger||jn;var l={authorizeRequest:(r=(t=o===null||o===void 0?void 0:o.authorizeRequest)===null||t===void 0?void 0:t.bind(o))!==null&&r!==void 0?r:oo,authorizeRequestOnChallenge:(i=o===null||o===void 0?void 0:o.authorizeRequestOnChallenge)===null||i===void 0?void 0:i.bind(o)};var c=n?io(n):function(){return Promise.resolve(null)};return{name:no,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,o,u,u;var d,m,p,f;var h;return __generator(this,(function(g){switch(g.label){case 0:if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}return[4,l.authorizeRequest({scopes:Array.isArray(a)?a:[a],request:e,getAccessToken:c,logger:s})];case 1:g.sent();return[4,ao(e,t)];case 2:d=g.sent(),r=d[0],i=d[1];if(!so(r))return[3,12];o=mo(r.headers.get("WWW-Authenticate"));if(!o)return[3,6];u=void 0;try{u=atob(o)}catch(e){s.warning('The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: '.concat(o));return[2,r]}return[4,lo({scopes:Array.isArray(a)?a:[a],response:r,request:e,getAccessToken:c,logger:s},u)];case 3:n=g.sent();if(!n)return[3,5];return[4,ao(e,t)];case 4:m=g.sent(),r=m[0],i=m[1];g.label=5;case 5:return[3,12];case 6:if(!l.authorizeRequestOnChallenge)return[3,12];return[4,l.authorizeRequestOnChallenge({scopes:Array.isArray(a)?a:[a],request:e,response:r,getAccessToken:c,logger:s})];case 7:n=g.sent();if(!n)return[3,9];return[4,ao(e,t)];case 8:p=g.sent(),r=p[0],i=p[1];g.label=9;case 9:if(!so(r))return[3,12];o=mo((h=r.headers.get("WWW-Authenticate"))!==null&&h!==void 0?h:"");if(!o)return[3,12];u=void 0;try{u=atob(o)}catch(e){s.warning('The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: '.concat(o));return[2,r]}return[4,lo({scopes:Array.isArray(a)?a:[a],response:r,request:e,getAccessToken:c,logger:s},u)];case 10:n=g.sent();if(!n)return[3,12];return[4,ao(e,t)];case 11:f=g.sent(),r=f[0],i=f[1];g.label=12;case 12:if(i){throw i}else{return[2,r]}return[2]}}))}))}}}function uo(e){var t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;var r=/(\w+)="([^"]*)"/g;var i=[];var n;while((n=t.exec(e))!==null){var a=n[1];var o=n[2];var s={};var l=void 0;while((l=r.exec(o))!==null){s[l[1]]=l[2]}i.push({scheme:a,params:s})}return i}function mo(e){var t;if(!e){return}var r=uo(e);return(t=r.find((function(e){return e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims"})))===null||t===void 0?void 0:t.params.claims}function po(e){var t=e;return t&&typeof t.getToken==="function"&&(t.signRequest===undefined||t.getToken.length>0)}var fo="DisableKeepAlivePolicy";function ho(){return{name:fo,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){e.disableKeepAlive=true;return[2,t(e)]}))}))}}}function go(e){return e.getOrderedPolicies().some((function(e){return e.name===fo}))}function vo(e){return za(e,"base64")}function yo(e){return Ia(e,"base64")}var Ao="$";var bo="_";function xo(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||(t===null||t===void 0?void 0:t.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i))!==null||e===undefined||e===null)}var No=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Co(e){return No.test(e)}var zo=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function Io(e){return zo.test(e)}function wo(e){var t=__assign(__assign({},e.headers),e.body);if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?__assign(__assign({},e.headers),{body:e.body}):t}}function So(e,t){var r,i;var n=e.parsedHeaders;if(e.request.method==="HEAD"){return __assign(__assign({},n),{body:e.parsedBody})}var a=t&&t.bodyMapper;var o=Boolean(a===null||a===void 0?void 0:a.nullable);var s=a===null||a===void 0?void 0:a.type.name;if(s==="Stream"){return __assign(__assign({},n),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody})}var l=s==="Composite"&&a.type.modelProperties||{};var c=Object.keys(l).some((function(e){return l[e].serializedName===""}));if(s==="Sequence"||c){var u=(r=e.parsedBody)!==null&&r!==void 0?r:[];for(var d=0,m=Object.keys(l);d<m.length;d++){var p=m[d];if(l[p].serializedName){u[p]=(i=e.parsedBody)===null||i===void 0?void 0:i[p]}}if(n){for(var f=0,h=Object.keys(n);f<h.length;f++){var p=h[f];u[p]=n[p]}}return o&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(l).length===0?null:u}return wo({body:e.parsedBody,headers:n,hasNullableType:o,shouldWrapBody:xo(e.parsedBody,s)})}var Bo=function(){function e(e,t){if(e===void 0){e={}}if(t===void 0){t=false}this.modelMappers=e;this.isXML=t}e.prototype.validateConstraints=function(e,t,r){var i=function(e,i){throw new Error('"'.concat(r,'" with value "').concat(t,'" should satisfy the constraint "').concat(e,'": ').concat(i,"."))};if(e.constraints&&t!==undefined&&t!==null){var n=e.constraints,a=n.ExclusiveMaximum,o=n.ExclusiveMinimum,s=n.InclusiveMaximum,l=n.InclusiveMinimum,c=n.MaxItems,u=n.MaxLength,d=n.MinItems,m=n.MinLength,p=n.MultipleOf,f=n.Pattern,h=n.UniqueItems;if(a!==undefined&&t>=a){i("ExclusiveMaximum",a)}if(o!==undefined&&t<=o){i("ExclusiveMinimum",o)}if(s!==undefined&&t>s){i("InclusiveMaximum",s)}if(l!==undefined&&t<l){i("InclusiveMinimum",l)}if(c!==undefined&&t.length>c){i("MaxItems",c)}if(u!==undefined&&t.length>u){i("MaxLength",u)}if(d!==undefined&&t.length<d){i("MinItems",d)}if(m!==undefined&&t.length<m){i("MinLength",m)}if(p!==undefined&&t%p!==0){i("MultipleOf",p)}if(f){var g=typeof f==="string"?new RegExp(f):f;if(typeof t!=="string"||t.match(g)===null){i("Pattern",f)}}if(h&&t.some((function(e,t,r){return r.indexOf(e)!==t}))){i("UniqueItems",h)}}};e.prototype.serialize=function(e,t,r,i){var n,a,o;if(i===void 0){i={xml:{}}}var s={xml:{rootName:(n=i.xml.rootName)!==null&&n!==void 0?n:"",includeRoot:(a=i.xml.includeRoot)!==null&&a!==void 0?a:false,xmlCharKey:(o=i.xml.xmlCharKey)!==null&&o!==void 0?o:bo}};var l={};var c=e.type.name;if(!r){r=e.serializedName}if(c.match(/^Sequence$/i)!==null){l=[]}if(e.isConstant){t=e.defaultValue}var u=e.required,d=e.nullable;if(u&&d&&t===undefined){throw new Error("".concat(r," cannot be undefined."))}if(u&&!d&&(t===undefined||t===null)){throw new Error("".concat(r," cannot be null or undefined."))}if(!u&&d===false&&t===null){throw new Error("".concat(r," cannot be null."))}if(t===undefined||t===null){l=t}else{if(c.match(/^any$/i)!==null){l=t}else if(c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){l=Ro(c,r,t)}else if(c.match(/^Enum$/i)!==null){var m=e;l=To(r,m.type.allowedValues,t)}else if(c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){l=Uo(c,t,r)}else if(c.match(/^ByteArray$/i)!==null){l=qo(r,t)}else if(c.match(/^Base64Url$/i)!==null){l=Ho(r,t)}else if(c.match(/^Sequence$/i)!==null){l=Lo(this,e,t,r,Boolean(this.isXML),s)}else if(c.match(/^Dictionary$/i)!==null){l=Fo(this,e,t,r,Boolean(this.isXML),s)}else if(c.match(/^Composite$/i)!==null){l=jo(this,e,t,r,Boolean(this.isXML),s)}}return l};e.prototype.deserialize=function(e,t,r,i){var n,a,o,s;if(i===void 0){i={xml:{}}}var l={xml:{rootName:(n=i.xml.rootName)!==null&&n!==void 0?n:"",includeRoot:(a=i.xml.includeRoot)!==null&&a!==void 0?a:false,xmlCharKey:(o=i.xml.xmlCharKey)!==null&&o!==void 0?o:bo},ignoreUnknownProperties:(s=i.ignoreUnknownProperties)!==null&&s!==void 0?s:false};if(t===undefined||t===null){if(this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped){t=[]}if(e.defaultValue!==undefined){t=e.defaultValue}return t}var c;var u=e.type.name;if(!r){r=e.serializedName}if(u.match(/^Composite$/i)!==null){c=Vo(this,e,t,r,l)}else{if(this.isXML){var d=l.xml.xmlCharKey;if(t[Ao]!==undefined&&t[d]!==undefined){t=t[d]}}if(u.match(/^Number$/i)!==null){c=parseFloat(t);if(isNaN(c)){c=t}}else if(u.match(/^Boolean$/i)!==null){if(t==="true"){c=true}else if(t==="false"){c=false}else{c=t}}else if(u.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){c=t}else if(u.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){c=new Date(t)}else if(u.match(/^UnixTime$/i)!==null){c=Do(t)}else if(u.match(/^ByteArray$/i)!==null){c=yo(t)}else if(u.match(/^Base64Url$/i)!==null){c=Qo(t)}else if(u.match(/^Sequence$/i)!==null){c=Wo(this,e,t,r,l)}else if(u.match(/^Dictionary$/i)!==null){c=Xo(this,e,t,r,l)}}if(e.isConstant){c=e.defaultValue}return c};return e}();function Eo(e,t){if(e===void 0){e={}}if(t===void 0){t=false}return new Bo(e,t)}function _o(e,t){var r=e.length;while(r-1>=0&&e[r-1]===t){--r}return e.substr(0,r)}function ko(e){if(!e){return undefined}if(!(e instanceof Uint8Array)){throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.")}var t=vo(e);return _o(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function Qo(e){if(!e){return undefined}if(e&&typeof e.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}e=e.replace(/-/g,"+").replace(/_/g,"/");return yo(e)}function Po(e){var t=[];var r="";if(e){var i=e.split(".");for(var n=0,a=i;n<a.length;n++){var o=a[n];if(o.charAt(o.length-1)==="\\"){r+=o.substr(0,o.length-1)+"."}else{r+=o;t.push(r);r=""}}}return t}function Mo(e){if(!e){return undefined}if(typeof e.valueOf()==="string"){e=new Date(e)}return Math.floor(e.getTime()/1e3)}function Do(e){if(!e){return undefined}return new Date(e*1e3)}function Ro(e,t,r){if(r!==null&&r!==undefined){if(e.match(/^Number$/i)!==null){if(typeof r!=="number"){throw new Error("".concat(t," with value ").concat(r," must be of type number."))}}else if(e.match(/^String$/i)!==null){if(typeof r.valueOf()!=="string"){throw new Error("".concat(t,' with value "').concat(r,'" must be of type string.'))}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()==="string"&&Io(r))){throw new Error("".concat(t,' with value "').concat(r,'" must be of type string and a valid uuid.'))}}else if(e.match(/^Boolean$/i)!==null){if(typeof r!=="boolean"){throw new Error("".concat(t," with value ").concat(r," must be of type boolean."))}}else if(e.match(/^Stream$/i)!==null){var i=typeof r;if(i!=="string"&&typeof r.pipe!=="function"&&typeof r.tee!=="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob==="function"||typeof Blob==="object")&&r instanceof Blob)&&i!=="function"){throw new Error("".concat(t," must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream."))}}}return r}function To(e,t,r){if(!t){throw new Error("Please provide a set of allowedValues to validate ".concat(e," as an Enum Type."))}var i=t.some((function(e){if(typeof e.valueOf()==="string"){return e.toLowerCase()===r.toLowerCase()}return e===r}));if(!i){throw new Error("".concat(r," is not a valid value for ").concat(e,". The valid values are: ").concat(JSON.stringify(t),"."))}return r}function qo(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error("".concat(e," must be of type Uint8Array."))}t=vo(t)}return t}function Ho(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error("".concat(e," must be of type Uint8Array."))}t=ko(t)}return t}function Uo(e,t,r){if(t!==undefined&&t!==null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in ISO8601 format."))}t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in ISO8601 format."))}t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in RFC-1123 format."))}t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error("".concat(r," must be an instanceof Date or a string in RFC-1123/ISO8601 format ")+"for it to be serialized in UnixTime/Epoch format.")}t=Mo(t)}else if(e.match(/^TimeSpan$/i)!==null){if(!Co(t)){throw new Error("".concat(r,' must be a string in ISO 8601 format. Instead was "').concat(t,'".'))}}}return t}function Lo(e,t,r,i,n,a){var o,s;var l;if(!Array.isArray(r)){throw new Error("".concat(i," must be of type Array."))}var c=t.type.element;if(!c||typeof c!=="object"){throw new Error('"element" metadata for an Array must be defined in the '+'mapper and it must be of type "object" in '.concat(i,"."))}if(c.type.name==="Composite"&&c.type.className){c=(l=e.modelMappers[c.type.className])!==null&&l!==void 0?l:c}var u=[];for(var d=0;d<r.length;d++){var m=e.serialize(c,r[d],i,a);if(n&&c.xmlNamespace){var p=c.xmlNamespacePrefix?"xmlns:".concat(c.xmlNamespacePrefix):"xmlns";if(c.type.name==="Composite"){u[d]=__assign({},m);u[d][Ao]=(o={},o[p]=c.xmlNamespace,o)}else{u[d]={};u[d][a.xml.xmlCharKey]=m;u[d][Ao]=(s={},s[p]=c.xmlNamespace,s)}}else{u[d]=m}}return u}function Fo(e,t,r,i,n,a){var o;if(typeof r!=="object"){throw new Error("".concat(i," must be of type object."))}var s=t.type.value;if(!s||typeof s!=="object"){throw new Error('"value" metadata for a Dictionary must be defined in the '+'mapper and it must of type "object" in '.concat(i,"."))}var l={};for(var c=0,u=Object.keys(r);c<u.length;c++){var d=u[c];var m=e.serialize(s,r[d],i,a);l[d]=Ko(s,m,n,a)}if(n&&t.xmlNamespace){var p=t.xmlNamespacePrefix?"xmlns:".concat(t.xmlNamespacePrefix):"xmlns";var f=l;f[Ao]=(o={},o[p]=t.xmlNamespace,o);return f}return l}function Oo(e,t,r){var i=t.type.additionalProperties;if(!i&&t.type.className){var n=Go(e,t,r);return n===null||n===void 0?void 0:n.type.additionalProperties}return i}function Go(e,t,r){var i=t.type.className;if(!i){throw new Error('Class name for model "'.concat(r,'" is not provided in the mapper "').concat(JSON.stringify(t,undefined,2),'".'))}return e.modelMappers[i]}function Yo(e,t,r){var i=t.type.modelProperties;if(!i){var n=Go(e,t,r);if(!n){throw new Error('mapper() cannot be null or undefined for model "'.concat(t.type.className,'".'))}i=n===null||n===void 0?void 0:n.type.modelProperties;if(!i){throw new Error("modelProperties cannot be null or undefined in the "+'mapper "'.concat(JSON.stringify(n),'" of type "').concat(t.type.className,'" for object "').concat(r,'".'))}}return i}function jo(e,t,r,i,n,a){var o,s;if(es(e,t)){t=$o(e,t,r,"clientName")}if(r!==undefined&&r!==null){var l={};var c=Yo(e,t,i);for(var u=0,d=Object.keys(c);u<d.length;u++){var m=d[u];var p=c[m];if(p.readOnly){continue}var f=void 0;var h=l;if(e.isXML){if(p.xmlIsWrapped){f=p.xmlName}else{f=p.xmlElementName||p.xmlName}}else{var g=Po(p.serializedName);f=g.pop();for(var v=0,y=g;v<y.length;v++){var A=y[v];var b=h[A];if((b===undefined||b===null)&&(r[m]!==undefined&&r[m]!==null||p.defaultValue!==undefined)){h[A]={}}h=h[A]}}if(h!==undefined&&h!==null){if(n&&t.xmlNamespace){var x=t.xmlNamespacePrefix?"xmlns:".concat(t.xmlNamespacePrefix):"xmlns";h[Ao]=__assign(__assign({},h[Ao]),(o={},o[x]=t.xmlNamespace,o))}var N=p.serializedName!==""?i+"."+p.serializedName:i;var C=r[m];var z=es(e,t);if(z&&z.clientName===m&&(C===undefined||C===null)){C=t.serializedName}var I=e.serialize(p,C,N,a);if(I!==undefined&&f!==undefined&&f!==null){var w=Ko(p,I,n,a);if(n&&p.xmlIsAttribute){h[Ao]=h[Ao]||{};h[Ao][f]=I}else if(n&&p.xmlIsWrapped){h[f]=(s={},s[p.xmlElementName]=w,s)}else{h[f]=w}}}}var S=Oo(e,t,i);if(S){var B=Object.keys(c);var E=function(t){var n=B.every((function(e){return e!==t}));if(n){Object.defineProperty(l,t,{value:e.serialize(S,r[t],i+'["'+t+'"]',a),enumerable:true,configurable:true,writable:true})}};for(var _=0,k=Object.keys(r);_<k.length;_++){var Q=k[_];E(Q)}}return l}return r}function Ko(e,t,r,i){var n;if(!r||!e.xmlNamespace){return t}var a=e.xmlNamespacePrefix?"xmlns:".concat(e.xmlNamespacePrefix):"xmlns";var o=(n={},n[a]=e.xmlNamespace,n);if(["Composite"].includes(e.type.name)){if(t[Ao]){return t}else{var s=__assign({},t);s[Ao]=o;return s}}var l={};l[i.xml.xmlCharKey]=t;l[Ao]=o;return l}function Jo(e,t){return[Ao,t.xml.xmlCharKey].includes(e)}function Vo(e,t,r,i,n){var a,o;var s=(a=n.xml.xmlCharKey)!==null&&a!==void 0?a:bo;if(es(e,t)){t=$o(e,t,r,"serializedName")}var l=Yo(e,t,i);var c={};var u=[];for(var d=0,m=Object.keys(l);d<m.length;d++){var p=m[d];var f=l[p];var h=Po(l[p].serializedName);u.push(h[0]);var g=f.serializedName,v=f.xmlName,y=f.xmlElementName;var A=i;if(g!==""&&g!==undefined){A=i+"."+g}var b=f.headerCollectionPrefix;if(b){var x={};for(var N=0,C=Object.keys(r);N<C.length;N++){var z=C[N];if(z.startsWith(b)){x[z.substring(b.length)]=e.deserialize(f.type.value,r[z],A,n)}u.push(z)}c[p]=x}else if(e.isXML){if(f.xmlIsAttribute&&r[Ao]){c[p]=e.deserialize(f,r[Ao][v],A,n)}else if(f.xmlIsMsText){if(r[s]!==undefined){c[p]=r[s]}else if(typeof r==="string"){c[p]=r}}else{var I=y||v||g;if(f.xmlIsWrapped){var w=r[v];var S=(o=w===null||w===void 0?void 0:w[y])!==null&&o!==void 0?o:[];Object.defineProperty(c,p,{value:e.deserialize(f,S,A,n),enumerable:true,configurable:true,writable:true});u.push(v)}else{var B=r[I];c[p]=e.deserialize(f,B,A,n);u.push(I)}}}else{var E=void 0;var _=r;var k=0;for(var Q=0,P=h;Q<P.length;Q++){var M=P[Q];if(!_)break;k++;_=_[M]}if(_===null&&k<h.length){_=undefined}E=_;var D=t.type.polymorphicDiscriminator;if(D&&p===D.clientName&&(E===undefined||E===null)){E=t.serializedName}var R=void 0;if(Array.isArray(r[p])&&l[p].serializedName===""){E=r[p];var T=e.deserialize(f,E,A,n);for(var q=0,H=Object.entries(c);q<H.length;q++){var U=H[q],L=U[0],F=U[1];if(!Object.prototype.hasOwnProperty.call(T,L)){T[L]=F}}c=T}else if(E!==undefined||f.defaultValue!==undefined){R=e.deserialize(f,E,A,n);c[p]=R}}}var O=t.type.additionalProperties;if(O){var G=function(e){for(var t=0,r=Object.keys(l);t<r.length;t++){var i=r[t];var n=Po(l[i].serializedName);if(n[0]===e){return false}}return true};for(var Y=0,j=Object.keys(r);Y<j.length;Y++){var K=j[Y];if(G(K)){var J=e.deserialize(O,r[K],i+'["'+K+'"]',n);Object.defineProperty(c,K,{value:J,enumerable:true,configurable:true,writable:true})}}}else if(r&&!n.ignoreUnknownProperties){for(var V=0,X=Object.keys(r);V<X.length;V++){var p=X[V];if(c[p]===undefined&&!u.includes(p)&&!Jo(p,n)){Object.defineProperty(c,p,{value:r[p],enumerable:true,configurable:true,writable:true})}}}return c}function Xo(e,t,r,i,n){var a=t.type.value;if(!a||typeof a!=="object"){throw new Error('"value" metadata for a Dictionary must be defined in the '+'mapper and it must of type "object" in '.concat(i))}if(r){var o={};for(var s=0,l=Object.keys(r);s<l.length;s++){var c=l[s];o[c]=e.deserialize(a,r[c],i,n)}return o}return r}function Wo(e,t,r,i,n){var a;var o=t.type.element;if(!o||typeof o!=="object"){throw new Error('"element" metadata for an Array must be defined in the '+'mapper and it must be of type "object" in '.concat(i))}if(r){if(!Array.isArray(r)){r=[r]}if(o.type.name==="Composite"&&o.type.className){o=(a=e.modelMappers[o.type.className])!==null&&a!==void 0?a:o}var s=[];for(var l=0;l<r.length;l++){s[l]=e.deserialize(o,r[l],"".concat(i,"[").concat(l,"]"),n)}return s}return r}function Zo(e,t,r){var i=[r];while(i.length){var n=i.shift();var a=t===n?t:n+"."+t;if(Object.prototype.hasOwnProperty.call(e,a)){return e[a]}else{for(var o=0,s=Object.entries(e);o<s.length;o++){var l=s[o],c=l[0],u=l[1];if(c.startsWith(n+".")&&u.type.uberParent===n&&u.type.className){i.push(u.type.className)}}}}return undefined}function $o(e,t,r,i){var n;var a=es(e,t);if(a){var o=a[i];if(o){if(i==="serializedName"){o=o.replace(/\\/gi,"")}var s=r[o];var l=(n=t.type.uberParent)!==null&&n!==void 0?n:t.type.className;if(typeof s==="string"&&l){var c=Zo(e.modelMappers.discriminators,s,l);if(c){t=c}}}}return t}function es(e,t){return t.type.polymorphicDiscriminator||ts(e,t.type.uberParent)||ts(e,t.type.className)}function ts(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}var rs={Sequence:"Sequence",String:"String",Stream:"Stream"};var is={operationRequestMap:new WeakMap};function ns(e,t,r){var i=t.parameterPath;var n=t.mapper;var a;if(typeof i==="string"){i=[i]}if(Array.isArray(i)){if(i.length>0){if(n.isConstant){a=n.defaultValue}else{var o=as(e,i);if(!o.propertyFound&&r){o=as(r,i)}var s=false;if(!o.propertyFound){s=n.required||i[0]==="options"&&i.length===2}a=s?n.defaultValue:o.propertyValue}}}else{if(n.required){a={}}for(var l=0,c=Object.entries(i);l<c.length;l++){var u=c[l],d=u[0],m=u[1];var p=n.type.modelProperties[d];var f=ns(e,{parameterPath:m,mapper:p},r);if(f!==undefined){if(!a){a={}}Object.defineProperty(a,d,{value:f,enumerable:true,configurable:true,writable:true})}}}return a}function as(e,t){var r={propertyFound:false};var i=0;for(;i<t.length;++i){var n=t[i];if(e&&n in e){e=e[n]}else{break}}if(i===t.length){r.propertyValue=e;r.propertyFound=true}return r}var os=Symbol.for("@azure/core-client original request");function ss(e){return os in e}function ls(e){if(ss(e)){return ls(e[os])}var t=is.operationRequestMap.get(e);if(!t){t={};is.operationRequestMap.set(e,t)}return t}var cs=["application/json","text/json"];var us=["application/xml","application/atom+xml"];var ds="deserializationPolicy";function ms(e){var t,r,i,n,a,o,s;if(e===void 0){e={}}var l=(r=(t=e.expectedContentTypes)===null||t===void 0?void 0:t.json)!==null&&r!==void 0?r:cs;var c=(n=(i=e.expectedContentTypes)===null||i===void 0?void 0:i.xml)!==null&&n!==void 0?n:us;var u=e.parseXML;var d=e.serializerOptions;var m={xml:{rootName:(a=d===null||d===void 0?void 0:d.xml.rootName)!==null&&a!==void 0?a:"",includeRoot:(o=d===null||d===void 0?void 0:d.xml.includeRoot)!==null&&o!==void 0?o:false,xmlCharKey:(s=d===null||d===void 0?void 0:d.xml.xmlCharKey)!==null&&s!==void 0?s:bo}};return{name:ds,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,t(e)];case 1:r=i.sent();return[2,hs(l,c,r,m,u)]}}))}))}}}function ps(e){var t;var r=e.request;var i=ls(r);var n=i===null||i===void 0?void 0:i.operationSpec;if(n){if(!(i===null||i===void 0?void 0:i.operationResponseGetter)){t=n.responses[e.status]}else{t=i===null||i===void 0?void 0:i.operationResponseGetter(n,e)}}return t}function fs(e){var t=e.request;var r=ls(t);var i=r===null||r===void 0?void 0:r.shouldDeserialize;var n;if(i===undefined){n=true}else if(typeof i==="boolean"){n=i}else{n=i(e)}return n}function hs(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d,m,p;return __generator(this,(function(f){switch(f.label){case 0:return[4,ys(e,t,r,i,n)];case 1:a=f.sent();if(!fs(a)){return[2,a]}o=ls(a.request);s=o===null||o===void 0?void 0:o.operationSpec;if(!s||!s.responses){return[2,a]}l=ps(a);c=vs(a,s,l,i),u=c.error,d=c.shouldReturnResponse;if(u){throw u}else if(d){return[2,a]}if(l){if(l.bodyMapper){m=a.parsedBody;if(s.isXML&&l.bodyMapper.type.name===rs.Sequence){m=typeof m==="object"?m[l.bodyMapper.xmlElementName]:[]}try{a.parsedBody=s.serializer.deserialize(l.bodyMapper,m,"operationRes.parsedBody",i)}catch(e){p=new Ua("Error ".concat(e," occurred in deserializing the responseBody - ").concat(a.bodyAsText),{statusCode:a.status,request:a.request,response:a});throw p}}else if(s.httpMethod==="HEAD"){a.parsedBody=r.status>=200&&r.status<300}if(l.headersMapper){a.parsedHeaders=s.serializer.deserialize(l.headersMapper,a.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return[2,a]}}))}))}function gs(e){var t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function vs(e,t,r,i){var n,a,o,s,l;var c=200<=e.status&&e.status<300;var u=gs(t)?c:!!r;if(u){if(r){if(!r.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}var d=r!==null&&r!==void 0?r:t.responses.default;var m=((n=e.request.streamResponseStatusCodes)===null||n===void 0?void 0:n.has(e.status))?"Unexpected status code: ".concat(e.status):e.bodyAsText;var p=new Ua(m,{statusCode:e.status,request:e.request,response:e});if(!d&&!(((o=(a=e.parsedBody)===null||a===void 0?void 0:a.error)===null||o===void 0?void 0:o.code)&&((l=(s=e.parsedBody)===null||s===void 0?void 0:s.error)===null||l===void 0?void 0:l.message))){throw p}var f=d===null||d===void 0?void 0:d.bodyMapper;var h=d===null||d===void 0?void 0:d.headersMapper;try{if(e.parsedBody){var g=e.parsedBody;var v=void 0;if(f){var y=g;if(t.isXML&&f.type.name===rs.Sequence){y=[];var A=f.xmlElementName;if(typeof g==="object"&&A){y=g[A]}}v=t.serializer.deserialize(f,y,"error.response.parsedBody",i)}var b=g.error||v||g;p.code=b.code;if(b.message){p.message=b.message}if(f){p.response.parsedBody=v}}if(e.headers&&h){p.response.parsedHeaders=t.serializer.deserialize(h,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){p.message='Error "'.concat(t.message,'" occurred in deserializing the responseBody - "').concat(e.bodyAsText,'" for the default response.')}return{error:p,shouldReturnResponse:false}}function ys(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){var a,o,s,l,c,u,d,m;var p;return __generator(this,(function(f){switch(f.label){case 0:if(!(!((p=r.request.streamResponseStatusCodes)===null||p===void 0?void 0:p.has(r.status))&&r.bodyAsText))return[3,6];a=r.bodyAsText;o=r.headers.get("Content-Type")||"";s=!o?[]:o.split(";").map((function(e){return e.toLowerCase()}));f.label=1;case 1:f.trys.push([1,5,,6]);if(!(s.length===0||s.some((function(t){return e.indexOf(t)!==-1}))))return[3,2];r.parsedBody=JSON.parse(a);return[2,r];case 2:if(!s.some((function(e){return t.indexOf(e)!==-1})))return[3,4];if(!n){throw new Error("Parsing XML not supported.")}return[4,n(a,i.xml)];case 3:l=f.sent();r.parsedBody=l;return[2,r];case 4:return[3,6];case 5:c=f.sent();u='Error "'.concat(c,'" occurred while parsing the response body - ').concat(r.bodyAsText,".");d=c.code||Ua.PARSE_ERROR;m=new Ua(u,{code:d,statusCode:r.status,request:r.request,response:r});throw m;case 6:return[2,r]}}))}))}function As(e){var t=new Set;for(var r=0,i=Object.entries(e.responses);r<i.length;r++){var n=i[r],a=n[0],o=n[1];if(o.bodyMapper&&o.bodyMapper.type.name===rs.Stream){t.add(Number(a))}}return t}function bs(e){var t=e.parameterPath,r=e.mapper;var i;if(typeof t==="string"){i=t}else if(Array.isArray(t)){i=t.join(".")}else{i=r.serializedName}return i}var xs="serializationPolicy";function Ns(e){if(e===void 0){e={}}var t=e.stringifyXML;return{name:xs,sendRequest:function(e,r){var i=ls(e);var n=i===null||i===void 0?void 0:i.operationSpec;var a=i===null||i===void 0?void 0:i.operationArguments;if(n&&a){Cs(e,a,n);zs(e,a,n,t)}return r(e)}}}function Cs(e,t,r){var i,n;if(r.headerParameters){for(var a=0,o=r.headerParameters;a<o.length;a++){var s=o[a];var l=ns(t,s);if(l!==null&&l!==undefined||s.mapper.required){l=r.serializer.serialize(s.mapper,l,bs(s));var c=s.mapper.headerCollectionPrefix;if(c){for(var u=0,d=Object.keys(l);u<d.length;u++){var m=d[u];e.headers.set(c+m,l[m])}}else{e.headers.set(s.mapper.serializedName||bs(s),l)}}}}var p=(n=(i=t.options)===null||i===void 0?void 0:i.requestOptions)===null||n===void 0?void 0:n.customHeaders;if(p){for(var f=0,h=Object.keys(p);f<h.length;f++){var g=h[f];e.headers.set(g,p[g])}}}function zs(e,t,r,i){var n,a,o,s,l;if(i===void 0){i=function(){throw new Error("XML serialization unsupported!")}}var c=(n=t.options)===null||n===void 0?void 0:n.serializerOptions;var u={xml:{rootName:(a=c===null||c===void 0?void 0:c.xml.rootName)!==null&&a!==void 0?a:"",includeRoot:(o=c===null||c===void 0?void 0:c.xml.includeRoot)!==null&&o!==void 0?o:false,xmlCharKey:(s=c===null||c===void 0?void 0:c.xml.xmlCharKey)!==null&&s!==void 0?s:bo}};var d=u.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=ns(t,r.requestBody);var m=r.requestBody.mapper;var p=m.required,f=m.serializedName,h=m.xmlName,g=m.xmlElementName,v=m.xmlNamespace,y=m.xmlNamespacePrefix,A=m.nullable;var b=m.type.name;try{if(e.body!==undefined&&e.body!==null||A&&e.body===null||p){var x=bs(r.requestBody);e.body=r.serializer.serialize(m,e.body,x,u);var N=b===rs.Stream;if(r.isXML){var C=y?"xmlns:".concat(y):"xmlns";var z=Is(v,C,b,e.body,u);if(b===rs.Sequence){e.body=i(ws(z,g||h||f,C,v),{rootName:h||f,xmlCharKey:d})}else if(!N){e.body=i(z,{rootName:h||f,xmlCharKey:d})}}else if(b===rs.String&&(((l=r.contentType)===null||l===void 0?void 0:l.match("text/plain"))||r.mediaType==="text")){return}else if(!N){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error('Error "'.concat(e.message,'" occurred in serializing the payload - ').concat(JSON.stringify(f,undefined," "),"."))}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(var I=0,w=r.formDataParameters;I<w.length;I++){var S=w[I];var B=ns(t,S);if(B!==undefined&&B!==null){var E=S.mapper.serializedName||bs(S);e.formData[E]=r.serializer.serialize(S.mapper,B,bs(S),u)}}}}function Is(e,t,r,i,n){var a;if(e&&!["Composite","Sequence","Dictionary"].includes(r)){var o={};o[n.xml.xmlCharKey]=i;o[Ao]=(a={},a[t]=e,a);return o}return i}function ws(e,t,r,i){var n,a,o;if(!Array.isArray(e)){e=[e]}if(!r||!i){return n={},n[t]=e,n}var s=(a={},a[t]=e,a);s[Ao]=(o={},o[r]=i,o);return s}function Ss(e){if(e===void 0){e={}}var t=Wa(e!==null&&e!==void 0?e:{});if(e.credentialOptions){t.addPolicy(co({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy(Ns(e.serializationOptions),{phase:"Serialize"});t.addPolicy(ms(e.deserializationOptions),{phase:"Deserialize"});return t}var Bs;function Es(){if(!Bs){Bs=Za()}return Bs}var _s={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function ks(e,t,r,i){var n=Ps(t,r,i);var a=false;var o=Qs(e,n);if(t.path){var s=Qs(t.path,n);if(t.path==="/{nextLink}"&&s.startsWith("/")){s=s.substring(1)}if(Ms(s)){o=s;a=true}else{o=Ds(o,s)}}var l=Rs(t,r,i),c=l.queryParams,u=l.sequenceParams;o=qs(o,c,u,a);return o}function Qs(e,t){var r=e;for(var i=0,n=t;i<n.length;i++){var a=n[i],o=a[0],s=a[1];r=r.split(o).join(s)}return r}function Ps(e,t,r){var i;var n=new Map;if((i=e.urlParameters)===null||i===void 0?void 0:i.length){for(var a=0,o=e.urlParameters;a<o.length;a++){var s=o[a];var l=ns(t,s,r);var c=bs(s);l=e.serializer.serialize(s.mapper,l,c);if(!s.skipEncoding){l=encodeURIComponent(l)}n.set("{".concat(s.mapper.serializedName||c,"}"),l)}}return n}function Ms(e){return e.includes("://")}function Ds(e,t){if(!t){return e}var r=new URL(e);var i=r.pathname;if(!i.endsWith("/")){i="".concat(i,"/")}if(t.startsWith("/")){t=t.substring(1)}var n=t.indexOf("?");if(n!==-1){var a=t.substring(0,n);var o=t.substring(n+1);i=i+a;if(o){r.search=r.search?"".concat(r.search,"&").concat(o):o}}else{i=i+t}Object.assign(r,{pathname:i});return r.toString()}function Rs(e,t,r){var i;var n=new Map;var a=new Set;if((i=e.queryParameters)===null||i===void 0?void 0:i.length){for(var o=0,s=e.queryParameters;o<s.length;o++){var l=s[o];if(l.mapper.type.name==="Sequence"&&l.mapper.serializedName){a.add(l.mapper.serializedName)}var c=ns(t,l,r);if(c!==undefined&&c!==null||l.mapper.required){c=e.serializer.serialize(l.mapper,c,bs(l));var u=l.collectionFormat?_s[l.collectionFormat]:"";if(Array.isArray(c)){c=c.map((function(e){if(e===null||e===undefined){return""}return e}))}if(l.collectionFormat==="Multi"&&c.length===0){continue}else if(Array.isArray(c)&&(l.collectionFormat==="SSV"||l.collectionFormat==="TSV")){c=c.join(u)}if(!l.skipEncoding){if(Array.isArray(c)){c=c.map((function(e){return encodeURIComponent(e)}))}else{c=encodeURIComponent(c)}}if(Array.isArray(c)&&(l.collectionFormat==="CSV"||l.collectionFormat==="Pipes")){c=c.join(u)}n.set(l.mapper.serializedName||bs(l),c)}}}return{queryParams:n,sequenceParams:a}}function Ts(e){var t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);var r=e.split("&");for(var i=0,n=r;i<n.length;i++){var a=n[i];var o=a.split("=",2),s=o[0],l=o[1];var c=t.get(s);if(c){if(Array.isArray(c)){c.push(l)}else{t.set(s,[c,l])}}else{t.set(s,l)}}return t}function qs(e,t,r,i){if(i===void 0){i=false}if(t.size===0){return e}var n=new URL(e);var a=Ts(n.search);for(var o=0,s=t;o<s.length;o++){var l=s[o],c=l[0],u=l[1];var d=a.get(c);if(Array.isArray(d)){if(Array.isArray(u)){d.push.apply(d,u);var m=new Set(d);a.set(c,Array.from(m))}else{d.push(u)}}else if(d){if(Array.isArray(u)){u.unshift(d)}else if(r.has(c)){a.set(c,[d,u])}if(!i){a.set(c,u)}}else{a.set(c,u)}}var p=[];for(var f=0,h=a;f<h.length;f++){var g=h[f],c=g[0],u=g[1];if(typeof u==="string"){p.push("".concat(c,"=").concat(u))}else if(Array.isArray(u)){for(var v=0,y=u;v<y.length;v++){var A=y[v];p.push("".concat(c,"=").concat(A))}}else{p.push("".concat(c,"=").concat(u))}}n.search=p.length?"?".concat(p.join("&")):"";return n.toString()}var Hs=Yn("core-client");var Us=function(){function e(e){if(e===void 0){e={}}var t,r;this._requestContentType=e.requestContentType;this._endpoint=(t=e.endpoint)!==null&&t!==void 0?t:e.baseUri;if(e.baseUri){Hs.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||Es();this.pipeline=e.pipeline||Ls(e);if((r=e.additionalPolicies)===null||r===void 0?void 0:r.length){for(var i=0,n=e.additionalPolicies;i<n.length;i++){var a=n[i],o=a.policy,s=a.position;var l=s==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(o,{afterPhase:l})}}}e.prototype.sendRequest=function(e){return this.pipeline.sendRequest(this._httpClient,e)};e.prototype.sendOperationRequest=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,c,u,d,c,u;return __generator(this,(function(m){switch(m.label){case 0:r=t.baseUrl||this._endpoint;if(!r){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}i=ks(r,t,e,this);n=eo({url:i});n.method=t.httpMethod;a=ls(n);a.operationSpec=t;a.operationArguments=e;o=t.contentType||this._requestContentType;if(o&&t.requestBody){n.headers.set("Content-Type",o)}s=e.options;if(s){l=s.requestOptions;if(l){if(l.timeout){n.timeout=l.timeout}if(l.onUploadProgress){n.onUploadProgress=l.onUploadProgress}if(l.onDownloadProgress){n.onDownloadProgress=l.onDownloadProgress}if(l.shouldDeserialize!==undefined){a.shouldDeserialize=l.shouldDeserialize}if(l.allowInsecureConnection){n.allowInsecureConnection=true}}if(s.abortSignal){n.abortSignal=s.abortSignal}if(s.tracingOptions){n.tracingOptions=s.tracingOptions}}if(this._allowInsecureConnection){n.allowInsecureConnection=true}if(n.streamResponseStatusCodes===undefined){n.streamResponseStatusCodes=As(t)}m.label=1;case 1:m.trys.push([1,3,,4]);return[4,this.sendRequest(n)];case 2:c=m.sent();u=So(c,t.responses[c.status]);if(s===null||s===void 0?void 0:s.onResponse){s.onResponse(c,u)}return[2,u];case 3:d=m.sent();if(typeof d==="object"&&(d===null||d===void 0?void 0:d.response)){c=d.response;u=So(c,t.responses[d.statusCode]||t.responses["default"]);d.details=u;if(s===null||s===void 0?void 0:s.onResponse){s.onResponse(c,u,d)}}throw d;case 4:return[2]}}))}))};return e}();function Ls(e){var t=Fs(e);var r=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return Ss(__assign(__assign({},e),{credentialOptions:r}))}function Fs(e){if(e.credentialScopes){return e.credentialScopes}if(e.endpoint){return"".concat(e.endpoint,"/.default")}if(e.baseUri){return"".concat(e.baseUri,"/.default")}if(e.credential){throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}return undefined}var Os={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Gs(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}var Ys=function(e){return __awaiter(u,void 0,void 0,(function(){var t,r,i,n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:t=Xs(e.request);r=Js(e.response);if(!r)return[3,2];i=Vs(r);n=Ks(e,i);a=js(i);if(!a){return[2,false]}return[4,e.getAccessToken(n,__assign(__assign({},t),{tenantId:a}))];case 1:o=l.sent();if(!o){return[2,false]}e.request.headers.set(Os.HeaderConstants.AUTHORIZATION,"".concat((s=o.tokenType)!==null&&s!==void 0?s:"Bearer"," ").concat(o.token));return[2,true];case 2:return[2,false]}}))}))};function js(e){var t=new URL(e.authorization_uri);var r=t.pathname.split("/");var i=r[1];if(i&&Gs(i)){return i}return undefined}function Ks(e,t){if(!t.resource_id){return e.scopes}var r=new URL(t.resource_id);var i=new URL(Os.DefaultScope,r.origin).toString();if(i==="https://disk.azure.com/.default"){i="https://disk.azure.com//.default"}return[i]}function Js(e){var t=e.headers.get("WWW-Authenticate");if(e.status===401&&t){return t}return}function Vs(e){var t=e.slice("Bearer ".length);var r="".concat(t.trim()," ").split(" ").filter((function(e){return e}));var i=r.map((function(e){return function(e){var t;var r=e[0],i=e[1];return t={},t[r]=i,t}(e.trim().split("="))}));return i.reduce((function(e,t){return __assign(__assign({},e),t)}),{})}function Xs(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}var Ws=Symbol("Original PipelineRequest");var Zs=Symbol.for("@azure/core-client original request");function $s(e,t){if(t===void 0){t={}}var r=e;var i=r[Ws];var n=$a(e.headers.toJson({preserveCase:true}));if(i){i.headers=n;return i}else{var a=eo({url:e.url,method:e.method,headers:n,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});if(t.originalRequest){a[Zs]=t.originalRequest}return a}}function el(e,t){var r;var i=(r=t===null||t===void 0?void 0:t.originalRequest)!==null&&r!==void 0?r:e;var n={url:e.url,method:e.method,headers:tl(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone:function(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare:function(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties:function(){}};if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(n,{get:function(t,r,a){if(r===Ws){return e}else if(r==="clone"){return function(){return el($s(n,{originalRequest:i}),{createProxy:true,originalRequest:i})}}return Reflect.get(t,r,a)},set:function(t,r,i,n){if(r==="keepAlive"){e.disableKeepAlive=!i}var a=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof r==="string"&&a.includes(r)){e[r]=i}return Reflect.set(t,r,i,n)}})}else{return n}}function tl(e){return new il(e.toJSON({preserveCase:true}))}function rl(e){return e.toLowerCase()}var il=function(){function e(e){this._headersMap={};if(e){for(var t in e){this.set(t,e[t])}}}e.prototype.set=function(e,t){this._headersMap[rl(e)]={name:e,value:t.toString()}};e.prototype.get=function(e){var t=this._headersMap[rl(e)];return!t?undefined:t.value};e.prototype.contains=function(e){return!!this._headersMap[rl(e)]};e.prototype.remove=function(e){var t=this.contains(e);delete this._headersMap[rl(e)];return t};e.prototype.rawHeaders=function(){return this.toJson({preserveCase:true})};e.prototype.headersArray=function(){var e=[];for(var t in this._headersMap){e.push(this._headersMap[t])}return e};e.prototype.headerNames=function(){var e=[];var t=this.headersArray();for(var r=0;r<t.length;++r){e.push(t[r].name)}return e};e.prototype.headerValues=function(){var e=[];var t=this.headersArray();for(var r=0;r<t.length;++r){e.push(t[r].value)}return e};e.prototype.toJson=function(e){if(e===void 0){e={}}var t={};if(e.preserveCase){for(var r in this._headersMap){var i=this._headersMap[r];t[i.name]=i.value}}else{for(var r in this._headersMap){var i=this._headersMap[r];t[rl(i.name)]=i.value}}return t};e.prototype.toString=function(){return JSON.stringify(this.toJson({preserveCase:true}))};e.prototype.clone=function(){var t={};for(var r in this._headersMap){var i=this._headersMap[r];t[i.name]=i.value}return new e(t)};return e}();var nl=Symbol("Original FullOperationResponse");function al(e,t){var r=el(e.request);var i=tl(e.headers);if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(e,{get:function(t,n,a){if(n==="headers"){return i}else if(n==="request"){return r}else if(n===nl){return e}return Reflect.get(t,n,a)},set:function(e,t,n,a){if(t==="headers"){i=n}else if(t==="request"){r=n}return Reflect.set(e,t,n,a)}})}else{return __assign(__assign({},e),{request:r,headers:i})}}function ol(e){var t=e;var r=t[nl];var i=$a(e.headers.toJson({preserveCase:true}));if(r){r.headers=i;return r}else{return __assign(__assign({},e),{headers:i,request:$s(e.request)})}}var sl=function(e){__extends(t,e);function t(t){var r,i;var n=e.call(this,t)||this;if(((r=t.keepAliveOptions)===null||r===void 0?void 0:r.enable)===false&&!go(n.pipeline)){n.pipeline.addPolicy(ho())}if(((i=t.redirectOptions)===null||i===void 0?void 0:i.handleRedirects)===false){n.pipeline.removePolicy({name:Jn})}return n}t.prototype.sendOperationRequest=function(t,r){return __awaiter(this,void 0,void 0,(function(){function i(e,t,r){a=e;if(n){n(e,t,r)}}var n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:n=(s=t===null||t===void 0?void 0:t.options)===null||s===void 0?void 0:s.onResponse;t.options=__assign(__assign({},t.options),{onResponse:i});return[4,e.prototype.sendOperationRequest.call(this,t,r)];case 1:o=l.sent();if(a){Object.defineProperty(o,"_response",{value:al(a)})}return[2,o]}}))}))};return t}(Us);var ll;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(ll||(ll={}));var cl={log:function(e,t){},shouldLog:function(e){return false}};var ul="RequestPolicyFactoryPolicy";function dl(e){var t=e.slice().reverse();return{name:ul,sendRequest:function(e,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a,o,s,l;return __generator(this,(function(c){switch(c.label){case 0:i={sendRequest:function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,r($s(e))];case 1:t=i.sent();return[2,al(t,{createProxy:true})]}}))}))}};for(n=0,a=t;n<a.length;n++){o=a[n];i=o.create(i,cl)}s=el(e,{createProxy:true});return[4,i.sendRequest(s)];case 1:l=c.sent();return[2,ol(l)]}}))}))}}}function ml(e){var t=this;return{sendRequest:function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,e.sendRequest(el(r,{createProxy:true}))];case 1:t=i.sent();return[2,ol(t)]}}))}))}}}var pl="$";var fl="_";if(!document||!DOMParser||!Node||!XMLSerializer){throw new Error('This library depends on the following DOM objects: ["document", "DOMParser", "Node", "XMLSerializer"] to parse XML, but some of these are undefined. You may provide a polyfill to make these globally available in order to support your environment. For more information, please refer to https://aka.ms/azsdk/js/web-workers. ')}var hl;try{if(typeof self.trustedTypes!=="undefined"){hl=self.trustedTypes.createPolicy("@azure/core-xml#xml.browser",{createHTML:function(e){return e}})}}catch(e){console.warn('Could not create trusted types policy "@azure/core-xml#xml.browser"')}var gl=document.implementation.createDocument(null,null,null);var vl=new DOMParser;function yl(e,t){var r,i,n;if(t===void 0){t={}}try{var a={includeRoot:(r=t.includeRoot)!==null&&r!==void 0?r:false,xmlCharKey:(i=t.xmlCharKey)!==null&&i!==void 0?i:fl};var o=vl.parseFromString((n=hl===null||hl===void 0?void 0:hl.createHTML(e))!==null&&n!==void 0?n:e,"application/xml");xl(o);var s=void 0;if(a.includeRoot){s=zl(o,a)}else{s=zl(o.childNodes[0],a)}return Promise.resolve(s)}catch(e){return Promise.reject(e)}}var Al;function bl(){var e,t;if(Al===undefined){try{var r=(e=hl===null||hl===void 0?void 0:hl.createHTML("INVALID"))!==null&&e!==void 0?e:"INVALID";Al=(t=vl.parseFromString(r,"text/xml").getElementsByTagName("parsererror")[0].namespaceURI)!==null&&t!==void 0?t:""}catch(e){Al=""}}return Al}function xl(e){var t=e.getElementsByTagName("parsererror");if(t.length>0&&bl()){for(var r=0;r<t.length;r++){if(t[r].namespaceURI===Al){throw new Error(t[r].innerHTML)}}}}function Nl(e){return!!e.attributes}function Cl(e){return Nl(e)&&e.hasAttributes()?e:undefined}function zl(e,t){var r;var i={};var n=e.childNodes.length;var a=e.childNodes[0];var o=a&&n===1&&a.nodeType===Node.TEXT_NODE&&a.nodeValue||undefined;var s=Cl(e);if(s){i[pl]={};for(var l=0;l<s.attributes.length;l++){var c=s.attributes[l];i[pl][c.nodeName]=c.nodeValue}if(o){i[t.xmlCharKey]=o}}else if(n===0){i=""}else if(o){i=o}if(!o){for(var l=0;l<n;l++){var u=e.childNodes[l];if((u===null||u===void 0?void 0:u.nodeType)===Node.CDATA_SECTION_NODE){i=u.textContent}else if(((r=u===null||u===void 0?void 0:u.firstChild)===null||r===void 0?void 0:r.nodeType)===Node.CDATA_SECTION_NODE){i[u.nodeName]=u.textContent}else if(u.nodeType!==Node.TEXT_NODE){var d=zl(u,t);if(!i[u.nodeName]){i[u.nodeName]=d}else if(Array.isArray(i[u.nodeName])){i[u.nodeName].push(d)}else{i[u.nodeName]=[i[u.nodeName],d]}}}}return i}var Il=new XMLSerializer;function wl(e,t){var r,i,n;if(t===void 0){t={}}var a={rootName:(r=t.rootName)!==null&&r!==void 0?r:"root",xmlCharKey:(i=t.xmlCharKey)!==null&&i!==void 0?i:fl,cdataPropName:(n=t.cdataPropName)!==null&&n!==void 0?n:"__cdata"};var o=Bl(e,a.rootName,a)[0];return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+Il.serializeToString(o).replace(/ xmlns=""/g,"")}function Sl(e){var t=[];for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];var a=gl.createAttribute(n);a.value=e[n].toString();t.push(a)}return t}function Bl(e,t,r){var i;if(e===undefined||e===null||typeof e==="string"||typeof e==="number"||typeof e==="boolean"){var n=gl.createElement(t);n.textContent=e===undefined||e===null?"":e.toString();return[n]}else if(Array.isArray(e)){var a=[];for(var o=0,s=e;o<s.length;o++){var l=s[o];for(var c=0,u=Bl(l,t,r);c<u.length;c++){var d=u[c];a.push(d)}}return a}else if(typeof e==="object"){var n=void 0;if((i=e[pl])===null||i===void 0?void 0:i["xmlns"]){n=gl.createElementNS(e[pl]["xmlns"],t)}else{n=gl.createElement(t)}for(var m=0,p=Object.keys(e);m<p.length;m++){var f=p[m];if(f===pl){for(var h=0,g=Sl(e[f]);h<g.length;h++){var v=g[h];n.attributes.setNamedItem(v)}}else if(f===r.xmlCharKey){n.textContent=e[f].toString()}else if(f===r.cdataPropName){var y=gl.createCDATASection(e[f].toString());n.appendChild(y)}else{for(var A=0,b=Bl(e[f],f,r);A<b.length;A++){var d=b[A];n.appendChild(d)}}}return[n]}else{throw new Error("Illegal value passed to buildObject: ".concat(e))}}var El=Yn("storage-blob");var _l=function(){function e(e,t,r,i,n,a){throw new Error("BufferScheduler is not supported in non-Node.js environments.")}e.prototype.do=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("BufferScheduler is not supported in non-Node.js environments.")}))}))};return e}();var kl="/home/runner/work/ezeep-js/ezeep-js/node_modules/@azure/storage-common/dist/browser";var Ql=[];var Pl=[];var Ml=typeof Uint8Array!=="undefined"?Uint8Array:Array;var Dl=false;function Rl(){Dl=true;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var t=0,r=e.length;t<r;++t){Ql[t]=e[t];Pl[e.charCodeAt(t)]=t}Pl["-".charCodeAt(0)]=62;Pl["_".charCodeAt(0)]=63}function Tl(e){if(!Dl){Rl()}var t,r,i,n,a,o;var s=e.length;if(s%4>0){throw new Error("Invalid string. Length must be a multiple of 4")}a=e[s-2]==="="?2:e[s-1]==="="?1:0;o=new Ml(s*3/4-a);i=a>0?s-4:s;var l=0;for(t=0,r=0;t<i;t+=4,r+=3){n=Pl[e.charCodeAt(t)]<<18|Pl[e.charCodeAt(t+1)]<<12|Pl[e.charCodeAt(t+2)]<<6|Pl[e.charCodeAt(t+3)];o[l++]=n>>16&255;o[l++]=n>>8&255;o[l++]=n&255}if(a===2){n=Pl[e.charCodeAt(t)]<<2|Pl[e.charCodeAt(t+1)]>>4;o[l++]=n&255}else if(a===1){n=Pl[e.charCodeAt(t)]<<10|Pl[e.charCodeAt(t+1)]<<4|Pl[e.charCodeAt(t+2)]>>2;o[l++]=n>>8&255;o[l++]=n&255}return o}function ql(e){return Ql[e>>18&63]+Ql[e>>12&63]+Ql[e>>6&63]+Ql[e&63]}function Hl(e,t,r){var i;var n=[];for(var a=t;a<r;a+=3){i=(e[a]<<16)+(e[a+1]<<8)+e[a+2];n.push(ql(i))}return n.join("")}function Ul(e){if(!Dl){Rl()}var t;var r=e.length;var i=r%3;var n="";var a=[];var o=16383;for(var s=0,l=r-i;s<l;s+=o){a.push(Hl(e,s,s+o>l?l:s+o))}if(i===1){t=e[r-1];n+=Ql[t>>2];n+=Ql[t<<4&63];n+="=="}else if(i===2){t=(e[r-2]<<8)+e[r-1];n+=Ql[t>>10];n+=Ql[t>>4&63];n+=Ql[t<<2&63];n+="="}a.push(n);return a.join("")}function Ll(e,t,r,i,n){var a,o;var s=n*8-i-1;var l=(1<<s)-1;var c=l>>1;var u=-7;var d=r?n-1:0;var m=r?-1:1;var p=e[t+d];d+=m;a=p&(1<<-u)-1;p>>=-u;u+=s;for(;u>0;a=a*256+e[t+d],d+=m,u-=8){}o=a&(1<<-u)-1;a>>=-u;u+=i;for(;u>0;o=o*256+e[t+d],d+=m,u-=8){}if(a===0){a=1-c}else if(a===l){return o?NaN:(p?-1:1)*Infinity}else{o=o+Math.pow(2,i);a=a-c}return(p?-1:1)*o*Math.pow(2,a-i)}function Fl(e,t,r,i,n,a){var o,s,l;var c=a*8-n-1;var u=(1<<c)-1;var d=u>>1;var m=n===23?Math.pow(2,-24)-Math.pow(2,-77):0;var p=i?0:a-1;var f=i?1:-1;var h=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){s=isNaN(t)?1:0;o=u}else{o=Math.floor(Math.log(t)/Math.LN2);if(t*(l=Math.pow(2,-o))<1){o--;l*=2}if(o+d>=1){t+=m/l}else{t+=m*Math.pow(2,1-d)}if(t*l>=2){o++;l/=2}if(o+d>=u){s=0;o=u}else if(o+d>=1){s=(t*l-1)*Math.pow(2,n);o=o+d}else{s=t*Math.pow(2,d-1)*Math.pow(2,n);o=0}}for(;n>=8;e[r+p]=s&255,p+=f,s/=256,n-=8){}o=o<<n|s;c+=n;for(;c>0;e[r+p]=o&255,p+=f,o/=256,c-=8){}e[r+p-f]|=h*128}var Ol={}.toString;var Gl=Array.isArray||function(e){return Ol.call(e)=="[object Array]"};
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
|
-
*/var Ol=50;jl.TYPED_ARRAY_SUPPORT=Dt.TYPED_ARRAY_SUPPORT!==undefined?Dt.TYPED_ARRAY_SUPPORT:true;function Gl(){return jl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Yl(e,t){if(Gl()<t){throw new RangeError("Invalid typed array length")}if(jl.TYPED_ARRAY_SUPPORT){e=new Uint8Array(t);e.__proto__=jl.prototype}else{if(e===null){e=new jl(t)}e.length=t}return e}function jl(e,t,r){if(!jl.TYPED_ARRAY_SUPPORT&&!(this instanceof jl)){return new jl(e,t,r)}if(typeof e==="number"){if(typeof t==="string"){throw new Error("If encoding is specified then the first argument must be a string")}return Xl(this,e)}return Kl(this,e,t,r)}jl.poolSize=8192;jl._augment=function(e){e.__proto__=jl.prototype;return e};function Kl(e,t,r,i){if(typeof t==="number"){throw new TypeError('"value" argument must not be a number')}if(typeof ArrayBuffer!=="undefined"&&t instanceof ArrayBuffer){return $l(e,t,r,i)}if(typeof t==="string"){return Wl(e,t,r)}return ec(e,t)}jl.from=function(e,t,r){return Kl(null,e,t,r)};if(jl.TYPED_ARRAY_SUPPORT){jl.prototype.__proto__=Uint8Array.prototype;jl.__proto__=Uint8Array}function Jl(e){if(typeof e!=="number"){throw new TypeError('"size" argument must be a number')}else if(e<0){throw new RangeError('"size" argument must not be negative')}}function Vl(e,t,r,i){Jl(t);if(t<=0){return Yl(e,t)}if(r!==undefined){return typeof i==="string"?Yl(e,t).fill(r,i):Yl(e,t).fill(r)}return Yl(e,t)}jl.alloc=function(e,t,r){return Vl(null,e,t,r)};function Xl(e,t){Jl(t);e=Yl(e,t<0?0:tc(t)|0);if(!jl.TYPED_ARRAY_SUPPORT){for(var r=0;r<t;++r){e[r]=0}}return e}jl.allocUnsafe=function(e){return Xl(null,e)};jl.allocUnsafeSlow=function(e){return Xl(null,e)};function Wl(e,t,r){if(typeof r!=="string"||r===""){r="utf8"}if(!jl.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}var i=ic(t,r)|0;e=Yl(e,i);var n=e.write(t,r);if(n!==i){e=e.slice(0,n)}return e}function Zl(e,t){var r=t.length<0?0:tc(t.length)|0;e=Yl(e,r);for(var i=0;i<r;i+=1){e[i]=t[i]&255}return e}function $l(e,t,r,i){if(r<0||t.byteLength<r){throw new RangeError("'offset' is out of bounds")}if(t.byteLength<r+(i||0)){throw new RangeError("'length' is out of bounds")}if(r===undefined&&i===undefined){t=new Uint8Array(t)}else if(i===undefined){t=new Uint8Array(t,r)}else{t=new Uint8Array(t,r,i)}if(jl.TYPED_ARRAY_SUPPORT){e=t;e.__proto__=jl.prototype}else{e=Zl(e,t)}return e}function ec(e,t){if(rc(t)){var r=tc(t.length)|0;e=Yl(e,r);if(e.length===0){return e}t.copy(e,0,0,r);return e}if(t){if(typeof ArrayBuffer!=="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t){if(typeof t.length!=="number"||qc(t.length)){return Yl(e,0)}return Zl(e,t)}if(t.type==="Buffer"&&Fl(t.data)){return Zl(e,t.data)}}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function tc(e){if(e>=Gl()){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+Gl().toString(16)+" bytes")}return e|0}jl.isBuffer=Hc;function rc(e){return!!(e!=null&&e._isBuffer)}jl.compare=function e(t,r){if(!rc(t)||!rc(r)){throw new TypeError("Arguments must be Buffers")}if(t===r)return 0;var i=t.length;var n=r.length;for(var a=0,o=Math.min(i,n);a<o;++a){if(t[a]!==r[a]){i=t[a];n=r[a];break}}if(i<n)return-1;if(n<i)return 1;return 0};jl.isEncoding=function e(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return true;default:return false}};jl.concat=function e(t,r){if(!Fl(t)){throw new TypeError('"list" argument must be an Array of Buffers')}if(t.length===0){return jl.alloc(0)}var i;if(r===undefined){r=0;for(i=0;i<t.length;++i){r+=t[i].length}}var n=jl.allocUnsafe(r);var a=0;for(i=0;i<t.length;++i){var o=t[i];if(!rc(o)){throw new TypeError('"list" argument must be an Array of Buffers')}o.copy(n,a);a+=o.length}return n};function ic(e,t){if(rc(e)){return e.length}if(typeof ArrayBuffer!=="undefined"&&typeof ArrayBuffer.isView==="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)){return e.byteLength}if(typeof e!=="string"){e=""+e}var r=e.length;if(r===0)return 0;var i=false;for(;;){switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case undefined:return Pc(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Rc(e).length;default:if(i)return Pc(e).length;t=(""+t).toLowerCase();i=true}}}jl.byteLength=ic;function nc(e,t,r){var i=false;if(t===undefined||t<0){t=0}if(t>this.length){return""}if(r===undefined||r>this.length){r=this.length}if(r<=0){return""}r>>>=0;t>>>=0;if(r<=t){return""}if(!e)e="utf8";while(true){switch(e){case"hex":return bc(this,t,r);case"utf8":case"utf-8":return hc(this,t,r);case"ascii":return yc(this,t,r);case"latin1":case"binary":return Ac(this,t,r);case"base64":return fc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xc(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase();i=true}}}jl.prototype._isBuffer=true;function ac(e,t,r){var i=e[t];e[t]=e[r];e[r]=i}jl.prototype.swap16=function e(){var t=this.length;if(t%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var r=0;r<t;r+=2){ac(this,r,r+1)}return this};jl.prototype.swap32=function e(){var t=this.length;if(t%4!==0){throw new RangeError("Buffer size must be a multiple of 32-bits")}for(var r=0;r<t;r+=4){ac(this,r,r+3);ac(this,r+1,r+2)}return this};jl.prototype.swap64=function e(){var t=this.length;if(t%8!==0){throw new RangeError("Buffer size must be a multiple of 64-bits")}for(var r=0;r<t;r+=8){ac(this,r,r+7);ac(this,r+1,r+6);ac(this,r+2,r+5);ac(this,r+3,r+4)}return this};jl.prototype.toString=function e(){var t=this.length|0;if(t===0)return"";if(arguments.length===0)return hc(this,0,t);return nc.apply(this,arguments)};jl.prototype.equals=function e(t){if(!rc(t))throw new TypeError("Argument must be a Buffer");if(this===t)return true;return jl.compare(this,t)===0};jl.prototype.inspect=function e(){var t="";var r=Ol;if(this.length>0){t=this.toString("hex",0,r).match(/.{2}/g).join(" ");if(this.length>r)t+=" ... "}return"<Buffer "+t+">"};jl.prototype.compare=function e(t,r,i,n,a){if(!rc(t)){throw new TypeError("Argument must be a Buffer")}if(r===undefined){r=0}if(i===undefined){i=t?t.length:0}if(n===undefined){n=0}if(a===undefined){a=this.length}if(r<0||i>t.length||n<0||a>this.length){throw new RangeError("out of range index")}if(n>=a&&r>=i){return 0}if(n>=a){return-1}if(r>=i){return 1}r>>>=0;i>>>=0;n>>>=0;a>>>=0;if(this===t)return 0;var o=a-n;var s=i-r;var l=Math.min(o,s);var c=this.slice(n,a);var u=t.slice(r,i);for(var d=0;d<l;++d){if(c[d]!==u[d]){o=c[d];s=u[d];break}}if(o<s)return-1;if(s<o)return 1;return 0};function oc(e,t,r,i,n){if(e.length===0)return-1;if(typeof r==="string"){i=r;r=0}else if(r>2147483647){r=2147483647}else if(r<-2147483648){r=-2147483648}r=+r;if(isNaN(r)){r=n?0:e.length-1}if(r<0)r=e.length+r;if(r>=e.length){if(n)return-1;else r=e.length-1}else if(r<0){if(n)r=0;else return-1}if(typeof t==="string"){t=jl.from(t,i)}if(rc(t)){if(t.length===0){return-1}return sc(e,t,r,i,n)}else if(typeof t==="number"){t=t&255;if(jl.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==="function"){if(n){return Uint8Array.prototype.indexOf.call(e,t,r)}else{return Uint8Array.prototype.lastIndexOf.call(e,t,r)}}return sc(e,[t],r,i,n)}throw new TypeError("val must be string, number or Buffer")}function sc(e,t,r,i,n){var a=1;var o=e.length;var s=t.length;if(i!==undefined){i=String(i).toLowerCase();if(i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le"){if(e.length<2||t.length<2){return-1}a=2;o/=2;s/=2;r/=2}}function l(e,t){if(a===1){return e[t]}else{return e.readUInt16BE(t*a)}}var c;if(n){var u=-1;for(c=r;c<o;c++){if(l(e,c)===l(t,u===-1?0:c-u)){if(u===-1)u=c;if(c-u+1===s)return u*a}else{if(u!==-1)c-=c-u;u=-1}}}else{if(r+s>o)r=o-s;for(c=r;c>=0;c--){var d=true;for(var m=0;m<s;m++){if(l(e,c+m)!==l(t,m)){d=false;break}}if(d)return c}}return-1}jl.prototype.includes=function e(t,r,i){return this.indexOf(t,r,i)!==-1};jl.prototype.indexOf=function e(t,r,i){return oc(this,t,r,i,true)};jl.prototype.lastIndexOf=function e(t,r,i){return oc(this,t,r,i,false)};function lc(e,t,r,i){r=Number(r)||0;var n=e.length-r;if(!i){i=n}else{i=Number(i);if(i>n){i=n}}var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");if(i>a/2){i=a/2}for(var o=0;o<i;++o){var s=parseInt(t.substr(o*2,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function cc(e,t,r,i){return Tc(Pc(t,e.length-r),e,r,i)}function uc(e,t,r,i){return Tc(Mc(t),e,r,i)}function dc(e,t,r,i){return uc(e,t,r,i)}function mc(e,t,r,i){return Tc(Rc(t),e,r,i)}function pc(e,t,r,i){return Tc(Dc(t,e.length-r),e,r,i)}jl.prototype.write=function e(t,r,i,n){if(r===undefined){n="utf8";i=this.length;r=0}else if(i===undefined&&typeof r==="string"){n=r;i=this.length;r=0}else if(isFinite(r)){r=r|0;if(isFinite(i)){i=i|0;if(n===undefined)n="utf8"}else{n=i;i=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var a=this.length-r;if(i===undefined||i>a)i=a;if(t.length>0&&(i<0||r<0)||r>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!n)n="utf8";var o=false;for(;;){switch(n){case"hex":return lc(this,t,r,i);case"utf8":case"utf-8":return cc(this,t,r,i);case"ascii":return uc(this,t,r,i);case"latin1":case"binary":return dc(this,t,r,i);case"base64":return mc(this,t,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pc(this,t,r,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase();o=true}}};jl.prototype.toJSON=function e(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fc(e,t,r){if(t===0&&r===e.length){return ql(e)}else{return ql(e.slice(t,r))}}function hc(e,t,r){r=Math.min(e.length,r);var i=[];var n=t;while(n<r){var a=e[n];var o=null;var s=a>239?4:a>223?3:a>191?2:1;if(n+s<=r){var l,c,u,d;switch(s){case 1:if(a<128){o=a}break;case 2:l=e[n+1];if((l&192)===128){d=(a&31)<<6|l&63;if(d>127){o=d}}break;case 3:l=e[n+1];c=e[n+2];if((l&192)===128&&(c&192)===128){d=(a&15)<<12|(l&63)<<6|c&63;if(d>2047&&(d<55296||d>57343)){o=d}}break;case 4:l=e[n+1];c=e[n+2];u=e[n+3];if((l&192)===128&&(c&192)===128&&(u&192)===128){d=(a&15)<<18|(l&63)<<12|(c&63)<<6|u&63;if(d>65535&&d<1114112){o=d}}}}if(o===null){o=65533;s=1}else if(o>65535){o-=65536;i.push(o>>>10&1023|55296);o=56320|o&1023}i.push(o);n+=s}return vc(i)}var gc=4096;function vc(e){var t=e.length;if(t<=gc){return String.fromCharCode.apply(String,e)}var r="";var i=0;while(i<t){r+=String.fromCharCode.apply(String,e.slice(i,i+=gc))}return r}function yc(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n){i+=String.fromCharCode(e[n]&127)}return i}function Ac(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n){i+=String.fromCharCode(e[n])}return i}function bc(e,t,r){var i=e.length;if(!t||t<0)t=0;if(!r||r<0||r>i)r=i;var n="";for(var a=t;a<r;++a){n+=Qc(e[a])}return n}function xc(e,t,r){var i=e.slice(t,r);var n="";for(var a=0;a<i.length;a+=2){n+=String.fromCharCode(i[a]+i[a+1]*256)}return n}jl.prototype.slice=function e(t,r){var i=this.length;t=~~t;r=r===undefined?i:~~r;if(t<0){t+=i;if(t<0)t=0}else if(t>i){t=i}if(r<0){r+=i;if(r<0)r=0}else if(r>i){r=i}if(r<t)r=t;var n;if(jl.TYPED_ARRAY_SUPPORT){n=this.subarray(t,r);n.__proto__=jl.prototype}else{var a=r-t;n=new jl(a,undefined);for(var o=0;o<a;++o){n[o]=this[o+t]}}return n};function Nc(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}jl.prototype.readUIntLE=function e(t,r,i){t=t|0;r=r|0;if(!i)Nc(t,r,this.length);var n=this[t];var a=1;var o=0;while(++o<r&&(a*=256)){n+=this[t+o]*a}return n};jl.prototype.readUIntBE=function e(t,r,i){t=t|0;r=r|0;if(!i){Nc(t,r,this.length)}var n=this[t+--r];var a=1;while(r>0&&(a*=256)){n+=this[t+--r]*a}return n};jl.prototype.readUInt8=function e(t,r){if(!r)Nc(t,1,this.length);return this[t]};jl.prototype.readUInt16LE=function e(t,r){if(!r)Nc(t,2,this.length);return this[t]|this[t+1]<<8};jl.prototype.readUInt16BE=function e(t,r){if(!r)Nc(t,2,this.length);return this[t]<<8|this[t+1]};jl.prototype.readUInt32LE=function e(t,r){if(!r)Nc(t,4,this.length);return(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};jl.prototype.readUInt32BE=function e(t,r){if(!r)Nc(t,4,this.length);return this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};jl.prototype.readIntLE=function e(t,r,i){t=t|0;r=r|0;if(!i)Nc(t,r,this.length);var n=this[t];var a=1;var o=0;while(++o<r&&(a*=256)){n+=this[t+o]*a}a*=128;if(n>=a)n-=Math.pow(2,8*r);return n};jl.prototype.readIntBE=function e(t,r,i){t=t|0;r=r|0;if(!i)Nc(t,r,this.length);var n=r;var a=1;var o=this[t+--n];while(n>0&&(a*=256)){o+=this[t+--n]*a}a*=128;if(o>=a)o-=Math.pow(2,8*r);return o};jl.prototype.readInt8=function e(t,r){if(!r)Nc(t,1,this.length);if(!(this[t]&128))return this[t];return(255-this[t]+1)*-1};jl.prototype.readInt16LE=function e(t,r){if(!r)Nc(t,2,this.length);var i=this[t]|this[t+1]<<8;return i&32768?i|4294901760:i};jl.prototype.readInt16BE=function e(t,r){if(!r)Nc(t,2,this.length);var i=this[t+1]|this[t]<<8;return i&32768?i|4294901760:i};jl.prototype.readInt32LE=function e(t,r){if(!r)Nc(t,4,this.length);return this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};jl.prototype.readInt32BE=function e(t,r){if(!r)Nc(t,4,this.length);return this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};jl.prototype.readFloatLE=function e(t,r){if(!r)Nc(t,4,this.length);return Hl(this,t,true,23,4)};jl.prototype.readFloatBE=function e(t,r){if(!r)Nc(t,4,this.length);return Hl(this,t,false,23,4)};jl.prototype.readDoubleLE=function e(t,r){if(!r)Nc(t,8,this.length);return Hl(this,t,true,52,8)};jl.prototype.readDoubleBE=function e(t,r){if(!r)Nc(t,8,this.length);return Hl(this,t,false,52,8)};function Cc(e,t,r,i,n,a){if(!rc(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<a)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}jl.prototype.writeUIntLE=function e(t,r,i,n){t=+t;r=r|0;i=i|0;if(!n){var a=Math.pow(2,8*i)-1;Cc(this,t,r,i,a,0)}var o=1;var s=0;this[r]=t&255;while(++s<i&&(o*=256)){this[r+s]=t/o&255}return r+i};jl.prototype.writeUIntBE=function e(t,r,i,n){t=+t;r=r|0;i=i|0;if(!n){var a=Math.pow(2,8*i)-1;Cc(this,t,r,i,a,0)}var o=i-1;var s=1;this[r+o]=t&255;while(--o>=0&&(s*=256)){this[r+o]=t/s&255}return r+i};jl.prototype.writeUInt8=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,1,255,0);if(!jl.TYPED_ARRAY_SUPPORT)t=Math.floor(t);this[r]=t&255;return r+1};function zc(e,t,r,i){if(t<0)t=65535+t+1;for(var n=0,a=Math.min(e.length-r,2);n<a;++n){e[r+n]=(t&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}}jl.prototype.writeUInt16LE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,2,65535,0);if(jl.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{zc(this,t,r,true)}return r+2};jl.prototype.writeUInt16BE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,2,65535,0);if(jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{zc(this,t,r,false)}return r+2};function Ic(e,t,r,i){if(t<0)t=4294967295+t+1;for(var n=0,a=Math.min(e.length-r,4);n<a;++n){e[r+n]=t>>>(i?n:3-n)*8&255}}jl.prototype.writeUInt32LE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,4,4294967295,0);if(jl.TYPED_ARRAY_SUPPORT){this[r+3]=t>>>24;this[r+2]=t>>>16;this[r+1]=t>>>8;this[r]=t&255}else{Ic(this,t,r,true)}return r+4};jl.prototype.writeUInt32BE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,4,4294967295,0);if(jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{Ic(this,t,r,false)}return r+4};jl.prototype.writeIntLE=function e(t,r,i,n){t=+t;r=r|0;if(!n){var a=Math.pow(2,8*i-1);Cc(this,t,r,i,a-1,-a)}var o=0;var s=1;var l=0;this[r]=t&255;while(++o<i&&(s*=256)){if(t<0&&l===0&&this[r+o-1]!==0){l=1}this[r+o]=(t/s>>0)-l&255}return r+i};jl.prototype.writeIntBE=function e(t,r,i,n){t=+t;r=r|0;if(!n){var a=Math.pow(2,8*i-1);Cc(this,t,r,i,a-1,-a)}var o=i-1;var s=1;var l=0;this[r+o]=t&255;while(--o>=0&&(s*=256)){if(t<0&&l===0&&this[r+o+1]!==0){l=1}this[r+o]=(t/s>>0)-l&255}return r+i};jl.prototype.writeInt8=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,1,127,-128);if(!jl.TYPED_ARRAY_SUPPORT)t=Math.floor(t);if(t<0)t=255+t+1;this[r]=t&255;return r+1};jl.prototype.writeInt16LE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,2,32767,-32768);if(jl.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{zc(this,t,r,true)}return r+2};jl.prototype.writeInt16BE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,2,32767,-32768);if(jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{zc(this,t,r,false)}return r+2};jl.prototype.writeInt32LE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,4,2147483647,-2147483648);if(jl.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8;this[r+2]=t>>>16;this[r+3]=t>>>24}else{Ic(this,t,r,true)}return r+4};jl.prototype.writeInt32BE=function e(t,r,i){t=+t;r=r|0;if(!i)Cc(this,t,r,4,2147483647,-2147483648);if(t<0)t=4294967295+t+1;if(jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{Ic(this,t,r,false)}return r+4};function wc(e,t,r,i,n,a){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Sc(e,t,r,i,n){if(!n){wc(e,t,r,4)}Ul(e,t,r,i,23,4);return r+4}jl.prototype.writeFloatLE=function e(t,r,i){return Sc(this,t,r,true,i)};jl.prototype.writeFloatBE=function e(t,r,i){return Sc(this,t,r,false,i)};function Bc(e,t,r,i,n){if(!n){wc(e,t,r,8)}Ul(e,t,r,i,52,8);return r+8}jl.prototype.writeDoubleLE=function e(t,r,i){return Bc(this,t,r,true,i)};jl.prototype.writeDoubleBE=function e(t,r,i){return Bc(this,t,r,false,i)};jl.prototype.copy=function e(t,r,i,n){if(!i)i=0;if(!n&&n!==0)n=this.length;if(r>=t.length)r=t.length;if(!r)r=0;if(n>0&&n<i)n=i;if(n===i)return 0;if(t.length===0||this.length===0)return 0;if(r<0){throw new RangeError("targetStart out of bounds")}if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");if(n>this.length)n=this.length;if(t.length-r<n-i){n=t.length-r+i}var a=n-i;var o;if(this===t&&i<r&&r<n){for(o=a-1;o>=0;--o){t[o+r]=this[o+i]}}else if(a<1e3||!jl.TYPED_ARRAY_SUPPORT){for(o=0;o<a;++o){t[o+r]=this[o+i]}}else{Uint8Array.prototype.set.call(t,this.subarray(i,i+a),r)}return a};jl.prototype.fill=function e(t,r,i,n){if(typeof t==="string"){if(typeof r==="string"){n=r;r=0;i=this.length}else if(typeof i==="string"){n=i;i=this.length}if(t.length===1){var a=t.charCodeAt(0);if(a<256){t=a}}if(n!==undefined&&typeof n!=="string"){throw new TypeError("encoding must be a string")}if(typeof n==="string"&&!jl.isEncoding(n)){throw new TypeError("Unknown encoding: "+n)}}else if(typeof t==="number"){t=t&255}if(r<0||this.length<r||this.length<i){throw new RangeError("Out of range index")}if(i<=r){return this}r=r>>>0;i=i===undefined?this.length:i>>>0;if(!t)t=0;var o;if(typeof t==="number"){for(o=r;o<i;++o){this[o]=t}}else{var s=rc(t)?t:Pc(new jl(t,n).toString());var l=s.length;for(o=0;o<i-r;++o){this[o+r]=s[o%l]}}return this};var Ec=/[^+\/0-9A-Za-z-_]/g;function _c(e){e=kc(e).replace(Ec,"");if(e.length<2)return"";while(e.length%4!==0){e=e+"="}return e}function kc(e){if(e.trim)return e.trim();return e.replace(/^\s+|\s+$/g,"")}function Qc(e){if(e<16)return"0"+e.toString(16);return e.toString(16)}function Pc(e,t){t=t||Infinity;var r;var i=e.length;var n=null;var a=[];for(var o=0;o<i;++o){r=e.charCodeAt(o);if(r>55295&&r<57344){if(!n){if(r>56319){if((t-=3)>-1)a.push(239,191,189);continue}else if(o+1===i){if((t-=3)>-1)a.push(239,191,189);continue}n=r;continue}if(r<56320){if((t-=3)>-1)a.push(239,191,189);n=r;continue}r=(n-55296<<10|r-56320)+65536}else if(n){if((t-=3)>-1)a.push(239,191,189)}n=null;if(r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else{throw new Error("Invalid code point")}}return a}function Mc(e){var t=[];for(var r=0;r<e.length;++r){t.push(e.charCodeAt(r)&255)}return t}function Dc(e,t){var r,i,n;var a=[];for(var o=0;o<e.length;++o){if((t-=2)<0)break;r=e.charCodeAt(o);i=r>>8;n=r%256;a.push(n);a.push(i)}return a}function Rc(e){return Dl(_c(e))}function Tc(e,t,r,i){for(var n=0;n<i;++n){if(n+r>=t.length||n>=e.length)break;t[n+r]=e[n]}return n}function qc(e){return e!==e}function Hc(e){return e!=null&&(!!e._isBuffer||Uc(e)||Lc(e))}function Uc(e){return!!e.constructor&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function Lc(e){return typeof e.readFloatLE==="function"&&typeof e.slice==="function"&&Uc(e.slice(0,0))}var Fc=function(){var e=typeof document!=="undefined"&&document.currentScript?document.currentScript.src:undefined;e=e||El;return function(t){t=t||{};var r=typeof t!="undefined"?t:{};var i,n;r["ready"]=new Promise((function(e,t){i=e;n=t}));["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach((function(e){if(!Object.getOwnPropertyDescriptor(r["ready"],e)){Object.defineProperty(r["ready"],e,{get:function(){return V("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")},set:function(){return V("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})}}));var a=Object.assign({},r);var o=typeof window=="object";var s=typeof importScripts=="function";var l=typeof Ar=="object"&&typeof Ar.versions=="object"&&typeof Ar.versions.node=="string";var c=!o&&!l&&!s;if(r["ENVIRONMENT"]){throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)")}var u="";function d(e){if(r["locateFile"]){return r["locateFile"](e,u)}return u+e}if(l){if(typeof Ar=="undefined"||!Ar.release||Ar.release.name!=="node")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(Ar["argv"].length>1){Ar["argv"][1].replace(/\\/g,"/")}r["inspect"]=function(){return"[Emscripten Module object]"}}else if(c){if(typeof Ar=="object"&&typeof require==="function"||typeof window=="object"||typeof importScripts=="function")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(typeof scriptArgs!="undefined"){scriptArgs}if(typeof print!="undefined"){if(typeof console=="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!="undefined"?printErr:print}}else if(o||s){if(s){u=self.location.href}else if(typeof document!="undefined"&&document.currentScript){u=document.currentScript.src}if(e){u=e}if(u.indexOf("blob:")!==0){u=u.substr(0,u.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{u=""}if(!(typeof window=="object"||typeof importScripts=="function"))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else{throw new Error("environment detection error")}var m=r["print"]||console.log.bind(console);var p=r["printErr"]||console.warn.bind(console);Object.assign(r,a);a=null;be();f("arguments","arguments_");f("thisProgram","thisProgram");f("quit","quit_");x(typeof r["memoryInitializerPrefixURL"]=="undefined","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");x(typeof r["pthreadMainPrefixURL"]=="undefined","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");x(typeof r["cdInitializerPrefixURL"]=="undefined","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead");x(typeof r["filePackagePrefixURL"]=="undefined","Module.filePackagePrefixURL option was removed, use Module.locateFile instead");x(typeof r["read"]=="undefined","Module.read option was removed (modify read_ in JS)");x(typeof r["readAsync"]=="undefined","Module.readAsync option was removed (modify readAsync in JS)");x(typeof r["readBinary"]=="undefined","Module.readBinary option was removed (modify readBinary in JS)");x(typeof r["setWindowTitle"]=="undefined","Module.setWindowTitle option was removed (modify setWindowTitle in JS)");x(typeof r["TOTAL_MEMORY"]=="undefined","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY");f("read","read_");f("readAsync","readAsync");f("readBinary","readBinary");f("setWindowTitle","setWindowTitle");x(!c,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable.");function f(e,t){if(!Object.getOwnPropertyDescriptor(r,e)){Object.defineProperty(r,e,{configurable:true,get:function(){V("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}}function h(e){if(Object.getOwnPropertyDescriptor(r,e)){V("`Module."+e+"` was supplied but `"+e+"` not included in INCOMING_MODULE_JS_API")}}function g(e){return e==="FS_createPath"||e==="FS_createDataFile"||e==="FS_createPreloadedFile"||e==="FS_unlink"||e==="addRunDependency"||e==="FS_createLazyFile"||e==="FS_createDevice"||e==="removeRunDependency"}function v(e){if(typeof globalThis!=="undefined"&&!Object.getOwnPropertyDescriptor(globalThis,e)){Object.defineProperty(globalThis,e,{configurable:true,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line";var r=e;if(!r.startsWith("_")){r="$"+e}t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")";if(g(e)){t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}ue(t);return undefined}})}}function y(e){if(!Object.getOwnPropertyDescriptor(r,e)){Object.defineProperty(r,e,{configurable:true,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";if(g(e)){t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}V(t)}})}}f("wasmBinary","wasmBinary");f("noExitRuntime","noExitRuntime");if(typeof WebAssembly!="object"){V("no native wasm support detected")}var A;var b=false;function x(e,t){if(!e){V("Assertion failed"+(t?": "+t:""))}}var N=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function C(e,t,r){var i=t+r;var n=t;while(e[n]&&!(n>=i))++n;if(n-t>16&&e.buffer&&N){return N.decode(e.subarray(t,n))}var a="";while(t<n){var o=e[t++];if(!(o&128)){a+=String.fromCharCode(o);continue}var s=e[t++]&63;if((o&224)==192){a+=String.fromCharCode((o&31)<<6|s);continue}var l=e[t++]&63;if((o&240)==224){o=(o&15)<<12|s<<6|l}else{if((o&248)!=240)ue("Invalid UTF-8 leading byte "+ce(o)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!");o=(o&7)<<18|s<<12|l<<6|e[t++]&63}if(o<65536){a+=String.fromCharCode(o)}else{var c=o-65536;a+=String.fromCharCode(55296|c>>10,56320|c&1023)}}return a}var z,I,w;function S(e){z=e;r["HEAP8"]=new Int8Array(e);r["HEAP16"]=new Int16Array(e);r["HEAP32"]=new Int32Array(e);r["HEAPU8"]=I=new Uint8Array(e);r["HEAPU16"]=new Uint16Array(e);r["HEAPU32"]=w=new Uint32Array(e);r["HEAPF32"]=new Float32Array(e);r["HEAPF64"]=new Float64Array(e)}var B=5242880;if(r["STACK_SIZE"])x(B===r["STACK_SIZE"],"the stack size can no longer be determined at runtime");var E=r["INITIAL_MEMORY"]||16777216;f("INITIAL_MEMORY","INITIAL_MEMORY");x(E>=B,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+E+"! (STACK_SIZE="+B+")");x(typeof Int32Array!="undefined"&&typeof Float64Array!=="undefined"&&Int32Array.prototype.subarray!=undefined&&Int32Array.prototype.set!=undefined,"JS engine does not provide full typed array support");x(!r["wasmMemory"],"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally");x(E==16777216,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var _;function k(){var e=Be();x((e&3)==0);if(e==0){e+=4}w[e>>2]=34821223;w[e+4>>2]=2310721022;w[0]=1668509029}function Q(){if(b)return;var e=Be();if(e==0){e+=4}var t=w[e>>2];var r=w[e+4>>2];if(t!=34821223||r!=2310721022){V("Stack overflow! Stack cookie has been overwritten at "+ce(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+ce(r)+" "+ce(t))}if(w[0]!==1668509029){V("Runtime error: The application has corrupted its heap memory area (address zero)!")}}(function(){var e=new Int16Array(1);var t=new Int8Array(e.buffer);e[0]=25459;if(t[0]!==115||t[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"})();var P=[];var M=[];var D=[];var R=false;function T(){if(r["preRun"]){if(typeof r["preRun"]=="function")r["preRun"]=[r["preRun"]];while(r["preRun"].length){U(r["preRun"].shift())}}le(P)}function q(){x(!R);R=true;Q();le(M)}function H(){Q();if(r["postRun"]){if(typeof r["postRun"]=="function")r["postRun"]=[r["postRun"]];while(r["postRun"].length){F(r["postRun"].shift())}}le(D)}function U(e){P.unshift(e)}function L(e){M.unshift(e)}function F(e){D.unshift(e)}x(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");x(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");x(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");x(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var O=0;var G=null;var Y=null;var j={};function K(e){O++;if(r["monitorRunDependencies"]){r["monitorRunDependencies"](O)}{x(!j[e]);j[e]=1;if(G===null&&typeof setInterval!="undefined"){G=setInterval((function(){if(b){clearInterval(G);G=null;return}var e=false;for(var t in j){if(!e){e=true;p("still waiting on run dependencies:")}p("dependency: "+t)}if(e){p("(end of list)")}}),1e4)}}}function J(e){O--;if(r["monitorRunDependencies"]){r["monitorRunDependencies"](O)}{x(j[e]);delete j[e]}if(O==0){if(G!==null){clearInterval(G);G=null}if(Y){var t=Y;Y=null;t()}}}function V(e){if(r["onAbort"]){r["onAbort"](e)}e="Aborted("+e+")";p(e);b=true;var t=new WebAssembly.RuntimeError(e);n(t);throw t}var X={error:function(){V("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){X.error()},createDataFile:function(){X.error()},createPreloadedFile:function(){X.error()},createLazyFile:function(){X.error()},open:function(){X.error()},mkdev:function(){X.error()},registerDevice:function(){X.error()},analyzePath:function(){X.error()},loadFilesFromDB:function(){X.error()},ErrnoError:function e(){X.error()}};r["FS_createDataFile"]=X.createDataFile;r["FS_createPreloadedFile"]=X.createPreloadedFile;var W="data:application/octet-stream;base64,";function Z(e){return e.startsWith(W)}function $(e){return e.startsWith("file://")}function ee(e,t){return function(){var i=e;var n=t;{n=r["asm"]}x(R,"native function `"+i+"` called before runtime initialization");if(!n[e]){x(n[e],"exported native function `"+i+"` not found")}return n[e].apply(null,arguments)}}var te;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SAESSIFGyEEIAAgByAFGyEHI","AAhBQwACwALIAcoAhghCgJAIAcoAgwiCCAHRg0AIAcoAggiAEEAKAKoksECSRogACAINgIMIAggADYCCAwO","CwJAIAdBFGoiBSgCACIADQAgBygCECIARQ0DIAdBEGohBQsDQCAFIQsgACIIQRRqIgUoAgAiAA0AIAhBEGo","hBSAIKAIQIgANAAsgC0EANgIADA0LQX8hAyAAQb9/Sw0AIABBC2oiAEF4cSEDQQAoApySwQIiBkUNAEEAIQ","sCQCADQYACSQ0AQR8hCyADQf///wdLDQAgA0EmIABBCHZnIgBrdkEBcSAAQQF0a0E+aiELC0EAIANrIQQCQ","AJAAkACQCALQQJ0QciUwQJqKAIAIgUNAEEAIQBBACEIDAELQQAhACADQQBBGSALQQF2ayALQR9GG3QhB0EA","IQgDQAJAIAUoAgRBeHEgA2siAiAETw0AIAIhBCAFIQggAg0AQQAhBCAFIQggBSEADAMLIAAgBUEUaigCACI","CIAIgBSAHQR12QQRxakEQaigCACIFRhsgACACGyEAIAdBAXQhByAFDQALCwJAIAAgCHINAEEAIQhBAiALdC","IAQQAgAGtyIAZxIgBFDQMgAEEAIABrcWhBAnRByJTBAmooAgAhAAsgAEUNAQsDQCAAKAIEQXhxIANrIgIgB","EkhBwJAIAAoAhAiBQ0AIABBFGooAgAhBQsgAiAEIAcbIQQgACAIIAcbIQggBSEAIAUNAAsLIAhFDQAgBEEA","KAKgksECIANrTw0AIAgoAhghCwJAIAgoAgwiByAIRg0AIAgoAggiAEEAKAKoksECSRogACAHNgIMIAcgADY","CCAwMCwJAIAhBFGoiBSgCACIADQAgCCgCECIARQ0DIAhBEGohBQsDQCAFIQIgACIHQRRqIgUoAgAiAA0AIA","dBEGohBSAHKAIQIgANAAsgAkEANgIADAsLAkBBACgCoJLBAiIAIANJDQBBACgCrJLBAiEEAkACQCAAIANrI","gVBEEkNAEEAIAU2AqCSwQJBACAEIANqIgc2AqySwQIgByAFQQFyNgIEIAQgAGogBTYCACAEIANBA3I2AgQM","AQtBAEEANgKsksECQQBBADYCoJLBAiAEIABBA3I2AgQgBCAAaiIAIAAoAgRBAXI2AgQLIARBCGohAAwNCwJ","AQQAoAqSSwQIiByADTQ0AQQAgByADayIENgKkksECQQBBACgCsJLBAiIAIANqIgU2ArCSwQIgBSAEQQFyNg","IEIAAgA0EDcjYCBCAAQQhqIQAMDQsCQAJAQQAoAvCVwQJFDQBBACgC+JXBAiEEDAELQQBCfzcC/JXBAkEAQ","oCggICAgAQ3AvSVwQJBACABQQxqQXBxQdiq1aoFczYC8JXBAkEAQQA2AoSWwQJBAEEANgLUlcECQYAgIQQL","QQAhACAEIANBL2oiBmoiAkEAIARrIgtxIgggA00NDEEAIQACQEEAKALQlcECIgRFDQBBACgCyJXBAiIFIAh","qIgkgBU0NDSAJIARLDQ0LAkACQEEALQDUlcECQQRxDQACQAJAAkACQAJAQQAoArCSwQIiBEUNAEHYlcECIQ","ADQAJAIAAoAgAiBSAESw0AIAUgACgCBGogBEsNAwsgACgCCCIADQALC0EAEBAiB0F/Rg0DIAghAgJAQQAoA","vSVwQIiAEF/aiIEIAdxRQ0AIAggB2sgBCAHakEAIABrcWohAgsgAiADTQ0DAkBBACgC0JXBAiIARQ0AQQAo","AsiVwQIiBCACaiIFIARNDQQgBSAASw0ECyACEBAiACAHRw0BDAULIAIgB2sgC3EiAhAQIgcgACgCACAAKAI","EakYNASAHIQALIABBf0YNAQJAIANBMGogAksNACAAIQcMBAsgBiACa0EAKAL4lcECIgRqQQAgBGtxIgQQEE","F/Rg0BIAQgAmohAiAAIQcMAwsgB0F/Rw0CC0EAQQAoAtSVwQJBBHI2AtSVwQILIAgQECEHQQAQECEAIAdBf","0YNBSAAQX9GDQUgByAATw0FIAAgB2siAiADQShqTQ0FC0EAQQAoAsiVwQIgAmoiADYCyJXBAgJAIABBACgC","zJXBAk0NAEEAIAA2AsyVwQILAkACQEEAKAKwksECIgRFDQBB2JXBAiEAA0AgByAAKAIAIgUgACgCBCIIakY","NAiAAKAIIIgANAAwFCwALAkACQEEAKAKoksECIgBFDQAgByAATw0BC0EAIAc2AqiSwQILQQAhAEEAIAI2At","yVwQJBACAHNgLYlcECQQBBfzYCuJLBAkEAQQAoAvCVwQI2ArySwQJBAEEANgLklcECA0AgAEEDdCIEQciSw","QJqIARBwJLBAmoiBTYCACAEQcySwQJqIAU2AgAgAEEBaiIAQSBHDQALQQAgAkFYaiIAQXggB2tBB3FBACAH","QQhqQQdxGyIEayIFNgKkksECQQAgByAEaiIENgKwksECIAQgBUEBcjYCBCAHIABqQSg2AgRBAEEAKAKAlsE","CNgK0ksECDAQLIAAtAAxBCHENAiAEIAVJDQIgBCAHTw0CIAAgCCACajYCBEEAIARBeCAEa0EHcUEAIARBCG","pBB3EbIgBqIgU2ArCSwQJBAEEAKAKkksECIAJqIgcgAGsiADYCpJLBAiAFIABBAXI2AgQgBCAHakEoNgIEQ","QBBACgCgJbBAjYCtJLBAgwDC0EAIQgMCgtBACEHDAgLAkAgB0EAKAKoksECIghPDQBBACAHNgKoksECIAch","CAsgByACaiEFQdiVwQIhAAJAAkACQAJAA0AgACgCACAFRg0BIAAoAggiAA0ADAILAAsgAC0ADEEIcUUNAQt","B2JXBAiEAA0ACQCAAKAIAIgUgBEsNACAFIAAoAgRqIgUgBEsNAwsgACgCCCEADAALAAsgACAHNgIAIAAgAC","gCBCACajYCBCAHQXggB2tBB3FBACAHQQhqQQdxG2oiCyADQQNyNgIEIAVBeCAFa0EHcUEAIAVBCGpBB3Eba","iICIAsgA2oiA2shAAJAIAIgBEcNAEEAIAM2ArCSwQJBAEEAKAKkksECIABqIgA2AqSSwQIgAyAAQQFyNgIE","DAgLAkAgAkEAKAKsksECRw0AQQAgAzYCrJLBAkEAQQAoAqCSwQIgAGoiADYCoJLBAiADIABBAXI2AgQgAyA","AaiAANgIADAgLIAIoAgQiBEEDcUEBRw0GIARBeHEhBgJAIARB/wFLDQAgAigCCCIFIARBA3YiCEEDdEHAks","ECaiIHRhoCQCACKAIMIgQgBUcNAEE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AgQMAQsgByADQQNyNgIEIAcgA2oiBSAEQQFyNgIEIAUgBGogBDYCAAJAIAZFDQAgBkF4cU","HAksECaiEDQQAoAqySwQIhAAJAAkBBASAGQQN2dCIIIAJxDQBBACAIIAJyNgKYksECIAMhCAwBCyADKAIII","QgLIAMgADYCCCAIIAA2AgwgACADNgIMIAAgCDYCCAtBACAFNgKsksECQQAgBDYCoJLBAgsgB0EIaiEACyAB","QRBqJAAgAAuDDQEHfwJAIABFDQAgAEF4aiIBIABBfGooAgAiAkF4cSIAaiEDAkAgAkEBcQ0AIAJBA3FFDQE","gASABKAIAIgJrIgFBACgCqJLBAiIESQ0BIAIgAGohAAJAAkACQCABQQAoAqySwQJGDQACQCACQf8BSw0AIA","EoAggiBCACQQN2IgVBA3RBwJLBAmoiBkYaAkAgASgCDCICIARHDQBBAEEAKAKYksECQX4gBXdxNgKYksECD","AULIAIgBkYaIAQgAjYCDCACIAQ2AggMBAsgASgCGCEHAkAgASgCDCIGIAFGDQAgASgCCCICIARJGiACIAY2","AgwgBiACNgIIDAMLAkAgAUEUaiIEKAIAIgINACABKAIQIgJFDQIgAUEQaiEECwNAIAQhBSACIgZBFGoiBCg","CACICDQAgBkEQaiEEIAYoAhAiAg0ACyAFQQA2AgAMAgsgAygCBCICQQNxQQNHDQJBACAANgKgksECIAMgAk","F+cTYCBCABIABBAXI2AgQgAyAANgIADwtBACEGCyAHRQ0AAkACQCABIAEoAhwiBEECdEHIlMECaiICKAIAR","w0AIAIgBjYCACAGDQFBAEEAKAKcksECQX4gBHdxNgKcksECDAILIAdBEEEUIAcoAhAgAUYbaiAGNgIAIAZF","DQELIAYgBzYCGAJAIAEoAhAiAkUNACAGIAI2AhAgAiAGNgIYCyABQRRqKAIAIgJFDQAgBkEUaiACNgIAIAI","gBjYCGAsgASADTw0AIAMoAgQiAkEBcUUNAAJAAkACQAJAAkAgAkECcQ0AAkAgA0EAKAKwksECRw0AQQAgAT","YCsJLBAkEAQQAoAqSSwQIgAGoiADYCpJLBAiABIABBAXI2AgQgAUEAKAKsksECRw0GQQBBADYCoJLBAkEAQ","QA2AqySwQIPCwJAIANBACgCrJLBAkcNAEEAIAE2AqySwQJBAEEAKAKgksECIABqIgA2AqCSwQIgASAAQQFy","NgIEIAEgAGogADYCAA8LIAJBeHEgAGohAAJAIAJB/wFLDQAgAygCCCIEIAJBA3YiBUEDdEHAksECaiIGRho","CQCADKAIMIgIgBEcNAEEAQQAoApiSwQJBfiAFd3E2ApiSwQIMBQsgAiAGRhogBCACNgIMIAIgBDYCCAwECy","ADKAIYIQcCQCADKAIMIgYgA0YNACADKAIIIgJBACgCqJLBAkkaIAIgBjYCDCAGIAI2AggMAwsCQCADQRRqI","gQoAgAiAg0AIAMoAhAiAkUNAiADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECIC","DQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAM","gAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0","EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBF","GooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEA","IAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQA","gBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQC","AAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBA","mohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsg","AEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZ","BBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNg","IMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBf","yAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAA","KAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCE","FIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEGIANBEGohBEECIQcCQAJAAkACQAJAIAAoAjwgA0","EQakECIANBDGoQAxAXRQ0AIAQhBQwBCwNAIAYgAygCDCIBRg0CAkAgAUF/Sg0AIAQhBQwECyAEIAEgBCgCB","CIISyIJQQN0aiIFIAUoAgAgASAIQQAgCRtrIghqNgIAIARBDEEEIAkbaiIEIAQoAgAgCGs2AgAgBiABayEG","IAUhBCAAKAI8IAUgByAJayIHIANBDGoQAxAXRQ0ACwsgBkF/Rw0BCyAAIAAoAiwiATYCHCAAIAE2AhQgACA","BIAAoAjBqNgIQIAIhAQwBC0EAIQEgAEEANgIcIABCADcDECAAIAAoAgBBIHI2AgAgB0ECRg0AIAIgBSgCBG","shAQsgA0EgaiQAIAELNwEBfyMAQRBrIgMkACAAIAEgAkH/AXEgA0EIahAwEBchAiADKQMIIQEgA0EQaiQAQ","n8gASACGwsNACAAKAI8IAEgAhAZCwIACwIACw4AQZCWwQIQG0GUlsECCwkAQZCWwQIQHAsEAEEBCwIACwcA","IAAoAgALCQBBnJbBAhAhCwYAIAAkAQsEACMBCwQAIwALBgAgACQACxIBAn8jACAAa0FwcSIB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G91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA=="].join("");function ie(e){var t=window.atob(e);var r=t.length;var i=new Uint8Array(r);for(var n=0;n<r;n++){i[n]=t.charCodeAt(n)}return i}function ne(e){if(typeof jl=="function"){return jl.from(re,"base64")}else{return ie(re)}}function ae(){return Promise.resolve().then((function(){return ne()}))}function oe(){var e={env:xe,wasi_snapshot_preview1:xe};function t(e,t){var i=e.exports;r["asm"]=i;A=r["asm"]["memory"];x(A,"memory not found in wasm exports");S(A.buffer);_=r["asm"]["__indirect_function_table"];x(_,"table not found in wasm exports");L(r["asm"]["__wasm_call_ctors"]);J("wasm-instantiate")}K("wasm-instantiate");var i=r;function a(e){x(r===i,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?");i=null;t(e["instance"])}function o(t){return ae().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){p("failed to asynchronously prepare wasm: "+e);if($(te)){p("warning: Loading from a file URI ("+te+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing")}V(e)}))}function s(){return o(a)}if(r["instantiateWasm"]){try{var l=r["instantiateWasm"](e,t);return l}catch(e){p("Module.instantiateWasm callback failed with error: "+e);n(e)}}s().catch(n);return{}}function se(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"}function le(e){while(e.length>0){e.shift()(r)}}function ce(e){return"0x"+e.toString(16).padStart(8,"0")}function ue(e){if(!ue.shown)ue.shown={};if(!ue.shown[e]){ue.shown[e]=1;if(l)e="warning: "+e;p(e)}}function de(){V("native code called abort()")}function me(){return 2147483648}function pe(e){try{A.grow(e-z.byteLength+65535>>>16);S(A.buffer);return 1}catch(t){p("emscripten_realloc_buffer: Attempted to grow heap from "+z.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function fe(e){var t=I.length;e=e>>>0;x(e>t);var r=me();if(e>r){p("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+r+" bytes!");return false}var i=function(e,t){return e+(t-e%t)%t};for(var n=1;n<=4;n*=2){var a=t*(1+.2/n);a=Math.min(a,e+100663296);var o=Math.min(r,i(Math.max(e,a),65536));var s=pe(o);if(s){return true}}p("Failed to grow the heap from "+t+" bytes to "+o+" bytes, not enough memory!");return false}function he(e){V("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")}function ge(e,t,r,i,n){return 70}var ve=[null,[],[]];function ye(e,t){var r=ve[e];x(r);if(t===0||t===10){(e===1?m:p)(C(r,0));r.length=0}else{r.push(t)}}function Ae(e,t,r,i){var n=0;for(var a=0;a<r;a++){var o=w[t>>2];var s=w[t+4>>2];t+=8;for(var l=0;l<s;l++){ye(e,I[o+l])}n+=s}w[i>>2]=n;return 0}function be(){h("fetchSettings")}var xe={abort:de,array_bounds_check_error:se,emscripten_resize_heap:fe,fd_close:he,fd_seek:ge,fd_write:Ae};oe();r["___wasm_call_ctors"]=ee("__wasm_call_ctors");var Ne=r["_emscripten_bind_VoidPtr___destroy___0"]=ee("emscripten_bind_VoidPtr___destroy___0");var Ce=r["_emscripten_bind_Crc64Hash_Crc64Hash_0"]=ee("emscripten_bind_Crc64Hash_Crc64Hash_0");var ze=r["_emscripten_bind_Crc64Hash_OnAppend_2"]=ee("emscripten_bind_Crc64Hash_OnAppend_2");var Ie=r["_emscripten_bind_Crc64Hash_OnFinal_3"]=ee("emscripten_bind_Crc64Hash_OnFinal_3");var we=r["_emscripten_bind_Crc64Hash___destroy___0"]=ee("emscripten_bind_Crc64Hash___destroy___0");r["___errno_location"]=ee("__errno_location");r["_fflush"]=ee("fflush");r["_malloc"]=ee("malloc");r["_free"]=ee("free");var Se=r["_emscripten_stack_init"]=function(){return(Se=r["_emscripten_stack_init"]=r["asm"]["emscripten_stack_init"]).apply(null,arguments)};r["_emscripten_stack_get_free"]=function(){return(r["_emscripten_stack_get_free"]=r["asm"]["emscripten_stack_get_free"]).apply(null,arguments)};r["_emscripten_stack_get_base"]=function(){return(r["_emscripten_stack_get_base"]=r["asm"]["emscripten_stack_get_base"]).apply(null,arguments)};var Be=r["_emscripten_stack_get_end"]=function(){return(Be=r["_emscripten_stack_get_end"]=r["asm"]["emscripten_stack_get_end"]).apply(null,arguments)};r["stackSave"]=ee("stackSave");r["stackRestore"]=ee("stackRestore");r["stackAlloc"]=ee("stackAlloc");r["_emscripten_stack_get_current"]=function(){return(r["_emscripten_stack_get_current"]=r["asm"]["emscripten_stack_get_current"]).apply(null,arguments)};r["dynCall_jiji"]=ee("dynCall_jiji");r["___start_em_js"]=5261488;r["___stop_em_js"]=5261586;var Ee=["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];Ee.forEach(y);var _e=["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];_e.forEach(v);var ke;Y=function e(){if(!ke)Pe();if(!ke)Y=e};function Qe(){Se();k()}function Pe(e){if(O>0){return}Qe();T();if(O>0){return}function t(){if(ke)return;ke=true;r["calledRun"]=true;if(b)return;q();i(r);if(r["onRuntimeInitialized"])r["onRuntimeInitialized"]();x(!r["_main"],'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]');H()}if(r["setStatus"]){r["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){r["setStatus"]("")}),1);t()}),1)}else{t()}Q()}if(r["preInit"]){if(typeof r["preInit"]=="function")r["preInit"]=[r["preInit"]];while(r["preInit"].length>0){r["preInit"].pop()()}}Pe();function Me(){}Me.prototype=Object.create(Me.prototype);Me.prototype.constructor=Me;Me.prototype.__class__=Me;Me.__cache__={};r["WrapperObject"]=Me;function De(e){return(e||Me).__cache__}r["getCache"]=De;function Re(e,t){var r=De(t);var i=r[e];if(i)return i;i=Object.create((t||Me).prototype);i.ptr=e;return r[e]=i}r["wrapPointer"]=Re;function Te(e,t){return Re(e.ptr,t)}r["castObject"]=Te;r["NULL"]=Re(0);function qe(e){if(!e["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";e["__destroy__"]();delete De(e.__class__)[e.ptr]}r["destroy"]=qe;function He(e,t){return e.ptr===t.ptr}r["compare"]=He;function Ue(e){return e.ptr}r["getPointer"]=Ue;function Le(e){return e.__class__}r["getClass"]=Le;function Fe(){throw"cannot construct a VoidPtr, no constructor in IDL"}Fe.prototype=Object.create(Me.prototype);Fe.prototype.constructor=Fe;Fe.prototype.__class__=Fe;Fe.__cache__={};r["VoidPtr"]=Fe;Fe.prototype["__destroy__"]=Fe.prototype.__destroy__=function(){var e=this.ptr;Ne(e)};function Oe(){this.ptr=Ce();De(Oe)[this.ptr]=this}Oe.prototype=Object.create(Me.prototype);Oe.prototype.constructor=Oe;Oe.prototype.__class__=Oe;Oe.__cache__={};r["Crc64Hash"]=Oe;Oe.prototype["OnAppend"]=Oe.prototype.OnAppend=function(e,t){var r=this.ptr;if(e&&typeof e==="object")e=e.ptr;if(t&&typeof t==="object")t=t.ptr;ze(r,e,t)};Oe.prototype["OnFinal"]=Oe.prototype.OnFinal=function(e,t,r){var i=this.ptr;if(e&&typeof e==="object")e=e.ptr;if(t&&typeof t==="object")t=t.ptr;if(r&&typeof r==="object")r=r.ptr;Ie(i,e,t,r)};Oe.prototype["__destroy__"]=Oe.prototype.__destroy__=function(){var e=this.ptr;we(e)};return t.ready}}();var Oc=function(){function e(){this.nativeCrc64Hash=new e.nativeInstance.Crc64Hash}e.init=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){if(!this.initPromise){this.initPromise=Fc().then((function(t){e.nativeInstance=t;return}))}return[2,this.initPromise]}))}))};e.prototype.append=function(t,r){var i=e.nativeInstance._malloc(r);e.nativeInstance.HEAPU8.set(t,i);this.nativeCrc64Hash.OnAppend(i,r);e.nativeInstance._free(i)};e.prototype.final=function(t,r){var i=e.nativeInstance._malloc(r);e.nativeInstance.HEAPU8.set(t,i);var n=e.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(i,r,n);e.nativeInstance._free(i);var a=new Uint8Array(8);a.set(e.nativeInstance.HEAPU8.subarray(n,n+8));e.nativeInstance._free(n);return a};return e}();var Gc=1;var Yc=13;var jc=10;var Kc=8;var Jc=4*1024*1024;var Vc;(function(e){e[e["StreamHeader"]=0]="StreamHeader";e[e["StreamFooter"]=1]="StreamFooter";e[e["SegmentHeader"]=2]="SegmentHeader";e[e["SegmentFooter"]=3]="SegmentFooter";e[e["SegmentContent"]=4]="SegmentContent";e[e["Completed"]=5]="Completed"})(Vc||(Vc={}));var Xc=function(){function e(e,t){var r=this;this.sourceDataHandler=function(e){r.currentDataOffset=0;if(r.state===Vc.StreamHeader){r.handlingMessageHeader()}while(r.segmentNumber<r.segmentsCount){r.segmentContentLength=Math.min(Jc,r.contentLength-r.contentOffset);if(r.state===Vc.SegmentHeader){r.handlingSegmentHeader()}if(r.state===Vc.SegmentContent){r.handlingSegmentContent(e)}if(r.state===Vc.SegmentFooter){r.handlingSegmentFooter();r.contentOffset+=r.segmentContentLength}if(r.currentDataOffset===e.length){break}}if(r.state===Vc.StreamFooter){r.handlingMessageFooter()}};this.pushData=e;this.contentLength=t;this.contentOffset=0;this.currentDataOffset=0;this.segmentsCount=Math.ceil(this.contentLength/Jc);this.messageLength=this.contentLength+Yc+(jc+Kc)*this.segmentsCount+Kc;this.messageHeaderBuffer=new Uint8Array(Yc);this.segmentNumber=0;this.segmentContentLength=0;this.segmentContentOffset=0;this.state=Vc.StreamHeader;this.segmentCrc64=new Oc;this.messageCrc64=new Oc}e.prototype.handlingMessageHeader=function(){this.messageHeaderBuffer[0]=Gc;this.fillInt64(this.messageHeaderBuffer,1,this.messageLength);this.fillInt16(this.messageHeaderBuffer,9,1);this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount);this.pushData(this.messageHeaderBuffer);this.state=Vc.SegmentHeader};e.prototype.handlingSegmentHeader=function(){var e=new Uint8Array(jc);this.fillInt16(e,0,this.segmentNumber+1);this.fillInt64(e,2,this.segmentContentLength);this.segmentContentOffset=0;this.pushData(e);this.state=Vc.SegmentContent};e.prototype.handlingSegmentContent=function(e){var t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(t!==0){var r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t);this.segmentCrc64.append(r,t);this.pushData(r)}this.segmentContentOffset+=t;this.currentDataOffset+=t;if(this.segmentContentOffset===this.segmentContentLength){this.state=Vc.SegmentFooter}};e.prototype.handlingSegmentFooter=function(){var e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e);this.segmentCrc64=new Oc;++this.segmentNumber;if(this.segmentNumber===this.segmentsCount){this.state=Vc.StreamFooter}else{this.state=Vc.SegmentHeader}};e.prototype.handlingMessageFooter=function(){var e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e);this.state=Vc.Completed};e.prototype.fillInt64=function(e,t,r){if(e.length<t+8){throw new Error("Uint8Array length is not expected.")}var i=new DataView(e.buffer,e.byteOffset+t,8);i.setBigUint64(0,BigInt(r),true)};e.prototype.fillInt16=function(e,t,r){if(e.length<t+2){throw new Error("Uint8Array length is not expected.")}var i=new DataView(e.buffer,e.byteOffset+t,2);i.setUint16(0,r,true)};return e}();function Wc(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:return[4,e.read()];case 1:i=o.sent(),n=i.done,a=i.value;if(a){r.stream.sourceDataHandler(a)}if(n){if(!r.closed){r.closed=true;t.close()}return[2]}return[2]}}))}))}function Zc(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:r=e instanceof Blob?e.stream():e;i=r.getReader();n=undefined;a=new ReadableStream({start:function(e){n={stream:new Xc((function(t){e.enqueue(t)}),t),closed:false}},pull:function(e){Wc(i,e,n).then((function(){return})).catch((function(t){e.error(t)}))}});o=new Response(a);s={};return[4,o.blob()];case 1:return[2,(s.content=l.sent(),s.encodedContentLength=n.stream.messageLength,s)]}}))}))}function $c(e,t){return __awaiter(this,void 0,void 0,(function(){var r,r,r;return __generator(this,(function(i){switch(i.label){case 0:if(e===null){return[2,{body:e,encodedContentLength:t}]}if(!(e instanceof Blob))return[3,2];return[4,Zc(e,t)];case 1:r=i.sent();return[2,{body:r.content,encodedContentLength:r.encodedContentLength}];case 2:if(!(typeof e==="string"||e instanceof ArrayBuffer))return[3,4];return[4,Zc(new Blob([e]),t)];case 3:r=i.sent();return[2,{body:r.content,encodedContentLength:r.encodedContentLength}];case 4:if(!ArrayBuffer.isView(e))return[3,6];r=undefined;if(!(e.buffer instanceof ArrayBuffer))return[3,6];return[4,Zc(new Blob([e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)]),t)];case 5:r=i.sent();return[2,{body:r.content,encodedContentLength:r.encodedContentLength}];case 6:throw new Error("The specified request body type is not supported for CRC64 checksum")}}))}))}var eu=1;var tu=13;var ru=10;var iu=8;var nu;(function(e){e[e["StreamHeader"]=0]="StreamHeader";e[e["StreamFooter"]=1]="StreamFooter";e[e["SegmentHeader"]=2]="SegmentHeader";e[e["SegmentFooter"]=3]="SegmentFooter";e[e["SegmentContent"]=4]="SegmentContent"})(nu||(nu={}));var au=function(){function e(e){var t=this;this.sourceDataHandler=function(e){t.currentDataOffset=0;if(t.state===nu.StreamHeader){t.parseMessageHeader(e)}while(t.segmentNumber<t.segmentsCount&&t.currentDataOffset<e.length){if(t.state===nu.SegmentHeader){t.parseSegmentHeader(e)}if(t.state===nu.SegmentContent){t.parseSegmentContent(e)}if(t.state===nu.SegmentFooter){t.parseSegmentFooter(e)}}if(t.state===nu.StreamFooter){t.parseMessageFooter(e)}};this.pushData=e;this.currentOffset=0;this.segmentsCount=0;this.messageHeaderOffset=0;this.messageHeaderBuffer=new Uint8Array(tu);this.currentDataOffset=0;this.segmentNumber=0;this.segmentHeaderOffset=0;this.segmentHeaderBuffer=new Uint8Array(ru);this.segmentContentOffset=0;this.segmentContentLength=0;this.state=nu.StreamHeader;this.segmentFooterOffset=0;this.segmentFooterBuffer=new Uint8Array(iu);this.messageFooterOffset=0;this.messageFooterBuffer=new Uint8Array(iu);this.segmentCrc64=new Oc;this.messageCrc64=new Oc}e.prototype.parseMessageHeader=function(e){var t=Math.min(tu-this.messageHeaderOffset,e.length-this.currentDataOffset);this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset);this.currentDataOffset+=t;this.messageHeaderOffset+=t;this.currentOffset+=t;if(this.messageHeaderOffset===tu){var r=this.messageHeaderBuffer[0];if(r!==eu){throw new Error("Unexpected message version")}this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13));this.state=nu.SegmentHeader}};e.prototype.parseSegmentHeader=function(e){var t=Math.min(ru-this.segmentHeaderOffset,e.length-this.currentDataOffset);this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset);this.currentDataOffset+=t;this.segmentHeaderOffset+=t;this.currentOffset+=t;if(this.segmentHeaderOffset===ru){var r=this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2));if(r!==this.segmentNumber+1){throw new Error("Segment number is unexpected.")}this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2);this.segmentContentOffset=0;this.state=nu.SegmentContent}};e.prototype.parseSegmentContent=function(e){var t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);var r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t);this.messageCrc64.append(r,t);this.pushData(r);this.currentDataOffset+=t;this.segmentContentOffset+=t;this.currentOffset+=t;if(this.segmentContentOffset===this.segmentContentLength){this.state=nu.SegmentFooter}};e.prototype.parseSegmentFooter=function(e){var t=Math.min(iu-this.segmentFooterOffset,e.length-this.currentDataOffset);this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset);this.currentDataOffset+=t;this.segmentFooterOffset+=t;this.currentOffset+=t;if(this.segmentFooterOffset===iu){var r=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(r,this.segmentFooterBuffer)){throw new Error("Segment check sum mismatch, segmentNumber: ".concat(this.segmentNumber))}++this.segmentNumber;if(this.segmentNumber===this.segmentsCount){this.state=nu.StreamFooter}else{this.segmentHeaderOffset=0;this.segmentFooterOffset=0;this.segmentCrc64=new Oc;this.state=nu.SegmentHeader}}};e.prototype.parseMessageFooter=function(e){var t=Math.min(iu-this.messageFooterOffset,e.length-this.currentDataOffset);this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset);this.currentDataOffset+=t;this.messageFooterOffset+=t;this.currentOffset+=t;if(this.messageFooterOffset===iu){var r=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(r,this.messageFooterBuffer)){throw new Error("Check sum mismatch")}this.pushData(null)}};e.prototype.toInt64=function(e,t){if(e.length<t+8){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}var r=new DataView(e.buffer,e.byteOffset+t,8);return Number(r.getBigUint64(0,true))};e.prototype.toInt16=function(e){if(e.length!==2){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}return e[0]+e[1]*256};e.prototype.checkCrc64CheckSum=function(e,t){if(e.length!==8||t.length!==8){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}for(var r=0;r<8;++r){if(e[r]!==t[r]){return false}}return true};return e}();var ou=undefined;function su(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:return[4,e.read()];case 1:r=a.sent(),i=r.done,n=r.value;if(i){return[2]}t.sourceDataHandler(n);return[2]}}))}))}function lu(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a;return __generator(this,(function(o){t=e instanceof Blob?e.stream():e;r=t.getReader();i=undefined;n=new ReadableStream({start:function(e){i=new au((function(t){if(null!==t){e.enqueue(t)}else{e.close()}}))},pull:function(e){su(r,i).then((function(){return})).catch((function(t){e.error(t)}))}});a=new Response(n);return[2,a.blob()]}))}))}var cu;function uu(){if(!cu){cu=Xa()}return cu}var du=function(){function e(e,t){this._nextPolicy=e;this._options=t}e.prototype.shouldLog=function(e){return this._options.shouldLog(e)};e.prototype.log=function(e,t){this._options.log(e,t)};return e}();var mu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",TIMEOUT:"timeout"}};var pu={CONTENT_LENGTH:"Content-Length",COOKIE:"Cookie",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function fu(e,t,r){var i=new URL(e);var n=encodeURIComponent(t);var a=r?encodeURIComponent(r):undefined;var o=i.search===""?"?":i.search;var s=[];for(var l=0,c=o.slice(1).split("&");l<c.length;l++){var u=c[l];if(u){var d=u.split("=",2)[0];if(d!==n){s.push(u)}}}if(a){s.push("".concat(n,"=").concat(a))}i.search=s.length?"?".concat(s.join("&")):"";return i.toString()}function hu(e,t){var r=new URL(e);r.hostname=t;return r.toString()}function gu(e,t,r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,new Promise((function(i,n){var a;var o=function(){if(a!==undefined){clearTimeout(a)}n(r)};var s=function(){if(t!==undefined){t.removeEventListener("abort",o)}i()};a=setTimeout(s,e);if(t!==undefined){t.addEventListener("abort",o)}}))]}))}))}var vu=function(e){__extends(t,e);function t(t,r){return e.call(this,t,r)||this}t.prototype.sendRequest=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=fu(e.url,mu.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(pu.COOKIE);e.headers.remove(pu.CONTENT_LENGTH);return[2,this._nextPolicy.sendRequest(e)]}))}))};return t}(du);var yu=function(){function e(){}e.prototype.create=function(e,t){return new vu(e,t)};return e}();var Au=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.sendRequest=function(e){return this._nextPolicy.sendRequest(this.signRequest(e))};t.prototype.signRequest=function(e){return e};return t}(du);var bu=function(e){__extends(t,e);function t(t,r){return e.call(this,t,r)||this}return t}(Au);var xu=function(){function e(){}e.prototype.create=function(e,t){throw new Error("Method should be implemented in children classes.")};return e}();var Nu=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.create=function(e,t){return new bu(e,t)};return t}(xu);var Cu=function(e){__extends(t,e);function t(t,r){var i=e.call(this)||this;throw new Error("StorageSharedKeyCredential is not supported in the browser.");return i}t.prototype.create=function(e,t){throw new Error("StorageSharedKeyCredential is not supported in the browser.")};t.prototype.computeHMACSHA256=function(e){throw new Error("StorageSharedKeyCredential is not supported in the browser.")};return t}(xu);var zu=On("storage-common");var Iu;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(Iu||(Iu={}));var wu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Iu.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};var Su=new fa("The operation was aborted.");var Bu=function(e){__extends(t,e);function t(t,r,i){if(i===void 0){i=wu}var n=e.call(this,t,r)||this;n.retryOptions={retryPolicyType:i.retryPolicyType?i.retryPolicyType:wu.retryPolicyType,maxTries:i.maxTries&&i.maxTries>=1?Math.floor(i.maxTries):wu.maxTries,tryTimeoutInMs:i.tryTimeoutInMs&&i.tryTimeoutInMs>=0?i.tryTimeoutInMs:wu.tryTimeoutInMs,retryDelayInMs:i.retryDelayInMs&&i.retryDelayInMs>=0?Math.min(i.retryDelayInMs,i.maxRetryDelayInMs?i.maxRetryDelayInMs:wu.maxRetryDelayInMs):wu.retryDelayInMs,maxRetryDelayInMs:i.maxRetryDelayInMs&&i.maxRetryDelayInMs>=0?i.maxRetryDelayInMs:wu.maxRetryDelayInMs,secondaryHost:i.secondaryHost?i.secondaryHost:wu.secondaryHost};return n}t.prototype.sendRequest=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.attemptSendRequest(e,false,1)]}))}))};t.prototype.attemptSendRequest=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a,o;return __generator(this,(function(s){switch(s.label){case 0:i=e.clone();n=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||r%2===1;if(!n){i.url=hu(i.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){i.url=fu(i.url,mu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}s.label=1;case 1:s.trys.push([1,3,,4]);zu.info("RetryPolicy: =====> Try=".concat(r," ").concat(n?"Primary":"Secondary"));return[4,this._nextPolicy.sendRequest(i)];case 2:a=s.sent();if(!this.shouldRetry(n,r,a)){return[2,a]}t=t||!n&&a.status===404;return[3,4];case 3:o=s.sent();zu.error("RetryPolicy: Caught error, message: ".concat(o.message,", code: ").concat(o.code));if(!this.shouldRetry(n,r,a,o)){throw o}return[3,4];case 4:return[4,this.delay(n,r,e.abortSignal)];case 5:s.sent();return[2,this.attemptSendRequest(e,t,++r)]}}))}))};t.prototype.shouldRetry=function(e,t,r,i){if(t>=this.retryOptions.maxTries){zu.info("RetryPolicy: Attempt(s) ".concat(t," >= maxTries ").concat(this.retryOptions.maxTries,", no further try."));return false}var n=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(var a=0,o=n;a<o.length;a++){var s=o[a];if(i.name.toUpperCase().includes(s)||i.message.toUpperCase().includes(s)||i.code&&i.code.toString().toUpperCase()===s){zu.info("RetryPolicy: Network error ".concat(s," found, will retry."));return true}}}if(r||i){var l=r?r.status:i?i.statusCode:0;if(!e&&l===404){zu.info("RetryPolicy: Secondary access with 404, will retry.");return true}if(l===503||l===500){zu.info("RetryPolicy: Will retry for status code ".concat(l,"."));return true}}if(r){if((r===null||r===void 0?void 0:r.status)>=400){var c=r.headers.get(pu.X_MS_CopySourceErrorCode);if(c!==undefined){switch(c){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if((i===null||i===void 0?void 0:i.code)==="PARSE_ERROR"&&(i===null||i===void 0?void 0:i.message.startsWith('Error "Error: Unclosed root tag'))){zu.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false};t.prototype.delay=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){i=0;if(e){switch(this.retryOptions.retryPolicyType){case Iu.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Iu.FIXED:i=this.retryOptions.retryDelayInMs;break}}else{i=Math.random()*1e3}zu.info("RetryPolicy: Delay for ".concat(i,"ms"));return[2,gu(i,r,Su)]}))}))};return t}(du);var Eu=function(){function e(e){this.retryOptions=e}e.prototype.create=function(e,t){return new Bu(e,t,this.retryOptions)};return e}();var _u="storageBrowserPolicy";function ku(){return{name:_u,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(e.method==="GET"||e.method==="HEAD"){e.url=fu(e.url,mu.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(pu.COOKIE);e.headers.delete(pu.CONTENT_LENGTH);return[2,t(e)]}))}))}}}var Qu="StorageCorrectContentLengthPolicy";function Pu(){return{name:Qu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,t(e)]}))}))}}}var Mu="storageRetryPolicy";var Du={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Iu.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};var Ru=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];var Tu=new fa("The operation was aborted.");function qu(e){var t,r,i,n,a,o;if(e===void 0){e={}}var s=(t=e.retryPolicyType)!==null&&t!==void 0?t:Du.retryPolicyType;var l=(r=e.maxTries)!==null&&r!==void 0?r:Du.maxTries;var c=(i=e.retryDelayInMs)!==null&&i!==void 0?i:Du.retryDelayInMs;var u=(n=e.maxRetryDelayInMs)!==null&&n!==void 0?n:Du.maxRetryDelayInMs;var d=(a=e.secondaryHost)!==null&&a!==void 0?a:Du.secondaryHost;var m=(o=e.tryTimeoutInMs)!==null&&o!==void 0?o:Du.tryTimeoutInMs;function p(e){var t,r;var i=e.isPrimaryRetry,n=e.attempt,a=e.response,o=e.error;if(n>=l){zu.info("RetryPolicy: Attempt(s) ".concat(n," >= maxTries ").concat(l,", no further try."));return false}if(o){for(var s=0,c=Ru;s<c.length;s++){var u=c[s];if(o.name.toUpperCase().includes(u)||o.message.toUpperCase().includes(u)||o.code&&o.code.toString().toUpperCase()===u){zu.info("RetryPolicy: Network error ".concat(u," found, will retry."));return true}}if((o===null||o===void 0?void 0:o.code)==="PARSE_ERROR"&&(o===null||o===void 0?void 0:o.message.startsWith('Error "Error: Unclosed root tag'))){zu.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(a||o){var d=(r=(t=a===null||a===void 0?void 0:a.status)!==null&&t!==void 0?t:o===null||o===void 0?void 0:o.statusCode)!==null&&r!==void 0?r:0;if(!i&&d===404){zu.info("RetryPolicy: Secondary access with 404, will retry.");return true}if(d===503||d===500){zu.info("RetryPolicy: Will retry for status code ".concat(d,"."));return true}}if(a){if((a===null||a===void 0?void 0:a.status)>=400){var m=a.headers.get(pu.X_MS_CopySourceErrorCode);if(m!==undefined){switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function f(e,t){var r=0;if(e){switch(s){case Iu.EXPONENTIAL:r=Math.min((Math.pow(2,t-1)-1)*c,u);break;case Iu.FIXED:r=c;break}}else{r=Math.random()*1e3}zu.info("RetryPolicy: Delay for ".concat(r,"ms"));return r}return{name:Mu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,c,u;return __generator(this,(function(h){switch(h.label){case 0:if(m){e.url=fu(e.url,mu.Parameters.TIMEOUT,String(Math.floor(m/1e3)))}r=e.url;i=d?hu(e.url,d):undefined;n=false;a=1;o=true;h.label=1;case 1:if(!o)return[3,8];c=n||!i||!["GET","HEAD","OPTIONS"].includes(e.method)||a%2===1;e.url=c?r:i;s=undefined;l=undefined;h.label=2;case 2:h.trys.push([2,4,,5]);zu.info("RetryPolicy: =====> Try=".concat(a," ").concat(c?"Primary":"Secondary"));return[4,t(e)];case 3:s=h.sent();n=n||!c&&s.status===404;return[3,5];case 4:u=h.sent();if(Ha(u)){zu.error("RetryPolicy: Caught error, message: ".concat(u.message,", code: ").concat(u.code));l=u}else{zu.error("RetryPolicy: Caught error, message: ".concat(ya(u)));throw u}return[3,5];case 5:o=p({isPrimaryRetry:c,attempt:a,response:s,error:l});if(!o)return[3,7];return[4,gu(f(c,a),e.abortSignal,Tu)];case 6:h.sent();h.label=7;case 7:a++;return[3,1];case 8:if(s){return[2,s]}throw l!==null&&l!==void 0?l:new qa("RetryPolicy failed without known error.")}}))}))}}}var Hu="storageSharedKeyCredentialPolicy";function Uu(e){return{name:Hu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,t(e)]}))}))}}}var Lu="storageRequestFailureDetailsParserPolicy";function Fu(){return{name:Lu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,t(e)];case 1:r=n.sent();return[2,r];case 2:i=n.sent();if(typeof i==="object"&&i!==null&&i.response&&i.response.parsedBody){if(i.response.parsedBody.code==="InvalidHeaderValue"&&i.response.parsedBody.HeaderName==="x-ms-version"){i.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw i;case 3:return[2]}}))}))}}}var Ou=function(){function e(e,t){this.accountName=e;this.userDelegationKey=t;throw new Error("UserDelegationKeyCredential is not supported in the browser.")}e.prototype.computeHMACSHA256=function(e){throw new Error("UserDelegationKeyCredential is not supported in the browser.")};return e}();var Gu="12.33.0";var Yu="2026-06-06";var ju=256*1024*1024;var Ku=4e3*1024*1024;var Ju=5e4;var Vu=8*1024*1024;var Xu=4*1024*1024;var Wu=5;var Zu="https://storage.azure.com/.default";var $u={Parameters:{SNAPSHOT:"snapshot",VERSIONID:"versionid"}};var ed="";var td="*";var rd="AES256";var id="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";var nd=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];var ad=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];var od="BlobUsesCustomerSpecifiedEncryption";var sd="BlobDoesNotUseCustomerSpecifiedEncryption";var ld=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function cd(e){if(!e||typeof e!=="object"){return false}var t=e;return Array.isArray(t.factories)&&typeof t.options==="object"&&typeof t.toServiceClientOptions==="function"}var ud=function(){function e(e,t){if(t===void 0){t={}}this.factories=e;this.options=t}e.prototype.toServiceClientOptions=function(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}};return e}();function dd(e,t){if(t===void 0){t={}}if(!e){e=new Nu}var r=new ud([],t);r._credential=e;return r}function md(e){var t=[gd,hd,vd,yd,Ad,bd,Nd];if(e.factories.length){var r=e.factories.filter((function(e){return!t.some((function(t){return t(e)}))}));if(r.length){var i=r.some((function(e){return xd(e)}));return{wrappedPolicies:cl(r),afterRetry:i}}}return undefined}function pd(e){var t;var r=e.options,i=r.httpClient,n=__rest(r,["httpClient"]);var a=e._coreHttpClient;if(!a){a=i?ul(i):uu();e._coreHttpClient=a}var o=e._corePipeline;if(!o){var s="azsdk-js-azure-storage-blob/".concat(Gu);var l=n.userAgentOptions&&n.userAgentOptions.userAgentPrefix?"".concat(n.userAgentOptions.userAgentPrefix," ").concat(s):"".concat(s);o=Is(__assign(__assign({},n),{loggingOptions:{additionalAllowedHeaderNames:nd,additionalAllowedQueryParameters:ad,logger:Sl.info},userAgentOptions:{userAgentPrefix:l},serializationOptions:{stringifyXML:zl,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:gl,serializerOptions:{xml:{xmlCharKey:"#"}}}}));o.removePolicy({phase:"Retry"});o.removePolicy({name:ua});o.addPolicy(Pu());o.addPolicy(qu(n.retryOptions),{phase:"Retry"});o.addPolicy(Fu());o.addPolicy(ku());var c=md(e);if(c){o.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:undefined)}var u=fd(e);if(uo(u)){o.addPolicy(so({credential:u,scopes:(t=n.audience)!==null&&t!==void 0?t:Zu,challengeCallbacks:{authorizeRequestOnChallenge:Os}}),{phase:"Sign"})}else if(u instanceof Cu){o.addPolicy(Uu(),{phase:"Sign"})}e._corePipeline=o}return __assign(__assign({},n),{allowInsecureConnection:true,httpClient:a,pipeline:o})}function fd(e){if(e._credential){return e._credential}var t=new Nu;for(var r=0,i=e.factories;r<i.length;r++){var n=i[r];if(uo(n.credential)){t=n.credential}else if(hd(n)){return n}}return t}function hd(e){if(e instanceof Cu){return true}return e.constructor.name==="StorageSharedKeyCredential"}function gd(e){if(e instanceof Nu){return true}return e.constructor.name==="AnonymousCredential"}function vd(e){return uo(e.credential)}function yd(e){if(e instanceof yu){return true}return e.constructor.name==="StorageBrowserPolicyFactory"}function Ad(e){if(e instanceof Eu){return true}return e.constructor.name==="StorageRetryPolicyFactory"}function bd(e){return e.constructor.name==="TelemetryPolicyFactory"}function xd(e){return e.constructor.name==="InjectorPolicyFactory"}function Nd(e){var t=this;var r=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];var i={sendRequest:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){return[2,{request:e,headers:e.headers.clone(),status:500}]}))}))}};var n={log:function(e,t){},shouldLog:function(e){return false}};var a=e.create(i,n);var o=a.constructor.name;return r.some((function(e){return o.startsWith(e)}))}var Cd;(function(e){e["AES256"]="AES256"})(Cd||(Cd={}));var zd;(function(e){e["Backup"]="backup"})(zd||(zd={}));var Id;(function(e){e["NeverExpire"]="NeverExpire";e["RelativeToCreation"]="RelativeToCreation";e["RelativeToNow"]="RelativeToNow";e["Absolute"]="Absolute"})(Id||(Id={}));var wd;(function(e){e["AccountAlreadyExists"]="AccountAlreadyExists";e["AccountBeingCreated"]="AccountBeingCreated";e["AccountIsDisabled"]="AccountIsDisabled";e["AuthenticationFailed"]="AuthenticationFailed";e["AuthorizationFailure"]="AuthorizationFailure";e["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";e["ConditionNotMet"]="ConditionNotMet";e["EmptyMetadataKey"]="EmptyMetadataKey";e["InsufficientAccountPermissions"]="InsufficientAccountPermissions";e["InternalError"]="InternalError";e["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";e["InvalidHeaderValue"]="InvalidHeaderValue";e["InvalidHttpVerb"]="InvalidHttpVerb";e["InvalidInput"]="InvalidInput";e["InvalidMd5"]="InvalidMd5";e["InvalidMetadata"]="InvalidMetadata";e["InvalidQueryParameterValue"]="InvalidQueryParameterValue";e["InvalidRange"]="InvalidRange";e["InvalidResourceName"]="InvalidResourceName";e["InvalidUri"]="InvalidUri";e["InvalidXmlDocument"]="InvalidXmlDocument";e["InvalidXmlNodeValue"]="InvalidXmlNodeValue";e["Md5Mismatch"]="Md5Mismatch";e["MetadataTooLarge"]="MetadataTooLarge";e["MissingContentLengthHeader"]="MissingContentLengthHeader";e["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";e["MissingRequiredHeader"]="MissingRequiredHeader";e["MissingRequiredXmlNode"]="MissingRequiredXmlNode";e["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";e["OperationTimedOut"]="OperationTimedOut";e["OutOfRangeInput"]="OutOfRangeInput";e["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";e["RequestBodyTooLarge"]="RequestBodyTooLarge";e["ResourceTypeMismatch"]="ResourceTypeMismatch";e["RequestUrlFailedToParse"]="RequestUrlFailedToParse";e["ResourceAlreadyExists"]="ResourceAlreadyExists";e["ResourceNotFound"]="ResourceNotFound";e["ServerBusy"]="ServerBusy";e["UnsupportedHeader"]="UnsupportedHeader";e["UnsupportedXmlNode"]="UnsupportedXmlNode";e["UnsupportedQueryParameter"]="UnsupportedQueryParameter";e["UnsupportedHttpVerb"]="UnsupportedHttpVerb";e["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";e["BlobAlreadyExists"]="BlobAlreadyExists";e["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";e["BlobNotFound"]="BlobNotFound";e["BlobOverwritten"]="BlobOverwritten";e["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";e["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";e["BlockCountExceedsLimit"]="BlockCountExceedsLimit";e["BlockListTooLong"]="BlockListTooLong";e["CannotChangeToLowerTier"]="CannotChangeToLowerTier";e["CannotVerifyCopySource"]="CannotVerifyCopySource";e["ContainerAlreadyExists"]="ContainerAlreadyExists";e["ContainerBeingDeleted"]="ContainerBeingDeleted";e["ContainerDisabled"]="ContainerDisabled";e["ContainerNotFound"]="ContainerNotFound";e["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";e["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";e["CopyIdMismatch"]="CopyIdMismatch";e["FeatureVersionMismatch"]="FeatureVersionMismatch";e["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";e["IncrementalCopyOfEarlierSnapshotNotAllowed"]="IncrementalCopyOfEarlierSnapshotNotAllowed";e["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";e["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";e["InvalidBlobOrBlock"]="InvalidBlobOrBlock";e["InvalidBlobTier"]="InvalidBlobTier";e["InvalidBlobType"]="InvalidBlobType";e["InvalidBlockId"]="InvalidBlockId";e["InvalidBlockList"]="InvalidBlockList";e["InvalidOperation"]="InvalidOperation";e["InvalidPageRange"]="InvalidPageRange";e["InvalidSourceBlobType"]="InvalidSourceBlobType";e["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";e["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";e["LeaseAlreadyPresent"]="LeaseAlreadyPresent";e["LeaseAlreadyBroken"]="LeaseAlreadyBroken";e["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";e["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";e["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";e["LeaseIdMissing"]="LeaseIdMissing";e["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";e["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";e["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";e["LeaseLost"]="LeaseLost";e["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";e["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";e["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";e["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";e["NoAuthenticationInformation"]="NoAuthenticationInformation";e["NoPendingCopyOperation"]="NoPendingCopyOperation";e["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";e["PendingCopyOperation"]="PendingCopyOperation";e["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";e["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";e["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";e["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";e["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";e["SnapshotCountExceeded"]="SnapshotCountExceeded";e["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";e["SnapshotsPresent"]="SnapshotsPresent";e["SourceConditionNotMet"]="SourceConditionNotMet";e["SystemInUse"]="SystemInUse";e["TargetConditionNotMet"]="TargetConditionNotMet";e["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";e["BlobBeingRehydrated"]="BlobBeingRehydrated";e["BlobArchived"]="BlobArchived";e["BlobNotArchived"]="BlobNotArchived";e["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";e["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";e["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";e["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";e["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";e["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(wd||(wd={}));var Sd={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};var Bd={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};var Ed={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};var _d={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};var kd={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};var Qd={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};var Pd={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};var Md={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};var Dd={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};var Rd={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var Td={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};var qd={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};var Hd={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}};var Ud={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};var Ld={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var Fd={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};var Od={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};var Gd={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};var Yd={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};var jd={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};var Kd={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var Jd={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};var Vd={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};var Xd={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};var Wd={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};var Zd={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var $d={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};var em={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};var tm={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};var rm={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};var im={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};var nm={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var am={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};var om={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};var sm={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};var lm={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};var cm={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};var um={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};var dm={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};var mm={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};var pm={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};var fm={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var hm={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var gm={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var vm={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ym={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Am={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var bm={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var xm={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Nm={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Cm={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var zm={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Im={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var wm={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Sm={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Bm={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Em={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var _m={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var km={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Qm={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Pm={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Mm={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Dm={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rm={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Tm={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var qm={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Hm={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Um={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Lm={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Fm={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Om={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Gm={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ym={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var jm={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};var Km={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Jm={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Vm={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Xm={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Wm={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Zm={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var $m={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ep={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var tp={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var rp={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var ip={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var np={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var ap={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var op={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var sp={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var lp={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var cp={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var up={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};var dp={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var mp={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};var pp={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var fp={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var hp={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var gp={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var vp={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var yp={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ap={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var bp={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var xp={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Np={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Cp={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var zp={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};var Ip={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var wp={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Sp={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Bp={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};var Ep={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var _p={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var kp={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Qp={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Pp={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Mp={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Dp={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rp={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Tp={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var qp={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Hp={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Up={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Lp={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Fp={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Op={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Gp={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Yp={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var jp={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Kp={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Jp={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Vp={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Xp={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Wp={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Zp={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};var $p={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ef={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};var tf={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var rf={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var nf={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var af={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var of={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var sf={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var lf={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var cf={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var uf={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var df={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var mf={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var pf={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ff={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var hf={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var gf={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var vf={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var yf={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Af={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var bf={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var xf={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Nf={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Cf={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var zf={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var If={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var wf={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Sf={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Bf={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ef={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var _f={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var kf={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};var Qf={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Pf={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Mf={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Df={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rf={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Tf={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var qf={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Hf={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Uf={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Lf={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ff={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Of={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Gf={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Yf=Object.freeze({__proto__:null,AccessPolicy:jd,AppendBlobAppendBlockExceptionHeaders:Bf,AppendBlobAppendBlockFromUrlExceptionHeaders:_f,AppendBlobAppendBlockFromUrlHeaders:Ef,AppendBlobAppendBlockHeaders:Sf,AppendBlobCreateExceptionHeaders:wf,AppendBlobCreateHeaders:If,AppendBlobSealExceptionHeaders:Qf,AppendBlobSealHeaders:kf,ArrowConfiguration:mm,ArrowField:pm,BlobAbortCopyFromURLExceptionHeaders:Vp,BlobAbortCopyFromURLHeaders:Jp,BlobAcquireLeaseExceptionHeaders:Pp,BlobAcquireLeaseHeaders:Qp,BlobBreakLeaseExceptionHeaders:Lp,BlobBreakLeaseHeaders:Up,BlobChangeLeaseExceptionHeaders:Hp,BlobChangeLeaseHeaders:qp,BlobCopyFromURLExceptionHeaders:Kp,BlobCopyFromURLHeaders:jp,BlobCreateSnapshotExceptionHeaders:Op,BlobCreateSnapshotHeaders:Fp,BlobDeleteExceptionHeaders:vp,BlobDeleteHeaders:gp,BlobDeleteImmutabilityPolicyExceptionHeaders:Sp,BlobDeleteImmutabilityPolicyHeaders:wp,BlobDownloadExceptionHeaders:pp,BlobDownloadHeaders:mp,BlobFlatListSegment:Jd,BlobGetAccountInfoExceptionHeaders:$p,BlobGetAccountInfoHeaders:Zp,BlobGetPropertiesExceptionHeaders:hp,BlobGetPropertiesHeaders:fp,BlobGetTagsExceptionHeaders:nf,BlobGetTagsHeaders:rf,BlobHierarchyListSegment:$d,BlobItemInternal:Vd,BlobName:Xd,BlobPrefix:em,BlobPropertiesInternal:Wd,BlobQueryExceptionHeaders:tf,BlobQueryHeaders:ef,BlobReleaseLeaseExceptionHeaders:Dp,BlobReleaseLeaseHeaders:Mp,BlobRenewLeaseExceptionHeaders:Tp,BlobRenewLeaseHeaders:Rp,BlobServiceProperties:Sd,BlobServiceStatistics:Md,BlobSetExpiryExceptionHeaders:xp,BlobSetExpiryHeaders:bp,BlobSetHttpHeadersExceptionHeaders:Cp,BlobSetHttpHeadersHeaders:Np,BlobSetImmutabilityPolicyExceptionHeaders:Ip,BlobSetImmutabilityPolicyHeaders:zp,BlobSetLegalHoldExceptionHeaders:Ep,BlobSetLegalHoldHeaders:Bp,BlobSetMetadataExceptionHeaders:kp,BlobSetMetadataHeaders:_p,BlobSetTagsExceptionHeaders:of,BlobSetTagsHeaders:af,BlobSetTierExceptionHeaders:Wp,BlobSetTierHeaders:Xp,BlobStartCopyFromURLExceptionHeaders:Yp,BlobStartCopyFromURLHeaders:Gp,BlobTag:Gd,BlobTags:Od,BlobUndeleteExceptionHeaders:Ap,BlobUndeleteHeaders:yp,Block:im,BlockBlobCommitBlockListExceptionHeaders:Ff,BlockBlobCommitBlockListHeaders:Lf,BlockBlobGetBlockListExceptionHeaders:Gf,BlockBlobGetBlockListHeaders:Of,BlockBlobPutBlobFromUrlExceptionHeaders:Rf,BlockBlobPutBlobFromUrlHeaders:Df,BlockBlobStageBlockExceptionHeaders:qf,BlockBlobStageBlockFromURLExceptionHeaders:Uf,BlockBlobStageBlockFromURLHeaders:Hf,BlockBlobStageBlockHeaders:Tf,BlockBlobUploadExceptionHeaders:Mf,BlockBlobUploadHeaders:Pf,BlockList:rm,BlockLookupList:tm,ClearRange:om,ContainerAcquireLeaseExceptionHeaders:Wm,ContainerAcquireLeaseHeaders:Xm,ContainerBreakLeaseExceptionHeaders:ip,ContainerBreakLeaseHeaders:rp,ContainerChangeLeaseExceptionHeaders:ap,ContainerChangeLeaseHeaders:np,ContainerCreateExceptionHeaders:km,ContainerCreateHeaders:_m,ContainerDeleteExceptionHeaders:Dm,ContainerDeleteHeaders:Mm,ContainerFilterBlobsExceptionHeaders:Vm,ContainerFilterBlobsHeaders:Jm,ContainerGetAccessPolicyExceptionHeaders:Hm,ContainerGetAccessPolicyHeaders:qm,ContainerGetAccountInfoExceptionHeaders:dp,ContainerGetAccountInfoHeaders:up,ContainerGetPropertiesExceptionHeaders:Pm,ContainerGetPropertiesHeaders:Qm,ContainerItem:Td,ContainerListBlobFlatSegmentExceptionHeaders:sp,ContainerListBlobFlatSegmentHeaders:op,ContainerListBlobHierarchySegmentExceptionHeaders:cp,ContainerListBlobHierarchySegmentHeaders:lp,ContainerProperties:qd,ContainerReleaseLeaseExceptionHeaders:$m,ContainerReleaseLeaseHeaders:Zm,ContainerRenameExceptionHeaders:Ym,ContainerRenameHeaders:Gm,ContainerRenewLeaseExceptionHeaders:tp,ContainerRenewLeaseHeaders:ep,ContainerRestoreExceptionHeaders:Om,ContainerRestoreHeaders:Fm,ContainerSetAccessPolicyExceptionHeaders:Lm,ContainerSetAccessPolicyHeaders:Um,ContainerSetMetadataExceptionHeaders:Tm,ContainerSetMetadataHeaders:Rm,ContainerSubmitBatchExceptionHeaders:Km,ContainerSubmitBatchHeaders:jm,CorsRule:kd,DelimitedTextConfiguration:um,FilterBlobItem:Fd,FilterBlobSegment:Ld,GeoReplication:Dd,JsonTextConfiguration:dm,KeyInfo:Hd,ListBlobsFlatSegmentResponse:Kd,ListBlobsHierarchySegmentResponse:Zd,ListContainersSegmentResponse:Rd,Logging:Bd,Metrics:_d,PageBlobClearPagesExceptionHeaders:mf,PageBlobClearPagesHeaders:df,PageBlobCopyIncrementalExceptionHeaders:zf,PageBlobCopyIncrementalHeaders:Cf,PageBlobCreateExceptionHeaders:lf,PageBlobCreateHeaders:sf,PageBlobGetPageRangesDiffExceptionHeaders:yf,PageBlobGetPageRangesDiffHeaders:vf,PageBlobGetPageRangesExceptionHeaders:gf,PageBlobGetPageRangesHeaders:hf,PageBlobResizeExceptionHeaders:bf,PageBlobResizeHeaders:Af,PageBlobUpdateSequenceNumberExceptionHeaders:Nf,PageBlobUpdateSequenceNumberHeaders:xf,PageBlobUploadPagesExceptionHeaders:uf,PageBlobUploadPagesFromURLExceptionHeaders:ff,PageBlobUploadPagesFromURLHeaders:pf,PageBlobUploadPagesHeaders:cf,PageList:nm,PageRange:am,QueryFormat:cm,QueryRequest:sm,QuerySerialization:lm,RetentionPolicy:Ed,ServiceFilterBlobsExceptionHeaders:Em,ServiceFilterBlobsHeaders:Bm,ServiceGetAccountInfoExceptionHeaders:Im,ServiceGetAccountInfoHeaders:zm,ServiceGetPropertiesExceptionHeaders:vm,ServiceGetPropertiesHeaders:gm,ServiceGetStatisticsExceptionHeaders:Am,ServiceGetStatisticsHeaders:ym,ServiceGetUserDelegationKeyExceptionHeaders:Cm,ServiceGetUserDelegationKeyHeaders:Nm,ServiceListContainersSegmentExceptionHeaders:xm,ServiceListContainersSegmentHeaders:bm,ServiceSetPropertiesExceptionHeaders:hm,ServiceSetPropertiesHeaders:fm,ServiceSubmitBatchExceptionHeaders:Sm,ServiceSubmitBatchHeaders:wm,SignedIdentifier:Yd,StaticWebsite:Qd,StorageError:Pd,UserDelegationKey:Ud});var jf={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};var Kf={parameterPath:"blobServiceProperties",mapper:Sd};var Jf={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};var Vf={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};var Xf={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};var Wf={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Zf={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};var $f={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};var eh={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};var th={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};var rh={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};var ih={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};var nh={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};var ah={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};var oh={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};var sh={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};var lh={parameterPath:"keyInfo",mapper:Hd};var ch={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};var uh={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};var dh={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};var mh={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};var ph={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};var fh={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};var hh={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};var gh={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};var vh={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};var yh={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};var Ah={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};var bh={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};var xh={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};var Nh={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};var Ch={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};var zh={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};var Ih={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};var wh={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Sh={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};var Bh={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Eh={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};var _h={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};var kh={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Qh={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};var Ph={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};var Mh={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Dh={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Rh={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};var Th={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};var qh={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Hh={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};var Uh={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Lh={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Fh={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};var Oh={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Gh={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};var Yh={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};var jh={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};var Kh={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};var Jh={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};var Vh={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};var Xh={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};var Wh={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};var Zh={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};var $h={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}};var eg={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};var tg={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};var rg={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};var ig={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};var ng={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};var ag={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};var og={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};var sg={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};var lg={parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}};var cg={parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};var ug={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};var dg={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};var mg={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};var pg={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};var fg={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};var hg={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};var gg={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};var vg={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};var yg={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};var Ag={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};var bg={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};var xg={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};var Ng={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Cg={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};var zg={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};var Ig={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};var wg={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}};var Sg={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};var Bg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};var Eg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};var _g={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};var kg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};var Qg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};var Pg={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};var Mg={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};var Dg={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};var Rg={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};var Tg={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};var qg={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};var Hg={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};var Ug={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};var Lg={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};var Fg={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Og={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};var Gg={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};var Yg={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};var jg={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}};var Kg={parameterPath:["options","queryRequest"],mapper:sm};var Jg={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Vg={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Xg={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};var Wg={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};var Zg={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};var $g={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};var ev={parameterPath:["options","tags"],mapper:Od};var tv={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};var rv={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};var iv={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};var nv={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};var av={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};var ov={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};var sv={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};var lv={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};var cv={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};var uv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};var dv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};var mv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};var pv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};var fv={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}};var hv={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};var gv={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};var vv={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};var yv={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};var Av={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};var bv={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}};var xv={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}};var Nv={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}};var Cv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};var zv={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};var Iv={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};var wv={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};var Sv={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Bv={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};var Ev={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};var _v={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};var kv={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};var Qv={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};var Pv={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Mv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};var Dv={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};var Rv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Tv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};var qv={parameterPath:"blocks",mapper:tm};var Hv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Uv={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Lv=function(){function e(e){this.client=e}e.prototype.setProperties=function(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},Ov)};e.prototype.getProperties=function(e){return this.client.sendOperationRequest({options:e},Gv)};e.prototype.getStatistics=function(e){return this.client.sendOperationRequest({options:e},Yv)};e.prototype.listContainersSegment=function(e){return this.client.sendOperationRequest({options:e},jv)};e.prototype.getUserDelegationKey=function(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},Kv)};e.prototype.getAccountInfo=function(e){return this.client.sendOperationRequest({options:e},Jv)};e.prototype.submitBatch=function(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Vv)};e.prototype.filterBlobs=function(e){return this.client.sendOperationRequest({options:e},Xv)};return e}();var Fv=So(Yf,true);var Ov={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:fm},default:{bodyMapper:Pd,headersMapper:hm}},requestBody:Kf,queryParameters:[Xf,Wf,Zf],urlParameters:[Vf],headerParameters:[jf,Jf,$f,eh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fv};var Gv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Sd,headersMapper:gm},default:{bodyMapper:Pd,headersMapper:vm}},queryParameters:[Xf,Wf,Zf],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Fv};var Yv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Md,headersMapper:ym},default:{bodyMapper:Pd,headersMapper:Am}},queryParameters:[Xf,Zf,rh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Fv};var jv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Rd,headersMapper:bm},default:{bodyMapper:Pd,headersMapper:xm}},queryParameters:[Zf,ih,nh,ah,oh,sh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Fv};var Kv={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Ud,headersMapper:Nm},default:{bodyMapper:Pd,headersMapper:Cm}},requestBody:lh,queryParameters:[Xf,Zf,ch],urlParameters:[Vf],headerParameters:[jf,Jf,$f,eh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fv};var Jv={path:"/",httpMethod:"GET",responses:{200:{headersMapper:zm},default:{bodyMapper:Pd,headersMapper:Im}},queryParameters:[Wf,Zf,uh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Fv};var Vv={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:wm},default:{bodyMapper:Pd,headersMapper:Sm}},requestBody:dh,queryParameters:[Zf,mh],urlParameters:[Vf],headerParameters:[Jf,$f,eh,ph,fh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fv};var Xv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ld,headersMapper:Bm},default:{bodyMapper:Pd,headersMapper:Em}},queryParameters:[Zf,ah,oh,hh,gh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Fv};var Wv=function(){function e(e){this.client=e}e.prototype.create=function(e){return this.client.sendOperationRequest({options:e},$v)};e.prototype.getProperties=function(e){return this.client.sendOperationRequest({options:e},ey)};e.prototype.delete=function(e){return this.client.sendOperationRequest({options:e},ty)};e.prototype.setMetadata=function(e){return this.client.sendOperationRequest({options:e},ry)};e.prototype.getAccessPolicy=function(e){return this.client.sendOperationRequest({options:e},iy)};e.prototype.setAccessPolicy=function(e){return this.client.sendOperationRequest({options:e},ny)};e.prototype.restore=function(e){return this.client.sendOperationRequest({options:e},ay)};e.prototype.rename=function(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},oy)};e.prototype.submitBatch=function(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},sy)};e.prototype.filterBlobs=function(e){return this.client.sendOperationRequest({options:e},ly)};e.prototype.acquireLease=function(e){return this.client.sendOperationRequest({options:e},cy)};e.prototype.releaseLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},uy)};e.prototype.renewLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dy)};e.prototype.breakLease=function(e){return this.client.sendOperationRequest({options:e},my)};e.prototype.changeLease=function(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},py)};e.prototype.listBlobFlatSegment=function(e){return this.client.sendOperationRequest({options:e},fy)};e.prototype.listBlobHierarchySegment=function(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},hy)};e.prototype.getAccountInfo=function(e){return this.client.sendOperationRequest({options:e},gy)};return e}();var Zv=So(Yf,true);var $v={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:_m},default:{bodyMapper:Pd,headersMapper:km}},queryParameters:[Zf,vh],urlParameters:[Vf],headerParameters:[$f,eh,th,yh,Ah,bh,xh],isXML:true,serializer:Zv};var ey={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Qm},default:{bodyMapper:Pd,headersMapper:Pm}},queryParameters:[Zf,vh],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh],isXML:true,serializer:Zv};var ty={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Mm},default:{bodyMapper:Pd,headersMapper:Dm}},queryParameters:[Zf,vh],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh],isXML:true,serializer:Zv};var ry={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Rm},default:{bodyMapper:Pd,headersMapper:Tm}},queryParameters:[Zf,vh,Ih],urlParameters:[Vf],headerParameters:[$f,eh,th,yh,Nh,Ch],isXML:true,serializer:Zv};var iy={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:qm},default:{bodyMapper:Pd,headersMapper:Hm}},queryParameters:[Zf,vh,wh],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh],isXML:true,serializer:Zv};var ny={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Um},default:{bodyMapper:Pd,headersMapper:Lm}},requestBody:Sh,queryParameters:[Zf,vh,wh],urlParameters:[Vf],headerParameters:[jf,Jf,$f,eh,Ah,Nh,Ch,zh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zv};var ay={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Fm},default:{bodyMapper:Pd,headersMapper:Om}},queryParameters:[Zf,vh,Bh],urlParameters:[Vf],headerParameters:[$f,eh,th,Eh,_h],isXML:true,serializer:Zv};var oy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Gm},default:{bodyMapper:Pd,headersMapper:Ym}},queryParameters:[Zf,vh,kh],urlParameters:[Vf],headerParameters:[$f,eh,th,Qh,Ph],isXML:true,serializer:Zv};var sy={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:jm},default:{bodyMapper:Pd,headersMapper:Km}},requestBody:dh,queryParameters:[Zf,mh,vh],urlParameters:[Vf],headerParameters:[Jf,$f,eh,ph,fh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zv};var ly={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Ld,headersMapper:Jm},default:{bodyMapper:Pd,headersMapper:Vm}},queryParameters:[Zf,ah,oh,hh,gh,vh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Zv};var cy={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Xm},default:{bodyMapper:Pd,headersMapper:Wm}},queryParameters:[Zf,vh,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Dh,Rh,Th],isXML:true,serializer:Zv};var uy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Zm},default:{bodyMapper:Pd,headersMapper:$m}},queryParameters:[Zf,vh,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,qh,Hh],isXML:true,serializer:Zv};var dy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ep},default:{bodyMapper:Pd,headersMapper:tp}},queryParameters:[Zf,vh,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Hh,Uh],isXML:true,serializer:Zv};var my={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:rp},default:{bodyMapper:Pd,headersMapper:ip}},queryParameters:[Zf,vh,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Lh,Fh],isXML:true,serializer:Zv};var py={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:np},default:{bodyMapper:Pd,headersMapper:ap}},queryParameters:[Zf,vh,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Hh,Oh,Gh],isXML:true,serializer:Zv};var fy={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Kd,headersMapper:op},default:{bodyMapper:Pd,headersMapper:sp}},queryParameters:[Zf,ih,nh,ah,oh,vh,Yh,jh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Zv};var hy={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Zd,headersMapper:lp},default:{bodyMapper:Pd,headersMapper:cp}},queryParameters:[Zf,ih,nh,ah,oh,vh,Yh,jh,Kh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Zv};var gy={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:up},default:{bodyMapper:Pd,headersMapper:dp}},queryParameters:[Wf,Zf,uh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:Zv};var vy=function(){function e(e){this.client=e}e.prototype.download=function(e){return this.client.sendOperationRequest({options:e},Ay)};e.prototype.getProperties=function(e){return this.client.sendOperationRequest({options:e},by)};e.prototype.delete=function(e){return this.client.sendOperationRequest({options:e},xy)};e.prototype.undelete=function(e){return this.client.sendOperationRequest({options:e},Ny)};e.prototype.setExpiry=function(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},Cy)};e.prototype.setHttpHeaders=function(e){return this.client.sendOperationRequest({options:e},zy)};e.prototype.setImmutabilityPolicy=function(e){return this.client.sendOperationRequest({options:e},Iy)};e.prototype.deleteImmutabilityPolicy=function(e){return this.client.sendOperationRequest({options:e},wy)};e.prototype.setLegalHold=function(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Sy)};e.prototype.setMetadata=function(e){return this.client.sendOperationRequest({options:e},By)};e.prototype.acquireLease=function(e){return this.client.sendOperationRequest({options:e},Ey)};e.prototype.releaseLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},_y)};e.prototype.renewLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},ky)};e.prototype.changeLease=function(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Qy)};e.prototype.breakLease=function(e){return this.client.sendOperationRequest({options:e},Py)};e.prototype.createSnapshot=function(e){return this.client.sendOperationRequest({options:e},My)};e.prototype.startCopyFromURL=function(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Dy)};e.prototype.copyFromURL=function(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Ry)};e.prototype.abortCopyFromURL=function(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Ty)};e.prototype.setTier=function(e,t){return this.client.sendOperationRequest({tier:e,options:t},qy)};e.prototype.getAccountInfo=function(e){return this.client.sendOperationRequest({options:e},Hy)};e.prototype.query=function(e){return this.client.sendOperationRequest({options:e},Uy)};e.prototype.getTags=function(e){return this.client.sendOperationRequest({options:e},Ly)};e.prototype.setTags=function(e){return this.client.sendOperationRequest({options:e},Fy)};return e}();var yy=So(Yf,true);var Ay={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:mp},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:mp},default:{bodyMapper:Pd,headersMapper:pp}},queryParameters:[Zf,Jh,Vh],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,Xh,Wh,Zh,$h,eg,tg,rg,ig,ng,ag],isXML:true,serializer:yy};var by={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:fp},default:{bodyMapper:Pd,headersMapper:hp}},queryParameters:[Zf,Jh,Vh],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,eg,tg,rg,ig,ng,ag],isXML:true,serializer:yy};var xy={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:gp},default:{bodyMapper:Pd,headersMapper:vp}},queryParameters:[Zf,Jh,Vh,sg],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,ig,ng,ag,og,lg,cg],isXML:true,serializer:yy};var Ny={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yp},default:{bodyMapper:Pd,headersMapper:Ap}},queryParameters:[Zf,Bh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:yy};var Cy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bp},default:{bodyMapper:Pd,headersMapper:xp}},queryParameters:[Zf,ug],urlParameters:[Vf],headerParameters:[$f,eh,th,dg,mg],isXML:true,serializer:yy};var zy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Np},default:{bodyMapper:Pd,headersMapper:Cp}},queryParameters:[Wf,Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,ig,ng,ag,pg,fg,hg,gg,vg,yg],isXML:true,serializer:yy};var Iy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zp},default:{bodyMapper:Pd,headersMapper:Ip}},queryParameters:[Zf,Jh,Vh,Ag],urlParameters:[Vf],headerParameters:[$f,eh,th,zh,bg,xg],isXML:true,serializer:yy};var wy={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:wp},default:{bodyMapper:Pd,headersMapper:Sp}},queryParameters:[Zf,Jh,Vh,Ag],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:yy};var Sy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bp},default:{bodyMapper:Pd,headersMapper:Ep}},queryParameters:[Zf,Jh,Vh,Ng],urlParameters:[Vf],headerParameters:[$f,eh,th,Cg],isXML:true,serializer:yy};var By={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_p},default:{bodyMapper:Pd,headersMapper:kp}},queryParameters:[Zf,Ih],urlParameters:[Vf],headerParameters:[$f,eh,th,yh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,zg],isXML:true,serializer:yy};var Ey={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Qp},default:{bodyMapper:Pd,headersMapper:Pp}},queryParameters:[Zf,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Dh,Rh,Th,ig,ng,ag],isXML:true,serializer:yy};var _y={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Mp},default:{bodyMapper:Pd,headersMapper:Dp}},queryParameters:[Zf,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,qh,Hh,ig,ng,ag],isXML:true,serializer:yy};var ky={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Rp},default:{bodyMapper:Pd,headersMapper:Tp}},queryParameters:[Zf,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Hh,Uh,ig,ng,ag],isXML:true,serializer:yy};var Qy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qp},default:{bodyMapper:Pd,headersMapper:Hp}},queryParameters:[Zf,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Hh,Oh,Gh,ig,ng,ag],isXML:true,serializer:yy};var Py={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Up},default:{bodyMapper:Pd,headersMapper:Lp}},queryParameters:[Zf,Mh],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,Lh,Fh,ig,ng,ag],isXML:true,serializer:yy};var My={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fp},default:{bodyMapper:Pd,headersMapper:Op}},queryParameters:[Zf,Ig],urlParameters:[Vf],headerParameters:[$f,eh,th,yh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,zg],isXML:true,serializer:yy};var Dy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Gp},default:{bodyMapper:Pd,headersMapper:Yp}},queryParameters:[Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,yh,Nh,Ch,zh,ig,ng,ag,bg,xg,wg,Sg,Bg,Eg,_g,kg,Qg,Pg,Mg,Dg,Rg],isXML:true,serializer:yy};var Ry={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:jp},default:{bodyMapper:Pd,headersMapper:Kp}},queryParameters:[Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,yh,Nh,Ch,zh,ig,ng,ag,bg,xg,zg,wg,Bg,Eg,_g,kg,Pg,Mg,Rg,Tg,qg,Hg,Ug,Lg],isXML:true,serializer:yy};var Ty={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Jp},default:{bodyMapper:Pd,headersMapper:Vp}},queryParameters:[Zf,Fg,Gg],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Og],isXML:true,serializer:yy};var qy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Xp},202:{headersMapper:Xp},default:{bodyMapper:Pd,headersMapper:Wp}},queryParameters:[Zf,Jh,Vh,Yg],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,ag,Sg,jg],isXML:true,serializer:yy};var Hy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Zp},default:{bodyMapper:Pd,headersMapper:$p}},queryParameters:[Wf,Zf,uh],urlParameters:[Vf],headerParameters:[$f,eh,th],isXML:true,serializer:yy};var Uy={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ef},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ef},default:{bodyMapper:Pd,headersMapper:tf}},requestBody:Kg,queryParameters:[Zf,Jh,Jg],urlParameters:[Vf],headerParameters:[jf,Jf,$f,eh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:yy};var Ly={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Od,headersMapper:rf},default:{bodyMapper:Pd,headersMapper:nf}},queryParameters:[Zf,Jh,Vh,Vg],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,ag,Xg,Wg,Zg,$g],isXML:true,serializer:yy};var Fy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:af},default:{bodyMapper:Pd,headersMapper:of}},requestBody:ev,queryParameters:[Zf,Vh,Vg],urlParameters:[Vf],headerParameters:[jf,Jf,$f,eh,Nh,ag,Xg,Wg,Zg,$g,tv,rv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:yy};var Oy=function(){function e(e){this.client=e}e.prototype.create=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},Yy)};e.prototype.uploadPages=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},jy)};e.prototype.clearPages=function(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Ky)};e.prototype.uploadPagesFromURL=function(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},Jy)};e.prototype.getPageRanges=function(e){return this.client.sendOperationRequest({options:e},Vy)};e.prototype.getPageRangesDiff=function(e){return this.client.sendOperationRequest({options:e},Xy)};e.prototype.resize=function(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Wy)};e.prototype.updateSequenceNumber=function(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Zy)};e.prototype.copyIncremental=function(e,t){return this.client.sendOperationRequest({copySource:e,options:t},$y)};return e}();var Gy=So(Yf,true);var Yy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:sf},default:{bodyMapper:Pd,headersMapper:lf}},queryParameters:[Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,yh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,pg,fg,hg,gg,vg,yg,bg,xg,zg,wg,Mg,Rg,iv,nv,av],isXML:true,serializer:Gy};var jy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cf},default:{bodyMapper:Pd,headersMapper:uf}},requestBody:sv,queryParameters:[Zf,cv],urlParameters:[Vf],headerParameters:[$f,eh,ph,Nh,Ch,zh,Xh,$h,eg,tg,rg,ig,ng,ag,zg,tv,rv,ov,lv,uv,dv,mv,pv,fv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Gy};var Ky={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:df},default:{bodyMapper:Pd,headersMapper:mf}},queryParameters:[Zf,cv],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,Nh,Ch,zh,Xh,eg,tg,rg,ig,ng,ag,zg,dv,mv,pv,hv],isXML:true,serializer:Gy};var Jy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:pf},default:{bodyMapper:Pd,headersMapper:ff}},queryParameters:[Zf,cv],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,zg,Bg,Eg,_g,kg,qg,Hg,Lg,uv,dv,mv,pv,gv,vv,yv,Av,bv,xv,Nv],isXML:true,serializer:Gy};var Vy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:nm,headersMapper:hf},default:{bodyMapper:Pd,headersMapper:gf}},queryParameters:[Zf,ah,oh,Jh,Cv],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,Xh,ig,ng,ag],isXML:true,serializer:Gy};var Xy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:nm,headersMapper:vf},default:{bodyMapper:Pd,headersMapper:yf}},queryParameters:[Zf,ah,oh,Jh,Cv,zv],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,Xh,ig,ng,ag,Iv],isXML:true,serializer:Gy};var Wy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Af},default:{bodyMapper:Pd,headersMapper:bf}},queryParameters:[Wf,Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,zg,nv],isXML:true,serializer:Gy};var Zy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:xf},default:{bodyMapper:Pd,headersMapper:Nf}},queryParameters:[Wf,Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,ig,ng,ag,av,wv],isXML:true,serializer:Gy};var $y={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Cf},default:{bodyMapper:Pd,headersMapper:zf}},queryParameters:[Zf,Sv],urlParameters:[Vf],headerParameters:[$f,eh,th,Ch,zh,ig,ng,ag,Pg],isXML:true,serializer:Gy};var eA=function(){function e(e){this.client=e}e.prototype.create=function(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},rA)};e.prototype.appendBlock=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},iA)};e.prototype.appendBlockFromUrl=function(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},nA)};e.prototype.seal=function(e){return this.client.sendOperationRequest({options:e},aA)};return e}();var tA=So(Yf,true);var rA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:If},default:{bodyMapper:Pd,headersMapper:wf}},queryParameters:[Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,yh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,pg,fg,hg,gg,vg,yg,bg,xg,zg,Mg,Rg,Bv],isXML:true,serializer:tA};var iA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Sf},default:{bodyMapper:Pd,headersMapper:Bf}},requestBody:sv,queryParameters:[Zf,Ev],urlParameters:[Vf],headerParameters:[$f,eh,ph,Nh,Ch,zh,$h,eg,tg,rg,ig,ng,ag,zg,tv,rv,ov,lv,fv,_v,kv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:tA};var nA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ef},default:{bodyMapper:Pd,headersMapper:_f}},queryParameters:[Zf,Ev],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,zg,Bg,Eg,_g,kg,qg,Hg,Lg,tv,gv,yv,bv,xv,Nv,_v,kv,Qv],isXML:true,serializer:tA};var aA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kf},default:{bodyMapper:Pd,headersMapper:Qf}},queryParameters:[Zf,Pv],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,Ch,zh,ig,ng,kv],isXML:true,serializer:tA};var oA=function(){function e(e){this.client=e}e.prototype.upload=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},lA)};e.prototype.putBlobFromUrl=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},cA)};e.prototype.stageBlock=function(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},uA)};e.prototype.stageBlockFromURL=function(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},dA)};e.prototype.commitBlockList=function(e,t){return this.client.sendOperationRequest({blocks:e,options:t},mA)};e.prototype.getBlockList=function(e,t){return this.client.sendOperationRequest({listType:e,options:t},pA)};return e}();var sA=So(Yf,true);var lA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Pf},default:{bodyMapper:Pd,headersMapper:Mf}},requestBody:sv,queryParameters:[Zf],urlParameters:[Vf],headerParameters:[$f,eh,ph,yh,Nh,Ch,zh,$h,eg,tg,rg,ig,ng,ag,pg,fg,hg,gg,vg,yg,bg,xg,zg,wg,Mg,Rg,tv,rv,ov,lv,fv,Mv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:sA};var cA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Df},default:{bodyMapper:Pd,headersMapper:Rf}},queryParameters:[Zf],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,yh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,pg,fg,hg,gg,vg,yg,zg,wg,Bg,Eg,_g,kg,Qg,Pg,Mg,qg,Hg,Ug,Lg,tv,bv,xv,Nv,Mv,Dv],isXML:true,serializer:sA};var uA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Tf},default:{bodyMapper:Pd,headersMapper:qf}},requestBody:sv,queryParameters:[Zf,Rv,Tv],urlParameters:[Vf],headerParameters:[$f,eh,ph,Nh,$h,eg,tg,rg,zg,tv,rv,ov,lv,fv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:sA};var dA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Hf},default:{bodyMapper:Pd,headersMapper:Uf}},queryParameters:[Zf,Rv,Tv],urlParameters:[Vf],headerParameters:[$f,eh,th,ph,Nh,eg,tg,rg,zg,Bg,Eg,_g,kg,qg,Hg,Lg,gv,yv,bv,xv,Nv,Qv],isXML:true,serializer:sA};var mA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Lf},default:{bodyMapper:Pd,headersMapper:Ff}},requestBody:qv,queryParameters:[Zf,Hv],urlParameters:[Vf],headerParameters:[jf,Jf,$f,eh,yh,Nh,Ch,zh,eg,tg,rg,ig,ng,ag,pg,fg,hg,gg,vg,yg,bg,xg,zg,wg,Mg,Rg,tv,rv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:sA};var pA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:rm,headersMapper:Of},default:{bodyMapper:Pd,headersMapper:Gf}},queryParameters:[Zf,Jh,Hv,Uv],urlParameters:[Vf],headerParameters:[$f,eh,th,Nh,ag],isXML:true,serializer:sA};var fA=function(e){__extends(t,e);function t(t,r){var i=this;var n,a;if(t===undefined){throw new Error("'url' cannot be null")}if(!r){r={}}var o={requestContentType:"application/json; charset=utf-8"};var s="azsdk-js-azure-storage-blob/12.33.0";var l=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?"".concat(r.userAgentOptions.userAgentPrefix," ").concat(s):"".concat(s);var c=__assign(__assign(__assign({},o),r),{userAgentOptions:{userAgentPrefix:l},endpoint:(a=(n=r.endpoint)!==null&&n!==void 0?n:r.baseUri)!==null&&a!==void 0?a:"{url}"});i=e.call(this,c)||this;i.url=t;i.version=r.version||"2026-06-06";i.service=new Lv(i);i.container=new Wv(i);i.blob=new vy(i);i.pageBlob=new Oy(i);i.appendBlob=new eA(i);i.blockBlob=new oA(i);return i}return t}(al);var hA=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.sendOperationRequest=function(t,r){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){i=__assign({},r);if(i.path==="/{containerName}"||i.path==="/{containerName}/{blob}"){i.path=""}return[2,e.prototype.sendOperationRequest.call(this,t,i)]}))}))};return t}(fA);var gA=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function vA(e){var t=new URL(e);var r=t.pathname;r=r||"/";r=xA(r);t.pathname=r;return t.toString()}function yA(e){var t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){var r=e.split(";");for(var i=0,n=r;i<n.length;i++){var a=n[i];if(a.trim().startsWith("DevelopmentStorageProxyUri=")){t=a.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function AA(e,t){var r=e.split(";");for(var i=0,n=r;i<n.length;i++){var a=n[i];if(a.trim().startsWith(t)){return a.trim().match(t+"=(.*)")[1]}}return""}function bA(e){var t="";if(e.startsWith("UseDevelopmentStorage=true")){t=yA(e);e=id}var r=AA(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){var i="";var n="";var a=jl.from("accountKey","base64");var o="";n=AA(e,"AccountName");a=jl.from(AA(e,"AccountKey"),"base64");if(!r){i=AA(e,"DefaultEndpointsProtocol");var s=i.toLowerCase();if(s!=="https"&&s!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}o=AA(e,"EndpointSuffix");if(!o){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r="".concat(i,"://").concat(n,".blob.").concat(o)}if(!n){throw new Error("Invalid AccountName in the provided Connection String")}else if(a.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:n,accountKey:a,proxyUri:t}}else{var l=AA(e,"SharedAccessSignature");var n=AA(e,"AccountName");if(!n){n=QA(r)}if(!r){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!l){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(l.startsWith("?")){l=l.substring(1)}return{kind:"SASConnString",url:r,accountName:n,accountSas:l}}}function xA(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function NA(e,t){var r=new URL(e);var i=r.pathname;i=i?i.endsWith("/")?"".concat(i).concat(t):"".concat(i,"/").concat(t):t;r.pathname=i;return r.toString()}function CA(e,t,r){var i=new URL(e);var n=encodeURIComponent(t);var a=r?encodeURIComponent(r):undefined;var o=i.search===""?"?":i.search;var s=[];for(var l=0,c=o.slice(1).split("&");l<c.length;l++){var u=c[l];if(u){var d=u.split("=",2)[0];if(d!==n){s.push(u)}}}if(a){s.push("".concat(n,"=").concat(a))}i.search=s.length?"?".concat(s.join("&")):"";return i.toString()}function zA(e,t){var r;var i=new URL(e);return(r=i.searchParams.get(t))!==null&&r!==void 0?r:undefined}function IA(e){try{var t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function wA(e,t){var r=new URL(e);var i=r.search;if(i){i+="&"+t}else{i=t}r.search=i;return r.toString()}function SA(e,t){if(t===void 0){t=true}var r=e.toISOString();return t?r.substring(0,r.length-1)+"0000"+"Z":r.substring(0,r.length-5)+"Z"}function BA(e){return!xa?btoa(e):jl.from(e).toString("base64")}function EA(e,t){var r=48;var i=6;var n=r-i;if(e.length>n){e=e.slice(0,n)}var a=e+_A(t.toString(),r-e.length,"0");return BA(a)}function _A(e,t,r){if(r===void 0){r=" "}if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function kA(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function QA(e){var t=new URL(e);var r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0];for(var i=0;i<gA.length;++i){var n=gA[i];if(r.endsWith(n)){r=r.substring(0,r.length-n.length);break}}}else if(PA(t)){r=t.pathname.split("/")[1]}else{r=""}return r}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function PA(e){var t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&ld.includes(e.port)}function MA(e){if(e===undefined){return undefined}var t=[];for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];t.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(i)))}}return t.join("&")}function DA(e){if(e===undefined){return undefined}var t={blobTagSet:[]};for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];t.blobTagSet.push({key:r,value:i})}}return t}function RA(e){if(e===undefined){return undefined}var t={};for(var r=0,i=e.blobTagSet;r<i.length;r++){var n=i[r];t[n.key]=n.value}return t}function TA(e){if(e===undefined){return undefined}switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function qA(e){if(!e){return undefined}if("policy-id"in e){return undefined}var t=[];var r=function(r){var i=r.split("_");var n="or-";if(i[0].startsWith(n)){i[0]=i[0].substring(n.length)}var a={ruleId:i[1],replicationStatus:e[r]};var o=t.findIndex((function(e){return e.policyId===i[0]}));if(o>-1){t[o].rules.push(a)}else{t.push({policyId:i[0],rules:[a]})}};for(var i in e){r(i)}return t}function HA(e){return e?e.scheme+" "+e.value:undefined}function UA(e){var t,r,i,n;return __generator(this,(function(a){switch(a.label){case 0:t=[];r=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)r=e.clearRange;i=0;n=0;a.label=1;case 1:if(!(i<t.length&&n<r.length))return[3,6];if(!(t[i].start<r[n].start))return[3,3];return[4,{start:t[i].start,end:t[i].end,isClear:false}];case 2:a.sent();++i;return[3,5];case 3:return[4,{start:r[n].start,end:r[n].end,isClear:true}];case 4:a.sent();++n;a.label=5;case 5:return[3,1];case 6:if(!(i<t.length))return[3,9];return[4,{start:t[i].start,end:t[i].end,isClear:false}];case 7:a.sent();a.label=8;case 8:++i;return[3,6];case 9:if(!(n<r.length))return[3,12];return[4,{start:r[n].start,end:r[n].end,isClear:true}];case 10:a.sent();a.label=11;case 11:++n;return[3,9];case 12:return[2]}}))}function LA(e){if("_response"in e){return e}throw new TypeError("Unexpected response object ".concat(e))}function FA(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){var a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:a=(s=i.contentChecksumAlgorithm)!==null&&s!==void 0?s:n;if(a===undefined){a="Customized"}if(a==="Auto"){a="StorageCrc64"}o=undefined;if(!(a==="Customized"))return[3,1];r.transactionalContentMD5=i.transactionalContentMD5;r.transactionalContentCrc64=i.transactionalContentCrc64;return[3,4];case 1:if(!(a==="StorageCrc64"))return[3,4];return[4,Oc.init()];case 2:l.sent();return[4,$c(e,t)];case 3:o=l.sent();r.structuredBodyType="XSM/1.0; properties=crc64";r.structuredContentLength=t;l.label=4;case 4:return[2,{body:a==="StorageCrc64"?o.body:e,contentLength:a==="StorageCrc64"?o.encodedContentLength:t,contentChecksumAlgorithm:a}]}}))}))}var OA=function(){function e(e,t){this.url=vA(e);this.accountName=QA(e);this.pipeline=t;this.storageClientContext=new hA(this.url,pd(t));this.isHttps=kA(IA(this.url)||"","https");this.credential=fd(t);var r=this.storageClientContext;r.requestContentType=undefined}return e}();var GA=Ta({packageName:"@azure/storage-blob",packageVersion:Gu,namespace:"Microsoft.Storage"});var YA=function(){function e(){this.read=false;this.add=false;this.create=false;this.write=false;this.delete=false;this.deleteVersion=false;this.tag=false;this.move=false;this.execute=false;this.setImmutabilityPolicy=false;this.permanentDelete=false}e.parse=function(t){var r=new e;for(var i=0,n=t;i<n.length;i++){var a=n[i];switch(a){case"r":r.read=true;break;case"a":r.add=true;break;case"c":r.create=true;break;case"w":r.write=true;break;case"d":r.delete=true;break;case"x":r.deleteVersion=true;break;case"t":r.tag=true;break;case"m":r.move=true;break;case"e":r.execute=true;break;case"i":r.setImmutabilityPolicy=true;break;case"y":r.permanentDelete=true;break;default:throw new RangeError("Invalid permission: ".concat(a))}}return r};e.from=function(t){var r=new e;if(t.read){r.read=true}if(t.add){r.add=true}if(t.create){r.create=true}if(t.write){r.write=true}if(t.delete){r.delete=true}if(t.deleteVersion){r.deleteVersion=true}if(t.tag){r.tag=true}if(t.move){r.move=true}if(t.execute){r.execute=true}if(t.setImmutabilityPolicy){r.setImmutabilityPolicy=true}if(t.permanentDelete){r.permanentDelete=true}return r};e.prototype.toString=function(){var e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")};return e}();var jA=function(){function e(){this.read=false;this.add=false;this.create=false;this.write=false;this.delete=false;this.deleteVersion=false;this.list=false;this.tag=false;this.move=false;this.execute=false;this.setImmutabilityPolicy=false;this.permanentDelete=false;this.filterByTags=false}e.parse=function(t){var r=new e;for(var i=0,n=t;i<n.length;i++){var a=n[i];switch(a){case"r":r.read=true;break;case"a":r.add=true;break;case"c":r.create=true;break;case"w":r.write=true;break;case"d":r.delete=true;break;case"l":r.list=true;break;case"t":r.tag=true;break;case"x":r.deleteVersion=true;break;case"m":r.move=true;break;case"e":r.execute=true;break;case"i":r.setImmutabilityPolicy=true;break;case"y":r.permanentDelete=true;break;case"f":r.filterByTags=true;break;default:throw new RangeError("Invalid permission ".concat(a))}}return r};e.from=function(t){var r=new e;if(t.read){r.read=true}if(t.add){r.add=true}if(t.create){r.create=true}if(t.write){r.write=true}if(t.delete){r.delete=true}if(t.list){r.list=true}if(t.deleteVersion){r.deleteVersion=true}if(t.tag){r.tag=true}if(t.move){r.move=true}if(t.execute){r.execute=true}if(t.setImmutabilityPolicy){r.setImmutabilityPolicy=true}if(t.permanentDelete){r.permanentDelete=true}if(t.filterByTags){r.filterByTags=true}return r};e.prototype.toString=function(){var e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.list){e.push("l")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}if(this.filterByTags){e.push("f")}return e.join("")};return e}();function KA(e){return e.end?"".concat(e.start,"-").concat(e.end):e.start}var JA;(function(e){e["Https"]="https";e["HttpsAndHttp"]="https,http"})(JA||(JA={}));var VA=function(){function e(e,t,r,i,n,a,o,s,l,c,u,d,m,p,f,h,g,v,y,A,b,x,N,C){this.version=e;this.signature=t;if(r!==undefined&&typeof r!=="string"){this.permissions=r.permissions;this.services=r.services;this.resourceTypes=r.resourceTypes;this.protocol=r.protocol;this.startsOn=r.startsOn;this.expiresOn=r.expiresOn;this.ipRangeInner=r.ipRange;this.identifier=r.identifier;this.delegatedUserObjectId=r.delegatedUserObjectId;this.encryptionScope=r.encryptionScope;this.resource=r.resource;this.cacheControl=r.cacheControl;this.contentDisposition=r.contentDisposition;this.contentEncoding=r.contentEncoding;this.contentLanguage=r.contentLanguage;this.contentType=r.contentType;this.requestHeaderKeys=r.requestHeaderKeys;this.requestQueryParameterKeys=r.requestQueryParameterKeys;this.directoryDepth=r.directoryDepth;if(r.userDelegationKey){this.signedOid=r.userDelegationKey.signedObjectId;this.signedTenantId=r.userDelegationKey.signedTenantId;this.signedStartsOn=r.userDelegationKey.signedStartsOn;this.signedExpiresOn=r.userDelegationKey.signedExpiresOn;this.signedService=r.userDelegationKey.signedService;this.signedVersion=r.userDelegationKey.signedVersion;this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId;this.correlationId=r.correlationId}}else{this.services=i;this.resourceTypes=n;this.expiresOn=s;this.permissions=r;this.protocol=a;this.startsOn=o;this.ipRangeInner=l;this.delegatedUserObjectId=b;this.encryptionScope=A;this.identifier=c;this.resource=u;this.cacheControl=d;this.contentDisposition=m;this.contentEncoding=p;this.contentLanguage=f;this.contentType=h;this.requestHeaderKeys=x;this.requestQueryParameterKeys=N;this.directoryDepth=C;if(g){this.signedOid=g.signedObjectId;this.signedTenantId=g.signedTenantId;this.signedStartsOn=g.signedStartsOn;this.signedExpiresOn=g.signedExpiresOn;this.signedService=g.signedService;this.signedVersion=g.signedVersion;this.signedDelegatedUserTid=g.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=v;this.correlationId=y}}}Object.defineProperty(e.prototype,"ipRange",{get:function(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined},enumerable:false,configurable:true});e.prototype.toString=function(){var e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"];var t=[];for(var r=0,i=e;r<i.length;r++){var n=i[r];switch(n){case"sv":this.tryAppendQueryParameter(t,n,this.version);break;case"ss":this.tryAppendQueryParameter(t,n,this.services);break;case"srt":this.tryAppendQueryParameter(t,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,n,this.protocol);break;case"st":this.tryAppendQueryParameter(t,n,this.startsOn?SA(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,n,this.expiresOn?SA(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,n,this.ipRange?KA(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,n,this.signedStartsOn?SA(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,n,this.signedExpiresOn?SA(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,n,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(t,n,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(t,n,this.resource);break;case"sp":this.tryAppendQueryParameter(t,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(t,n,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(t,n,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(t,n,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(t,n,this.directoryDepth!==undefined?this.directoryDepth.toString():"");break}}return t.join("&")};e.prototype.tryAppendQueryParameter=function(e,t,r){if(!r){return}t=encodeURIComponent(t);r=encodeURIComponent(r);if(t.length>0&&r.length>0){e.push("".concat(t,"=").concat(r))}};return e}();function XA(e,t,r){return WA(e,t,r).sasQueryParameters}function WA(e,t,r){var i=e.version?e.version:Yu;var n=t instanceof Cu?t:undefined;var a;if(n===undefined&&r!==undefined){a=new Ou(r,t)}if(n===undefined&&a===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(i>="2020-12-06"){if(n!==undefined){return tb(e,n)}else{if(i>="2026-04-06"){return ob(e,a)}else if(i>="2025-07-05"){return ab(e,a)}else{return nb(e,a)}}}if(i>="2018-11-09"){if(n!==undefined){if(i>="2020-02-10"){return eb(e,n)}else{return $A(e,n)}}else{if(i>="2020-02-10"){return ib(e,a)}else{return rb(e,a)}}}if(i>="2015-04-05"){if(n!==undefined){return ZA(e,n)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function ZA(e,t){e=db(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";if(e.blobName){r="b"}var i;if(e.permissions){if(e.blobName){i=YA.parse(e.permissions.toString()).toString()}else{i=jA.parse(e.permissions.toString()).toString()}}var n=[i?i:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var a=t.computeHMACSHA256(n);return{sasQueryParameters:new VA(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}function $A(e,t){e=db(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";var i=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}var n;if(e.permissions){if(e.blobName){n=YA.parse(e.permissions.toString()).toString()}else{n=jA.parse(e.permissions.toString()).toString()}}var a=[n?n:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var o=t.computeHMACSHA256(a);return{sasQueryParameters:new VA(e.version,o,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:a}}function eb(e,t){e=db(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=mb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=YA.parse(e.permissions.toString()).toString()}else{a=jA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new VA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,undefined,undefined,undefined,undefined,n),stringToSign:o}}function tb(e,t){e=db(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=mb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=YA.parse(e.permissions.toString()).toString()}else{a=jA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new VA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope,undefined,undefined,undefined,n),stringToSign:o}}function rb(e,t){e=db(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}var n;if(e.permissions){if(e.blobName){n=YA.parse(e.permissions.toString()).toString()}else{n=jA.parse(e.permissions.toString()).toString()}}var a=[n?n:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?SA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?SA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var o=t.computeHMACSHA256(a);return{sasQueryParameters:new VA(e.version,o,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:a}}function ib(e,t){e=db(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=mb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=YA.parse(e.permissions.toString()).toString()}else{a=jA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?SA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?SA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new VA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,undefined,undefined,undefined,undefined,n),stringToSign:o}}function nb(e,t){e=db(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=mb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=YA.parse(e.permissions.toString()).toString()}else{a=jA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?SA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?SA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new VA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,undefined,undefined,undefined,n),stringToSign:o}}function ab(e,t){e=db(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=mb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=YA.parse(e.permissions.toString()).toString()}else{a=jA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?SA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?SA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new VA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,undefined,undefined,n),stringToSign:o}}function ob(e,t){e=db(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=mb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=YA.parse(e.permissions.toString()).toString()}else{a=jA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?SA(e.startsOn,false):"",e.expiresOn?SA(e.expiresOn,false):"",ub(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?SA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?SA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?KA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,sb(e.requestHeaders),lb(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new VA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,cb(e.requestHeaders),cb(e.requestQueryParameters),n),stringToSign:o}}function sb(e){if(e===undefined){return undefined}var t="";Object.keys(e).forEach((function(r){t=t+r+":"+e[r]+"\n"}));return t}function lb(e){if(e===undefined){return undefined}var t="";Object.keys(e).forEach((function(r){t=t+"\n"+r+":"+e[r]}));return t}function cb(e){if(e===undefined){return undefined}var t="";var r=0;Object.keys(e).forEach((function(e){if(r!==0){t=t+","}t=t+e;++r}));return t}function ub(e,t,r){var i=["/blob/".concat(e,"/").concat(t)];if(r){i.push("/".concat(r))}return i.join("")}function db(e){var t=e.version?e.version:Yu;if(e.snapshotTime&&t<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(e.blobName===undefined&&e.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(e.versionId&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(e.blobName===undefined&&e.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(e.permissions&&e.permissions.tag&&t<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(e.encryptionScope&&t<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}e.version=t;return e}function mb(e){var t=e;while(t.startsWith("/")){t=t.substring(1)}while(t.endsWith("/")){t=t.substring(0,t.length-1)}return t}var pb=function(){function e(e,t){var r=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=r.container}else{this._isContainer=false;this._containerOrBlobOperation=r.blob}if(!t){t=ba()}this._leaseId=t}Object.defineProperty(e.prototype,"leaseId",{get:function(){return this._leaseId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:false,configurable:true});e.prototype.acquireLease=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;var i,n,a,o,s;if(t===void 0){t={}}return __generator(this,(function(l){if(this._isContainer&&(((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)&&((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)!==ed||((a=t.conditions)===null||a===void 0?void 0:a.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==ed||((s=t.conditions)===null||s===void 0?void 0:s.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,GA.withSpan("BlobLeaseClient-acquireLease",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),proposedLeaseId:this._leaseId,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};e.prototype.changeLease=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;var i,n,a,o,s;if(t===void 0){t={}}return __generator(this,(function(l){if(this._isContainer&&(((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)&&((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)!==ed||((a=t.conditions)===null||a===void 0?void 0:a.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==ed||((s=t.conditions)===null||s===void 0?void 0:s.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,GA.withSpan("BlobLeaseClient-changeLease",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:n=LA;return[4,this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:i.tracingOptions})];case 1:r=n.apply(void 0,[o.sent()]);this._leaseId=e;return[2,r]}}))}))}))]}))}))};e.prototype.releaseLease=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;var r,i,n,a,o;if(e===void 0){e={}}return __generator(this,(function(s){if(this._isContainer&&(((r=e.conditions)===null||r===void 0?void 0:r.ifMatch)&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==ed||((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((a=e.conditions)===null||a===void 0?void 0:a.ifNoneMatch)!==ed||((o=e.conditions)===null||o===void 0?void 0:o.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,GA.withSpan("BlobLeaseClient-releaseLease",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i;return __generator(this,(function(n){switch(n.label){case 0:t=LA;return[4,this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))}))]}))}))};e.prototype.renewLease=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;var r,i,n,a,o;if(e===void 0){e={}}return __generator(this,(function(s){if(this._isContainer&&(((r=e.conditions)===null||r===void 0?void 0:r.ifMatch)&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==ed||((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((a=e.conditions)===null||a===void 0?void 0:a.ifNoneMatch)!==ed||((o=e.conditions)===null||o===void 0?void 0:o.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,GA.withSpan("BlobLeaseClient-renewLease",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){return[2,this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(t=e.conditions)===null||t===void 0?void 0:t.tagConditions}),tracingOptions:r.tracingOptions})]}))}))}))]}))}))};e.prototype.breakLease=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;var i,n,a,o,s;if(t===void 0){t={}}return __generator(this,(function(l){if(this._isContainer&&(((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)&&((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)!==ed||((a=t.conditions)===null||a===void 0?void 0:a.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==ed||((s=t.conditions)===null||s===void 0?void 0:s.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,GA.withSpan("BlobLeaseClient-breakLease",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:r={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:i.tracingOptions};n=LA;return[4,this._containerOrBlobOperation.breakLease(r)];case 1:return[2,n.apply(void 0,[o.sent()])]}}))}))}))]}))}))};return e}();var fb=function(){function e(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}throw new Error("BlobDownloadResponse is not supported in the browser.")}return e}();var hb=function(){function e(e,t){if(t===void 0){t={}}this.originalResponse=e}Object.defineProperty(e.prototype,"acceptRanges",{get:function(){return this.originalResponse.acceptRanges},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"cacheControl",{get:function(){return this.originalResponse.cacheControl},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentDisposition",{get:function(){return this.originalResponse.contentDisposition},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentEncoding",{get:function(){return this.originalResponse.contentEncoding},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentLanguage",{get:function(){return this.originalResponse.contentLanguage},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobSequenceNumber",{get:function(){return this.originalResponse.blobSequenceNumber},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobType",{get:function(){return this.originalResponse.blobType},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentLength",{get:function(){return this.originalResponse.contentLength},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentMD5",{get:function(){return this.originalResponse.contentMD5},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentRange",{get:function(){return this.originalResponse.contentRange},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentType",{get:function(){return this.originalResponse.contentType},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyCompletedOn",{get:function(){return undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyId",{get:function(){return this.originalResponse.copyId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyProgress",{get:function(){return this.originalResponse.copyProgress},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copySource",{get:function(){return this.originalResponse.copySource},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyStatus",{get:function(){return this.originalResponse.copyStatus},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyStatusDescription",{get:function(){return this.originalResponse.copyStatusDescription},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"leaseDuration",{get:function(){return this.originalResponse.leaseDuration},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"leaseState",{get:function(){return this.originalResponse.leaseState},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"leaseStatus",{get:function(){return this.originalResponse.leaseStatus},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"date",{get:function(){return this.originalResponse.date},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobCommittedBlockCount",{get:function(){return this.originalResponse.blobCommittedBlockCount},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"etag",{get:function(){return this.originalResponse.etag},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"errorCode",{get:function(){return this.originalResponse.errorCode},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isServerEncrypted",{get:function(){return this.originalResponse.isServerEncrypted},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobContentMD5",{get:function(){return this.originalResponse.blobContentMD5},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastModified",{get:function(){return this.originalResponse.lastModified},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"metadata",{get:function(){return this.originalResponse.metadata},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"requestId",{get:function(){return this.originalResponse.requestId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"clientRequestId",{get:function(){return this.originalResponse.clientRequestId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"version",{get:function(){return this.originalResponse.version},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"encryptionKeySha256",{get:function(){return this.originalResponse.encryptionKeySha256},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentCrc64",{get:function(){return this.originalResponse.contentCrc64},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobBody",{get:function(){throw Error("Quick query in browser is not supported yet.")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"readableStreamBody",{get:function(){return undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"_response",{get:function(){return this.originalResponse._response},enumerable:false,configurable:true});return e}();var gb;(function(e){e["Hot"]="Hot";e["Cool"]="Cool";e["Cold"]="Cold";e["Archive"]="Archive"})(gb||(gb={}));var vb;(function(e){e["P4"]="P4";e["P6"]="P6";e["P10"]="P10";e["P15"]="P15";e["P20"]="P20";e["P30"]="P30";e["P40"]="P40";e["P50"]="P50";e["P60"]="P60";e["P70"]="P70";e["P80"]="P80"})(vb||(vb={}));function yb(e){if(e===undefined){return undefined}return e}function Ab(e,t){if(e&&!t){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(e&&!e.encryptionAlgorithm){e.encryptionAlgorithm=rd}}var bb;(function(e){e["StorageOAuthScopes"]="https://storage.azure.com/.default";e["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(bb||(bb={}));function xb(e){var t=(e._response.parsedBody.pageRange||[]).map((function(e){return{offset:e.start,count:e.end-e.start}}));var r=(e._response.parsedBody.clearRange||[]).map((function(e){return{offset:e.start,count:e.end-e.start}}));return __assign(__assign({},e),{pageRange:t,clearRange:r,_response:__assign(__assign({},e._response),{parsedBody:{pageRange:t,clearRange:r}})})}var Nb=function(e){__extends(t,e);function t(r){var i=e.call(this,r)||this;i.name="PollerStoppedError";Object.setPrototypeOf(i,t.prototype);return i}return t}(Error);var Cb=function(e){__extends(t,e);function t(r){var i=e.call(this,r)||this;i.name="PollerCancelledError";Object.setPrototypeOf(i,t.prototype);return i}return t}(Error);var zb=function(){function e(e){var t=this;this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=e;this.promise=new Promise((function(e,r){t.resolve=e;t.reject=r}));this.promise.catch((function(){}))}e.prototype.startPolling=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={}}return __generator(this,(function(t){switch(t.label){case 0:if(this.stopped){this.stopped=false}t.label=1;case 1:if(!(!this.isStopped()&&!this.isDone()))return[3,4];return[4,this.poll(e)];case 2:t.sent();return[4,this.delay()];case 3:t.sent();return[3,1];case 4:return[2]}}))}))};e.prototype.pollOnce=function(){return __awaiter(this,arguments,void 0,(function(e){var t;if(e===void 0){e={}}return __generator(this,(function(r){switch(r.label){case 0:if(!!this.isDone())return[3,2];t=this;return[4,this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})];case 1:t.operation=r.sent();r.label=2;case 2:this.processUpdatedState();return[2]}}))}))};e.prototype.fireProgress=function(e){for(var t=0,r=this.pollProgressCallbacks;t<r.length;t++){var i=r[t];i(e)}};e.prototype.cancelOnce=function(){return __awaiter(this,arguments,void 0,(function(e){var t;if(e===void 0){e={}}return __generator(this,(function(r){switch(r.label){case 0:t=this;return[4,this.operation.cancel(e)];case 1:t.operation=r.sent();return[2]}}))}))};e.prototype.poll=function(e){var t=this;if(e===void 0){e={}}if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);var r=function(){t.pollOncePromise=undefined};this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise};e.prototype.processUpdatedState=function(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){var e=new Cb("Operation was canceled");this.reject(e);throw e}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}};e.prototype.pollUntilDone=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={}}return __generator(this,(function(t){if(this.stopped){this.startPolling(e).catch(this.reject)}this.processUpdatedState();return[2,this.promise]}))}))};e.prototype.onProgress=function(e){var t=this;this.pollProgressCallbacks.push(e);return function(){t.pollProgressCallbacks=t.pollProgressCallbacks.filter((function(t){return t!==e}))}};e.prototype.isDone=function(){var e=this.operation.state;return Boolean(e.isCompleted||e.isCancelled||e.error)};e.prototype.stopPolling=function(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new Nb("This poller is already stopped"))}}};e.prototype.isStopped=function(){return this.stopped};e.prototype.cancelOperation=function(e){if(e===void 0){e={}}if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(e)}else if(e.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise};e.prototype.getOperationState=function(){return this.operation.state};e.prototype.getResult=function(){var e=this.operation.state;return e.result};e.prototype.toString=function(){return this.operation.toString()};return e}();var Ib=function(e){__extends(t,e);function t(t){var r=this;var i=t.blobClient,n=t.copySource,a=t.intervalInMs,o=a===void 0?15e3:a,s=t.onProgress,l=t.resumeFrom,c=t.startCopyFromURLOptions;var u;if(l){u=JSON.parse(l).state}var d=Eb(__assign(__assign({},u),{blobClient:i,copySource:n,startCopyFromURLOptions:c}));r=e.call(this,d)||this;if(typeof s==="function"){r.onProgress(s)}r.intervalInMs=o;return r}t.prototype.delay=function(){return va(this.intervalInMs)};return t}(zb);var wb=function e(){return __awaiter(this,arguments,void 0,(function(e){var t,r;if(e===void 0){e={}}return __generator(this,(function(i){switch(i.label){case 0:t=this.state;r=t.copyId;if(t.isCompleted){return[2,Eb(t)]}if(!r){t.isCancelled=true;return[2,Eb(t)]}return[4,t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal})];case 1:i.sent();t.isCancelled=true;return[2,Eb(t)]}}))}))};var Sb=function e(){return __awaiter(this,arguments,void 0,(function(e){var t,r,i,n,a,a,o,s,l,c;if(e===void 0){e={}}return __generator(this,(function(u){switch(u.label){case 0:t=this.state;r=t.blobClient,i=t.copySource,n=t.startCopyFromURLOptions;if(!!t.isStarted)return[3,2];t.isStarted=true;return[4,r.startCopyFromURL(i,n)];case 1:a=u.sent();t.copyId=a.copyId;if(a.copyStatus==="success"){t.result=a;t.isCompleted=true}return[3,6];case 2:if(!!t.isCompleted)return[3,6];u.label=3;case 3:u.trys.push([3,5,,6]);return[4,t.blobClient.getProperties({abortSignal:e.abortSignal})];case 4:a=u.sent();o=a.copyStatus,s=a.copyProgress;l=t.copyProgress;if(s){t.copyProgress=s}if(o==="pending"&&s!==l&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(o==="success"){t.result=a;t.isCompleted=true}else if(o==="failed"){t.error=new Error('Blob copy failed with reason: "'.concat(a.copyStatusDescription||"unknown",'"'));t.isCompleted=true}return[3,6];case 5:c=u.sent();t.error=c;t.isCompleted=true;return[3,6];case 6:return[2,Eb(t)]}}))}))};var Bb=function e(){return JSON.stringify({state:this.state},(function(e,t){if(e==="blobClient"){return undefined}return t}))};function Eb(e){return{state:__assign({},e),cancel:wb,toString:Bb,update:Sb}}function _b(e){if(e.offset<0){throw new RangeError("Range.offset cannot be smaller than 0.")}if(e.count&&e.count<=0){throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.")}return e.count?"bytes=".concat(e.offset,"-").concat(e.offset+e.count-1):"bytes=".concat(e.offset,"-")}var kb;function Qb(){}Qb.prototype=Object.create(null);function Pb(){Pb.init.call(this)}Pb.EventEmitter=Pb;Pb.usingDomains=false;Pb.prototype.domain=undefined;Pb.prototype._events=undefined;Pb.prototype._maxListeners=undefined;Pb.defaultMaxListeners=10;Pb.init=function(){this.domain=null;if(Pb.usingDomains){if(kb.active&&!(this instanceof kb.Domain)){this.domain=kb.active}}if(!this._events||this._events===Object.getPrototypeOf(this)._events){this._events=new Qb;this._eventsCount=0}this._maxListeners=this._maxListeners||undefined};Pb.prototype.setMaxListeners=function e(t){if(typeof t!=="number"||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');this._maxListeners=t;return this};function Mb(e){if(e._maxListeners===undefined)return Pb.defaultMaxListeners;return e._maxListeners}Pb.prototype.getMaxListeners=function e(){return Mb(this)};function Db(e,t,r){if(t)e.call(r);else{var i=e.length;var n=Yb(e,i);for(var a=0;a<i;++a)n[a].call(r)}}function Rb(e,t,r,i){if(t)e.call(r,i);else{var n=e.length;var a=Yb(e,n);for(var o=0;o<n;++o)a[o].call(r,i)}}function Tb(e,t,r,i,n){if(t)e.call(r,i,n);else{var a=e.length;var o=Yb(e,a);for(var s=0;s<a;++s)o[s].call(r,i,n)}}function qb(e,t,r,i,n,a){if(t)e.call(r,i,n,a);else{var o=e.length;var s=Yb(e,o);for(var l=0;l<o;++l)s[l].call(r,i,n,a)}}function Hb(e,t,r,i){if(t)e.apply(r,i);else{var n=e.length;var a=Yb(e,n);for(var o=0;o<n;++o)a[o].apply(r,i)}}Pb.prototype.emit=function e(t){var r,i,n,a,o,s,l;var c=t==="error";s=this._events;if(s)c=c&&s.error==null;else if(!c)return false;l=this.domain;if(c){r=arguments[1];if(l){if(!r)r=new Error('Uncaught, unspecified "error" event');r.domainEmitter=this;r.domain=l;r.domainThrown=false;l.emit("error",r)}else if(r instanceof Error){throw r}else{var u=new Error('Uncaught, unspecified "error" event. ('+r+")");u.context=r;throw u}return false}i=s[t];if(!i)return false;var d=typeof i==="function";n=arguments.length;switch(n){case 1:Db(i,d,this);break;case 2:Rb(i,d,this,arguments[1]);break;case 3:Tb(i,d,this,arguments[1],arguments[2]);break;case 4:qb(i,d,this,arguments[1],arguments[2],arguments[3]);break;default:a=new Array(n-1);for(o=1;o<n;o++)a[o-1]=arguments[o];Hb(i,d,this,a)}return true};function Ub(e,t,r,i){var n;var a;var o;if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');a=e._events;if(!a){a=e._events=new Qb;e._eventsCount=0}else{if(a.newListener){e.emit("newListener",t,r.listener?r.listener:r);a=e._events}o=a[t]}if(!o){o=a[t]=r;++e._eventsCount}else{if(typeof o==="function"){o=a[t]=i?[r,o]:[o,r]}else{if(i){o.unshift(r)}else{o.push(r)}}if(!o.warned){n=Mb(e);if(n&&n>0&&o.length>n){o.warned=true;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+t+" listeners added. "+"Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning";s.emitter=e;s.type=t;s.count=o.length;Lb(s)}}}return e}function Lb(e){typeof console.warn==="function"?console.warn(e):console.log(e)}Pb.prototype.addListener=function e(t,r){return Ub(this,t,r,false)};Pb.prototype.on=Pb.prototype.addListener;Pb.prototype.prependListener=function e(t,r){return Ub(this,t,r,true)};function Fb(e,t,r){var i=false;function n(){e.removeListener(t,n);if(!i){i=true;r.apply(e,arguments)}}n.listener=r;return n}Pb.prototype.once=function e(t,r){if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');this.on(t,Fb(this,t,r));return this};Pb.prototype.prependOnceListener=function e(t,r){if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');this.prependListener(t,Fb(this,t,r));return this};Pb.prototype.removeListener=function e(t,r){var i,n,a,o,s;if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');n=this._events;if(!n)return this;i=n[t];if(!i)return this;if(i===r||i.listener&&i.listener===r){if(--this._eventsCount===0)this._events=new Qb;else{delete n[t];if(n.removeListener)this.emit("removeListener",t,i.listener||r)}}else if(typeof i!=="function"){a=-1;for(o=i.length;o-- >0;){if(i[o]===r||i[o].listener&&i[o].listener===r){s=i[o].listener;a=o;break}}if(a<0)return this;if(i.length===1){i[0]=undefined;if(--this._eventsCount===0){this._events=new Qb;return this}else{delete n[t]}}else{Gb(i,a)}if(n.removeListener)this.emit("removeListener",t,s||r)}return this};Pb.prototype.off=function(e,t){return this.removeListener(e,t)};Pb.prototype.removeAllListeners=function e(t){var r,i;i=this._events;if(!i)return this;if(!i.removeListener){if(arguments.length===0){this._events=new Qb;this._eventsCount=0}else if(i[t]){if(--this._eventsCount===0)this._events=new Qb;else delete i[t]}return this}if(arguments.length===0){var n=Object.keys(i);for(var a=0,o;a<n.length;++a){o=n[a];if(o==="removeListener")continue;this.removeAllListeners(o)}this.removeAllListeners("removeListener");this._events=new Qb;this._eventsCount=0;return this}r=i[t];if(typeof r==="function"){this.removeListener(t,r)}else if(r){do{this.removeListener(t,r[r.length-1])}while(r[0])}return this};Pb.prototype.listeners=function e(t){var r;var i;var n=this._events;if(!n)i=[];else{r=n[t];if(!r)i=[];else if(typeof r==="function")i=[r.listener||r];else i=jb(r)}return i};Pb.listenerCount=function(e,t){if(typeof e.listenerCount==="function"){return e.listenerCount(t)}else{return Ob.call(e,t)}};Pb.prototype.listenerCount=Ob;function Ob(e){var t=this._events;if(t){var r=t[e];if(typeof r==="function"){return 1}else if(r){return r.length}}return 0}Pb.prototype.eventNames=function e(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function Gb(e,t){for(var r=t,i=r+1,n=e.length;i<n;r+=1,i+=1)e[r]=e[i];e.pop()}function Yb(e,t){var r=new Array(t);while(t--)r[t]=e[t];return r}function jb(e){var t=new Array(e.length);for(var r=0;r<t.length;++r){t[r]=e[r].listener||e[r]}return t}var Kb;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})(Kb||(Kb={}));var Jb=function(){function e(e){if(e===void 0){e=5}this.actives=0;this.completed=0;this.offset=0;this.operations=[];this.state=Kb.Good;if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new Pb}e.prototype.addOperation=function(e){var t=this;this.operations.push((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);this.actives++;return[4,e()];case 1:r.sent();this.actives--;this.completed++;this.parallelExecute();return[3,3];case 2:t=r.sent();this.emitter.emit("error",t);return[3,3];case 3:return[2]}}))}))}))};e.prototype.do=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){if(this.operations.length===0){return[2,Promise.resolve()]}this.parallelExecute();return[2,new Promise((function(t,r){e.emitter.on("finish",t);e.emitter.on("error",(function(t){e.state=Kb.Error;r(t)}))}))]}))}))};e.prototype.nextOperation=function(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null};e.prototype.parallelExecute=function(){if(this.state===Kb.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){var e=this.nextOperation();if(e){e()}else{return}}};return e}();function Vb(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("streamToBuffer is not supported in the browser.")}))}))}function Xb(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("readStreamToLocalFile is not supported in the browser.")}))}))}var Wb=function e(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("fsStat is not supported in the browser.")}))}))};var Zb=function e(t,r){throw new Error("fsCreateReadStream is not supported in the browser.")};var $b=function(e){__extends(t,e);function t(t,r,i,n){var a;var o=this;n=n||{};var s;var l;if(cd(r)){l=t;s=r;n=i}else if(xa&&r instanceof Cu||r instanceof Nu||uo(r)){l=t;n=i;s=dd(r,n)}else if(!r&&typeof r!=="string"){l=t;if(i&&typeof i!=="string"){n=i}s=dd(new Nu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var c=r;var u=i;var d=bA(t);if(d.kind==="AccountConnString"){if(xa){var m=new Cu(d.accountName,d.accountKey);l=NA(NA(d.url,encodeURIComponent(c)),encodeURIComponent(u));if(!n.proxyOptions){n.proxyOptions=za()}s=dd(m,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(d.kind==="SASConnString"){l=NA(NA(d.url,encodeURIComponent(c)),encodeURIComponent(u))+"?"+d.accountSas;s=dd(new Nu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}o=e.call(this,l,s)||this;a=o.getBlobAndContainerNamesFromUrl(),o._name=a.blobName,o._containerName=a.containerName;o.blobContext=o.storageClientContext.blob;o._snapshot=zA(o.url,$u.Parameters.SNAPSHOT);o._versionId=zA(o.url,$u.Parameters.VERSIONID);o.blobClientConfig=n;return o}Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"containerName",{get:function(){return this._containerName},enumerable:false,configurable:true});t.prototype.withSnapshot=function(e){return new t(CA(this.url,$u.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.withVersion=function(e){return new t(CA(this.url,$u.Parameters.VERSIONID,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.getAppendBlobClient=function(){return new ex(this.url,this.pipeline,this.blobClientConfig)};t.prototype.getBlockBlobClient=function(){return new tx(this.url,this.pipeline,this.blobClientConfig)};t.prototype.getPageBlobClient=function(){return new rx(this.url,this.pipeline,this.blobClientConfig)};t.prototype.download=function(){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(e===void 0){e=0}if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};r.conditions=r.conditions||{};Ab(r.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlobClient-download",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a,o,s,l,c,u;var d=this;var m,p,f;return __generator(this,(function(h){switch(h.label){case 0:i=(m=r.contentChecksumAlgorithm)!==null&&m!==void 0?m:(p=this.blobClientConfig)===null||p===void 0?void 0:p.downloadContentChecksumAlgorithm;if(i===undefined){i="Customized"}else if(i==="Auto"){i="StorageCrc64"}if(!(i==="StorageCrc64"))return[3,2];return[4,Oc.init()];case 1:h.sent();h.label=2;case 2:o=LA;return[4,this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(f=r.conditions)===null||f===void 0?void 0:f.tagConditions}),requestOptions:{onDownloadProgress:xa?undefined:r.onProgress},range:e===0&&!t?undefined:_b({offset:e,count:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions,structuredBodyType:i==="StorageCrc64"?"XSM/1.0; properties=crc64":undefined})];case 3:a=o.apply(void 0,[h.sent()]);s=__assign(__assign({},a),{_response:a._response,objectReplicationDestinationPolicyId:a.objectReplicationPolicyId,objectReplicationSourceProperties:qA(a.objectReplicationRules)});if(!!xa)return[3,6];if(!(i==="StorageCrc64"))return[3,5];l=s;c=lu;return[4,s.blobBody];case 4:l.blobBody=c.apply(void 0,[h.sent()]);h.label=5;case 5:return[2,s];case 6:if(r.maxRetryRequests===undefined||r.maxRetryRequests<0){r.maxRetryRequests=Wu}if(a.contentLength===undefined){throw new RangeError("File download response doesn't contain valid content length header")}if(i==="StorageCrc64"&&a.structuredContentLength===undefined){throw new RangeError("Unexpected structured content length")}if(!a.etag){throw new RangeError("File download response doesn't contain valid etag header")}u=i==="StorageCrc64"?a.structuredContentLength:a.contentLength;return[2,new fb(s,(function(t){return __awaiter(d,void 0,void 0,(function(){var n,o;var s;return __generator(this,(function(l){switch(l.label){case 0:n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||a.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions},range:_b({count:e+u-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:i==="StorageCrc64"?"XSM/1.0; properties=crc64":undefined};return[4,this.blobContext.download(__assign({abortSignal:r.abortSignal},n))];case 1:o=l.sent().readableStreamBody;if(i==="StorageCrc64"){return[2,ou(o,{})]}else{return[2,o]}return[2]}}))}))}),e,u,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})]}}))}))}))]}))}))};t.prototype.exists=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,GA.withSpan("BlobClient-exists",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);Ab(e.customerProvidedKey,this.isHttps);return[4,this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions})];case 1:i.sent();return[2,true];case 2:t=i.sent();if(t.statusCode===404){return[2,false]}else if(t.statusCode===409&&(t.details.errorCode===od||t.details.errorCode===sd)){return[2,true]}throw t;case 3:return[2]}}))}))}))]}))}))};t.prototype.getProperties=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};Ab(e.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlobClient-getProperties",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t,i;var n;return __generator(this,(function(a){switch(a.label){case 0:i=LA;return[4,this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions})];case 1:t=i.apply(void 0,[a.sent()]);return[2,__assign(__assign({},t),{_response:t._response,objectReplicationDestinationPolicyId:t.objectReplicationPolicyId,objectReplicationSourceProperties:qA(t.objectReplicationRules)})]}}))}))}))]}))}))};t.prototype.delete=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};return[2,GA.withSpan("BlobClient-delete",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=LA;return[4,this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:r.tracingOptions,accessTierIfModifiedSince:(n=e.conditions)===null||n===void 0?void 0:n.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:(a=e.conditions)===null||a===void 0?void 0:a.accessTierIfUnmodifiedSince})];case 1:return[2,t.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.deleteIfExists=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,GA.withSpan("BlobClient-deleteIfExists",e,(function(e){return __awaiter(t,void 0,void 0,(function(){var t,r,i;var n,a;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);r=LA;return[4,this.delete(e)];case 1:t=r.apply(void 0,[o.sent()]);return[2,__assign(__assign({succeeded:true},t),{_response:t._response})];case 2:i=o.sent();if(((n=i.details)===null||n===void 0?void 0:n.errorCode)==="BlobNotFound"){return[2,__assign(__assign({succeeded:false},(a=i.response)===null||a===void 0?void 0:a.parsedHeaders),{_response:i.response})]}throw i;case 3:return[2]}}))}))}))]}))}))};t.prototype.undelete=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,GA.withSpan("BlobClient-undelete",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=LA;return[4,this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[i.sent()])]}}))}))}))]}))}))};t.prototype.setHTTPHeaders=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};Ab(t.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlobClient-setHTTPHeaders",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.setMetadata=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};Ab(t.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlobClient-setMetadata",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.setTags=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlobClient-setTags",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),blobModifiedAccessConditions:t.conditions,tracingOptions:i.tracingOptions,tags:DA(e)})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.getTags=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,GA.withSpan("BlobClient-getTags",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t,i,n;var a;return __generator(this,(function(o){switch(o.label){case 0:i=LA;return[4,this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(a=e.conditions)===null||a===void 0?void 0:a.tagConditions}),blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})];case 1:t=i.apply(void 0,[o.sent()]);n=__assign(__assign({},t),{_response:t._response,tags:RA({blobTagSet:t.blobTagSet})||{}});return[2,n]}}))}))}))]}))}))};t.prototype.getBlobLeaseClient=function(e){return new pb(this,e)};t.prototype.createSnapshot=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};Ab(e.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlobClient-createSnapshot",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i;return __generator(this,(function(n){switch(n.label){case 0:t=LA;return[4,this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))}))]}))}))};t.prototype.beginCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r,i;var n=this;if(t===void 0){t={}}return __generator(this,(function(a){switch(a.label){case 0:r={abortCopyFromURL:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n.abortCopyFromURL.apply(n,e)},getProperties:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n.getProperties.apply(n,e)},startCopyFromURL:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n.startCopyFromURL.apply(n,e)}};i=new Ib({blobClient:r,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return[4,i.poll()];case 1:a.sent();return[2,i]}}))}))};t.prototype.abortCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlobClient-abortCopyFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:r=LA;return[4,this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[n.sent()])]}}))}))}))]}))}))};t.prototype.syncCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return[2,GA.withSpan("BlobClient-syncCopyFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o,s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:r=LA;return[4,this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=t.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(s=t.sourceConditions)===null||s===void 0?void 0:s.ifNoneMatch,sourceIfUnmodifiedSince:(l=t.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:HA(t.sourceAuthorization),tier:yb(t.tier),blobTagsString:MA(t.tags),immutabilityPolicyExpiry:(c=t.immutabilityPolicy)===null||c===void 0?void 0:c.expiriesOn,immutabilityPolicyMode:(u=t.immutabilityPolicy)===null||u===void 0?void 0:u.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[d.sent()])]}}))}))}))]}))}))};t.prototype.setAccessTier=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlobClient-setAccessTier",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this.blobContext.setTier(yb(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),rehydratePriority:t.rehydratePriority,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.downloadToBuffer=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n,a,o,s,l;var c=this;var u;if(i===void 0){i={}}return __generator(this,(function(d){a=0;o=0;s=i;if(e instanceof jl){n=e;a=t||0;o=typeof r==="number"?r:0}else{a=typeof e==="number"?e:0;o=typeof t==="number"?t:0;s=r||{}}l=(u=s.blockSize)!==null&&u!==void 0?u:0;if(l<0){throw new RangeError("blockSize option must be >= 0")}if(l===0){l=Xu}if(a<0){throw new RangeError("offset option must be >= 0")}if(o&&o<=0){throw new RangeError("count option must be greater than 0")}if(!s.conditions){s.conditions={}}return[2,GA.withSpan("BlobClient-downloadToBuffer",s,(function(e){return __awaiter(c,void 0,void 0,(function(){var t,r,i,c,u;var d=this;return __generator(this,(function(m){switch(m.label){case 0:if(!!o)return[3,2];return[4,this.getProperties(__assign(__assign({},s),{tracingOptions:e.tracingOptions}))];case 1:t=m.sent();o=t.contentLength-a;if(o<0){throw new RangeError("offset ".concat(a," shouldn't be larger than blob size ").concat(t.contentLength))}m.label=2;case 2:if(!n){try{n=jl.alloc(o)}catch(e){throw new Error("Unable to allocate the buffer of size: ".concat(o,'(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ').concat(e.message))}}if(n.length<o){throw new RangeError("The buffer's size should be equal to or larger than the request count of bytes: ".concat(o))}r=0;i=new Jb(s.concurrency);c=function(t){i.addOperation((function(){return __awaiter(d,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:i=a+o;if(t+l<i){i=t+l}return[4,this.download(t,i-t,{abortSignal:s.abortSignal,conditions:s.conditions,maxRetryRequests:s.maxRetryRequestsPerBlock,customerProvidedKey:s.customerProvidedKey,contentChecksumAlgorithm:s.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})];case 1:n.sent();return[4,Vb()];case 2:n.sent();r+=i-t;if(s.onProgress){s.onProgress({loadedBytes:r})}return[2]}}))}))}))};for(u=a;u<a+o;u=u+l){c(u)}return[4,i.do()];case 3:m.sent();return[2,n]}}))}))}))]}))}))};t.prototype.downloadToFile=function(e){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(t===void 0){t=0}if(i===void 0){i={}}return __generator(this,(function(e){return[2,GA.withSpan("BlobClient-downloadToFile",i,(function(e){return __awaiter(n,void 0,void 0,(function(){var n;return __generator(this,(function(a){switch(a.label){case 0:return[4,this.download(t,r,__assign(__assign({},i),{tracingOptions:e.tracingOptions}))];case 1:n=a.sent();if(!n.readableStreamBody)return[3,3];return[4,Xb()];case 2:a.sent();a.label=3;case 3:n.blobDownloadStream=undefined;return[2,n]}}))}))}))]}))}))};t.prototype.getBlobAndContainerNamesFromUrl=function(){var e;var t;try{var r=new URL(this.url);if(r.host.split(".")[1]==="blob"){var i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1];t=i[3]}else if(PA(r)){var i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2];t=i[4]}else{var i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1];t=i[3]}e=decodeURIComponent(e);t=decodeURIComponent(t);t=t.replace(/\\/g,"/");if(!e){throw new Error("Provided containerName is invalid.")}return{blobName:t,containerName:e}}catch(e){throw new Error("Unable to extract blobName and containerName with provided information.")}};t.prototype.startCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlobClient-startCopyFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o;return __generator(this,(function(s){switch(s.label){case 0:t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};r=LA;return[4,this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:(a=t.immutabilityPolicy)===null||a===void 0?void 0:a.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:yb(t.tier),blobTagsString:MA(t.tags),sealBlob:t.sealBlob,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.generateSasUrl=function(e){var t=this;return new Promise((function(r){if(!(t.credential instanceof Cu)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}var i=XA(__assign({containerName:t._containerName,blobName:t._name,snapshotTime:t._snapshot,versionId:t._versionId},e),t.credential).toString();r(wA(t.url,i))}))};t.prototype.generateSasStringToSign=function(e){if(!(this.credential instanceof Cu)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return WA(__assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).stringToSign};t.prototype.generateUserDelegationSasUrl=function(e,t){var r=this;return new Promise((function(i){var n=XA(__assign({containerName:r._containerName,blobName:r._name,snapshotTime:r._snapshot,versionId:r._versionId},e),t,r.accountName).toString();i(wA(r.url,n))}))};t.prototype.generateUserDelegationSasStringToSign=function(e,t){return WA(__assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),t,this.accountName).stringToSign};t.prototype.deleteImmutabilityPolicy=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,GA.withSpan("BlobClient-deleteImmutabilityPolicy",e,(function(e){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=LA;return[4,this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})];case 1:return[2,t.apply(void 0,[r.sent()])]}}))}))}))]}))}))};t.prototype.setImmutabilityPolicy=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlobClient-setImmutabilityPolicy",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=LA;return[4,this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})];case 1:return[2,r.apply(void 0,[i.sent()])]}}))}))}))]}))}))};t.prototype.setLegalHold=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlobClient-setLegalHold",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=LA;return[4,this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})];case 1:return[2,r.apply(void 0,[i.sent()])]}}))}))}))]}))}))};t.prototype.getAccountInfo=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,GA.withSpan("BlobClient-getAccountInfo",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=LA;return[4,this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[i.sent()])]}}))}))}))]}))}))};return t}(OA);var ex=function(e){__extends(t,e);function t(t,r,i,n){var a=this;var o;var s;n=n||{};if(cd(r)){s=t;o=r;n=i}else if(xa&&r instanceof Cu||r instanceof Nu||uo(r)){s=t;n=i;o=dd(r,n)}else if(!r&&typeof r!=="string"){s=t;n=i;o=dd(new Nu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var l=r;var c=i;var u=bA(t);if(u.kind==="AccountConnString"){if(xa){var d=new Cu(u.accountName,u.accountKey);s=NA(NA(u.url,encodeURIComponent(l)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=za()}o=dd(d,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(u.kind==="SASConnString"){s=NA(NA(u.url,encodeURIComponent(l)),encodeURIComponent(c))+"?"+u.accountSas;o=dd(new Nu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}a=e.call(this,s,o)||this;a.appendBlobContext=a.storageClientContext.appendBlob;a.blobClientConfig=n;return a}t.prototype.withSnapshot=function(e){return new t(CA(this.url,$u.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.create=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};Ab(e.customerProvidedKey,this.isHttps);return[2,GA.withSpan("AppendBlobClient-create",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=LA;return[4,this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:(n=e.immutabilityPolicy)===null||n===void 0?void 0:n.expiriesOn,immutabilityPolicyMode:(a=e.immutabilityPolicy)===null||a===void 0?void 0:a.policyMode,legalHold:e.legalHold,blobTagsString:MA(e.tags),tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.createIfNotExists=function(){return __awaiter(this,arguments,void 0,(function(e){var t;var r=this;if(e===void 0){e={}}return __generator(this,(function(i){t={ifNoneMatch:td};return[2,GA.withSpan("AppendBlobClient-createIfNotExists",e,(function(e){return __awaiter(r,void 0,void 0,(function(){var r,i,n;var a,o;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,2,,3]);i=LA;return[4,this.create(__assign(__assign({},e),{conditions:t}))];case 1:r=i.apply(void 0,[s.sent()]);return[2,__assign(__assign({succeeded:true},r),{_response:r._response})];case 2:n=s.sent();if(((a=n.details)===null||a===void 0?void 0:a.errorCode)==="BlobAlreadyExists"){return[2,__assign(__assign({succeeded:false},(o=n.response)===null||o===void 0?void 0:o.parsedHeaders),{_response:n.response})]}throw n;case 3:return[2]}}))}))}))]}))}))};t.prototype.seal=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};return[2,GA.withSpan("AppendBlobClient-seal",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i;return __generator(this,(function(n){switch(n.label){case 0:t=LA;return[4,this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))}))]}))}))};t.prototype.appendBlock=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};Ab(r.customerProvidedKey,this.isHttps);return[2,GA.withSpan("AppendBlobClient-appendBlock",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a,o;var s,l;return __generator(this,(function(c){switch(c.label){case 0:i={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions};return[4,FA(e,t,i,r,(l=this.blobClientConfig)===null||l===void 0?void 0:l.uploadContentChecksumAlgorithm)];case 1:a=c.sent();o=LA;return[4,this.appendBlobContext.appendBlock(a.contentLength,a.body,i)];case 2:return[2,o.apply(void 0,[c.sent()])]}}))}))}))]}))}))};t.prototype.appendBlockFromURL=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};i.sourceConditions=i.sourceConditions||{};Ab(i.customerProvidedKey,this.isHttps);return[2,GA.withSpan("AppendBlobClient-appendBlockFromURL",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n;var o,s,l,c,u,d,m,p;return __generator(this,(function(f){switch(f.label){case 0:n=LA;return[4,this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:_b({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(s=i.sourceConditions)===null||s===void 0?void 0:s.ifMatch,sourceIfModifiedSince:(l=i.sourceConditions)===null||l===void 0?void 0:l.ifModifiedSince,sourceIfNoneMatch:(c=i.sourceConditions)===null||c===void 0?void 0:c.ifNoneMatch,sourceIfUnmodifiedSince:(u=i.sourceConditions)===null||u===void 0?void 0:u.ifUnmodifiedSince},copySourceAuthorization:HA(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(d=i.sourceCustomerProvidedKey)===null||d===void 0?void 0:d.encryptionKey,sourceEncryptionAlgorithm:(m=i.sourceCustomerProvidedKey)===null||m===void 0?void 0:m.encryptionAlgorithm,sourceEncryptionKeySha256:(p=i.sourceCustomerProvidedKey)===null||p===void 0?void 0:p.encryptionKeySha256}})];case 1:return[2,n.apply(void 0,[f.sent()])]}}))}))}))]}))}))};return t}($b);var tx=function(e){__extends(t,e);function t(t,r,i,n){var a=this;var o;var s;n=n||{};if(cd(r)){s=t;o=r;n=i}else if(xa&&r instanceof Cu||r instanceof Nu||uo(r)){s=t;n=i;o=dd(r,n)}else if(!r&&typeof r!=="string"){s=t;if(i&&typeof i!=="string"){n=i}o=dd(new Nu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var l=r;var c=i;var u=bA(t);if(u.kind==="AccountConnString"){if(xa){var d=new Cu(u.accountName,u.accountKey);s=NA(NA(u.url,encodeURIComponent(l)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=za()}o=dd(d,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(u.kind==="SASConnString"){s=NA(NA(u.url,encodeURIComponent(l)),encodeURIComponent(c))+"?"+u.accountSas;o=dd(new Nu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}a=e.call(this,s,o)||this;a.blockBlobContext=a.storageClientContext.blockBlob;a._blobContext=a.storageClientContext.blob;a.blobClientConfig=n;return a}t.prototype.withSnapshot=function(e){return new t(CA(this.url,$u.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.query=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){Ab(t.customerProvidedKey,this.isHttps);if(!xa){throw new Error("This operation currently is only supported in Node.js.")}return[2,GA.withSpan("BlockBlobClient-query",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:n=LA;return[4,this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:TA(t.inputTextConfiguration),outputSerialization:TA(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),cpkInfo:t.customerProvidedKey,tracingOptions:i.tracingOptions})];case 1:r=n.apply(void 0,[o.sent()]);return[2,new hb(r,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})]}}))}))}))]}))}))};t.prototype.upload=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};Ab(r.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlockBlobClient-upload",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a,o;var s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:i={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(l=r.immutabilityPolicy)===null||l===void 0?void 0:l.expiriesOn,immutabilityPolicyMode:(c=r.immutabilityPolicy)===null||c===void 0?void 0:c.policyMode,legalHold:r.legalHold,tier:yb(r.tier),blobTagsString:MA(r.tags),tracingOptions:n.tracingOptions};return[4,FA(e,t,i,r,(u=this.blobClientConfig)===null||u===void 0?void 0:u.uploadContentChecksumAlgorithm)];case 1:a=d.sent();o=LA;return[4,this.blockBlobContext.upload(a.contentLength,a.body,i)];case 2:return[2,o.apply(void 0,[d.sent()])]}}))}))}))]}))}))};t.prototype.syncUploadFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};Ab(t.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlockBlobClient-syncUploadFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o,s,l,c,u,d,m;return __generator(this,(function(p){switch(p.label){case 0:r=LA;return[4,this.blockBlobContext.putBlobFromUrl(0,e,__assign(__assign({},t),{blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=t.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(s=t.sourceConditions)===null||s===void 0?void 0:s.ifNoneMatch,sourceIfUnmodifiedSince:(l=t.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince,sourceIfTags:(c=t.sourceConditions)===null||c===void 0?void 0:c.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:HA(t.sourceAuthorization),tier:yb(t.tier),blobTagsString:MA(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:i.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(u=t.sourceCustomerProvidedKey)===null||u===void 0?void 0:u.encryptionKey,sourceEncryptionAlgorithm:(d=t.sourceCustomerProvidedKey)===null||d===void 0?void 0:d.encryptionAlgorithm,sourceEncryptionKeySha256:(m=t.sourceCustomerProvidedKey)===null||m===void 0?void 0:m.encryptionKeySha256}}))];case 1:return[2,r.apply(void 0,[p.sent()])]}}))}))}))]}))}))};t.prototype.stageBlock=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){Ab(i.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlockBlobClient-stageBlock",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o,s;var l;return __generator(this,(function(c){switch(c.label){case 0:n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:a.tracingOptions};return[4,FA(t,r,n,i,(l=this.blobClientConfig)===null||l===void 0?void 0:l.uploadContentChecksumAlgorithm)];case 1:o=c.sent();s=LA;return[4,this.blockBlobContext.stageBlock(e,o.contentLength,o.body,n)];case 2:return[2,s.apply(void 0,[c.sent()])]}}))}))}))]}))}))};t.prototype.stageBlockFromURL=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a=this;if(r===void 0){r=0}if(n===void 0){n={}}return __generator(this,(function(o){Ab(n.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlockBlobClient-stageBlockFromURL",n,(function(o){return __awaiter(a,void 0,void 0,(function(){var a;var s,l,c;return __generator(this,(function(u){switch(u.label){case 0:a=LA;return[4,this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:r===0&&!i?undefined:_b({offset:r,count:i}),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:HA(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:o.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(s=n.sourceCustomerProvidedKey)===null||s===void 0?void 0:s.encryptionKey,sourceEncryptionAlgorithm:(l=n.sourceCustomerProvidedKey)===null||l===void 0?void 0:l.encryptionAlgorithm,sourceEncryptionKeySha256:(c=n.sourceCustomerProvidedKey)===null||c===void 0?void 0:c.encryptionKeySha256}})];case 1:return[2,a.apply(void 0,[u.sent()])]}}))}))}))]}))}))};t.prototype.commitBlockList=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};Ab(t.customerProvidedKey,this.isHttps);return[2,GA.withSpan("BlockBlobClient-commitBlockList",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o;return __generator(this,(function(s){switch(s.label){case 0:r=LA;return[4,this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(a=t.immutabilityPolicy)===null||a===void 0?void 0:a.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,tier:yb(t.tier),blobTagsString:MA(t.tags),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.getBlockList=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlockBlobClient-getBlockList",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:n=LA;return[4,this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:i.tracingOptions})];case 1:r=n.apply(void 0,[o.sent()]);if(!r.committedBlocks){r.committedBlocks=[]}if(!r.uncommittedBlocks){r.uncommittedBlocks=[]}return[2,r]}}))}))}))]}))}))};t.prototype.uploadData=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlockBlobClient-uploadData",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r,i;return __generator(this,(function(n){if(xa){if(e instanceof jl){r=e}else if(e instanceof ArrayBuffer){r=jl.from(e)}else{e=e;r=jl.from(e.buffer,e.byteOffset,e.byteLength)}return[2,this.uploadSeekableInternal((function(e,t){return r.slice(e,e+t)}),r.byteLength,t)]}else{i=new Blob([e]);return[2,this.uploadSeekableInternal((function(e,t){return i.slice(e,e+t)}),i.size,t)]}return[2]}))}))}))]}))}))};t.prototype.uploadBrowserData=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("BlockBlobClient-uploadBrowserData",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){r=new Blob([e]);return[2,this.uploadSeekableInternal((function(e,t){return r.slice(e,e+t)}),r.size,t)]}))}))}))]}))}))};t.prototype.uploadSeekableInternal=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i,n;var a=this;var o,s;if(r===void 0){r={}}return __generator(this,(function(l){i=(o=r.blockSize)!==null&&o!==void 0?o:0;if(i<0||i>Ku){throw new RangeError("blockSize option must be >= 0 and <= ".concat(Ku))}n=(s=r.maxSingleShotSize)!==null&&s!==void 0?s:ju;if(n<0||n>ju){throw new RangeError("maxSingleShotSize option must be >= 0 and <= ".concat(ju))}if(i===0){if(t>Ku*Ju){throw new RangeError("".concat(t," is too larger to upload to a block blob."))}if(t>n){i=Math.ceil(t/Ju);if(i<Xu){i=Xu}}}if(!r.blobHTTPHeaders){r.blobHTTPHeaders={}}if(!r.conditions){r.conditions={}}return[2,GA.withSpan("BlockBlobClient-uploadSeekableInternal",r,(function(o){return __awaiter(a,void 0,void 0,(function(){var a,s,l,c,u,d,m,p;var f=this;return __generator(this,(function(h){switch(h.label){case 0:if(!(t<=n))return[3,2];a=LA;return[4,this.upload(e(0,t),t,o)];case 1:return[2,a.apply(void 0,[h.sent()])];case 2:s=Math.floor((t-1)/i)+1;if(s>Ju){throw new RangeError("The buffer's size is too big or the BlockSize is too small;"+"the number of blocks must be <= ".concat(Ju))}l=[];c=ba();u=0;d=new Jb(r.concurrency);m=function(n){d.addOperation((function(){return __awaiter(f,void 0,void 0,(function(){var a,d,m,p;return __generator(this,(function(f){switch(f.label){case 0:a=EA(c,n);d=i*n;m=n===s-1?t:d+i;p=m-d;l.push(a);return[4,this.stageBlock(a,e(d,p),p,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:o.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm})];case 1:f.sent();u+=p;if(r.onProgress){r.onProgress({loadedBytes:u})}return[2]}}))}))}))};for(p=0;p<s;p++){m(p)}return[4,d.do()];case 3:h.sent();return[2,this.commitBlockList(l,o)]}}))}))}))]}))}))};t.prototype.uploadFile=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(e){return[2,GA.withSpan("BlockBlobClient-uploadFile",t,(function(e){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,Wb()];case 1:r=i.sent().size;return[2,this.uploadSeekableInternal((function(e,t){return function(){return Zb()}}),r,__assign(__assign({},t),{tracingOptions:e.tracingOptions}))]}}))}))}))]}))}))};t.prototype.uploadStream=function(e){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(t===void 0){t=Vu}if(r===void 0){r=5}if(i===void 0){i={}}return __generator(this,(function(a){if(!i.blobHTTPHeaders){i.blobHTTPHeaders={}}if(!i.conditions){i.conditions={}}return[2,GA.withSpan("BlockBlobClient-uploadStream",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o,s,l,c,u;var d=this;return __generator(this,(function(m){switch(m.label){case 0:n=0;o=ba();s=0;l=[];c=new Bl(e,t,r,(function(e,t){return __awaiter(d,void 0,void 0,(function(){var r;return __generator(this,(function(c){switch(c.label){case 0:r=EA(o,n);l.push(r);n++;return[4,this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:a.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm})];case 1:c.sent();s+=t;if(i.onProgress){i.onProgress({loadedBytes:s})}return[2]}}))}))}),Math.ceil(r/4*3));return[4,c.do()];case 1:m.sent();u=LA;return[4,this.commitBlockList(l,__assign(__assign({},i),{tracingOptions:a.tracingOptions}))];case 2:return[2,u.apply(void 0,[m.sent()])]}}))}))}))]}))}))};return t}($b);var rx=function(e){__extends(t,e);function t(t,r,i,n){var a=this;var o;var s;n=n||{};if(cd(r)){s=t;o=r;n=i}else if(xa&&r instanceof Cu||r instanceof Nu||uo(r)){s=t;n=i;o=dd(r,n)}else if(!r&&typeof r!=="string"){s=t;n=i;o=dd(new Nu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var l=r;var c=i;var u=bA(t);if(u.kind==="AccountConnString"){if(xa){var d=new Cu(u.accountName,u.accountKey);s=NA(NA(u.url,encodeURIComponent(l)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=za()}o=dd(d,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(u.kind==="SASConnString"){s=NA(NA(u.url,encodeURIComponent(l)),encodeURIComponent(c))+"?"+u.accountSas;o=dd(new Nu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}a=e.call(this,s,o)||this;a.pageBlobContext=a.storageClientContext.pageBlob;a.blobClientConfig=n;return a}t.prototype.withSnapshot=function(e){return new t(CA(this.url,$u.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.create=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};Ab(t.customerProvidedKey,this.isHttps);return[2,GA.withSpan("PageBlobClient-create",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o;return __generator(this,(function(s){switch(s.label){case 0:r=LA;return[4,this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(a=t.immutabilityPolicy)===null||a===void 0?void 0:a.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,tier:yb(t.tier),blobTagsString:MA(t.tags),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.createIfNotExists=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("PageBlobClient-createIfNotExists",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n,a,o;var s,l;return __generator(this,(function(c){switch(c.label){case 0:c.trys.push([0,2,,3]);r={ifNoneMatch:td};a=LA;return[4,this.create(e,__assign(__assign({},t),{conditions:r,tracingOptions:i.tracingOptions}))];case 1:n=a.apply(void 0,[c.sent()]);return[2,__assign(__assign({succeeded:true},n),{_response:n._response})];case 2:o=c.sent();if(((s=o.details)===null||s===void 0?void 0:s.errorCode)==="BlobAlreadyExists"){return[2,__assign(__assign({succeeded:false},(l=o.response)===null||l===void 0?void 0:l.parsedHeaders),{_response:o.response})]}throw o;case 3:return[2]}}))}))}))]}))}))};t.prototype.uploadPages=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};Ab(i.customerProvidedKey,this.isHttps);return[2,GA.withSpan("PageBlobClient-uploadPages",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o,s;var l,c;return __generator(this,(function(u){switch(u.label){case 0:n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(l=i.conditions)===null||l===void 0?void 0:l.tagConditions}),requestOptions:{onUploadProgress:i.onProgress},range:_b({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:a.tracingOptions};return[4,FA(e,r,n,i,(c=this.blobClientConfig)===null||c===void 0?void 0:c.uploadContentChecksumAlgorithm)];case 1:o=u.sent();s=LA;return[4,this.pageBlobContext.uploadPages(o.contentLength,o.body,n)];case 2:return[2,s.apply(void 0,[u.sent()])]}}))}))}))]}))}))};t.prototype.uploadPagesFromURL=function(e,t,r,i){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a=this;if(n===void 0){n={}}return __generator(this,(function(o){n.conditions=n.conditions||{};n.sourceConditions=n.sourceConditions||{};Ab(n.customerProvidedKey,this.isHttps);return[2,GA.withSpan("PageBlobClient-uploadPagesFromURL",n,(function(o){return __awaiter(a,void 0,void 0,(function(){var a;var s,l,c,u,d,m,p,f;return __generator(this,(function(h){switch(h.label){case 0:a=LA;return[4,this.pageBlobContext.uploadPagesFromURL(e,_b({offset:t,count:i}),0,_b({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:__assign(__assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(l=n.sourceConditions)===null||l===void 0?void 0:l.ifMatch,sourceIfModifiedSince:(c=n.sourceConditions)===null||c===void 0?void 0:c.ifModifiedSince,sourceIfNoneMatch:(u=n.sourceConditions)===null||u===void 0?void 0:u.ifNoneMatch,sourceIfUnmodifiedSince:(d=n.sourceConditions)===null||d===void 0?void 0:d.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:HA(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:o.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(m=n.sourceCustomerProvidedKey)===null||m===void 0?void 0:m.encryptionKey,sourceEncryptionAlgorithm:(p=n.sourceCustomerProvidedKey)===null||p===void 0?void 0:p.encryptionAlgorithm,sourceEncryptionKeySha256:(f=n.sourceCustomerProvidedKey)===null||f===void 0?void 0:f.encryptionKeySha256}})];case 1:return[2,a.apply(void 0,[h.sent()])]}}))}))}))]}))}))};t.prototype.clearPages=function(){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(e===void 0){e=0}if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};return[2,GA.withSpan("PageBlobClient-clearPages",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i;var a;return __generator(this,(function(o){switch(o.label){case 0:i=LA;return[4,this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(a=r.conditions)===null||a===void 0?void 0:a.tagConditions}),range:_b({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})];case 1:return[2,i.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.getPageRanges=function(){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(e===void 0){e=0}if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};return[2,GA.withSpan("PageBlobClient-getPageRanges",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a;var o;return __generator(this,(function(s){switch(s.label){case 0:a=LA;return[4,this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(o=r.conditions)===null||o===void 0?void 0:o.tagConditions}),range:_b({offset:e,count:t}),tracingOptions:n.tracingOptions})];case 1:i=a.apply(void 0,[s.sent()]);return[2,xb(i)]}}))}))}))]}))}))};t.prototype.listPageRangesSegment=function(){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(e===void 0){e=0}if(i===void 0){i={}}return __generator(this,(function(a){return[2,GA.withSpan("PageBlobClient-getPageRangesSegment",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n;var o;return __generator(this,(function(s){switch(s.label){case 0:n=LA;return[4,this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),range:_b({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:a.tracingOptions})];case 1:return[2,n.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.listPageRangeItemSegments=function(){return __asyncGenerator(this,arguments,(function e(t,r,i,n){var a;if(t===void 0){t=0}if(n===void 0){n={}}return __generator(this,(function(e){switch(e.label){case 0:if(!(!!i||i===undefined))return[3,7];e.label=1;case 1:return[4,__await(this.listPageRangesSegment(t,r,i,n))];case 2:a=e.sent();i=a.continuationToken;return[4,__await(a)];case 3:return[4,__await.apply(void 0,[e.sent()])];case 4:return[4,e.sent()];case 5:e.sent();e.label=6;case 6:if(i)return[3,1];e.label=7;case 7:return[2]}}))}))};t.prototype.listPageRangeItems=function(){return __asyncGenerator(this,arguments,(function e(t,r,i){var n,a,o,s,l,c;var u,d,m,p;if(t===void 0){t=0}if(i===void 0){i={}}return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,7,8,13]);a=true,o=__asyncValues(this.listPageRangeItemSegments(t,r,n,i));e.label=1;case 1:return[4,__await(o.next())];case 2:if(!(s=e.sent(),u=s.done,!u))return[3,6];p=s.value;a=false;l=p;return[5,__values(__asyncDelegator(__asyncValues(UA(l))))];case 3:return[4,__await.apply(void 0,[e.sent()])];case 4:e.sent();e.label=5;case 5:a=true;return[3,1];case 6:return[3,13];case 7:c=e.sent();d={error:c};return[3,13];case 8:e.trys.push([8,,11,12]);if(!(!a&&!u&&(m=o.return)))return[3,10];return[4,__await(m.call(o))];case 9:e.sent();e.label=10;case 10:return[3,12];case 11:if(d)throw d.error;return[7];case 12:return[7];case 13:return[2]}}))}))};t.prototype.listPageRanges=function(e,t,r){var i;var n=this;if(e===void 0){e=0}if(r===void 0){r={}}r.conditions=r.conditions||{};var a=this.listPageRangeItems(e,t,r);return i={next:function(){return a.next()}},i[Symbol.asyncIterator]=function(){return this},i.byPage=function(i){if(i===void 0){i={}}return n.listPageRangeItemSegments(e,t,i.continuationToken,__assign({maxPageSize:i.maxPageSize},r))},i};t.prototype.getPageRangesDiff=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};return[2,GA.withSpan("PageBlobClient-getPageRangesDiff",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o;var s;return __generator(this,(function(l){switch(l.label){case 0:o=LA;return[4,this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(s=i.conditions)===null||s===void 0?void 0:s.tagConditions}),prevsnapshot:r,range:_b({offset:e,count:t}),tracingOptions:a.tracingOptions})];case 1:n=o.apply(void 0,[l.sent()]);return[2,xb(n)]}}))}))}))]}))}))};t.prototype.listPageRangesDiffSegment=function(e,t,r,i){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a=this;if(n===void 0){n={}}return __generator(this,(function(o){return[2,GA.withSpan("PageBlobClient-getPageRangesDiffSegment",n,(function(o){return __awaiter(a,void 0,void 0,(function(){var a;var s;return __generator(this,(function(l){switch(l.label){case 0:a=LA;return[4,this.pageBlobContext.getPageRangesDiff({abortSignal:n===null||n===void 0?void 0:n.abortSignal,leaseAccessConditions:n===null||n===void 0?void 0:n.conditions,modifiedAccessConditions:__assign(__assign({},n===null||n===void 0?void 0:n.conditions),{ifTags:(s=n===null||n===void 0?void 0:n.conditions)===null||s===void 0?void 0:s.tagConditions}),prevsnapshot:r,range:_b({offset:e,count:t}),marker:i,maxPageSize:n===null||n===void 0?void 0:n.maxPageSize,tracingOptions:o.tracingOptions})];case 1:return[2,a.apply(void 0,[l.sent()])]}}))}))}))]}))}))};t.prototype.listPageRangeDiffItemSegments=function(e,t,r,i,n){return __asyncGenerator(this,arguments,(function a(){var o;return __generator(this,(function(a){switch(a.label){case 0:if(!(!!i||i===undefined))return[3,7];a.label=1;case 1:return[4,__await(this.listPageRangesDiffSegment(e,t,r,i,n))];case 2:o=a.sent();i=o.continuationToken;return[4,__await(o)];case 3:return[4,__await.apply(void 0,[a.sent()])];case 4:return[4,a.sent()];case 5:a.sent();a.label=6;case 6:if(i)return[3,1];a.label=7;case 7:return[2]}}))}))};t.prototype.listPageRangeDiffItems=function(e,t,r,i){return __asyncGenerator(this,arguments,(function n(){var a,o,s,l,c,u;var d,m,p,f;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,7,8,13]);o=true,s=__asyncValues(this.listPageRangeDiffItemSegments(e,t,r,a,i));n.label=1;case 1:return[4,__await(s.next())];case 2:if(!(l=n.sent(),d=l.done,!d))return[3,6];f=l.value;o=false;c=f;return[5,__values(__asyncDelegator(__asyncValues(UA(c))))];case 3:return[4,__await.apply(void 0,[n.sent()])];case 4:n.sent();n.label=5;case 5:o=true;return[3,1];case 6:return[3,13];case 7:u=n.sent();m={error:u};return[3,13];case 8:n.trys.push([8,,11,12]);if(!(!o&&!d&&(p=s.return)))return[3,10];return[4,__await(p.call(s))];case 9:n.sent();n.label=10;case 10:return[3,12];case 11:if(m)throw m.error;return[7];case 12:return[7];case 13:return[2]}}))}))};t.prototype.listPageRangesDiff=function(e,t,r,i){var n;var a=this;if(i===void 0){i={}}i.conditions=i.conditions||{};var o=this.listPageRangeDiffItems(e,t,r,__assign({},i));return n={next:function(){return o.next()}},n[Symbol.asyncIterator]=function(){return this},n.byPage=function(n){if(n===void 0){n={}}return a.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,__assign({maxPageSize:n.maxPageSize},i))},n};t.prototype.getPageRangesDiffForManagedDisks=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};return[2,GA.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o;var s;return __generator(this,(function(l){switch(l.label){case 0:o=LA;return[4,this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(s=i.conditions)===null||s===void 0?void 0:s.tagConditions}),prevSnapshotUrl:r,range:_b({offset:e,count:t}),tracingOptions:a.tracingOptions})];case 1:n=o.apply(void 0,[l.sent()]);return[2,xb(n)]}}))}))}))]}))}))};t.prototype.resize=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};return[2,GA.withSpan("PageBlobClient-resize",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),encryptionScope:t.encryptionScope,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.updateSequenceNumber=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};return[2,GA.withSpan("PageBlobClient-updateSequenceNumber",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i;var a;return __generator(this,(function(o){switch(o.label){case 0:i=LA;return[4,this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(a=r.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:n.tracingOptions})];case 1:return[2,i.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.startCopyIncremental=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,GA.withSpan("PageBlobClient-startCopyIncremental",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=LA;return[4,this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};return t}($b);function ix(e){return{Authorization:"Bearer "+e}}function nx(e,t){return fetch(e,{method:"GET",headers:ix(t)}).then((function(e){return e.json()}))}var ax=function(){function e(e,t){var r=this;this.abortController=null;this.getPrintStatus=function(){return nx("https://".concat(r.printingApi,"/sfapi/Status/?id=").concat(encodeURIComponent(ox.state.jobID)),mt.state.accessToken)};this.redirectURI=e;this.clientID=t;this.printingApi=ox.state.printApiHostUrl;this.checkStoredRefreshToken()}e.prototype.checkStoredRefreshToken=function(){var e;if(mt.state.refreshToken!==""){return}mt.state.refreshToken=(e=ct.getRefreshToken())!==null&&e!==void 0?e:""};e.prototype.registerFetchInterceptor=function(){var e=this;pr.register({request:function(e,t){return[e,t]},requestError:function(e){return Promise.reject(e)},response:function(t){if(t.status===401){if(mt.state.refreshToken===""){return t}var r=new dt(e.redirectURI,e.clientID);r.refreshTokens()}return t},responseError:function(e){return Promise.reject(e)}})};e.prototype.getPrinterList=function(e){return nx("https://".concat(this.printingApi,"/sfapi/GetPrinter/"),e)};e.prototype.getConfig=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,fetch("https://".concat(this.printingApi,"/sfapi/GetConfiguration/"),{method:"GET",headers:ix(e)})]}))}))};e.prototype.getPrinterProperties=function(e,t){return nx("https://".concat(this.printingApi,"/sfapi/GetPrinterProperties/?id=").concat(t),e)};e.prototype.getAllPrinterProperties=function(e){return nx("https://".concat(this.printingApi,"/sfapi/GetPrinterProperties/"),e)};e.prototype.printFileByUrl=function(e,t,r,i,n,a,o){this.abortController=new AbortController;return this.printRequest(e,Object.assign(Object.assign(Object.assign({fileurl:t,type:r,printerid:i},a&&{alias:a}),o&&{printanddelete:o}),{properties:n}),this.abortController.signal)};e.prototype.abortPrint=function(){if(this.abortController){this.abortController.abort();this.abortController=null}};e.prototype.printRequest=function(e,t,r){return fetch("https://".concat(this.printingApi,"/sfapi/Print/"),{method:"POST",headers:Object.assign(Object.assign({},ix(e)),{"Content-Type":"application/json"}),body:JSON.stringify(t),signal:r})};e.prototype.printByFileID=function(e,t,r,i,n,a,o){return this.printRequest(e,Object.assign(Object.assign(Object.assign({fileid:t,type:r,printerid:i},a&&{alias:a}),o&&{printanddelete:o}),{properties:n})).then((function(e){return e.json()}))};e.prototype.prepareFileUpload=function(e){return nx("https://".concat(this.printingApi,"/sfapi/PrepareUpload/"),e)};e.prototype.uploadBlobFiles=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:ox.state.uploadProgress=0;r=dd(new Nu,{retryOptions:{maxTries:4},userAgentOptions:{userAgentPrefix:"AdvancedSample V1.0.0"},keepAliveOptions:{enable:false}});i=new tx(e,r);return[4,i.uploadData(t,{blockSize:4*1024*1024,concurrency:20,onProgress:function(e){var r=100*e.loadedBytes/t.size;ox.state.uploadProgress=r},blobHTTPHeaders:{blobContentType:"application/octet-stream"}})];case 1:n=a.sent();return[2,n]}}))}))};return e}();var ox=I({printers:[],jobID:"",printFinished:false,printApiHostUrl:"",printerProperties:{},fileID:"",fileUrl:"",fileType:"",printerID:"",fileName:"",uploadProgress:0,supportedFileExtensions:""});var sx=function(){function e(){}e.prototype.getUserInfo=function(){return nx("https://".concat(mt.state.authApiHostUrl,"/v1/users/me"),mt.state.accessToken)};return e}();var lx=I({user:null,theme:"",appearance:""});var cx=[1,2,3];function ux(e,t){var r,i,n,a,o,s,l;t.color=((r=e.Default)===null||r===void 0?void 0:r.Color)=="color"?true:false;var c=(i=e.Default)===null||i===void 0?void 0:i.Orientation;var u=(n=e.Default)===null||n===void 0?void 0:n.OrientationIndex;var d;if(c){var m=(a=e.OrientationsSupported)===null||a===void 0?void 0:a.indexOf(c);if(typeof m==="number"&&m>=0)d=m+1}t.orientation=u!==null&&u!==void 0?u:d;t.resolution=(o=e.Default)===null||o===void 0?void 0:o.Resolution;var p=(s=e.PaperFormats)===null||s===void 0?void 0:s.find((function(e){return e.Default===true}));t.paper=p===null||p===void 0?void 0:p.Name;t.paperid=p===null||p===void 0?void 0:p.Id;var f=(l=e.Trays)===null||l===void 0?void 0:l.find((function(e){return(e===null||e===void 0?void 0:e.Default)===true}));if(e.Trays&&e.Trays.length>=1&&e.Trays[0]!=null){t.trayname=f===null||f===void 0?void 0:f.Name;t.defaultSource=f===null||f===void 0?void 0:f.Index}if(e.Trays&&e.Trays.length>=0&&e.Trays[0]==null){delete t.trayname;delete t.defaultSource}t.duplex=e.DuplexSupported;t.duplexmode=e.DuplexMode;delete t.PageRanges;return t}function dx(e,t,r){var i,n,a,o,s;ux(e,r);if(!t)return r;if(e.ColorSupported&&typeof t.color==="boolean"){r.color=t.color}if(e.DuplexSupported&&cx.includes(Number(t.duplexmode))){r.duplex=true;r.duplexmode=Number(t.duplexmode)}var l=(i=e.PaperFormats)===null||i===void 0?void 0:i.find((function(e){return e.Id===Number(t.paperid)}));if(l){r.paper=l.Name;r.paperid=l.Id;if(l.Id===Ye){r.paperwidth=t.paperwidth;r.paperlength=t.paperlength}}var c=Number(t.orientation);if(c>=1&&c<=((a=(n=e.OrientationsSupported)===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)){r.orientation=c}if(typeof t.resolution==="string"&&((o=e.Resolutions)===null||o===void 0?void 0:o.includes(t.resolution))){r.resolution=t.resolution}if(fx(e)){var u=(s=e.Trays)===null||s===void 0?void 0:s.find((function(e){return(e===null||e===void 0?void 0:e.Index)===Number(t.defaultSource)}));if(u){r.trayname=u.Name;r.defaultSource=u.Index}}return r}function mx(e){var t=e.color,r=e.duplex,i=e.duplexmode,n=e.paper,a=e.paperid,o=e.paperwidth,s=e.paperlength;var l=e.orientation,c=e.resolution,u=e.trayname,d=e.defaultSource;return{color:t,duplex:r,duplexmode:i,paper:n,paperid:a,paperwidth:o,paperlength:s,orientation:l,resolution:c,trayname:u,defaultSource:d}}function px(e){return!!e.Trays&&e.Trays.length>=0&&e.Trays[0]==null}function fx(e){return!!e.Trays&&e.Trays.length>=1&&e.Trays[0]!=null}function hx(e,t){if(e===qe.Success)return"success";if(He.includes(e))return"processing";if(t&&Le.includes(e))return"hub-error";if(Ue.includes(e))return"failed";return"failed"}function gx(e){var t=e.split(".").pop();return t?t.toLowerCase():""}var vx=function(e){return new Promise((function(t){return setTimeout(t,e)}))};function yx(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n,a,o;if(r===void 0){r=je}if(i===void 0){i=Je}return __generator(this,(function(s){switch(s.label){case 0:n=0;s.label=1;case 1:if(!true)return[3,4];return[4,e()];case 2:a=s.sent();n++;o=hx(a.jobstatus,t);if(o==="success")return[2];if(o==="hub-error"){throw new Error("Hub printer driver error: "+(a.jobstatusstring||a.jobstatus))}if(o==="failed"){throw new Error("Print job failed: "+(a.jobstatusstring||a.jobstatus))}if(n>=i){throw new Error("Print job timed out after ".concat(n," status checks"))}return[4,vx(r)];case 3:s.sent();return[3,1];case 4:return[2]}}))}))}function Ax(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i,n,a,o,s,l,c,u,d,m,p;if(r===void 0){r={}}return __generator(this,(function(f){switch(f.label){case 0:(i=r.onPreparing)===null||i===void 0?void 0:i.call(r,true);return[4,e.service.prepareFileUpload(e.accessToken)];case 1:l=f.sent();(n=r.onPreparing)===null||n===void 0?void 0:n.call(r,false);c=l.fileid;u=l.sasUri;d=gx(t.name);(a=r.onUploading)===null||a===void 0?void 0:a.call(r,true);f.label=2;case 2:f.trys.push([2,,6,7]);return[4,e.service.uploadBlobFiles(u,t)];case 3:m=f.sent();if(m._response.status!==Ge){throw new Error("Upload failed for file: ".concat(t.name))}return[4,e.service.printByFileID(e.accessToken,c,d,e.printerId,e.properties,t.name)];case 4:p=f.sent();if(p.code===Oe){throw new Error("Print failed for file: ".concat(t.name))}if(e.isQueue&&p.code!==undefined&&Le.includes(p.code)){throw new Error("Hub printer driver error for file: ".concat(t.name))}if(!p.jobid){throw new Error("No job ID returned for file: ".concat(t.name))}(o=r.onJobId)===null||o===void 0?void 0:o.call(r,p.jobid);return[4,yx((function(){return e.service.getPrintStatus()}),e.isQueue,e.pollIntervalMs)];case 5:f.sent();return[3,7];case 6:(s=r.onUploading)===null||s===void 0?void 0:s.call(r,false);return[7];case 7:return[2]}}))}))}var bx=function(){return":host{--ezp-status-border-radius:16px;background:var(--ezp-printerSelection-background, var(--ezp-core-backdrop));-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inset:var(--ezp-printerSelection-inset, 0);overflow-y:auto;padding:var(--ezp-printerSelection-padding, var(--ezp-spacing-5));position:var(--ezp-printerSelection-position, fixed);z-index:1}:host(.seamless){--ezp-printerSelection-background:transparent;--ezp-printerSelection-box-background:transparent;--ezp-printerSelection-box-boxShadow:none;--ezp-printerSelection-box-margin:0;--ezp-printerSelection-box-padding:0;--ezp-printerSelection-inset:auto;--ezp-printerSelection-padding:0;--ezp-printerSelection-position:static;--ezp-printerSelection-width:100%}#box{background:var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));border-radius:16px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));color:var(--ezp-core-foreground-primary);margin:var(--ezp-printerSelection-box-margin, auto);padding:var(--ezp-printerSelection-box-padding, 0);position:relative;width:var(--ezp-printerSelection-width, 384px)}#header{-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--ezp-core-outline);color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);-ms-flex-pack:justify;justify-content:space-between;padding:var(--ezp-spacing-4);position:relative;z-index:3}#title{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}#title ezp-label{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#files-badge{background:var(--ezp-theme-translucent);border-radius:999px;color:var(--ezp-theme-solid);font-size:12px;font-weight:600;line-height:1;padding:5px 10px;white-space:nowrap}#header-actions{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2)}#body{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3);padding:var(--ezp-spacing-4)}#files-card{background:var(--ezp-core-surface-secondary);border-radius:12px;padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}#files{position:relative}#files-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);margin:calc(-1 * 4px);max-height:var(--ezp-printerSelection-filesList-maxHeight, calc(4.5 * 20px + 4 * var(--ezp-spacing-2)));overflow-x:hidden;overflow-y:auto;padding:4px;scrollbar-width:thin}.file-row{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;gap:var(--ezp-spacing-3);min-height:20px;min-width:0}.file-row ezp-file-name{-ms-flex:0 1 auto;flex:0 1 auto}.file-row-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px;color:var(--ezp-theme-solid);-ms-flex-negative:0;flex-shrink:0}#printer-caption{color:var(--ezp-core-foreground-secondary);letter-spacing:0.08em;padding:0 var(--ezp-spacing-1);text-transform:uppercase}#printer-card{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--ezp-core-outline);box-shadow:inset 0 0 0 1px var(--ezp-core-outline);position:relative}#printer{--ezp-select-label-display:none;--ezp-select-toggle-gridTemplateAreas:'icon value accessory';--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-textAlign:left}#print{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-theme-solid);border:0;border-radius:8px;color:var(--ezp-white-100);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:var(--ezp-spacing-3);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:13px var(--ezp-spacing-4);-webkit-transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#print ezp-icon{--ezp-icon-size:20px;--ezp-icon-gridTemplate:20px}@media (hover: hover){#print:not(:disabled):hover{opacity:0.9}#print:not(:disabled):active{opacity:0.8}}#print:disabled{background:var(--ezp-core-shade-primary);color:var(--ezp-core-foreground-tertiary);cursor:default}#options{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#options>*{-webkit-box-shadow:inset 0 -1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 -1px 0 0 var(--ezp-core-outline)}#options>*:last-child{-webkit-box-shadow:none;box-shadow:none}#footer{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));border-radius:0 0 16px 16px;border-top:1px solid var(--ezp-core-outline);bottom:0;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr;padding:var(--ezp-spacing-4);position:-webkit-sticky;position:sticky;z-index:3}#cancel{--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-borderRadius:8px;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary);--ezp-textButton-padding:13px var(--ezp-spacing-3)}"};var xx=e("ezp_printer_selection",function(){function e(e){var t=this;i(this,e);this.printCancel=n(this,"printCancel",7);this.printDismiss=n(this,"printDismiss",7);this.printSubmit=n(this,"printSubmit",7);this.logout=n(this,"logout",7);this.fileExtension="";this.duplexOptions=[{id:1,title:Ce.t("printer_selection.duplex_none")},{id:2,title:Ce.t("printer_selection.duplex_long")},{id:3,title:Ce.t("printer_selection.duplex_short")}];this.ColorOptions=[{id:1,title:Ce.t("printer_selection.color_color")},{id:2,title:Ce.t("printer_selection.color_grayscale")}];this.hidemenu=false;this.hideheader=false;this.loading=true;this.printProcessing=false;this.pageRangeInvalid=false;this.uploading=false;this.preparingUpload=false;this.printSuccess=false;this.printFailed=false;this.printTimedOut=false;this.notSupported=false;this.noPrinters=false;this.hubDriverError=false;this.userMenuOpen=false;this.printStopped=false;this.firstVisibleFile=0;this.printers=[];this.selectedPrinter={id:"",location:"",name:"",is_queue:false};this.selectedPrinterConfig={Default:{Color:"",Duplex:"",Paper:"",Orientation:"",Resolution:"",Tray:""},OrientationsSupported:[],PaperFormats:[],Resolutions:[],DuplexSupported:false,Color:false,Trays:[]};this.selectedProperties={paper:"",paperid:"",color:false,duplex:true,duplexmode:1,orientation:1,copies:"",resolution:0,paperlength:0,paperwidth:0,defaultSource:"",trayname:"",PageRanges:""};this.loadingPrinterConfig=false;this.currentFileIndex=0;this.totalFiles=0;this.failedFiles=[];this.successfulFiles=[];this.partialSuccess=false;this.handleCancel=function(){t.failedFiles=[];t.successfulFiles=[];t.partialSuccess=false;t.hubDriverError=false;t.printDismiss.emit()};this.validateData=function(e){var r=hx(e.jobstatus,t.selectedPrinter.is_queue);switch(r){case"processing":return false;case"success":t.printSuccess=true;t.printProcessing=false;return true;case"hub-error":t.hubDriverError=true;t.printProcessing=false;return true;case"failed":default:t.printFailed=true;t.printProcessing=false;return true}};this.handlePrint=function(){return __awaiter(t,void 0,void 0,(function(){var e,t,r,i,n;var a=this;return __generator(this,(function(o){switch(o.label){case 0:(e=this.printButton)===null||e===void 0?void 0:e.blur();this.printProcessing=true;this.failedFiles=[];this.successfulFiles=[];this.partialSuccess=false;this.hubDriverError=false;if(this.selectedPrinter.is_queue){t=setTimeout((function(){a.hubDriverError=true;a.printProcessing=false}),Ve)}r=function(){if(a.selectedPrinter.is_queue){a.hubDriverError=true}else{a.printFailed=true}a.printProcessing=false;if(t)clearTimeout(t)};if(px(this.selectedPrinterConfig)){delete this.selectedProperties.trayname;delete this.selectedProperties.defaultSource}i=it(this.selectedProperties);i=nt(i);if(i.PageRanges)i.PageRanges=at(i.PageRanges);ox.state.fileUrl=this.fileurl;ox.state.fileID=this.fileid;ox.state.fileType=this.filetype;ox.state.printerID=this.selectedPrinter.id;ox.state.printerProperties=this.selectedProperties;ox.state.fileName=this.filename;if(!this.fileurl)return[3,1];this.printService.printFileByUrl(mt.state.accessToken,this.fileurl,this.filetype,this.selectedPrinter.id,i,this.filename).then((function(e){if(e.status===200&&a.selectedPrinter.is_queue){a.printProcessing=false;a.printSuccess=true;if(t)clearTimeout(t)}if(e.status===Fe){return e.json().then((function(e){a.fileid=e.fileid;return a.printService.printByFileID(mt.state.accessToken,a.fileid,a.filetype,a.selectedPrinter.id,i,a.filename)}))}else{return e.json()}})).then((function(e){if(e.code===Oe){a.printFailed=true;a.printProcessing=false;if(t)clearTimeout(t)}else if(a.selectedPrinter.is_queue&&Le.includes(e.code)){a.hubDriverError=true;a.printProcessing=false;if(t)clearTimeout(t)}else if(e.jobid){ox.state.jobID=e.jobid;rt({fn:a.printService.getPrintStatus,validate:a.validateData,interval:je,maxAttempts:Je}).catch((function(e){if(a.isTimeoutError(e)){a.printTimedOut=true;a.printProcessing=false}else{r()}}))}else{r()}})).catch((function(){r()}));return[3,8];case 1:if(!(this.files&&this.files.length>1))return[3,3];return[4,this.processMultipleFiles(this.files,i)];case 2:o.sent();if(t)clearTimeout(t);return[3,8];case 3:if(!(this.files&&this.files.length===1))return[3,8];this.totalFiles=1;this.currentFileIndex=0;this.failedFiles=[];this.successfulFiles=[];o.label=4;case 4:o.trys.push([4,6,,7]);return[4,this.processSingleFile(this.files[0],i)];case 5:o.sent();this.successfulFiles.push(this.files[0].name);this.printSuccess=true;this.partialSuccess=false;this.printProcessing=false;return[3,7];case 6:n=o.sent();this.partialSuccess=false;this.printProcessing=false;if(this.isTimeoutError(n)){this.printTimedOut=true}else{this.failedFiles.push(this.files[0].name);this.printFailed=true;if(n.message&&n.message.includes("Hub printer driver error")){this.hubDriverError=true}}return[3,7];case 7:if(t)clearTimeout(t);o.label=8;case 8:this.rememberSelection();this.printStopped=false;return[2]}}))}))};this.handleUserMenu=function(){t.userMenuOpen=true};this.handleFilesScroll=function(e){var r=Ze(e.currentTarget);if(r>=0&&r!==t.firstVisibleFile)t.firstVisibleFile=r};this.validateFileType=function(e){return __awaiter(t,void 0,void 0,(function(){var t,r;return __generator(this,(function(i){r=(t=e.split(".").pop())!==null&&t!==void 0?t:"";this.fileExtension=r.toLowerCase();return[2,ox.state.supportedFileExtensions.includes("".concat(this.fileExtension))]}))}))}}e.prototype.listenInputValueChanged=function(e){this.setSelectedProperties(e.detail)};e.prototype.listenSelectSelection=function(e){this.setSelectedProperties(e.detail)};e.prototype.listenStepperChanged=function(e){this.selectedProperties.copies=e.detail};e.prototype.listenUserMenuClosure=function(){this.userMenuOpen=false};e.prototype.listenLogout=function(){this.printCancel.emit();this.logout.emit()};e.prototype.listenStatusCancel=function(e){if(e.detail==="print-processing"){this.printStopped=true;this.printProcessing=false;this.printService.abortPrint()}};e.prototype.listenStatusClose=function(e){switch(e.detail){case"print-success":this.printSuccess=false;this.partialSuccess=false;this.failedFiles=[];this.successfulFiles=[];this.printCancel.emit();break;case"print-failed":this.printFailed=false;break;case"print-timeout":this.printTimedOut=false;this.printCancel.emit();break;case"hub-driver-error":this.hubDriverError=false;break;case"not-supported":this.noPrinters=false;break;case"no-printers":this.noPrinters=false;this.printCancel.emit();break}};e.prototype.listenStatusRetry=function(e){switch(e.detail){case"not-supported":this.printCancel.emit();break;case"print-failed":this.printFailed=false;this.printProcessing=false;this.handlePrint();break;case"print-timeout":this.printTimedOut=false;this.printProcessing=false;this.handlePrint();break;case"hub-driver-error":this.hubDriverError=false;this.printProcessing=false;this.handlePrint();break}};Object.defineProperty(e.prototype,"printDisabled",{get:function(){return this.selectedPrinter.id===""||this.loadingPrinterConfig||this.printProcessing||this.pageRangeInvalid},enumerable:false,configurable:true});e.prototype.rememberSelection=function(){if(!this.selectedPrinter.id)return;ct.setPrinterSettings(this.selectedPrinter.id,mx(this.selectedProperties));ct.setPrinter(this.selectedPrinter)};e.prototype.selectInitialPrinter=function(){var e,t;var r=ct.getPrinter();var i=(e=this.printers)===null||e===void 0?void 0:e.some((function(e){return e.id===(r===null||r===void 0?void 0:r.id)}));if(r&&!i)ct.clearSavedPrinter();if(r&&i){this.selectedPrinter=r}else if(((t=this.printers)===null||t===void 0?void 0:t.length)===1){this.selectedPrinter=this.printers[0]}else{this.selectedPrinter={id:"",location:"",name:"",is_queue:false}}this.setPaperid()};e.prototype.setPaperid=function(){this.paperid=this.selectedProperties.paperid};e.prototype.getUserInfo=function(){var e=this;var t=new sx;return t.getUserInfo().then((function(t){lx.state.user=t;e.userName=lx.state.user.display_name}))};e.prototype.setSelectedProperties=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r;return __generator(this,(function(i){switch(i.label){case 0:t=e.type;switch(t){case"printer":return[3,1];case"color":return[3,3];case"orientation":return[3,4];case"format":return[3,5];case"quality":return[3,6];case"length":return[3,7];case"width":return[3,8];case"tray":return[3,9];case"paper_ranges":return[3,10];case"duplex":return[3,11]}return[3,12];case 1:r=this.printers.find((function(t){return t.id===e.id}));this.selectedPrinter=r!==null&&r!==void 0?r:{id:e.id,name:e.title,location:"",is_queue:e.is_queue};return[4,this.loadSelectedPrinterConfig()];case 2:i.sent();return[3,12];case 3:this.selectedProperties.color=e.title==Ce.t("printer_selection.color_color")?true:false;return[3,12];case 4:this.selectedProperties.orientation=e.id;return[3,12];case 5:this.selectedProperties.paper=e.title;this.selectedProperties.paperid=e.id;return[3,12];case 6:this.selectedProperties.resolution=e.title;return[3,12];case 7:this.selectedProperties.paperlength=e.value;return[3,12];case 8:this.selectedProperties.paperwidth=e.value;return[3,12];case 9:if(px(this.selectedPrinterConfig)){delete this.selectedProperties.trayname;delete this.selectedProperties.defaultSource}if(fx(this.selectedPrinterConfig)){this.selectedProperties.trayname=e.title;this.selectedProperties.defaultSource=e.id}return[3,12];case 10:this.selectedProperties.PageRanges=e.value;this.pageRangeInvalid=!ot(this.selectedProperties.PageRanges);return[3,12];case 11:if(e.title==Ce.t("printer_selection.duplex_none")||e.title==Ce.t("printer_selection.duplex_long")||e.title==Ce.t("printer_selection.duplex_short")){this.selectedProperties.duplex=true}else{this.selectedProperties.duplex=false}this.selectedProperties.duplexmode=e.id;return[3,12];case 12:this.setPaperid();return[2]}}))}))};e.prototype.processSingleFile=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r=this;return __generator(this,(function(i){switch(i.label){case 0:return[4,Ax({service:this.printService,accessToken:mt.state.accessToken,printerId:this.selectedPrinter.id,isQueue:this.selectedPrinter.is_queue,properties:t,pollIntervalMs:je},e,{onPreparing:function(e){return r.preparingUpload=e},onUploading:function(e){return r.uploading=e},onJobId:function(e){return ox.state.jobID=e}})];case 1:i.sent();return[2]}}))}))};e.prototype.duplexPreSelection=function(){var e;if(!this.selectedPrinter.id)return null;var t=Number(this.selectedProperties.duplexmode);if(t)return t;switch((e=this.selectedPrinterConfig.Default)===null||e===void 0?void 0:e.Duplex){case"duplex_simplex":return Ce.t("printer_selection.duplex_none");case"duplex_vertical":return Ce.t("printer_selection.duplex_long");case"duplex_horizontal":return Ce.t("printer_selection.duplex_short");default:return null}};e.prototype.paperPreSelection=function(){var e,t;if(!this.selectedPrinter.id)return null;if(this.selectedProperties.paper)return this.selectedProperties.paper;var r=(e=this.selectedPrinterConfig.Default)===null||e===void 0?void 0:e.Paper;return r&&((t=this.selectedPrinterConfig.PaperFormats)===null||t===void 0?void 0:t.some((function(e){return e.Name.includes(r)})))?r:null};e.prototype.trayPreSelection=function(){var e,t;if(!this.selectedPrinter.id)return null;if(this.selectedProperties.trayname)return this.selectedProperties.trayname;var r=(e=this.selectedPrinterConfig.Default)===null||e===void 0?void 0:e.Tray;return r&&((t=this.selectedPrinterConfig.Trays)===null||t===void 0?void 0:t.some((function(e){return e===null||e===void 0?void 0:e.Name.includes(r)})))?r:null};e.prototype.setDefaultPaperFormat=function(){var e,t,r,i,n;var a;var o=navigator.language;if(o==="en-US"){a="Letter"}else if(o==="my"){a="Letter"}else{a="A4"}var s=(e=this.selectedPrinterConfig.PaperFormats)===null||e===void 0?void 0:e.find((function(e){return e.Name.includes(a)}));if(s){this.selectedProperties.paper=s.Name;this.selectedProperties.paperid=s.Id}else{this.selectedProperties.paper=(r=(t=this.selectedPrinterConfig.PaperFormats)===null||t===void 0?void 0:t[0])===null||r===void 0?void 0:r.Name;this.selectedProperties.paperid=(n=(i=this.selectedPrinterConfig.PaperFormats)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.Id}this.setPaperid()};e.prototype.processMultipleFiles=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:this.totalFiles=e.length;this.currentFileIndex=0;this.failedFiles=[];this.successfulFiles=[];r=0;a.label=1;case 1:if(!(r<e.length))return[3,6];this.currentFileIndex=r;i=e[r];a.label=2;case 2:a.trys.push([2,4,,5]);return[4,this.processSingleFile(i,t)];case 3:a.sent();this.successfulFiles.push(i.name);return[3,5];case 4:n=a.sent();this.failedFiles.push(i.name);return[3,5];case 5:r++;return[3,1];case 6:if(this.failedFiles.length===0){this.printSuccess=true;this.partialSuccess=false;this.printProcessing=false}else if(this.successfulFiles.length===0){this.printFailed=true;this.partialSuccess=false;this.printProcessing=false}else{this.printSuccess=true;this.partialSuccess=true;this.printProcessing=false}return[2]}}))}))};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,i,n,a,o,s,l,c;var u=this;return __generator(this,(function(d){switch(d.label){case 0:this.unsubscribeLanguage=We(this);this.printService=new ax(this.redirectURI,this.clientID);this.printService.registerFetchInterceptor();d.label=1;case 1:d.trys.push([1,,20,21]);return[4,this.getUserInfo().catch((function(){return undefined}))];case 2:d.sent();e=false;d.label=3;case 3:d.trys.push([3,5,,6]);return[4,this.printService.getPrinterList(mt.state.accessToken)];case 4:t=d.sent();if(!Array.isArray(t))throw new Error("Unexpected printer list payload");this.printers=t;e=true;return[3,6];case 5:r=d.sent();this.printers=[];return[3,6];case 6:if(!!e)return[3,7];this.noPrinters=true;return[3,9];case 7:if(this.printers.length===0){this.noPrinters=true}this.selectInitialPrinter();if(!(this.selectedPrinter.id!=""))return[3,9];return[4,this.loadSelectedPrinterConfig()];case 8:d.sent();d.label=9;case 9:i=false;d.label=10;case 10:d.trys.push([10,13,,14]);return[4,this.printService.getConfig(mt.state.accessToken)];case 11:return[4,d.sent().json()];case 12:n=d.sent();ox.state.supportedFileExtensions=n.System.FILEEXT;i=true;return[3,14];case 13:a=d.sent();return[3,14];case 14:d.trys.push([14,16,,17]);return[4,this.printService.getAllPrinterProperties(mt.state.accessToken).then((function(e){u.printerConfig=e}))];case 15:d.sent();return[3,17];case 16:o=d.sent();return[3,17];case 17:if(!(i&&this.files&&this.files.length>0))return[3,19];s=this.files.map((function(e){return u.validateFileType(e.name)}));return[4,Promise.all(s)];case 18:l=d.sent();c=l.every((function(e){return e}));this.notSupported=!c;d.label=19;case 19:return[3,21];case 20:this.loading=false;return[7];case 21:return[2]}}))}))};e.prototype.loadSelectedPrinterConfig=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(i){switch(i.label){case 0:this.loadingPrinterConfig=true;i.label=1;case 1:i.trys.push([1,3,4,5]);return[4,this.printService.getPrinterProperties(mt.state.accessToken,this.selectedPrinter.id)];case 2:e=i.sent();t=e===null||e===void 0?void 0:e[0];if(!t)throw new Error("No properties returned for the selected printer");this.selectedPrinterConfig=t;dx(t,ct.getPrinterSettings(this.selectedPrinter.id),this.selectedProperties);this.setPaperid();if(this.selectedProperties.paper===""){this.setDefaultPaperFormat()}return[3,5];case 3:r=i.sent();this.selectedPrinter={id:"",location:"",name:"",is_queue:false};return[3,5];case 4:this.loadingPrinterConfig=false;return[7];case 5:return[2]}}))}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.processingDescription=function(){if(this.preparingUpload)return Ce.t("printer_selection.prepare_upload");if(this.uploading){var e=Math.round(ox.state.uploadProgress);var t=this.totalFiles>1?"".concat(this.currentFileIndex+1,"/").concat(this.totalFiles," · "):"";return"".concat(Ce.t("printer_selection.uploading")," (").concat(t).concat(e,"%)")}if(this.totalFiles>1){return"".concat(Ce.t("printer_selection.print_processing")," (").concat(this.currentFileIndex+1,"/").concat(this.totalFiles,")")}return Ce.t("printer_selection.print_processing")};e.prototype.pullPrintSuccessDescription=function(){var e=Ce.t("printer_selection.pull_print_success");if(this.totalFiles<=1)return e;return this.failedFiles.length>0?"".concat(e," (").concat(this.successfulFiles.length,"/").concat(this.totalFiles," files)"):"".concat(e," (").concat(this.totalFiles," files)")};e.prototype.printSuccessDescription=function(){var e=Ce.t("printer_selection.print_success");var t=Ce.t("printer_selection.files");if(this.totalFiles<=1)return e;return this.partialSuccess?"".concat(e," (").concat(this.successfulFiles.length,"/").concat(this.totalFiles," ").concat(t," - ").concat(this.failedFiles.length," failed"):"".concat(e," (").concat(this.totalFiles," ").concat(t,")")};e.prototype.isTimeoutError=function(e){var t=e instanceof Error?e.message:String(e);return t.includes("Exceeded max attempts")||t.includes("timed out")};e.prototype.renderStatus=function(){if(this.printProcessing){return a("ezp-status",{processing:true,description:this.processingDescription(),instance:"print-processing",cancel:true})}if(this.selectedPrinter.is_queue&&this.printSuccess){return a("ezp-status",{icon:"checkmark-alt",description:this.pullPrintSuccessDescription(),instance:"print-success",close:true})}if(this.printSuccess){return a("ezp-status",{icon:this.partialSuccess?"exclamation-mark":"checkmark-alt",description:this.printSuccessDescription(),subtext:this.partialSuccess?undefined:Ce.t("printer_selection.print_success_sub"),instance:"print-success",close:true})}if(this.printTimedOut){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.print_timeout"),instance:"print-timeout",close:true,retry:true})}if(this.printFailed){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.print_failed"),instance:"print-failed",close:true,retry:true})}if(this.notSupported){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.not_supported"),instance:"not-supported",retry:true})}if(this.hubDriverError){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.print_failed"),instance:"hub-driver-error",close:true,retry:true})}if(this.noPrinters){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.no_printers"),instance:"no-printers",close:true})}return null};e.prototype.render=function(){var e=this;var t,r,i,n,s,l,u,d,m,p;var f=this.files&&this.files.length>0?this.files.map((function(e){return e.name})):this.filename?[this.filename]:[];var h=f.length;return this.loading?a("ezp-status",{processing:true,description:Ce.t("printer_selection.loading"),instance:"loading"}):a(o,{class:{seamless:this.seamless}},a("div",{id:"box","data-backdrop-surface":true},!this.printStopped&&this.renderStatus(),!this.hideheader&&a("div",{id:"header"},a("div",{id:"title"},a("ezp-label",{weight:"heavy",text:Ce.t("printer_selection.print")}),!this.notSupported&&h>0&&a("span",{id:"files-badge"},Ce.t("printer_selection.file_count",{count:h}))),a("div",{id:"header-actions"},!this.hidemenu&&a("ezp-icon-button",{level:"tertiary",icon:"menu",id:"toggle-menu",type:"button",onClick:this.handleUserMenu}),a("ezp-icon-button",{level:"tertiary",icon:"close",id:"close",type:"button",onClick:this.handleCancel}))),a("div",{id:"body"},!this.notSupported&&f.length>0&&a("div",{id:"files-card"},a("div",{id:"files"},a("div",{id:"files-list",onScroll:this.handleFilesScroll},f.map((function(t,r){return a("div",{class:"file-row",key:r},a("ezp-icon",{name:"file",class:"file-row-icon"}),a("ezp-file-name",{name:t,anchor:"parent",placement:r===e.firstVisibleFile?"bottom":"top"}))}))))),a("ezp-label",{id:"printer-caption",level:"tertiary",weight:"heavy",text:Ce.t("printer_selection.printer")}),a("div",{id:"printer-card"},a("ezp-select",{id:"printer",label:Ce.t("printer_selection.printer"),icon:"printer",placeholder:this.printers.length>0?Ce.t("printer_selection.select_printer"):Ce.t("printer_selection.no_printers"),toggleFlow:"vertical",optionFlow:"vertical",options:this.printers.map((function(e){return{id:e.id,title:e.name,meta:e.location!==""?e.location:"",type:"printer",is_queue:e.is_queue}})),preSelected:this.selectedPrinter.id?this.selectedPrinter.name:null,disabled:!(this.printers.length>0)})),a("div",{id:"options"},a("ezp-stepper",{label:Ce.t("printer_selection.copies")}),a("ezp-select",{label:Ce.t("printer_selection.color"),placeholder:Ce.t("printer_selection.select_color"),toggleFlow:"horizontal",options:(t=this.ColorOptions)===null||t===void 0?void 0:t.map((function(e){return{id:e.id,title:e.title,meta:"",type:"color"}})),preSelected:this.selectedPrinter.id?this.selectedProperties.color?Ce.t("printer_selection.color_color"):Ce.t("printer_selection.color_grayscale"):null,disabled:!this.selectedPrinterConfig.ColorSupported}),a("ezp-select",{label:Ce.t("printer_selection.duplex"),placeholder:Ce.t("printer_selection.select_duplex"),toggleFlow:"horizontal",options:(r=this.duplexOptions)===null||r===void 0?void 0:r.map((function(e){return{id:e.id,title:e.title,meta:"",type:"duplex"}})),preSelected:this.duplexPreSelection(),disabled:!this.selectedPrinterConfig.DuplexSupported}),a("ezp-select",{label:Ce.t("printer_selection.size"),placeholder:Ce.t("printer_selection.select_size"),toggleFlow:"horizontal",optionFlow:"horizontal",options:this.selectedPrinterConfig.PaperFormats&&this.selectedPrinterConfig.PaperFormats.map((function(e){return{id:e.Id,title:e.Name,meta:"".concat(e.XRes," x ").concat(e.YRes),type:"format"}})),preSelected:this.paperPreSelection(),disabled:!(((n=(i=this.selectedPrinterConfig.PaperFormats)===null||i===void 0?void 0:i.length)!==null&&n!==void 0?n:0)>0)}),this.paperid==Ye?a(c,null,a("ezp-input",{suffix:"mm",value:this.selectedProperties.paperwidth,eventType:"width",type:"number",label:Ce.t("printer_selection.width")}),a("ezp-input",{suffix:"mm",value:this.selectedProperties.paperlength,eventType:"length",type:"number",label:Ce.t("printer_selection.length")})):null,a("ezp-select",{label:Ce.t("printer_selection.orientation"),placeholder:Ce.t("printer_selection.select_orientation"),toggleFlow:"horizontal",options:(s=this.selectedPrinterConfig.OrientationsSupported)===null||s===void 0?void 0:s.map((function(e,t){return{id:t+1,title:Ce.t("printer_selection.orientation_".concat(e)),meta:"",type:"orientation"}})),preSelected:this.selectedPrinter.id?this.selectedProperties.orientation:null,disabled:!(((u=(l=this.selectedPrinterConfig.OrientationsSupported)===null||l===void 0?void 0:l.length)!==null&&u!==void 0?u:0)>0)}),a("ezp-select",{label:Ce.t("printer_selection.quality"),placeholder:Ce.t("printer_selection.select_quality"),toggleFlow:"horizontal",options:(d=this.selectedPrinterConfig.Resolutions)===null||d===void 0?void 0:d.map((function(e,t){return{id:t,title:e,meta:"",type:"quality"}})),preSelected:this.selectedPrinter.id?this.selectedProperties.resolution||null:null,disabled:!(((p=(m=this.selectedPrinterConfig.Resolutions)===null||m===void 0?void 0:m.length)!==null&&p!==void 0?p:0)>0)}),this.selectedPrinterConfig.Trays&&this.selectedPrinterConfig.Trays.length>=1&&this.selectedPrinterConfig.Trays[0]!=null?a("ezp-select",{label:Ce.t("printer_selection.trays"),placeholder:Ce.t("printer_selection.select_trays"),toggleFlow:"horizontal",optionFlow:"horizontal",options:this.selectedPrinterConfig.Trays&&this.selectedPrinterConfig.Trays.length>=1?this.selectedPrinterConfig.Trays.map((function(e){return{title:e.Name,id:e.Index,meta:"",type:"tray"}})):undefined,preSelected:this.trayPreSelection()}):null,a("ezp-input",{suffix:"",placeholder:"1-2,4-5,8",value:this.selectedProperties.PageRanges,eventType:"paper_ranges",type:"text",label:Ce.t("printer_selection.page_ranges")}))),a("div",{id:"footer"},a("ezp-text-button",{type:"button",level:"secondary",onClick:this.handleCancel,label:Ce.t("button_actions.cancel"),class:"action",id:"cancel"}),a("button",{id:"print",type:"button",disabled:this.printDisabled,onClick:this.handlePrint,ref:function(t){return e.printButton=t}},a("ezp-icon",{name:"printer"}),a("ezp-label",{weight:"heavy",text:Ce.t("printer_selection.print")}))),!this.hidemenu&&a("ezp-user-menu",{open:this.userMenuOpen,name:this.userName})))};return e}());xx.style=bx();var Nx="account.ezeep.com";var Cx="printapi.ezeep.com";var zx={authApiHostUrl:Nx,printingApiHostUrl:Cx};var Ix=function(){return':host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:rgba(0, 0, 0, 0.1);--ezp-black-20:rgba(0, 0, 0, 0.2);--ezp-black-30:rgba(0, 0, 0, 0.3);--ezp-black-40:rgba(0, 0, 0, 0.4);--ezp-black-50:rgba(0, 0, 0, 0.5);--ezp-black-60:rgba(0, 0, 0, 0.6);--ezp-black-70:rgba(0, 0, 0, 0.7);--ezp-black-80:rgba(0, 0, 0, 0.8);--ezp-black-90:rgba(0, 0, 0, 0.9);--ezp-black-95:rgba(0, 0, 0, 0.95);--ezp-black-100:rgb(0, 0, 0)}:host{--ezp-white-5:rgba(255, 255, 255, 0.05);--ezp-white-10:rgba(255, 255, 255, 0.1);--ezp-white-20:rgba(255, 255, 255, 0.2);--ezp-white-30:rgba(255, 255, 255, 0.3);--ezp-white-40:rgba(255, 255, 255, 0.4);--ezp-white-50:rgba(255, 255, 255, 0.5);--ezp-white-60:rgba(255, 255, 255, 0.6);--ezp-white-70:rgba(255, 255, 255, 0.7);--ezp-white-80:rgba(255, 255, 255, 0.8);--ezp-white-90:rgba(255, 255, 255, 0.9);--ezp-white-95:rgba(255, 255, 255, 0.95);--ezp-white-100:rgb(255, 255, 255)}:host{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", sans-serif;-webkit-font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--ezp-duration-1:0.1s;--ezp-duration-2:0.16s;--ezp-duration-3:0.26s;--ezp-duration-4:0.42s;--ezp-duration-5:0.68s;--ezp-duration-6:1s;--ezp-spacing-1:4px;--ezp-spacing-2:6px;--ezp-spacing-3:10px;--ezp-spacing-4:16px;--ezp-spacing-5:26px;--ezp-spacing-6:42px;--ezp-spacing-7:68px;--ezp-spacing-8:110px;--ezp-easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--ezp-easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ezp-easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ezp-easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ezp-easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ezp-easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1)}:host([fit-parent]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%;min-height:0}:host([fit-parent]) ezp-upload{-ms-flex:1 1 auto;flex:1 1 auto;min-height:0}:host([fit-parent]) ezp-auth{-ms-flex-negative:0;flex-shrink:0}:host(.light){--ezp-accent-pink-solid:rgb(242, 50, 103);--ezp-accent-pink-solid-alt:rgb(223, 21, 89);--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-pink-faded:rgba(242, 50, 103, 0.1);--ezp-accent-red-solid:rgb(242, 59, 34);--ezp-accent-red-solid-alt:rgb(222, 35, 19);--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-red-faded:rgba(242, 59, 34, 0.1);--ezp-accent-orange-solid:rgb(254, 114, 0);--ezp-accent-orange-solid-alt:rgb(245, 98, 0);--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-orange-faded:rgba(254, 114, 0, 0.1);--ezp-accent-yellow-solid:rgb(255, 162, 0);--ezp-accent-yellow-solid-alt:rgb(254, 144, 0);--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-yellow-faded:rgba(255, 162, 0, 0.1);--ezp-accent-green-solid:rgb(93, 146, 0);--ezp-accent-green-solid-alt:rgb(81, 129, 0);--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-green-faded:rgba(93, 146, 0, 0.1);--ezp-accent-teal-solid:rgb(0, 150, 124);--ezp-accent-teal-solid-alt:rgb(0, 132, 110);--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-teal-faded:rgba(0, 150, 124, 0.1);--ezp-accent-cyan-solid:rgb(0, 143, 178);--ezp-accent-cyan-solid-alt:rgb(0, 126, 158);--ezp-accent-cyan-translucent:rgba(0, 143, 178, 0.1);--ezp-accent-cyan-faded:rgba(0, 143, 178, 0.1);--ezp-accent-blue-solid:rgb(80, 129, 241);--ezp-accent-blue-solid-alt:rgb(59, 114, 223);--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-blue-faded:rgba(80, 129, 241, 0.1);--ezp-accent-dark-blue-solid:rgb(0, 47, 109);--ezp-accent-dark-blue-solid-alt:rgb(0, 35, 84);--ezp-accent-dark-blue-translucent:rgba(0, 47, 109, 0.16);--ezp-accent-dark-blue-faded:rgba(0, 47, 109, 0.1);--ezp-accent-violet-solid:rgb(174, 94, 243);--ezp-accent-violet-solid-alt:rgb(157, 78, 226);--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-accent-violet-faded:rgba(174, 94, 243, 0.1)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-accent-pink-solid:color(display-p3 0.949 0.196 0.404 / 100%);--ezp-accent-pink-solid-alt:color(display-p3 0.875 0.082 0.349 / 100%);--ezp-accent-pink-translucent:color(display-p3 0.949 0.196 0.404 / 16%);--ezp-accent-pink-faded:color(display-p3 0.949 0.196 0.404 / 10%);--ezp-accent-red-solid:color(display-p3 0.949 0.231 0.133 / 100%);--ezp-accent-red-solid-alt:color(display-p3 0.871 0.137 0.075 / 100%);--ezp-accent-red-translucent:color(display-p3 0.949 0.231 0.133 / 16%);--ezp-accent-red-faded:color(display-p3 0.949 0.231 0.133 / 10%);--ezp-accent-orange-solid:color(display-p3 0.996 0.447 0 / 100%);--ezp-accent-orange-solid-alt:color(display-p3 0.961 0.384 0 / 100%);--ezp-accent-orange-translucent:color(display-p3 0.996 0.447 0 / 16%);--ezp-accent-orange-faded:color(display-p3 0.996 0.447 0 / 10%);--ezp-accent-yellow-solid:color(display-p3 1 0.635 0 / 100%);--ezp-accent-yellow-solid-alt:color(display-p3 0.996 0.565 0 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.635 0 / 16%);--ezp-accent-yellow-faded:color(display-p3 1 0.635 0 / 10%);--ezp-accent-green-solid:color(display-p3 0.365 0.573 0 / 100%);--ezp-accent-green-solid-alt:color(display-p3 0.318 0.506 0 / 100%);--ezp-accent-green-translucent:color(display-p3 0.365 0.573 0 / 16%);--ezp-accent-green-faded:color(display-p3 0.365 0.573 0 / 10%);--ezp-accent-teal-solid:color(display-p3 0 0.588 0.486 / 100%);--ezp-accent-teal-solid-alt:color(display-p3 0 0.518 0.431 / 100%);--ezp-accent-teal-translucent:color(display-p3 0 0.588 0.486 / 16%);--ezp-accent-teal-faded:color(display-p3 0 0.588 0.486 / 10%);--ezp-accent-cyan-solid:color(display-p3 0 0.561 0.698 / 100%);--ezp-accent-cyan-solid-alt:color(display-p3 0 0.494 0.62 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0 0.561 0.698 / 10%);--ezp-accent-cyan-faded:color(display-p3 0 0.561 0.698 / 10%);--ezp-accent-blue-solid:color(display-p3 0.314 0.506 0.945 / 100%);--ezp-accent-blue-solid-alt:color(display-p3 0.231 0.447 0.875 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.314 0.506 0.945 / 16%);--ezp-accent-blue-faded:color(display-p3 0.314 0.506 0.945 / 10%);--ezp-accent-dark-blue-solid:color(display-p3 0 0.184 0.427 / 100%);--ezp-accent-dark-blue-solid-alt:color(display-p3 0 0.137 0.329 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0 0.184 0.427 / 16%);--ezp-accent-dark-blue-faded:color(display-p3 0 0.184 0.427 / 10%);--ezp-accent-violet-solid:color(display-p3 0.682 0.369 0.953 / 100%);--ezp-accent-violet-solid-alt:color(display-p3 0.616 0.306 0.886 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.682 0.369 0.953 / 16%);--ezp-accent-violet-faded:color(display-p3 0.682 0.369 0.953 / 10%)}}}:host(.light){--ezp-core-surface-primary:rgb(255, 255, 255);--ezp-core-surface-secondary:rgb(243, 243, 243);--ezp-core-surface-secondary-alt:rgb(249, 249, 249);--ezp-core-surface-tertiary:rgb(255, 255, 255);--ezp-core-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-core-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-core-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-core-shade-primary:rgba(139, 139, 139, 0.1);--ezp-core-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-core-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-core-outline:rgba(99, 99, 99, 0.16);--ezp-core-edge:rgba(0, 0, 0, 0.1);--ezp-core-backdrop:rgba(0, 0, 0, 0.26)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-core-surface-primary:color(display-p3 1 1 1 / 100%);--ezp-core-surface-secondary:color(display-p3 0.953 0.953 0.953 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.976 0.976 0.976 / 100%);--ezp-core-surface-tertiary:color(display-p3 1 1 1 / 100%);--ezp-core-foreground-primary:color(display-p3 0 0 0 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.243 0.243 0.243 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.243 0.243 0.243 / 42%);--ezp-core-shade-primary:color(display-p3 0.545 0.545 0.545 / 10%);--ezp-core-shade-secondary:color(display-p3 0.545 0.545 0.545 / 16%);--ezp-core-shade-tertiary:color(display-p3 0.545 0.545 0.545 / 22%);--ezp-core-outline:color(display-p3 0.388 0.388 0.388 / 16%);--ezp-core-edge:color(display-p3 0 0 0 / 10%);--ezp-core-backdrop:color(display-p3 0 0 0 / 26%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-core-outline), inset -1px 0 0 0 var(--ezp-core-outline);--ezp-printerSelection-box-boxShadow:0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-footer-boxShadowPosition:inset 0 0 0 1px;--ezp-printerSelection-header-boxShadowPosition:inset 0 0 0 1px;--ezp-select-wrap-boxShadowPositionBottom:inset 0 -1px 0 0;--ezp-select-wrap-boxShadowPositionLeft:inset 1px 0 0 0;--ezp-select-wrap-boxShadowPositionRight:inset -1px 0 0 0;--ezp-select-wrap-boxShadowPositionTop:inset 0 1px 0 0;--ezp-status-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-stepper-boxShadowPosition:inset 0 0 0 1px;--ezp-userMenu-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-userMenu-header-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-links-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-theme-boxShadowPosition:inset 0 -1px 0 0;--ezp-input-box-shadow-position-top:inset 0 1px 0 0;--ezp-input-box-shadow-position-right:inset -1px 0 0 0;--ezp-input-box-shadow-position-bottom:inset 0 -1px 0 0;--ezp-input-box-shadow-position-left:inset 1px 0 0 0;--ezp-accent-pink-solid:rgb(255, 65, 113);--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-pink-faded:rgba(255, 65, 113, 0.16);--ezp-accent-red-solid:rgb(255, 72, 44);--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-red-faded:rgba(255, 72, 44, 0.16);--ezp-accent-orange-solid:rgb(255, 129, 28);--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-orange-faded:rgba(255, 129, 28, 0.16);--ezp-accent-yellow-solid:rgb(255, 175, 58);--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-yellow-faded:rgba(255, 175, 58, 0.16);--ezp-accent-green-solid:rgb(103, 156, 21);--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-green-faded:rgba(103, 156, 21, 0.16);--ezp-accent-teal-solid:rgb(29, 160, 134);--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-teal-faded:rgba(29, 160, 134, 0.16);--ezp-accent-cyan-solid:rgb(32, 153, 189);--ezp-accent-cyan-translucent:rgba(32, 153, 189, 0.26);--ezp-accent-cyan-faded:rgba(32, 153, 189, 0.16);--ezp-accent-blue-solid:rgb(93, 139, 253);--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-blue-faded:rgba(93, 139, 253, 0.16);--ezp-accent-dark-blue-solid:rgb(20, 56, 119);--ezp-accent-dark-blue-translucent:rgba(20, 56, 119, 0.26);--ezp-accent-dark-blue-faded:rgba(20, 56, 119, 0.16);--ezp-accent-violet-solid:rgb(186, 105, 255);--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-accent-violet-faded:rgba(186, 105, 255, 0.16)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-accent-pink-solid:color(display-p3 1 0.255 0.443 / 100%);--ezp-accent-pink-translucent:color(display-p3 1 0.255 0.443 / 26%);--ezp-accent-pink-faded:color(display-p3 1 0.255 0.443 / 16%);--ezp-accent-red-solid:color(display-p3 1 0.282 0.173 / 100%);--ezp-accent-red-translucent:color(display-p3 1 0.282 0.173 / 26%);--ezp-accent-red-faded:color(display-p3 1 0.282 0.173 / 16%);--ezp-accent-orange-solid:color(display-p3 1 0.506 0.11 / 100%);--ezp-accent-orange-translucent:color(display-p3 1 0.506 0.11 / 26%);--ezp-accent-orange-faded:color(display-p3 1 0.506 0.11 / 16%);--ezp-accent-yellow-solid:color(display-p3 1 0.686 0.227 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.686 0.227 / 26%);--ezp-accent-yellow-faded:color(display-p3 1 0.686 0.227 / 16%);--ezp-accent-green-solid:color(display-p3 0.404 0.612 0.082 / 100%);--ezp-accent-green-translucent:color(display-p3 0.404 0.612 0.082 / 26%);--ezp-accent-green-faded:color(display-p3 0.404 0.612 0.082 / 16%);--ezp-accent-teal-solid:color(display-p3 0.114 0.627 0.525 / 100%);--ezp-accent-teal-translucent:color(display-p3 0.114 0.627 0.525 / 26%);--ezp-accent-teal-faded:color(display-p3 0.114 0.627 0.525 / 16%);--ezp-accent-cyan-solid:color(display-p3 0.125 0.6 0.741 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0.125 0.6 0.741 / 26%);--ezp-accent-cyan-faded:color(display-p3 0.125 0.6 0.741 / 16%);--ezp-accent-blue-solid:color(display-p3 0.365 0.545 0.992 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.365 0.545 0.992 / 26%);--ezp-accent-blue-faded:color(display-p3 0.365 0.545 0.992 / 16%);--ezp-accent-dark-blue-solid:color(display-p3 0.078 0.22 0.467 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0.078 0.22 0.467 / 26%);--ezp-accent-dark-blue-faded:color(display-p3 0.078 0.22 0.467 / 16%);--ezp-accent-violet-solid:color(display-p3 0.729 0.412 1 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1 / 26%);--ezp-accent-violet-faded:color(display-p3 0.729 0.412 1 / 16%)}}}:host(.dark){--ezp-core-surface-primary:rgb(0, 0, 0);--ezp-core-surface-secondary:rgb(27, 27, 27);--ezp-core-surface-secondary-alt:rgb(19, 19, 19);--ezp-core-surface-tertiary:rgb(40, 40, 40);--ezp-core-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-core-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-core-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-core-shade-primary:rgba(99, 99, 99, 0.26);--ezp-core-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-core-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-core-outline:rgba(139, 139, 139, 0.26);--ezp-core-edge:rgba(255, 255, 255, 0.16);--ezp-core-backdrop:rgba(0, 0, 0, 0.68)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-core-surface-primary:color(display-p3 0 0 0 / 100%);--ezp-core-surface-secondary:color(display-p3 0.106 0.106 0.106 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.075 0.075 0.075 / 100%);--ezp-core-surface-tertiary:color(display-p3 0.157 0.157 0.157 / 100%);--ezp-core-foreground-primary:color(display-p3 1 1 1 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.714 0.714 0.714 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.714 0.714 0.714 / 42%);--ezp-core-shade-primary:color(display-p3 0.388 0.388 0.388 / 26%);--ezp-core-shade-secondary:color(display-p3 0.388 0.388 0.388 / 32%);--ezp-core-shade-tertiary:color(display-p3 0.388 0.388 0.388 / 38%);--ezp-core-outline:color(display-p3 0.545 0.545 0.545 / 26%);--ezp-core-edge:color(display-p3 1 1 1 / 16%);--ezp-core-backdrop:color(display-p3 0 0 0 / 68%)}}}:host(.seamless){--ezp-status-border-radius:0;--ezp-backdrop-border-radius:0}:host(.blue){--ezp-theme-solid:var(--ezp-accent-blue-solid);--ezp-theme-translucent:var(--ezp-accent-blue-translucent)}:host(.cyan){--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent)}:host(.green){--ezp-theme-solid:var(--ezp-accent-green-solid);--ezp-theme-translucent:var(--ezp-accent-green-translucent)}:host(.teal){--ezp-theme-solid:var(--ezp-accent-teal-solid);--ezp-theme-translucent:var(--ezp-accent-teal-translucent)}:host(.orange){--ezp-theme-solid:var(--ezp-accent-orange-solid);--ezp-theme-translucent:var(--ezp-accent-orange-translucent)}:host(.pink){--ezp-theme-solid:var(--ezp-accent-pink-solid);--ezp-theme-translucent:var(--ezp-accent-pink-translucent)}:host(.red){--ezp-theme-solid:var(--ezp-accent-red-solid);--ezp-theme-translucent:var(--ezp-accent-red-translucent)}:host(.violet){--ezp-theme-solid:var(--ezp-accent-violet-solid);--ezp-theme-translucent:var(--ezp-accent-violet-translucent)}'};var wx=e("ezp_printing",function(){function e(e){i(this,e);this.printFinished=n(this,"printFinished",7);this.filename="";this.hidemenu=false;this.hideheader=false;this.theme="cyan";this.appearance="system";this.language="";this.seamless=false;this.printOpen=false;this.authOpen=false;this.onlyGetSasUri=false;this.noDocumentOpen=false;this.files=[]}e.prototype.watchFileData=function(e,t){if(e!==t&&e.length>0){var r=new Uint8Array(e.length);for(var i=0;i<e.length;i++){r[i]=e.charCodeAt(i)}this.files=[new File([r],this.filename)]}};e.prototype.watchFilename=function(e,t){if(e!==t&&e.length>0){this.filename=e}};e.prototype.watchFileUrl=function(e,t){if(e!==t&&e.length>0){this.fileurl=e}};e.prototype.watchLanguage=function(e,t){if(e!==t&&e.length>0){this.language=e;Ce.changeLanguage(e)}};e.prototype.listenPrintCancel=function(){this.printOpen=false;this.files=[];this.filename="";var e=new CustomEvent("printCancel",{bubbles:true,detail:{}});document.dispatchEvent(e);this.printFinished.emit()};e.prototype.listenPrintDismiss=function(){if(this.trigger==="file"){this.printOpen=false}else{this.listenPrintCancel()}};e.prototype.listenPrintSubmit=function(){this.printOpen=false;this.printFinished.emit();this.checkAuth()};e.prototype.listenAuthCancel=function(){this.authOpen=false;this.checkAuth()};e.prototype.listenUserCancel=function(){this.authOpen=false;this.files=[];this.filename="";var e=new CustomEvent("printCancel",{bubbles:true,detail:{}});document.dispatchEvent(e);this.printFinished.emit();this.checkAuth()};e.prototype.listenAuthSuccess=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.syncPreferredLanguage()];case 1:e.sent();if(this.onlyGetSasUri){this.printOpen=false;this.onlyGetSasUri=false}else if(this.filename!=""){this.printOpen=true}else{this.noDocumentOpen=true}return[2]}}))}))};e.prototype.listenUploadFile=function(e){this.files=e.detail;this.filename=this.files.length>0?this.files[0].name:""};e.prototype.listenUploadContinue=function(e){this.files=e.detail;this.filename=this.files.length>0?this.files[0].name:"";this.open()};e.prototype.listenDialogClose=function(e){if(e.detail==="no-document-selected"){this.noDocumentOpen=false}};e.prototype.listenDialogAction=function(e){if(e.detail==="no-document-selected"){this.noDocumentOpen=false}};e.prototype.listenLogout=function(){this.logOut()};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.authOpen=true;return[2]}))}))};e.prototype.logOut=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.auth.revokeRefreshToken();ct.clearSession();this.printOpen=false;return[2]}))}))};e.prototype.ensureAccessToken=function(){var e=this;if(mt.state.accessToken!==""||mt.state.refreshToken===""||!this.auth){return Promise.resolve()}if(!this.refreshInFlight){this.refreshInFlight=this.auth.refreshTokens().catch((function(){})).finally((function(){e.refreshInFlight=undefined}))}return this.refreshInFlight};e.prototype.getSasUri=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var r=this;return __generator(this,(function(i){switch(i.label){case 0:this.onlyGetSasUri=true;return[4,this.ensureAccessToken()];case 1:i.sent();e=new ax(this.redirecturi,this.clientid);return[4,e.prepareFileUpload(mt.state.accessToken).catch((function(){r.open();return null}))];case 2:t=i.sent();return[2,t?t.sasUri:undefined]}}))}))};e.prototype.getAuthUri=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.auth.generateCodeVerifier();return[4,this.auth.generateCodeChallenge(mt.state.codeVerifier)];case 1:e.sent();this.auth.buildAuthURI();return[2,mt.state.authUri]}}))}))};e.prototype.setAuthRefreshToken=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:mt.state.refreshToken=e;ct.setRefreshToken(e);return[4,this.auth.refreshTokens()];case 1:t.sent();return[2]}}))}))};e.prototype.checkAuth=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=new ax(this.redirecturi,this.clientid);return[4,this.ensureAccessToken()];case 1:t.sent();if(ct.hasIsAuthorized()){mt.state.isAuthorized=ct.getIsAuthorized()}return[4,e.getConfig(mt.state.accessToken).then((function(e){if(e.ok){mt.state.isAuthorized=true}if(!e.ok){mt.state.isAuthorized=false;throw new Error("http status "+e.status)}})).catch((function(){mt.state.isAuthorized=false}))];case 2:t.sent();ct.setIsAuthorized(mt.state.isAuthorized);return[2,mt.state.isAuthorized]}}))}))};e.prototype.normalizeHostUrl=function(e){if(!e){return e}try{if(e.startsWith("http://")||e.startsWith("https://")){var t=new URL(e);return t.host}}catch(e){}return e};e.prototype.refreshTokensPeriodically=function(e){var t=new dt(this.redirecturi,this.clientid);this.tokenRefreshInterval=setInterval((function(){t.refreshTokens()}),e*1e3)};e.prototype.connectedCallback=function(){this.unsubscribeLanguage=We(this)};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;var t=this;return __generator(this,(function(r){e=window.matchMedia("(prefers-color-scheme: dark)");this.systemAppearance=e.matches?"dark":"light";this.systemAppearanceQuery=e;this.systemAppearanceListener=function(e){t.systemAppearance=e.matches?"dark":"light"};e.addEventListener("change",this.systemAppearanceListener);mt.state.redirectUri=this.redirecturi;lx.state.theme=this.theme;lx.state.appearance=this.appearance;if(this.authapihosturl){mt.state.authApiHostUrl=this.normalizeHostUrl(this.authapihosturl)}else{mt.state.authApiHostUrl=zx.authApiHostUrl}if(this.printapihosturl){ox.state.printApiHostUrl=this.normalizeHostUrl(this.printapihosturl)}else{ox.state.printApiHostUrl=zx.printingApiHostUrl}this.auth=new dt(this.redirecturi,this.clientid);pt();tt(this.language);this.checkAuth().then((function(){return t.syncPreferredLanguage()}));return[2]}))}))};e.prototype.syncPreferredLanguage=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(i){switch(i.label){case 0:if(this.language)return[2];if(!mt.state.accessToken)return[2];i.label=1;case 1:i.trys.push([1,5,,6]);return[4,(new sx).getUserInfo()];case 2:e=i.sent();t=e===null||e===void 0?void 0:e.preferred_language;if(!(t&&t!==Ce.language))return[3,4];return[4,Ce.changeLanguage(t)];case 3:i.sent();i.label=4;case 4:return[3,6];case 5:r=i.sent();return[3,6];case 6:return[2]}}))}))};e.prototype.componentDidLoad=function(){this.refreshTokensPeriodically(Xe)};e.prototype.disconnectedCallback=function(){var e;if(this.tokenRefreshInterval){clearInterval(this.tokenRefreshInterval)}if(this.systemAppearanceQuery&&this.systemAppearanceListener){this.systemAppearanceQuery.removeEventListener("change",this.systemAppearanceListener)}(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.render=function(){var e=this;return a(o,{key:"1b33fdafac04c08cdd11412202a537f66131caef",class:"".concat(lx.state.theme," ").concat(lx.state.appearance==="system"?this.systemAppearance:lx.state.appearance," ").concat(this.seamless?"seamless":"")},this.trigger==="custom"?a("slot",null):this.trigger==="file"?a("ezp-upload",null):this.trigger==="button"&&a("ezp-icon-button",{id:"print-trigger",icon:"printer",slot:"trigger",type:"button",onClick:function(){return e.open()}}),this.authOpen?a("ezp-auth",{clientID:this.clientid,redirectURI:this.redirecturi,hidelogin:this.hidelogin,trigger:this.trigger,code:this.code}):this.printOpen?a("ezp-printer-selection",{clientID:this.clientid,redirectURI:this.redirecturi,filename:this.filename,fileurl:this.fileurl,filetype:this.filetype,fileid:this.fileid,files:this.files,hidemenu:this.hidemenu,hideheader:this.hideheader,seamless:this.seamless}):this.noDocumentOpen?a("ezp-dialog",{heading:Ce.t("no_document_dialog.heading"),description:Ce.t("no_document_dialog.description"),action:Ce.t("no_document_dialog.action"),iconName:"question-mark",instance:"no-document-selected"}):null)};Object.defineProperty(e,"watchers",{get:function(){return{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}},enumerable:false,configurable:true});return e}());wx.style=Ix();var Sx=function(){return":host{--ezp-select-duration:var(--ezp-duration-3);display:block;height:var(--ezp-select-toggle-height);position:relative;-webkit-transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));z-index:var(--ezp-select-zIndex, 3)}:host(.toggle-horizontal){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label value accessory';--ezp-select-toggle-gridTemplateColumns:1fr repeat(2, auto);--ezp-select-toggle-height:56px;--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-alignSelf:center}:host(.toggle-horizontal.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr repeat(2, auto)}:host(.toggle-vertical){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label accessory' 'value accessory';--ezp-select-toggle-gridTemplateColumns:1fr auto;--ezp-select-toggle-height:64px;--ezp-select-toggle-gridTemplateRows:repeat(2, auto);--ezp-select-value-alignSelf:center}:host(.toggle-vertical.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label accessory' 'icon value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr auto}:host(.option-horizontal){--ezp-select-details-gridTemplateColumns:repeat(2, 1fr);--ezp-select-details-gridTemplateRows:auto;--ezp-select-option-height:44px}:host(.option-vertical){--ezp-select-details-gridTemplateColumns:1fr;--ezp-select-details-gridTemplateRows:repeat(2, auto);--ezp-select-option-height:52px}:host(.toggle-vertical.has-icon){--ezp-select-badge-borderRadius:10px;--ezp-select-badge-height:40px;--ezp-select-badge-width:40px;--ezp-select-label-textTransform:uppercase;--ezp-select-label-letterSpacing:0.08em;--ezp-select-label-fontSize:11px;--ezp-select-value-fontSize:16px;--ezp-select-value-fontWeight:600;--ezp-select-value-color:var(--ezp-core-foreground-primary)}:host(.is-expanded){--ezp-select-accessory-color:var(--ezp-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-label-color:var(--ezp-theme-solid);--ezp-select-toggle-background:var(--ezp-theme-translucent);--ezp-select-wrap-background:var(--ezp-core-surface-tertiary);--ezp-select-wrap-borderRadius:12px;--ezp-select-wrap-boxShadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop)}:host(.disabled){--ezp-select-accessory-color:var(--ezp-core-foreground-tertiary);--ezp-select-badge-background:var(--ezp-core-shade-primary);--ezp-select-badge-color:var(--ezp-core-foreground-tertiary);--ezp-select-label-color:var(--ezp-core-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--ezp-select-value-color:var(--ezp-core-foreground-tertiary);--value-color:var(--ezp-core-foreground-tertiary)}#wrap{background:var(--ezp-select-wrap-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-shadow:var(--ezp-select-wrap-boxShadow, none);box-shadow:var(--ezp-select-wrap-boxShadow, none);-webkit-transform:translateY(var(--ezp-select-wrap-translateY, 0));transform:translateY(var(--ezp-select-wrap-translateY, 0));-webkit-transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart)}#toggle{background:var(--ezp-select-toggle-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:var(--ezp-select-toggle-cursor, pointer);display:grid;gap:2px var(--ezp-spacing-3);grid-template-areas:var(--ezp-select-toggle-gridTemplateAreas, none);grid-template-columns:var(--ezp-select-toggle-gridTemplateColumns, none);grid-template-rows:var(--ezp-select-toggle-gridTemplateRows, auto);height:var(--ezp-select-toggle-height, auto);padding:var(--ezp-spacing-2) var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart)}#toggle:hover{--ezp-select-toggle-background:var( --ezp-select-toggle-background-hover, var(--ezp-core-shade-primary) )}#icon{--ezp-icon-background:var(--ezp-select-badge-background, var(--ezp-theme-translucent));--ezp-icon-borderRadius:var(--ezp-select-badge-borderRadius, 50%);--ezp-icon-height:var(--ezp-select-badge-height, 40px);--ezp-icon-width:var(--ezp-select-badge-width, 40px);align-self:center;color:var(--ezp-select-badge-color, var(--ezp-theme-solid));grid-area:icon}#label{--ezp-label-fontSize:var(--ezp-select-label-fontSize, 14px);--ezp-label-letterSpacing:var(--ezp-select-label-letterSpacing, normal);align-self:var(--ezp-select-label-alignSelf, auto);color:var(--ezp-select-label-color, var(--ezp-core-foreground-primary));display:var(--ezp-select-label-display, block);grid-area:label;text-transform:var(--ezp-select-label-textTransform, none)}#value{--ezp-label-fontSize:var(--ezp-select-value-fontSize, 14px);--ezp-label-fontWeight:var(--ezp-select-value-fontWeight, 400);align-self:var(--ezp-select-value-alignSelf, auto);color:var(--ezp-select-value-color, var(--value-color, var(--ezp-core-foreground-secondary)));grid-area:value;text-align:var(--ezp-select-value-textAlign, right)}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-core-foreground-tertiary));grid-area:accessory}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);height:var(--ezp-select-list-height, 0);overflow:auto;-webkit-transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart)}.option{background:var(--ezp-select-option-background);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;height:var(--ezp-select-option-height, auto);padding:0 0 0 var(--ezp-spacing-3)}.option:not(:last-child){--ezp-select-details-boxShadow:inset 0 -1px 0 0 var(--ezp-core-outline)}.option:hover{--ezp-select-option-background:var(--ezp-core-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-core-shade-secondary)}.option.is-selected{--ezp-select-indicator-opacity:1;--ezp-select-indicator-transform:translateX(0);--ezp-select-indicator-transition:opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-select-indicator-visibility:visible}.indicator{-ms-flex-item-align:center;align-self:center;color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0;opacity:var(--ezp-select-indicator-opacity, 0);-webkit-transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));-webkit-transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));visibility:var(--ezp-select-indicator-visibility, hidden)}.details{-webkit-box-shadow:var(--ezp-select-details-boxShadow);box-shadow:var(--ezp-select-details-boxShadow);display:grid;gap:var(--ezp-spacing-2);grid-template-columns:var(--ezp-select-details-gridTemplateColumns, 1fr);grid-template-rows:var(--ezp-select-details-gridTemplateRows, auto);padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) 0}.title{-ms-flex-item-align:start;align-self:start;color:var(--ezp-core-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-core-foreground-secondary)}"};var Bx={id:false,title:"",meta:""};var Ex=e("ezp_select",function(){function e(e){var t=this;i(this,e);this.selectToggle=n(this,"selectToggle",7);this.selectSelection=n(this,"selectSelection",7);this.backdrop=document.createElement("ezp-backdrop");this.containerHeight=0;this.expandCover=false;this.expandRise=false;this.listHeight=0;this.spacing=6;this.toggleHeight=0;this.wrapDiff=0;this.wrapHeight=0;this.wrapTop=0;this.duration=0;this.label="Label";this.placeholder="Placeholder";this.toggleFlow="horizontal";this.disabled=false;this.expanded=false;this.selected=Bx;this.toggle=function(){t.containerHeight=t.container.clientHeight-t.spacing*2;t.listHeight=t.list.scrollHeight;t.wrapTop=t.component.offsetTop;t.wrapHeight=t.toggleHeight+t.listHeight;t.expandCover=t.wrapHeight>t.containerHeight;t.expandRise=t.wrapHeight>t.containerHeight-t.wrapTop;t.wrapDiff=t.containerHeight-t.wrapHeight-t.wrapTop;t.expanded=!t.expanded;t.selectToggle.emit(t.expanded)};this.select=function(e){var r;var i=((r=t.selected)===null||r===void 0?void 0:r.id)===e?0:t.duration*1e3;t.selected=t.options.find((function(t){return t.id===e}));t.selectSelection.emit(t.selected);window.setTimeout((function(){t.toggle()}),i)};this.preSelect=function(){var e;var r=(e=t.options)===null||e===void 0?void 0:e.find((function(e){return typeof t.preSelected==="number"?e.id===t.preSelected:typeof t.preSelected==="string"?e.title===t.preSelected:null}));t.selected=r!==null&&r!==void 0?r:Bx};this.handleToggleKeydown=function(e){if(t.disabled)return;if(e.key==="Enter"||e.key===" "||e.key==="ArrowDown"){e.preventDefault();if(!t.expanded){t.toggle();window.setTimeout((function(){return t.focusOption(0)}),0)}}else if(e.key==="Escape"&&t.expanded){t.toggle()}};this.handleOptionKeydown=function(e,r){var i;var n=t.getOptionElements();var a=n.indexOf(e.currentTarget);switch(e.key){case"Enter":case" ":e.preventDefault();t.select(r);break;case"ArrowDown":e.preventDefault();t.focusOption(a+1);break;case"ArrowUp":e.preventDefault();t.focusOption(a-1);break;case"Home":e.preventDefault();t.focusOption(0);break;case"End":e.preventDefault();t.focusOption(n.length-1);break;case"Escape":if(t.expanded){t.toggle();(i=t.toggleEl)===null||i===void 0?void 0:i.focus()}break}}}e.prototype.watchExpanded=function(){if(this.expandCover){this.component.style.setProperty("--ezp-select-list-height",this.expanded?"".concat(this.containerHeight-this.toggleHeight,"px"):"0px");this.component.style.setProperty("--ezp-select-wrap-translateY",this.expanded?"".concat(this.wrapTop*-1+this.spacing,"px"):"0px")}else if(this.expandRise){this.component.style.setProperty("--ezp-select-list-height",this.expanded?"".concat(this.listHeight,"px"):"0px");this.component.style.setProperty("--ezp-select-wrap-translateY",this.expanded?"".concat(this.wrapDiff+this.spacing,"px"):"0px")}else{this.component.style.setProperty("--ezp-select-list-height",this.expanded?"".concat(this.listHeight,"px"):"0px")}if(this.expanded){this.backdrop.visible=true;this.container.appendChild(this.backdrop)}else{this.backdrop.visible=false}};e.prototype.preSelectedChanged=function(){this.preSelect()};e.prototype.getOptionElements=function(){return this.list?Array.from(this.list.querySelectorAll('[role="option"]')):[]};e.prototype.focusOption=function(e){var t=this.getOptionElements();var r=t[Math.max(0,Math.min(e,t.length-1))];r===null||r===void 0?void 0:r.focus()};e.prototype.componentWillLoad=function(){var e=this;this.container=this.component.closest("[data-backdrop-surface]");this.backdrop.addEventListener("backdropHideStart",(function(){e.expanded=false}));this.backdrop.addEventListener("backdropHideEnd",(function(){e.container.removeChild(e.backdrop)}));if(this.preSelected!==undefined&&this.preSelected!==""&&this.preSelected!==null){this.preSelect()}};e.prototype.componentDidLoad=function(){var e=getComputedStyle(this.component);this.toggleHeight=parseInt(e.getPropertyValue("--ezp-select-toggle-height"));this.duration=parseFloat(e.getPropertyValue("--ezp-select-duration"))};e.prototype.componentWillUpdate=function(){var e;if(((e=this.selected)===null||e===void 0?void 0:e.id)===false&&this.preSelected!==undefined&&this.preSelected!==""&&this.preSelected!==null){this.preSelect()}};e.prototype.render=function(){var e=this;var t,r,i;var n=[this.expanded?"is-expanded":"",this.icon?"has-icon":"","toggle-".concat(this.toggleFlow),this.optionFlow?"option-".concat(this.optionFlow):"",this.disabled?"disabled":""];var s=this.toggleFlow==="horizontal"?"secondary":"tertiary";return a(o,{key:"7dd328df209e8906917c97b8002bdcd9e2fafa0b",class:n.join(" ")},a("div",{key:"522bbbfea1ef111af7bd7317cc6054138eca020d",id:"wrap"},a("div",{key:"d1c2c06a33f629d589e2247342467ebbd7283d1b",id:"toggle",role:"combobox","aria-haspopup":"listbox","aria-controls":"list","aria-expanded":this.expanded?"true":"false","aria-label":this.label,"aria-disabled":this.disabled?"true":"false",tabindex:this.disabled?-1:0,ref:function(t){return e.toggleEl=t},onClick:function(){return!e.disabled&&e.toggle()},onKeyDown:this.handleToggleKeydown},this.icon?a("ezp-icon",{id:"icon",name:this.icon}):null,a("ezp-label",{key:"c60d6dd802424b2502d1b9c9066732ef02909779",id:"label",noWrap:true,level:s,text:this.label}),a("ezp-label",{key:"c92c91c848aec5b6ff386f32beb41bdaf4407613",id:"value",ellipsis:true,text:((t=this.selected)===null||t===void 0?void 0:t.title)!==""?(r=this.selected)===null||r===void 0?void 0:r.title:this.placeholder}),a("ezp-icon",{key:"7c653c97c7da8471e7db51c1ba04718842a9991b",id:"accessory",name:"expand"})),a("div",{key:"5c1aeeb45f4cbf1c4e26653312d6cc0a7e7084ce",id:"list",role:"listbox","aria-label":this.label,ref:function(t){return e.list=t}},(i=this.options)===null||i===void 0?void 0:i.map((function(t){var r,i;if(t.title!==""){return a("div",{class:"option ".concat(t.id===((r=e.selected)===null||r===void 0?void 0:r.id)?"is-selected":""," ").concat(t.meta!==""?"has-meta":""," "),role:"option","aria-selected":t.id===((i=e.selected)===null||i===void 0?void 0:i.id)?"true":"false",tabindex:e.expanded?0:-1,onClick:function(){return e.select(t.id)},onKeyDown:function(r){return e.handleOptionKeydown(r,t.id)}},a("ezp-icon",{name:"checkmark",class:"indicator"}),a("div",{class:"details"},a("ezp-label",{class:"title",ellipsis:true,text:t.title}),t.meta!==""?a("ezp-label",{level:"tertiary",class:"meta",text:t.meta,ellipsis:true}):null))}})))))};Object.defineProperty(e.prototype,"component",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}},enumerable:false,configurable:true});return e}());Ex.style=Sx();var _x=function(){return":host{--ezp-status-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );-ms-flex-align:center;align-items:center;background:var(--ezp-core-backdrop);border-radius:var(--ezp-status-border-radius, 16px);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;-ms-flex-pack:center;justify-content:center;left:0;padding:var(--ezp-spacing-5);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#box{-ms-flex-align:center;align-items:center;background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);max-width:360px;padding:var(--ezp-spacing-6) var(--ezp-spacing-5) var(--ezp-spacing-5);text-align:center;width:100%}#icon{-ms-flex-align:center;align-items:center;background:var(--ezp-theme-translucent);border-radius:50%;display:-ms-flexbox;display:flex;height:132px;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ezp-spacing-2);width:132px}#icon-inner{-ms-flex-align:center;align-items:center;background:var(--ezp-status-gradient);border-radius:50%;-webkit-box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:84px;-ms-flex-pack:center;justify-content:center;width:84px}#icon-inner ezp-icon{--ezp-icon-size:40px;--ezp-icon-gridTemplate:40px}#indicator{-webkit-animation:rotate var(--ezp-duration-6) linear infinite;animation:rotate var(--ezp-duration-6) linear infinite;display:block;height:48px;-webkit-transform:rotate(0);transform:rotate(0);width:48px}#track{fill:none;stroke:var(--ezp-core-outline);stroke-width:4px}#value{-webkit-animation:offset var(--ezp-duration-6) linear alternate infinite;animation:offset var(--ezp-duration-6) linear alternate infinite;fill:none;stroke:var(--ezp-theme-solid);stroke-dasharray:110;stroke-dashoffset:110;stroke-linecap:round;stroke-width:4px}#description{--ezp-label-fontSize:22px;--ezp-label-lineHeight:28px;color:var(--ezp-core-foreground-primary)}#subtext{color:var(--ezp-core-foreground-secondary);margin-top:calc(var(--ezp-spacing-4) * -1 + var(--ezp-spacing-2))}#footer{display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);margin-top:var(--ezp-spacing-3);width:100%}.action{--ezp-textButton-borderRadius:999px;--ezp-textButton-padding:var(--ezp-spacing-4);-ms-flex:1;flex:1}ezp-text-button.action.primary{--ezp-textButton-background-init:var(--ezp-status-gradient)}ezp-text-button.action.secondary{--ezp-textButton-background-init:transparent;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary)}@-webkit-keyframes offset{100%{stroke-dashoffset:55}}@keyframes offset{100%{stroke-dashoffset:55}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"};var kx=e("ezp_status",function(){function e(e){var t=this;i(this,e);this.statusCancel=n(this,"statusCancel",7);this.statusClose=n(this,"statusClose",7);this.statusRetry=n(this,"statusRetry",7);this.description="Description";this.processing=false;this.handleCancel=function(){t.statusCancel.emit(t.instance)};this.handleClose=function(){t.statusClose.emit(t.instance)};this.handleRetry=function(){t.statusRetry.emit(t.instance)}}e.prototype.connectedCallback=function(){this.unsubscribeLanguage=We(this)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.render=function(){return a(o,{key:"db32e5667bf9438a6d3d80807519ad2c158549ff",role:"status","aria-live":"polite"},a("div",{key:"815ecfbd3b272f206764ca852b8d865d7bc3cb8d",id:"box"},this.processing?a("svg",{id:"indicator",viewBox:"0 0 42 42",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},a("circle",{id:"track",cx:"21",cy:"21",r:"18"}),a("circle",{id:"value",cx:"21",cy:"21",r:"18"})):this.icon?a("div",{id:"icon"},a("div",{id:"icon-inner"},a("ezp-icon",{name:this.icon}))):null,a("ezp-label",{key:"385d4fbbd7ed1b7a4aa2334d6d2145c2f5207508",id:"description",weight:"heavy",text:this.description}),this.subtext&&a("ezp-label",{key:"c6a243dd4ddc428f3e34021430d6b935f0a9e1a6",id:"subtext",level:"secondary",text:this.subtext}),(this.cancel||this.close||this.retry)&&a("div",{key:"0dfc5f86b6366b3631ac74c15e9d467a884feb52",id:"footer"},this.cancel&&a("ezp-text-button",{key:"a89289163ac7d630d35e887deead462c6dc29af4",class:"action secondary",level:"secondary",onClick:this.handleCancel,label:typeof this.cancel==="string"?this.cancel:Ce.t("button_actions.cancel")}),this.close&&a("ezp-text-button",{key:"d2e3814f2a81ce03f4e0f4bbcf7cc734ade37aa9",class:"action ".concat(this.retry?"secondary":"primary"),level:this.retry?"secondary":"primary",onClick:this.handleClose,label:typeof this.close==="string"?this.close:Ce.t("button_actions.close")}),this.retry&&a("ezp-text-button",{key:"6e53e77afc6c3954435b08c6daaa65dd829ce9ad",class:"action primary",level:"primary",onClick:this.handleRetry,label:typeof this.retry==="string"?this.retry:Ce.t("button_actions.retry")}))))};return e}());kx.style=_x();var Qx=function(){return':host{-ms-flex-align:center;align-items:center;background:transparent;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-stepper-gridTemplate, auto/1fr auto);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:0}:host(.focused){--ezp-stepper-label-color:var(--ezp-core-foreground-primary)}:host(.has-icon){--ezp-stepper-gridTemplate:auto / auto 1fr auto}#toggle{background:transparent;border-radius:12px;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-stepper-icon-color, var(--ezp-theme-solid));pointer-events:none}#label{color:var(--ezp-stepper-label-color, var(--ezp-core-foreground-primary));pointer-events:none}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:16px;font-weight:600;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0109597786em;margin:0;min-width:28px;outline:none;padding:0;text-align:center;width:28px}#input::-webkit-outer-spin-button,#input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.buttons{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3)}.button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-stepper-button-background, transparent);border:1px solid var(--ezp-stepper-button-border, var(--ezp-core-outline));border-radius:50%;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-stepper-button-color, var(--ezp-core-foreground-secondary));cursor:var(--ezp-stepper-button-cursor, pointer);display:-ms-flexbox;display:flex;height:32px;-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:0;-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart), border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart), border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:32px}.button ezp-icon{--ezp-icon-size:16px;--ezp-icon-gridTemplate:16px}@media (hover: hover){.button:not(:disabled):hover{--ezp-stepper-button-background:var(--ezp-theme-translucent);--ezp-stepper-button-border:var(--ezp-theme-solid);--ezp-stepper-button-color:var(--ezp-theme-solid)}.button:not(:disabled):active{--ezp-stepper-button-background:var(--ezp-core-shade-secondary)}}.button:disabled{--ezp-stepper-button-border:var(--ezp-core-shade-primary);--ezp-stepper-button-color:var(--ezp-core-foreground-tertiary);--ezp-stepper-button-cursor:default}'};var Px=e("ezp_stepper",function(){function e(e){var t=this;i(this,e);this.stepperChanged=n(this,"stepperChanged",7);this.label="Label";this.min=1;this.canDecrease=true;this.canIncrease=true;this.focused=false;this.value=1;this.handleDecrease=function(){var e=t.value-1;if(e>=Number.MIN_SAFE_INTEGER&&(t.min===undefined||e>=t.min)){t.value=e}};this.handleIncrease=function(){var e=t.value+1;var r=t.max!==undefined?Math.min(t.max,Number.MAX_SAFE_INTEGER):Number.MAX_SAFE_INTEGER;if(e<=Number.MAX_SAFE_INTEGER&&e<=r){t.value=e}};this.handleInput=function(){if(!t.input)return;var e=t.input.value.trim();if(e===""){t.value=t.min;t.input.value=t.value.toString();return}var r=e.replace(/\D/g,"");if(r===""){t.input.value=t.value.toString();return}var i=Number.MAX_SAFE_INTEGER.toString().length;var n=r.slice(0,i);var a=Number(n);if(a>Number.MAX_SAFE_INTEGER){a=Number.MAX_SAFE_INTEGER}if(t.min!==undefined&&a<t.min)a=t.min;var o=t.max!==undefined?Math.min(t.max,Number.MAX_SAFE_INTEGER):Number.MAX_SAFE_INTEGER;if(a>o)a=o;t.value=a;t.input.value=a.toString()};this.setFocus=function(){var e;(e=t.input)===null||e===void 0?void 0:e.focus()};this.handleBlur=function(){t.focused=false};this.handleFocus=function(){t.focused=true};this.handleKeyDown=function(e){if(Px.ALLOWED_KEYS.includes(e.key)||(e.ctrlKey||e.metaKey)&&Px.CTRL_CMD_KEYS.includes(e.key.toLowerCase())){return}var t=/^\d$/.test(e.key);if(!t){e.preventDefault()}}}e.prototype.watchValue=function(){var e=this.max!==undefined?Math.min(this.max,Number.MAX_SAFE_INTEGER):Number.MAX_SAFE_INTEGER;this.canIncrease=this.value<e;this.canDecrease=this.min!==undefined?this.value>this.min:true;this.stepperChanged.emit(this.value)};e.prototype.componentWillLoad=function(){if(this.min!==undefined&&this.value<this.min){this.value=this.min}this.watchValue()};e.prototype.render=function(){var e=this;return a(o,{key:"cbf3ded61537359ed280a204bb71240d0a34473a",class:"".concat(this.focused?"focused":""," ").concat(this.icon?"has-icon":"")},a("div",{key:"1c7a265f60d06dbea4a80e19ecdaa4a10aed694c",id:"toggle",onClick:this.setFocus}),this.icon?a("ezp-icon",{id:"icon",name:this.icon}):null,a("ezp-label",{key:"9fd0e1128480dd9b288cb266542fd4e6b83ceebd",id:"label",noWrap:true,text:this.label}),a("div",{key:"975fc0539e76750d7457c71d40f228cb5ebcaad8",class:"buttons"},a("button",{key:"db01d05fdcbc4eda2810751ace0194d9a1ec9eb7",class:"button",type:"button","aria-label":"Decrease ".concat(this.label),disabled:!this.canDecrease,onClick:this.handleDecrease},a("ezp-icon",{key:"7d938efa8426caf292403e94e3565d20dc40d121",name:"minus"})),a("input",{key:"dbff518a5d1f28b3b23d597947c250bef71fd68a",id:"input",type:"number",ref:function(t){return e.input=t},min:this.min.toString(),max:this.max!==undefined?this.max.toString():undefined,value:this.value.toString(),"aria-label":this.label,onInput:this.handleInput,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur}),a("button",{key:"b3001bb27f94f65fce51d3a69d7713e5da9ccdcc",class:"button",type:"button","aria-label":"Increase ".concat(this.label),disabled:!this.canIncrease,onClick:this.handleIncrease},a("ezp-icon",{key:"534bb499fa2ced2591ccbc137186e59d22aa2f5f",name:"plus"}))))};Object.defineProperty(e,"watchers",{get:function(){return{value:[{watchValue:0}]}},enumerable:false,configurable:true});return e}());Px.ALLOWED_KEYS=["Backspace","Delete","Tab","Escape","Enter","ArrowLeft","ArrowUp","ArrowRight","ArrowDown"];Px.CTRL_CMD_KEYS=["a","c","v","x"];Px.style=Qx();var Mx=function(){return":host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-init:var(--ezp-theme-solid);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-white-100);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-core-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-hover:var(--ezp-core-shade-secondary);--ezp-textButton-background-init:var(--ezp-core-shade-primary);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-textButton-background, var(--ezp-textButton-background-init));border:0;border-radius:var(--ezp-textButton-borderRadius, 3px);-webkit-box-shadow:var(--ezp-textButton-boxShadow, none);box-shadow:var(--ezp-textButton-boxShadow, none);color:var(--ezp-textButton-color, var(--ezp-textButton-color-init));cursor:var(--ezp-textButton-cursor, pointer);display:-ms-flexbox;display:flex;font-family:inherit;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-textButton-opacity, 1);outline:none;padding:var(--ezp-textButton-padding, var(--ezp-spacing-3));white-space:var(--ezp-textButton-whiteSpace, nowrap);width:100%}@media (hover: hover){#button:not(:disabled):hover{--ezp-textButton-background:var( --ezp-textButton-background-hover, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var( --ezp-textButton-background-active, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-active, 1)}}#button:disabled{--ezp-textButton-background:var(--ezp-textButton-background-disabled);--ezp-textButton-boxShadow:none;--ezp-textButton-color:var(--ezp-textButton-color-disabled);--ezp-textButton-cursor:default}#label{pointer-events:none}"};var Dx=e("ezp_text_button",function(){function e(e){i(this,e);this.blank=false;this.disabled=false;this.level="primary";this.small=false}e.prototype.render=function(){var e=this.type!==undefined?"button":"a";var t=this.type!==undefined?{type:this.type,disabled:this.disabled}:{href:this.href,target:this.blank?"_blank":"_self"};return a(o,{key:"31c3726d82b340fad817eec01f597b58702ff292",class:"".concat(this.level)},a(e,Object.assign({key:"5e26c8e81ab49575b1a29c309f7792a2286ee455",id:"button","aria-label":this.label},t),a("ezp-label",{key:"b21b121c9da908b6cba286a528f8e6772c179a36",id:"label",weight:"heavy",text:this.label,level:this.small?"tertiary":"secondary"})))};return e}());Dx.style=Mx();var Rx=function(){return'@charset "UTF-8";:host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);display:block;height:var(--ezp-upload-height, auto);width:var(--ezp-upload-width, auto)}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#form{display:block;height:100%}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}#modal{background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;overflow:hidden}:host(.dragging) #modal *{pointer-events:none}#body-frame{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;min-height:0;position:relative}#body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:auto;padding:var(--ezp-spacing-4);scrollbar-width:thin}#dropzone{-ms-flex-align:center;align-items:center;background:var(--ezp-theme-translucent);border:1.5px dashed var(--ezp-theme-solid);border-radius:12px;-webkit-box-shadow:var(--ezp-upload-dropzone-boxShadow, none);box-shadow:var(--ezp-upload-dropzone-boxShadow, none);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;min-height:160px;padding:var(--ezp-spacing-6) var(--ezp-spacing-4);text-align:center;-webkit-transition:-webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:-webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart)}:host(.dragging){--ezp-upload-dropzone-boxShadow:0 0 0 4px var(--ezp-theme-translucent)}:host(:not(.dragging)) #dropzone-title,:host(.dragging) #dropzone-prompt{display:none}#drop-overlay{-ms-flex-align:center;align-items:center;background:-webkit-gradient(linear, left top, left bottom, from(var(--ezp-theme-translucent)), to(var(--ezp-theme-translucent))), var(--ezp-core-surface-tertiary);background:linear-gradient(var(--ezp-theme-translucent), var(--ezp-theme-translucent)), var(--ezp-core-surface-tertiary);border:1.5px dashed var(--ezp-theme-solid);border-radius:12px;-webkit-box-shadow:0 0 0 4px var(--ezp-theme-translucent);box-shadow:0 0 0 4px var(--ezp-theme-translucent);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);inset:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;pointer-events:none;position:absolute;text-align:center;z-index:1}#dropzone-icon{--ezp-icon-size:32px;--ezp-icon-gridTemplate:32px;color:var(--ezp-theme-solid)}#dropzone-prompt{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3)}#choose{--ezp-textButton-borderRadius:8px;--ezp-textButton-padding:13px var(--ezp-spacing-5)}#drag-hint{color:var(--ezp-core-foreground-primary)}#formats{color:var(--ezp-core-foreground-secondary)}#files{border:1px solid var(--ezp-core-outline);border-radius:12px;position:relative}#file-list{border-radius:11px 11px 0 0;max-height:var(--ezp-upload-fileList-maxHeight, calc(4.5 * calc(28px + 2 * var(--ezp-spacing-3)) + 4px));overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.file{-ms-flex-align:center;align-items:center;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:auto minmax(0, 1fr) auto;min-height:calc(28px + 2 * var(--ezp-spacing-3));padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}.file+.file{border-top:1px solid var(--ezp-core-outline)}.file-type{background:var(--ezp-theme-translucent);border-radius:6px;color:var(--ezp-theme-solid);font-size:11px;font-weight:600;letter-spacing:0.02em;line-height:1;overflow:hidden;padding:8px 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:56px}.file-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);min-width:0}.file-size{color:var(--ezp-core-foreground-secondary)}.file-remove{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:6px;color:var(--ezp-core-foreground-tertiary);cursor:pointer;display:-ms-flexbox;display:flex;height:28px;-ms-flex-pack:center;justify-content:center;padding:0;-webkit-transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:28px}.file-remove ezp-icon{--ezp-icon-size:16px;--ezp-icon-gridTemplate:16px}@media (hover: hover){.file-remove:hover{color:var(--ezp-core-foreground-primary)}}#add-more{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-upload-addMore-background, transparent);border:0;border-radius:0 0 11px 11px;border-top:1px solid var(--ezp-core-outline);color:var(--ezp-theme-solid);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:4px;-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#add-more ezp-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px}@media (hover: hover){#add-more:hover{--ezp-upload-addMore-background:var(--ezp-core-shade-primary)}}#footer{border-top:1px solid var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr;padding:var(--ezp-spacing-4)}.action{--ezp-textButton-borderRadius:8px;--ezp-textButton-padding:13px var(--ezp-spacing-3);--ezp-textButton-whiteSpace:normal;text-align:center}#clear{--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary)}'};var Tx=["PDF","DOCX","PNG","JPG","XLSX"];var qx=e("ezp_upload",function(){function e(e){var t=this;i(this,e);this.uploadFile=n(this,"uploadFile",7);this.uploadContinue=n(this,"uploadContinue",7);this.printCancel=n(this,"printCancel",7);this.selectedFiles=[];this.dragging=false;this.firstVisibleFile=0;this.dragDepth=0;this.fileKeys=new WeakMap;this.nextFileKey=0;this.openPicker=function(){var e;(e=t.input)===null||e===void 0?void 0:e.click()};this.handleInput=function(){var e,r;var i=Array.from((r=(e=t.input)===null||e===void 0?void 0:e.files)!==null&&r!==void 0?r:[]);t.selectedFiles=__spreadArray(__spreadArray([],t.selectedFiles,true),i,true);t.uploadFile.emit(t.selectedFiles);if(t.input){t.input.value=""}};this.removeFile=function(e,r){e.preventDefault();e.stopPropagation();t.selectedFiles=t.selectedFiles.filter((function(e,t){return t!==r}));t.uploadFile.emit(t.selectedFiles);if(t.input){t.input.value=""}};this.handleCancel=function(){if(t.selectedFiles.length===0)return;t.printCancel.emit()};this.handleFilesScroll=function(e){var r=Ze(e.currentTarget);if(r>=0&&r!==t.firstVisibleFile)t.firstVisibleFile=r};this.handleContinue=function(){if(t.selectedFiles.length===0)return;t.uploadContinue.emit(t.selectedFiles)}}e.prototype.connectedCallback=function(){this.unsubscribeLanguage=We(this)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.handleDragEnter=function(e){e===null||e===void 0?void 0:e.preventDefault();this.dragDepth++;this.dragging=true};e.prototype.handleDragOver=function(e){e.stopPropagation();e.preventDefault();if(e.dataTransfer){e.dataTransfer.dropEffect="copy"}};e.prototype.handleDragLeave=function(){this.dragDepth=Math.max(0,this.dragDepth-1);this.dragging=this.dragDepth>0};e.prototype.handleDrop=function(e){var t,r;e.stopPropagation();e.preventDefault();this.dragDepth=0;this.dragging=false;var i=Array.from((r=(t=e.dataTransfer)===null||t===void 0?void 0:t.files)!==null&&r!==void 0?r:[]);this.selectedFiles=__spreadArray(__spreadArray([],this.selectedFiles,true),i,true);this.uploadFile.emit(this.selectedFiles)};e.prototype.resetDrag=function(){this.dragDepth=0;this.dragging=false};e.prototype.listenPrintCancel=function(){var e;(e=this.form)===null||e===void 0?void 0:e.reset();this.selectedFiles=[];this.firstVisibleFile=0;this.resetDrag()};e.prototype.fileKey=function(e){if(!this.fileKeys.has(e)){this.fileKeys.set(e,this.nextFileKey++)}return this.fileKeys.get(e)};e.prototype.fileType=function(e){var t=e.split(".").pop();return t&&t!==e?t.toUpperCase():Ce.t("upload.file_type_fallback")};e.prototype.formatSize=function(e){if(e<1024)return"".concat(e," B");var t=["KB","MB","GB"];var r=e/1024;var i=0;while(r>=1024&&i<t.length-1){r/=1024;i++}return"".concat(r.toFixed(1)," ").concat(t[i])};e.prototype.render=function(){var e=this;var t=this.selectedFiles.length>0;return a(o,{key:"647c38e3dd42274be594a2fd5eb668943cd37256",class:{dragging:this.dragging}},a("form",{key:"a0af9e0bb32e8460b0b86bd897913a1c434747a8",id:"form",ref:function(t){return e.form=t}},a("input",{key:"d687034216a6e03a484fdd4462a7e2817675237c",type:"file",name:"input",id:"input",multiple:true,"aria-label":Ce.t("upload.choose_files"),ref:function(t){return e.input=t},onInput:this.handleInput}),a("div",{key:"82a76ba0258746bc552afc03c500a563c698e821",id:"modal"},a("div",{key:"a6113ba410cf3985ad64fa9300cf4e9ef2182e4f",id:"body-frame"},a("div",{key:"d9af36800ce744146c43a7e99f289413e13b9ae3",id:"body"},!t&&a("div",{key:"df98d670f9c0498597f414158108c38265b59b90",id:"dropzone"},a("ezp-icon",{key:"0202221de58ae709f5823501cfce1bc9d1087136",id:"dropzone-icon",name:"cloud-upload"}),a("ezp-label",{key:"9cbb60bc48f9e74af2c613d8c83a973e984ce824",id:"dropzone-title",level:"primary",weight:"heavy",text:Ce.t("upload.dropzone_title")}),a("div",{key:"ccaef599519bf24af543f4727fb4c1a62338b9df",id:"dropzone-prompt"},a("ezp-text-button",{key:"f084bb66ff63e9448cb6e7aea1782d8d2c9914b3",id:"choose",type:"button",onClick:this.openPicker,label:Ce.t("upload.choose_files")}),a("ezp-label",{key:"f5e7bd5219637c13cc0f9ad97ab42a14d35aa601",id:"drag-hint",level:"secondary",weight:"strong",text:Ce.t("upload.drag_hint")}),a("ezp-label",{key:"d5334e1e3aaaaaf9a7abb4be38a27226f73a162a",id:"formats",level:"tertiary",text:Tx.join(", ")}))),t&&a("div",{key:"9eaec0f2ddb0f2ca4679e4a314afb2b42c211a17",id:"files"},a("div",{key:"bc990a270c2432c8237b75eebc9d4881a6bb856e",id:"file-list",onScroll:this.handleFilesScroll},this.selectedFiles.map((function(t,r){return a("div",{key:e.fileKey(t),class:"file","data-tooltip-row":true},a("span",{class:"file-type","aria-hidden":"true"},e.fileType(t.name)),a("div",{class:"file-details"},a("ezp-file-name",{class:"file-name",weight:"heavy",name:t.name,anchor:"parent",placement:r===e.firstVisibleFile?"bottom":"top"}),a("ezp-label",{class:"file-size",level:"tertiary",text:e.formatSize(t.size)})),a("button",{type:"button",class:"file-remove","aria-label":Ce.t("upload.remove_file"),onClick:function(t){return e.removeFile(t,r)}},a("ezp-icon",{name:"close"})))}))),a("button",{key:"d22584a56b417545260c5b8c2210a6c62b59426e",type:"button",id:"add-more",onClick:this.openPicker},a("ezp-icon",{key:"1313f4255c6a58e58d04b0188153ec815ce6b938",name:"plus"}),a("ezp-label",{key:"deadcecb7b733c33a3990802a4ebf6b84726b48e",level:"secondary",weight:"heavy",text:Ce.t("upload.add_more")})))),t&&this.dragging&&a("div",{key:"20bf6c68fd28c8de0b63b88aad24f1ab63d25ac3",id:"drop-overlay","aria-hidden":"true"},a("ezp-icon",{key:"135896652629a8eba574c21af1af20ba6722ad5d",id:"dropzone-icon",name:"cloud-upload"}),a("ezp-label",{key:"03921a166561ce06af4fce3abcd1f812738844f5",level:"primary",weight:"heavy",text:Ce.t("upload.dropzone_title")}))),a("div",{key:"2d1e16e9e8ca950e1e968ca12939a245f7618adc",id:"footer"},a("ezp-text-button",{key:"6a776b09c068982932225a4903df003e8a89b20a",id:"clear",type:"button",level:"secondary",disabled:!t,onClick:this.handleCancel,label:Ce.t("upload.remove_files"),class:"action"}),a("ezp-text-button",{key:"ca872a7d7834191001faef1140dbd344566ed79d",id:"continue",type:"button",disabled:!t,onClick:this.handleContinue,label:Ce.t("upload.continue"),class:"action"})))))};return e}());qx.style=Rx();var Hx=function(){return":host{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));display:block;opacity:var(--ezp-userMenu-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));visibility:var(--ezp-userMenu-visibility, hidden);z-index:5}:host(.is-open){--ezp-userMenu-opacity:1;--ezp-userMenu-scale:1, 1;--ezp-userMenu-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-userMenu-visibility:visible}@media (prefers-color-scheme: dark){:host{--ezp-userMenu-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4)}#name{color:var(--ezp-core-foreground-primary)}#close{margin:calc(var(--ezp-spacing-3) * -1) 0}#links{-webkit-box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:var(--ezp-spacing-2)}.link{-ms-flex-align:center;align-items:center;background:var(--ezp-userMenu-link-background, transparent);border-radius:3px;color:var(--ezp-core-foreground-primary);cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;padding:var(--ezp-spacing-3);text-decoration:none}.link:hover{--ezp-userMenu-link-background:var(--ezp-core-shade-primary)}.link__icon{color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0}.caption{color:var(--ezp-core-foreground-primary)}#theme{-webkit-box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#swatches{display:-ms-flexbox;display:flex;margin:0 calc(var(--ezp-spacing-2) * -1)}.swatch{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-swatch-background, transparent);border:0;border-radius:50%;color:var(--ezp-userMenu-swatch-color);cursor:var(--ezp-userMenu-swatch-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-userMenu-swatch-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){.swatch:not(.selected):hover{--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent)}.swatch:not(.selected):active{--ezp-userMenu-swatch-opacity:0.74}}.swatch.selected{--ezp-userMenu-dot-boxShadowSize:10px;--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent);--ezp-userMenu-swatch-cursor:normal}.swatch.selected>.dot{-webkit-animation:dot-bounce var(--ezp-duration-2) ease-in-out;animation:dot-bounce var(--ezp-duration-2) ease-in-out}.swatch--blue{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-blue-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-blue-translucent)}.swatch--cyan{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-cyan-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-cyan-translucent)}.swatch--green{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-green-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-green-translucent)}.swatch--teal{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-teal-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-teal-translucent)}.swatch--orange{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-orange-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-orange-translucent)}.swatch--pink{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-pink-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-pink-translucent)}.swatch--red{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-red-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-red-translucent)}.swatch--violet{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-violet-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-violet-translucent)}.dot{background:var(--ezp-userMenu-dot-background, transparent);border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);height:18px;-webkit-transition:-webkit-box-shadow var(--ezp-duration-2);transition:-webkit-box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2), -webkit-box-shadow var(--ezp-duration-2);width:18px}#appearance{display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#tabs{display:grid;grid-template:auto/repeat(3, 1fr);margin:0 calc(var(--ezp-spacing-2) * -1)}.tab{--ezp-icon-height:8px;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-tab-background, transparent);border:0;border-radius:14px;color:var(--ezp-userMenu-tab-color, var(--ezp-core-foreground-secondary));cursor:var(--ezp-userMenu-tab-cursor, pointer);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-2)}@media (hover: hover){.tab:not(.selected):hover{--ezp-userMenu-tab-background:var(--ezp-core-shade-primary)}.tab:not(.selected):active{--ezp-userMenu-tab-background:var(--ezp-core-shade-secondary)}}.tab.selected{--ezp-userMenu-tab-background:var(--ezp-theme-translucent);--ezp-userMenu-tab-color:var(--ezp-theme-solid);--ezp-userMenu-tab-cursor:normal}@-webkit-keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}"};var Ux=e("ezp_user_menu",function(){function e(e){var t=this;i(this,e);this.userMenuClosure=n(this,"userMenuClosure",7);this.logoutEmitter=n(this,"logoutEmitter",7);this.backdrop=document.createElement("ezp-backdrop");this.links=[{title:Ce.t("user_menu.account"),icon:"account",href:"https://app.ezeep.com"},{title:Ce.t("user_menu.help"),icon:"help",href:"https://support.ezeep.com"}];this.themes=["pink","red","orange","green","teal","cyan","blue","violet"];this.appearances=[{title:Ce.t("user_menu.system"),name:"system"},{title:Ce.t("user_menu.light"),name:"light"},{title:Ce.t("user_menu.dark"),name:"dark"}];this.name="John Doe";this.open=false;this.handleClose=function(){t.userMenuClosure.emit()};this.logOut=function(){ct.clearSession();mt.state.isAuthorized=false;t.logoutEmitter.emit()};this.handleTheme=function(e){lx.state.theme=e};this.handleAppearance=function(e){lx.state.appearance=e}}e.prototype.watchOpen=function(){if(this.open){this.backdrop.visible=true;this.container.appendChild(this.backdrop)}else{this.backdrop.visible=false;this.userMenuClosure.emit()}};e.prototype.connectedCallback=function(){this.unsubscribeLanguage=We(this)};e.prototype.componentWillLoad=function(){var e=this;this.container=this.component.closest("[data-backdrop-surface]");this.backdrop.addEventListener("backdropHideStart",(function(){e.open=false}));this.backdrop.addEventListener("backdropHideEnd",(function(){e.container.removeChild(e.backdrop)}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.render=function(){var e=this;return a(o,{key:"a6967dc3eb3b13630dbf652681c6c5c1f769f584",class:this.open?"is-open":""},a("div",{key:"5cbf232927f4b26c1c05b01a6025b5f33fe3bfaa",id:"header"},a("ezp-label",{key:"83987303c029d9d01f42d5d817edaf6c72629513",ellipsis:true,id:"name",weight:"heavy",text:this.name}),a("ezp-icon-button",{key:"45a64f18578adf35aeb824e393a359368e32e35a",id:"close",level:"tertiary",icon:"close",onClick:this.handleClose})),a("div",{key:"8bd44e5b32662baad24ee9a39abca4e772b0ef4b",id:"links"},this.links.map((function(e){return a("a",{class:"link",href:e.href,target:"_blank",rel:"noopener noreferrer"},a("ezp-icon",{class:"link__icon",name:e.icon}),a("ezp-label",{text:e.title}))})),a("a",{key:"64f041741f7760f85dd5090d0c9feebd7dec3289",class:"link",onClick:this.logOut},a("ezp-icon",{key:"bd0beefa519acb37328d9c3fd33c4286ff7e1ddc",class:"link__icon",name:"logout"}),a("ezp-label",{key:"a37c8e9ffc43d0d89fe4d5dadf1dde5e36155074",text:Ce.t("user_menu.logout")}))),a("div",{key:"ad74827637906199b94f61d5f617fcaa9044c553",id:"theme"},a("ezp-label",{key:"c420ad169436c96acd4add9951e02f2d6fd43240",class:"caption",text:"".concat(Ce.t("user_menu.theme"),":"),weight:"heavy"}),a("div",{key:"04d383554f2cdfd6b7864c3e23295e2bc6f244b8",id:"swatches"},this.themes.map((function(t){return a("button",{class:"swatch swatch--".concat(t," ").concat(t===lx.state.theme?"selected":""),onClick:function(){return e.handleTheme(t)}},a("span",{class:"dot"}))})))),a("div",{key:"4e40758f22b322cbcd3d26054c6c4801c555430a",id:"appearance"},a("ezp-label",{key:"3034f9eaa028ce4928c8bf2c36dc223b98eba45d",class:"caption",text:"".concat(Ce.t("user_menu.appearance"),":"),weight:"heavy"}),a("div",{key:"dfa6a115e24db557891295f3a8e1ab1cfa4332f0",id:"tabs"},this.appearances.map((function(t){return a("button",{class:"tab ".concat(t.name===lx.state.appearance?"selected":""),onClick:function(){return e.handleAppearance(t.name)}},a("ezp-icon",{name:t.name}),a("ezp-label",{text:t.title,level:"tertiary",weight:"strong"}))})))))};Object.defineProperty(e.prototype,"component",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:[{watchOpen:0}]}},enumerable:false,configurable:true});return e}());Ux.style=Hx()}}}));
|
|
7
|
+
*/var Yl=50;Jl.TYPED_ARRAY_SUPPORT=Tt.TYPED_ARRAY_SUPPORT!==undefined?Tt.TYPED_ARRAY_SUPPORT:true;function jl(){return Jl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Kl(e,t){if(jl()<t){throw new RangeError("Invalid typed array length")}if(Jl.TYPED_ARRAY_SUPPORT){e=new Uint8Array(t);e.__proto__=Jl.prototype}else{if(e===null){e=new Jl(t)}e.length=t}return e}function Jl(e,t,r){if(!Jl.TYPED_ARRAY_SUPPORT&&!(this instanceof Jl)){return new Jl(e,t,r)}if(typeof e==="number"){if(typeof t==="string"){throw new Error("If encoding is specified then the first argument must be a string")}return Zl(this,e)}return Vl(this,e,t,r)}Jl.poolSize=8192;Jl._augment=function(e){e.__proto__=Jl.prototype;return e};function Vl(e,t,r,i){if(typeof t==="number"){throw new TypeError('"value" argument must not be a number')}if(typeof ArrayBuffer!=="undefined"&&t instanceof ArrayBuffer){return tc(e,t,r,i)}if(typeof t==="string"){return $l(e,t,r)}return rc(e,t)}Jl.from=function(e,t,r){return Vl(null,e,t,r)};if(Jl.TYPED_ARRAY_SUPPORT){Jl.prototype.__proto__=Uint8Array.prototype;Jl.__proto__=Uint8Array}function Xl(e){if(typeof e!=="number"){throw new TypeError('"size" argument must be a number')}else if(e<0){throw new RangeError('"size" argument must not be negative')}}function Wl(e,t,r,i){Xl(t);if(t<=0){return Kl(e,t)}if(r!==undefined){return typeof i==="string"?Kl(e,t).fill(r,i):Kl(e,t).fill(r)}return Kl(e,t)}Jl.alloc=function(e,t,r){return Wl(null,e,t,r)};function Zl(e,t){Xl(t);e=Kl(e,t<0?0:ic(t)|0);if(!Jl.TYPED_ARRAY_SUPPORT){for(var r=0;r<t;++r){e[r]=0}}return e}Jl.allocUnsafe=function(e){return Zl(null,e)};Jl.allocUnsafeSlow=function(e){return Zl(null,e)};function $l(e,t,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Jl.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}var i=ac(t,r)|0;e=Kl(e,i);var n=e.write(t,r);if(n!==i){e=e.slice(0,n)}return e}function ec(e,t){var r=t.length<0?0:ic(t.length)|0;e=Kl(e,r);for(var i=0;i<r;i+=1){e[i]=t[i]&255}return e}function tc(e,t,r,i){if(r<0||t.byteLength<r){throw new RangeError("'offset' is out of bounds")}if(t.byteLength<r+(i||0)){throw new RangeError("'length' is out of bounds")}if(r===undefined&&i===undefined){t=new Uint8Array(t)}else if(i===undefined){t=new Uint8Array(t,r)}else{t=new Uint8Array(t,r,i)}if(Jl.TYPED_ARRAY_SUPPORT){e=t;e.__proto__=Jl.prototype}else{e=ec(e,t)}return e}function rc(e,t){if(nc(t)){var r=ic(t.length)|0;e=Kl(e,r);if(e.length===0){return e}t.copy(e,0,0,r);return e}if(t){if(typeof ArrayBuffer!=="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t){if(typeof t.length!=="number"||Uc(t.length)){return Kl(e,0)}return ec(e,t)}if(t.type==="Buffer"&&Gl(t.data)){return ec(e,t.data)}}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function ic(e){if(e>=jl()){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+jl().toString(16)+" bytes")}return e|0}Jl.isBuffer=Lc;function nc(e){return!!(e!=null&&e._isBuffer)}Jl.compare=function e(t,r){if(!nc(t)||!nc(r)){throw new TypeError("Arguments must be Buffers")}if(t===r)return 0;var i=t.length;var n=r.length;for(var a=0,o=Math.min(i,n);a<o;++a){if(t[a]!==r[a]){i=t[a];n=r[a];break}}if(i<n)return-1;if(n<i)return 1;return 0};Jl.isEncoding=function e(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return true;default:return false}};Jl.concat=function e(t,r){if(!Gl(t)){throw new TypeError('"list" argument must be an Array of Buffers')}if(t.length===0){return Jl.alloc(0)}var i;if(r===undefined){r=0;for(i=0;i<t.length;++i){r+=t[i].length}}var n=Jl.allocUnsafe(r);var a=0;for(i=0;i<t.length;++i){var o=t[i];if(!nc(o)){throw new TypeError('"list" argument must be an Array of Buffers')}o.copy(n,a);a+=o.length}return n};function ac(e,t){if(nc(e)){return e.length}if(typeof ArrayBuffer!=="undefined"&&typeof ArrayBuffer.isView==="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)){return e.byteLength}if(typeof e!=="string"){e=""+e}var r=e.length;if(r===0)return 0;var i=false;for(;;){switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case undefined:return Dc(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return qc(e).length;default:if(i)return Dc(e).length;t=(""+t).toLowerCase();i=true}}}Jl.byteLength=ac;function oc(e,t,r){var i=false;if(t===undefined||t<0){t=0}if(t>this.length){return""}if(r===undefined||r>this.length){r=this.length}if(r<=0){return""}r>>>=0;t>>>=0;if(r<=t){return""}if(!e)e="utf8";while(true){switch(e){case"hex":return Nc(this,t,r);case"utf8":case"utf-8":return vc(this,t,r);case"ascii":return bc(this,t,r);case"latin1":case"binary":return xc(this,t,r);case"base64":return gc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Cc(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase();i=true}}}Jl.prototype._isBuffer=true;function sc(e,t,r){var i=e[t];e[t]=e[r];e[r]=i}Jl.prototype.swap16=function e(){var t=this.length;if(t%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var r=0;r<t;r+=2){sc(this,r,r+1)}return this};Jl.prototype.swap32=function e(){var t=this.length;if(t%4!==0){throw new RangeError("Buffer size must be a multiple of 32-bits")}for(var r=0;r<t;r+=4){sc(this,r,r+3);sc(this,r+1,r+2)}return this};Jl.prototype.swap64=function e(){var t=this.length;if(t%8!==0){throw new RangeError("Buffer size must be a multiple of 64-bits")}for(var r=0;r<t;r+=8){sc(this,r,r+7);sc(this,r+1,r+6);sc(this,r+2,r+5);sc(this,r+3,r+4)}return this};Jl.prototype.toString=function e(){var t=this.length|0;if(t===0)return"";if(arguments.length===0)return vc(this,0,t);return oc.apply(this,arguments)};Jl.prototype.equals=function e(t){if(!nc(t))throw new TypeError("Argument must be a Buffer");if(this===t)return true;return Jl.compare(this,t)===0};Jl.prototype.inspect=function e(){var t="";var r=Yl;if(this.length>0){t=this.toString("hex",0,r).match(/.{2}/g).join(" ");if(this.length>r)t+=" ... "}return"<Buffer "+t+">"};Jl.prototype.compare=function e(t,r,i,n,a){if(!nc(t)){throw new TypeError("Argument must be a Buffer")}if(r===undefined){r=0}if(i===undefined){i=t?t.length:0}if(n===undefined){n=0}if(a===undefined){a=this.length}if(r<0||i>t.length||n<0||a>this.length){throw new RangeError("out of range index")}if(n>=a&&r>=i){return 0}if(n>=a){return-1}if(r>=i){return 1}r>>>=0;i>>>=0;n>>>=0;a>>>=0;if(this===t)return 0;var o=a-n;var s=i-r;var l=Math.min(o,s);var c=this.slice(n,a);var u=t.slice(r,i);for(var d=0;d<l;++d){if(c[d]!==u[d]){o=c[d];s=u[d];break}}if(o<s)return-1;if(s<o)return 1;return 0};function lc(e,t,r,i,n){if(e.length===0)return-1;if(typeof r==="string"){i=r;r=0}else if(r>2147483647){r=2147483647}else if(r<-2147483648){r=-2147483648}r=+r;if(isNaN(r)){r=n?0:e.length-1}if(r<0)r=e.length+r;if(r>=e.length){if(n)return-1;else r=e.length-1}else if(r<0){if(n)r=0;else return-1}if(typeof t==="string"){t=Jl.from(t,i)}if(nc(t)){if(t.length===0){return-1}return cc(e,t,r,i,n)}else if(typeof t==="number"){t=t&255;if(Jl.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==="function"){if(n){return Uint8Array.prototype.indexOf.call(e,t,r)}else{return Uint8Array.prototype.lastIndexOf.call(e,t,r)}}return cc(e,[t],r,i,n)}throw new TypeError("val must be string, number or Buffer")}function cc(e,t,r,i,n){var a=1;var o=e.length;var s=t.length;if(i!==undefined){i=String(i).toLowerCase();if(i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le"){if(e.length<2||t.length<2){return-1}a=2;o/=2;s/=2;r/=2}}function l(e,t){if(a===1){return e[t]}else{return e.readUInt16BE(t*a)}}var c;if(n){var u=-1;for(c=r;c<o;c++){if(l(e,c)===l(t,u===-1?0:c-u)){if(u===-1)u=c;if(c-u+1===s)return u*a}else{if(u!==-1)c-=c-u;u=-1}}}else{if(r+s>o)r=o-s;for(c=r;c>=0;c--){var d=true;for(var m=0;m<s;m++){if(l(e,c+m)!==l(t,m)){d=false;break}}if(d)return c}}return-1}Jl.prototype.includes=function e(t,r,i){return this.indexOf(t,r,i)!==-1};Jl.prototype.indexOf=function e(t,r,i){return lc(this,t,r,i,true)};Jl.prototype.lastIndexOf=function e(t,r,i){return lc(this,t,r,i,false)};function uc(e,t,r,i){r=Number(r)||0;var n=e.length-r;if(!i){i=n}else{i=Number(i);if(i>n){i=n}}var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");if(i>a/2){i=a/2}for(var o=0;o<i;++o){var s=parseInt(t.substr(o*2,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function dc(e,t,r,i){return Hc(Dc(t,e.length-r),e,r,i)}function mc(e,t,r,i){return Hc(Rc(t),e,r,i)}function pc(e,t,r,i){return mc(e,t,r,i)}function fc(e,t,r,i){return Hc(qc(t),e,r,i)}function hc(e,t,r,i){return Hc(Tc(t,e.length-r),e,r,i)}Jl.prototype.write=function e(t,r,i,n){if(r===undefined){n="utf8";i=this.length;r=0}else if(i===undefined&&typeof r==="string"){n=r;i=this.length;r=0}else if(isFinite(r)){r=r|0;if(isFinite(i)){i=i|0;if(n===undefined)n="utf8"}else{n=i;i=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var a=this.length-r;if(i===undefined||i>a)i=a;if(t.length>0&&(i<0||r<0)||r>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!n)n="utf8";var o=false;for(;;){switch(n){case"hex":return uc(this,t,r,i);case"utf8":case"utf-8":return dc(this,t,r,i);case"ascii":return mc(this,t,r,i);case"latin1":case"binary":return pc(this,t,r,i);case"base64":return fc(this,t,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hc(this,t,r,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase();o=true}}};Jl.prototype.toJSON=function e(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function gc(e,t,r){if(t===0&&r===e.length){return Ul(e)}else{return Ul(e.slice(t,r))}}function vc(e,t,r){r=Math.min(e.length,r);var i=[];var n=t;while(n<r){var a=e[n];var o=null;var s=a>239?4:a>223?3:a>191?2:1;if(n+s<=r){var l,c,u,d;switch(s){case 1:if(a<128){o=a}break;case 2:l=e[n+1];if((l&192)===128){d=(a&31)<<6|l&63;if(d>127){o=d}}break;case 3:l=e[n+1];c=e[n+2];if((l&192)===128&&(c&192)===128){d=(a&15)<<12|(l&63)<<6|c&63;if(d>2047&&(d<55296||d>57343)){o=d}}break;case 4:l=e[n+1];c=e[n+2];u=e[n+3];if((l&192)===128&&(c&192)===128&&(u&192)===128){d=(a&15)<<18|(l&63)<<12|(c&63)<<6|u&63;if(d>65535&&d<1114112){o=d}}}}if(o===null){o=65533;s=1}else if(o>65535){o-=65536;i.push(o>>>10&1023|55296);o=56320|o&1023}i.push(o);n+=s}return Ac(i)}var yc=4096;function Ac(e){var t=e.length;if(t<=yc){return String.fromCharCode.apply(String,e)}var r="";var i=0;while(i<t){r+=String.fromCharCode.apply(String,e.slice(i,i+=yc))}return r}function bc(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n){i+=String.fromCharCode(e[n]&127)}return i}function xc(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n){i+=String.fromCharCode(e[n])}return i}function Nc(e,t,r){var i=e.length;if(!t||t<0)t=0;if(!r||r<0||r>i)r=i;var n="";for(var a=t;a<r;++a){n+=Mc(e[a])}return n}function Cc(e,t,r){var i=e.slice(t,r);var n="";for(var a=0;a<i.length;a+=2){n+=String.fromCharCode(i[a]+i[a+1]*256)}return n}Jl.prototype.slice=function e(t,r){var i=this.length;t=~~t;r=r===undefined?i:~~r;if(t<0){t+=i;if(t<0)t=0}else if(t>i){t=i}if(r<0){r+=i;if(r<0)r=0}else if(r>i){r=i}if(r<t)r=t;var n;if(Jl.TYPED_ARRAY_SUPPORT){n=this.subarray(t,r);n.__proto__=Jl.prototype}else{var a=r-t;n=new Jl(a,undefined);for(var o=0;o<a;++o){n[o]=this[o+t]}}return n};function zc(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}Jl.prototype.readUIntLE=function e(t,r,i){t=t|0;r=r|0;if(!i)zc(t,r,this.length);var n=this[t];var a=1;var o=0;while(++o<r&&(a*=256)){n+=this[t+o]*a}return n};Jl.prototype.readUIntBE=function e(t,r,i){t=t|0;r=r|0;if(!i){zc(t,r,this.length)}var n=this[t+--r];var a=1;while(r>0&&(a*=256)){n+=this[t+--r]*a}return n};Jl.prototype.readUInt8=function e(t,r){if(!r)zc(t,1,this.length);return this[t]};Jl.prototype.readUInt16LE=function e(t,r){if(!r)zc(t,2,this.length);return this[t]|this[t+1]<<8};Jl.prototype.readUInt16BE=function e(t,r){if(!r)zc(t,2,this.length);return this[t]<<8|this[t+1]};Jl.prototype.readUInt32LE=function e(t,r){if(!r)zc(t,4,this.length);return(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};Jl.prototype.readUInt32BE=function e(t,r){if(!r)zc(t,4,this.length);return this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};Jl.prototype.readIntLE=function e(t,r,i){t=t|0;r=r|0;if(!i)zc(t,r,this.length);var n=this[t];var a=1;var o=0;while(++o<r&&(a*=256)){n+=this[t+o]*a}a*=128;if(n>=a)n-=Math.pow(2,8*r);return n};Jl.prototype.readIntBE=function e(t,r,i){t=t|0;r=r|0;if(!i)zc(t,r,this.length);var n=r;var a=1;var o=this[t+--n];while(n>0&&(a*=256)){o+=this[t+--n]*a}a*=128;if(o>=a)o-=Math.pow(2,8*r);return o};Jl.prototype.readInt8=function e(t,r){if(!r)zc(t,1,this.length);if(!(this[t]&128))return this[t];return(255-this[t]+1)*-1};Jl.prototype.readInt16LE=function e(t,r){if(!r)zc(t,2,this.length);var i=this[t]|this[t+1]<<8;return i&32768?i|4294901760:i};Jl.prototype.readInt16BE=function e(t,r){if(!r)zc(t,2,this.length);var i=this[t+1]|this[t]<<8;return i&32768?i|4294901760:i};Jl.prototype.readInt32LE=function e(t,r){if(!r)zc(t,4,this.length);return this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};Jl.prototype.readInt32BE=function e(t,r){if(!r)zc(t,4,this.length);return this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};Jl.prototype.readFloatLE=function e(t,r){if(!r)zc(t,4,this.length);return Ll(this,t,true,23,4)};Jl.prototype.readFloatBE=function e(t,r){if(!r)zc(t,4,this.length);return Ll(this,t,false,23,4)};Jl.prototype.readDoubleLE=function e(t,r){if(!r)zc(t,8,this.length);return Ll(this,t,true,52,8)};Jl.prototype.readDoubleBE=function e(t,r){if(!r)zc(t,8,this.length);return Ll(this,t,false,52,8)};function Ic(e,t,r,i,n,a){if(!nc(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<a)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}Jl.prototype.writeUIntLE=function e(t,r,i,n){t=+t;r=r|0;i=i|0;if(!n){var a=Math.pow(2,8*i)-1;Ic(this,t,r,i,a,0)}var o=1;var s=0;this[r]=t&255;while(++s<i&&(o*=256)){this[r+s]=t/o&255}return r+i};Jl.prototype.writeUIntBE=function e(t,r,i,n){t=+t;r=r|0;i=i|0;if(!n){var a=Math.pow(2,8*i)-1;Ic(this,t,r,i,a,0)}var o=i-1;var s=1;this[r+o]=t&255;while(--o>=0&&(s*=256)){this[r+o]=t/s&255}return r+i};Jl.prototype.writeUInt8=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,1,255,0);if(!Jl.TYPED_ARRAY_SUPPORT)t=Math.floor(t);this[r]=t&255;return r+1};function wc(e,t,r,i){if(t<0)t=65535+t+1;for(var n=0,a=Math.min(e.length-r,2);n<a;++n){e[r+n]=(t&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}}Jl.prototype.writeUInt16LE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,2,65535,0);if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{wc(this,t,r,true)}return r+2};Jl.prototype.writeUInt16BE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,2,65535,0);if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{wc(this,t,r,false)}return r+2};function Sc(e,t,r,i){if(t<0)t=4294967295+t+1;for(var n=0,a=Math.min(e.length-r,4);n<a;++n){e[r+n]=t>>>(i?n:3-n)*8&255}}Jl.prototype.writeUInt32LE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,4,4294967295,0);if(Jl.TYPED_ARRAY_SUPPORT){this[r+3]=t>>>24;this[r+2]=t>>>16;this[r+1]=t>>>8;this[r]=t&255}else{Sc(this,t,r,true)}return r+4};Jl.prototype.writeUInt32BE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,4,4294967295,0);if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{Sc(this,t,r,false)}return r+4};Jl.prototype.writeIntLE=function e(t,r,i,n){t=+t;r=r|0;if(!n){var a=Math.pow(2,8*i-1);Ic(this,t,r,i,a-1,-a)}var o=0;var s=1;var l=0;this[r]=t&255;while(++o<i&&(s*=256)){if(t<0&&l===0&&this[r+o-1]!==0){l=1}this[r+o]=(t/s>>0)-l&255}return r+i};Jl.prototype.writeIntBE=function e(t,r,i,n){t=+t;r=r|0;if(!n){var a=Math.pow(2,8*i-1);Ic(this,t,r,i,a-1,-a)}var o=i-1;var s=1;var l=0;this[r+o]=t&255;while(--o>=0&&(s*=256)){if(t<0&&l===0&&this[r+o+1]!==0){l=1}this[r+o]=(t/s>>0)-l&255}return r+i};Jl.prototype.writeInt8=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,1,127,-128);if(!Jl.TYPED_ARRAY_SUPPORT)t=Math.floor(t);if(t<0)t=255+t+1;this[r]=t&255;return r+1};Jl.prototype.writeInt16LE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,2,32767,-32768);if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{wc(this,t,r,true)}return r+2};Jl.prototype.writeInt16BE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,2,32767,-32768);if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{wc(this,t,r,false)}return r+2};Jl.prototype.writeInt32LE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,4,2147483647,-2147483648);if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8;this[r+2]=t>>>16;this[r+3]=t>>>24}else{Sc(this,t,r,true)}return r+4};Jl.prototype.writeInt32BE=function e(t,r,i){t=+t;r=r|0;if(!i)Ic(this,t,r,4,2147483647,-2147483648);if(t<0)t=4294967295+t+1;if(Jl.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{Sc(this,t,r,false)}return r+4};function Bc(e,t,r,i,n,a){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ec(e,t,r,i,n){if(!n){Bc(e,t,r,4)}Fl(e,t,r,i,23,4);return r+4}Jl.prototype.writeFloatLE=function e(t,r,i){return Ec(this,t,r,true,i)};Jl.prototype.writeFloatBE=function e(t,r,i){return Ec(this,t,r,false,i)};function _c(e,t,r,i,n){if(!n){Bc(e,t,r,8)}Fl(e,t,r,i,52,8);return r+8}Jl.prototype.writeDoubleLE=function e(t,r,i){return _c(this,t,r,true,i)};Jl.prototype.writeDoubleBE=function e(t,r,i){return _c(this,t,r,false,i)};Jl.prototype.copy=function e(t,r,i,n){if(!i)i=0;if(!n&&n!==0)n=this.length;if(r>=t.length)r=t.length;if(!r)r=0;if(n>0&&n<i)n=i;if(n===i)return 0;if(t.length===0||this.length===0)return 0;if(r<0){throw new RangeError("targetStart out of bounds")}if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");if(n>this.length)n=this.length;if(t.length-r<n-i){n=t.length-r+i}var a=n-i;var o;if(this===t&&i<r&&r<n){for(o=a-1;o>=0;--o){t[o+r]=this[o+i]}}else if(a<1e3||!Jl.TYPED_ARRAY_SUPPORT){for(o=0;o<a;++o){t[o+r]=this[o+i]}}else{Uint8Array.prototype.set.call(t,this.subarray(i,i+a),r)}return a};Jl.prototype.fill=function e(t,r,i,n){if(typeof t==="string"){if(typeof r==="string"){n=r;r=0;i=this.length}else if(typeof i==="string"){n=i;i=this.length}if(t.length===1){var a=t.charCodeAt(0);if(a<256){t=a}}if(n!==undefined&&typeof n!=="string"){throw new TypeError("encoding must be a string")}if(typeof n==="string"&&!Jl.isEncoding(n)){throw new TypeError("Unknown encoding: "+n)}}else if(typeof t==="number"){t=t&255}if(r<0||this.length<r||this.length<i){throw new RangeError("Out of range index")}if(i<=r){return this}r=r>>>0;i=i===undefined?this.length:i>>>0;if(!t)t=0;var o;if(typeof t==="number"){for(o=r;o<i;++o){this[o]=t}}else{var s=nc(t)?t:Dc(new Jl(t,n).toString());var l=s.length;for(o=0;o<i-r;++o){this[o+r]=s[o%l]}}return this};var kc=/[^+\/0-9A-Za-z-_]/g;function Qc(e){e=Pc(e).replace(kc,"");if(e.length<2)return"";while(e.length%4!==0){e=e+"="}return e}function Pc(e){if(e.trim)return e.trim();return e.replace(/^\s+|\s+$/g,"")}function Mc(e){if(e<16)return"0"+e.toString(16);return e.toString(16)}function Dc(e,t){t=t||Infinity;var r;var i=e.length;var n=null;var a=[];for(var o=0;o<i;++o){r=e.charCodeAt(o);if(r>55295&&r<57344){if(!n){if(r>56319){if((t-=3)>-1)a.push(239,191,189);continue}else if(o+1===i){if((t-=3)>-1)a.push(239,191,189);continue}n=r;continue}if(r<56320){if((t-=3)>-1)a.push(239,191,189);n=r;continue}r=(n-55296<<10|r-56320)+65536}else if(n){if((t-=3)>-1)a.push(239,191,189)}n=null;if(r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else{throw new Error("Invalid code point")}}return a}function Rc(e){var t=[];for(var r=0;r<e.length;++r){t.push(e.charCodeAt(r)&255)}return t}function Tc(e,t){var r,i,n;var a=[];for(var o=0;o<e.length;++o){if((t-=2)<0)break;r=e.charCodeAt(o);i=r>>8;n=r%256;a.push(n);a.push(i)}return a}function qc(e){return Tl(Qc(e))}function Hc(e,t,r,i){for(var n=0;n<i;++n){if(n+r>=t.length||n>=e.length)break;t[n+r]=e[n]}return n}function Uc(e){return e!==e}function Lc(e){return e!=null&&(!!e._isBuffer||Fc(e)||Oc(e))}function Fc(e){return!!e.constructor&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function Oc(e){return typeof e.readFloatLE==="function"&&typeof e.slice==="function"&&Fc(e.slice(0,0))}var Gc=function(){var e=typeof document!=="undefined"&&document.currentScript?document.currentScript.src:undefined;e=e||kl;return function(t){t=t||{};var r=typeof t!="undefined"?t:{};var i,n;r["ready"]=new Promise((function(e,t){i=e;n=t}));["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach((function(e){if(!Object.getOwnPropertyDescriptor(r["ready"],e)){Object.defineProperty(r["ready"],e,{get:function(){return V("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")},set:function(){return V("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})}}));var a=Object.assign({},r);var o=typeof window=="object";var s=typeof importScripts=="function";var l=typeof xr=="object"&&typeof xr.versions=="object"&&typeof xr.versions.node=="string";var c=!o&&!l&&!s;if(r["ENVIRONMENT"]){throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)")}var u="";function d(e){if(r["locateFile"]){return r["locateFile"](e,u)}return u+e}if(l){if(typeof xr=="undefined"||!xr.release||xr.release.name!=="node")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(xr["argv"].length>1){xr["argv"][1].replace(/\\/g,"/")}r["inspect"]=function(){return"[Emscripten Module object]"}}else if(c){if(typeof xr=="object"&&typeof require==="function"||typeof window=="object"||typeof importScripts=="function")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(typeof scriptArgs!="undefined"){scriptArgs}if(typeof print!="undefined"){if(typeof console=="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!="undefined"?printErr:print}}else if(o||s){if(s){u=self.location.href}else if(typeof document!="undefined"&&document.currentScript){u=document.currentScript.src}if(e){u=e}if(u.indexOf("blob:")!==0){u=u.substr(0,u.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{u=""}if(!(typeof window=="object"||typeof importScripts=="function"))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else{throw new Error("environment detection error")}var m=r["print"]||console.log.bind(console);var p=r["printErr"]||console.warn.bind(console);Object.assign(r,a);a=null;be();f("arguments","arguments_");f("thisProgram","thisProgram");f("quit","quit_");x(typeof r["memoryInitializerPrefixURL"]=="undefined","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");x(typeof r["pthreadMainPrefixURL"]=="undefined","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");x(typeof r["cdInitializerPrefixURL"]=="undefined","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead");x(typeof r["filePackagePrefixURL"]=="undefined","Module.filePackagePrefixURL option was removed, use Module.locateFile instead");x(typeof r["read"]=="undefined","Module.read option was removed (modify read_ in JS)");x(typeof r["readAsync"]=="undefined","Module.readAsync option was removed (modify readAsync in JS)");x(typeof r["readBinary"]=="undefined","Module.readBinary option was removed (modify readBinary in JS)");x(typeof r["setWindowTitle"]=="undefined","Module.setWindowTitle option was removed (modify setWindowTitle in JS)");x(typeof r["TOTAL_MEMORY"]=="undefined","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY");f("read","read_");f("readAsync","readAsync");f("readBinary","readBinary");f("setWindowTitle","setWindowTitle");x(!c,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable.");function f(e,t){if(!Object.getOwnPropertyDescriptor(r,e)){Object.defineProperty(r,e,{configurable:true,get:function(){V("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}}function h(e){if(Object.getOwnPropertyDescriptor(r,e)){V("`Module."+e+"` was supplied but `"+e+"` not included in INCOMING_MODULE_JS_API")}}function g(e){return e==="FS_createPath"||e==="FS_createDataFile"||e==="FS_createPreloadedFile"||e==="FS_unlink"||e==="addRunDependency"||e==="FS_createLazyFile"||e==="FS_createDevice"||e==="removeRunDependency"}function v(e){if(typeof globalThis!=="undefined"&&!Object.getOwnPropertyDescriptor(globalThis,e)){Object.defineProperty(globalThis,e,{configurable:true,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line";var r=e;if(!r.startsWith("_")){r="$"+e}t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")";if(g(e)){t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}ue(t);return undefined}})}}function y(e){if(!Object.getOwnPropertyDescriptor(r,e)){Object.defineProperty(r,e,{configurable:true,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";if(g(e)){t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}V(t)}})}}f("wasmBinary","wasmBinary");f("noExitRuntime","noExitRuntime");if(typeof WebAssembly!="object"){V("no native wasm support detected")}var A;var b=false;function x(e,t){if(!e){V("Assertion failed"+(t?": "+t:""))}}var N=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function C(e,t,r){var i=t+r;var n=t;while(e[n]&&!(n>=i))++n;if(n-t>16&&e.buffer&&N){return N.decode(e.subarray(t,n))}var a="";while(t<n){var o=e[t++];if(!(o&128)){a+=String.fromCharCode(o);continue}var s=e[t++]&63;if((o&224)==192){a+=String.fromCharCode((o&31)<<6|s);continue}var l=e[t++]&63;if((o&240)==224){o=(o&15)<<12|s<<6|l}else{if((o&248)!=240)ue("Invalid UTF-8 leading byte "+ce(o)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!");o=(o&7)<<18|s<<12|l<<6|e[t++]&63}if(o<65536){a+=String.fromCharCode(o)}else{var c=o-65536;a+=String.fromCharCode(55296|c>>10,56320|c&1023)}}return a}var z,I,w;function S(e){z=e;r["HEAP8"]=new Int8Array(e);r["HEAP16"]=new Int16Array(e);r["HEAP32"]=new Int32Array(e);r["HEAPU8"]=I=new Uint8Array(e);r["HEAPU16"]=new Uint16Array(e);r["HEAPU32"]=w=new Uint32Array(e);r["HEAPF32"]=new Float32Array(e);r["HEAPF64"]=new Float64Array(e)}var B=5242880;if(r["STACK_SIZE"])x(B===r["STACK_SIZE"],"the stack size can no longer be determined at runtime");var E=r["INITIAL_MEMORY"]||16777216;f("INITIAL_MEMORY","INITIAL_MEMORY");x(E>=B,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+E+"! (STACK_SIZE="+B+")");x(typeof Int32Array!="undefined"&&typeof Float64Array!=="undefined"&&Int32Array.prototype.subarray!=undefined&&Int32Array.prototype.set!=undefined,"JS engine does not provide full typed array support");x(!r["wasmMemory"],"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally");x(E==16777216,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var _;function k(){var e=Be();x((e&3)==0);if(e==0){e+=4}w[e>>2]=34821223;w[e+4>>2]=2310721022;w[0]=1668509029}function Q(){if(b)return;var e=Be();if(e==0){e+=4}var t=w[e>>2];var r=w[e+4>>2];if(t!=34821223||r!=2310721022){V("Stack overflow! Stack cookie has been overwritten at "+ce(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+ce(r)+" "+ce(t))}if(w[0]!==1668509029){V("Runtime error: The application has corrupted its heap memory area (address zero)!")}}(function(){var e=new Int16Array(1);var t=new Int8Array(e.buffer);e[0]=25459;if(t[0]!==115||t[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"})();var P=[];var M=[];var D=[];var R=false;function T(){if(r["preRun"]){if(typeof r["preRun"]=="function")r["preRun"]=[r["preRun"]];while(r["preRun"].length){U(r["preRun"].shift())}}le(P)}function q(){x(!R);R=true;Q();le(M)}function H(){Q();if(r["postRun"]){if(typeof r["postRun"]=="function")r["postRun"]=[r["postRun"]];while(r["postRun"].length){F(r["postRun"].shift())}}le(D)}function U(e){P.unshift(e)}function L(e){M.unshift(e)}function F(e){D.unshift(e)}x(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");x(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");x(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");x(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var O=0;var G=null;var Y=null;var j={};function K(e){O++;if(r["monitorRunDependencies"]){r["monitorRunDependencies"](O)}{x(!j[e]);j[e]=1;if(G===null&&typeof setInterval!="undefined"){G=setInterval((function(){if(b){clearInterval(G);G=null;return}var e=false;for(var t in j){if(!e){e=true;p("still waiting on run dependencies:")}p("dependency: "+t)}if(e){p("(end of list)")}}),1e4)}}}function J(e){O--;if(r["monitorRunDependencies"]){r["monitorRunDependencies"](O)}{x(j[e]);delete j[e]}if(O==0){if(G!==null){clearInterval(G);G=null}if(Y){var t=Y;Y=null;t()}}}function V(e){if(r["onAbort"]){r["onAbort"](e)}e="Aborted("+e+")";p(e);b=true;var t=new WebAssembly.RuntimeError(e);n(t);throw t}var X={error:function(){V("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){X.error()},createDataFile:function(){X.error()},createPreloadedFile:function(){X.error()},createLazyFile:function(){X.error()},open:function(){X.error()},mkdev:function(){X.error()},registerDevice:function(){X.error()},analyzePath:function(){X.error()},loadFilesFromDB:function(){X.error()},ErrnoError:function e(){X.error()}};r["FS_createDataFile"]=X.createDataFile;r["FS_createPreloadedFile"]=X.createPreloadedFile;var W="data:application/octet-stream;base64,";function Z(e){return e.startsWith(W)}function $(e){return e.startsWith("file://")}function ee(e,t){return function(){var i=e;var n=t;{n=r["asm"]}x(R,"native function `"+i+"` called before runtime initialization");if(!n[e]){x(n[e],"exported native function `"+i+"` not found")}return n[e].apply(null,arguments)}}var te;te="crc64.wasm";if(!Z(te)){te=d(te)}var re=["AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39","/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW","5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvd","F9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMF","BgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYA","CgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwk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N0IgVBA3I2AgQgBCAFaiIE","IAQoAgRBAXI2AgQMDwsgA0EAKAKgksECIgZNDQECQCAARQ0AAkACQCAAIAR0QQIgBHQiAEEAIABrcnEiAEE","AIABrcWgiBEEDdCIAQcCSwQJqIgUgAEHIksECaigCACIAKAIIIgdHDQBBACACQX4gBHdxIgI2ApiSwQIMAQ","sgByAFNgIMIAUgBzYCCAsgACADQQNyNgIEIAAgA2oiByAEQQN0IgQgA2siBUEBcjYCBCAAIARqIAU2AgACQ","CAGRQ0AIAZBeHFBwJLBAmohA0EAKAKsksECIQQCQAJAIAJBASAGQQN2dCIIcQ0AQQAgAiAIcjYCmJLBAiAD","IQgMAQsgAygCCCEICyADIAQ2AgggCCAENgIMIAQgAzYCDCAEIAg2AggLIABBCGohAEEAIAc2AqySwQJBACA","FNgKgksECDA8LQQAoApySwQIiCUUNASAJQQAgCWtxaEECdEHIlMECaigCACIHKAIEQXhxIANrIQQgByEFAk","ADQAJAIAUoAhAiAA0AIAVBFGooAgAiAEUNAgsgACgCBEF4cSADayIFIAQgBSAESSIFGyEEIAAgByAFGyEHI","AAhBQwACwALIAcoAhghCgJAIAcoAgwiCCAHRg0AIAcoAggiAEEAKAKoksECSRogACAINgIMIAggADYCCAwO","CwJAIAdBFGoiBSgCACIADQAgBygCECIARQ0DIAdBEGohBQsDQCAFIQsgACIIQRRqIgUoAgAiAA0AIAhBEGo","hBSAIKAIQIgANAAsgC0EANgIADA0LQX8hAyAAQb9/Sw0AIABBC2oiAEF4cSEDQQAoApySwQIiBkUNAEEAIQ","sCQCADQYACSQ0AQR8hCyADQf///wdLDQAgA0EmIABBCHZnIgBrdkEBcSAAQQF0a0E+aiELC0EAIANrIQQCQ","AJAAkACQCALQQJ0QciUwQJqKAIAIgUNAEEAIQBBACEIDAELQQAhACADQQBBGSALQQF2ayALQR9GG3QhB0EA","IQgDQAJAIAUoAgRBeHEgA2siAiAETw0AIAIhBCAFIQggAg0AQQAhBCAFIQggBSEADAMLIAAgBUEUaigCACI","CIAIgBSAHQR12QQRxakEQaigCACIFRhsgACACGyEAIAdBAXQhByAFDQALCwJAIAAgCHINAEEAIQhBAiALdC","IAQQAgAGtyIAZxIgBFDQMgAEEAIABrcWhBAnRByJTBAmooAgAhAAsgAEUNAQsDQCAAKAIEQXhxIANrIgIgB","EkhBwJAIAAoAhAiBQ0AIABBFGooAgAhBQsgAiAEIAcbIQQgACAIIAcbIQggBSEAIAUNAAsLIAhFDQAgBEEA","KAKgksECIANrTw0AIAgoAhghCwJAIAgoAgwiByAIRg0AIAgoAggiAEEAKAKoksECSRogACAHNgIMIAcgADY","CCAwMCwJAIAhBFGoiBSgCACIADQAgCCgCECIARQ0DIAhBEGohBQsDQCAFIQIgACIHQRRqIgUoAgAiAA0AIA","dBEGohBSAHKAIQIgANAAsgAkEANgIADAsLAkBBACgCoJLBAiIAIANJDQBBACgCrJLBAiEEAkACQCAAIANrI","gVBEEkNAEEAIAU2AqCSwQJBACAEIANqIgc2AqySwQIgByAFQQFyNgIEIAQgAGogBTYCACAEIANBA3I2AgQM","AQtBAEEANgKsksECQQBBADYCoJLBAiAEIABBA3I2AgQgBCAAaiIAIAAoAgRBAXI2AgQLIARBCGohAAwNCwJ","AQQAoAqSSwQIiByADTQ0AQQAgByADayIENgKkksECQQBBACgCsJLBAiIAIANqIgU2ArCSwQIgBSAEQQFyNg","IEIAAgA0EDcjYCBCAAQQhqIQAMDQsCQAJAQQAoAvCVwQJFDQBBACgC+JXBAiEEDAELQQBCfzcC/JXBAkEAQ","oCggICAgAQ3AvSVwQJBACABQQxqQXBxQdiq1aoFczYC8JXBAkEAQQA2AoSWwQJBAEEANgLUlcECQYAgIQQL","QQAhACAEIANBL2oiBmoiAkEAIARrIgtxIgggA00NDEEAIQACQEEAKALQlcECIgRFDQBBACgCyJXBAiIFIAh","qIgkgBU0NDSAJIARLDQ0LAkACQEEALQDUlcECQQRxDQACQAJAAkACQAJAQQAoArCSwQIiBEUNAEHYlcECIQ","ADQAJAIAAoAgAiBSAESw0AIAUgACgCBGogBEsNAwsgACgCCCIADQALC0EAEBAiB0F/Rg0DIAghAgJAQQAoA","vSVwQIiAEF/aiIEIAdxRQ0AIAggB2sgBCAHakEAIABrcWohAgsgAiADTQ0DAkBBACgC0JXBAiIARQ0AQQAo","AsiVwQIiBCACaiIFIARNDQQgBSAASw0ECyACEBAiACAHRw0BDAULIAIgB2sgC3EiAhAQIgcgACgCACAAKAI","EakYNASAHIQALIABBf0YNAQJAIANBMGogAksNACAAIQcMBAsgBiACa0EAKAL4lcECIgRqQQAgBGtxIgQQEE","F/Rg0BIAQgAmohAiAAIQcMAwsgB0F/Rw0CC0EAQQAoAtSVwQJBBHI2AtSVwQILIAgQECEHQQAQECEAIAdBf","0YNBSAAQX9GDQUgByAATw0FIAAgB2siAiADQShqTQ0FC0EAQQAoAsiVwQIgAmoiADYCyJXBAgJAIABBACgC","zJXBAk0NAEEAIAA2AsyVwQILAkACQEEAKAKwksECIgRFDQBB2JXBAiEAA0AgByAAKAIAIgUgACgCBCIIakY","NAiAAKAIIIgANAAwFCwALAkACQEEAKAKoksECIgBFDQAgByAATw0BC0EAIAc2AqiSwQILQQAhAEEAIAI2At","yVwQJBACAHNgLYlcECQQBBfzYCuJLBAkEAQQAoAvCVwQI2ArySwQJBAEEANgLklcECA0AgAEEDdCIEQciSw","QJqIARBwJLBAmoiBTYCACAEQcySwQJqIAU2AgAgAEEBaiIAQSBHDQALQQAgAkFYaiIAQXggB2tBB3FBACAH","QQhqQQdxGyIEayIFNgKkksECQQAgByAEaiIENgKwksECIAQgBUEBcjYCBCAHIABqQSg2AgRBAEEAKAKAlsE","CNgK0ksECDAQLIAAtAAxBCHENAiAEIAVJDQIgBCAHTw0CIAAgCCACajYCBEEAIARBeCAEa0EHcUEAIARBCG","pBB3EbIgBqIgU2ArCSwQJBAEEAKAKkksECIAJqIgcgAGsiADYCpJLBAiAFIABBAXI2AgQgBCAHakEoNgIEQ","QBBACgCgJbBAjYCtJLBAgwDC0EAIQgM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cCECAAQQJ0QciUwQJqIQUCQAJAAkAgBkEBIAB0IgNxDQBBACAGIANyNgKcksECI","AUgBzYCACAHIAU2AhgMAQsgBEEAQRkgAEEBdmsgAEEfRht0IQAgBSgCACEDA0AgAyIFKAIEQXhxIARGDQIg","AEEddiEDIABBAXQhACAFIANBBHFqIgJBEGooAgAiAw0ACyACQRBqIAc2AgAgByAFNgIYCyAHIAc2AgwgByA","HNgIIDAELIAUoAggiACAHNgIMIAUgBzYCCCAHQQA2AhggByAFNgIMIAcgADYCCAsgCEEIaiEADAELAkAgCk","UNAAJAAkAgByAHKAIcIgVBAnRByJTBAmoiACgCAEcNACAAIAg2AgAgCA0BQQAgCUF+IAV3cTYCnJLBAgwCC","yAKQRBBFCAKKAIQIAdGG2ogCDYCACAIRQ0BCyAIIAo2AhgCQCAHKAIQIgBFDQAgCCAANgIQIAAgCDYCGAsg","B0EUaigCACIARQ0AIAhBFGogADYCACAAIAg2AhgLAkACQCAEQQ9LDQAgByAEIANqIgBBA3I2AgQgByAAaiI","AIAAoAgRBAXI2AgQMAQsgByADQQNyNgIEIAcgA2oiBSAEQQFyNgIEIAUgBGogBDYCAAJAIAZFDQAgBkF4cU","HAksECaiEDQQAoAqySwQIhAAJAAkBBASAGQQN2dCIIIAJxDQBBACAIIAJyNgKYksECIAMhCAwBCyADKAIII","QgLIAMgADYCCCAIIAA2AgwgACADNgIMIAAgCDYCCAtBACAFNgKsksECQQAgBDYCoJLBAgsgB0EIaiEACyAB","QRBqJAAgAAuDDQEHfwJAIABFDQAgAEF4aiIBIABBfGooAgAiAkF4cSIAaiEDAkAgAkEBcQ0AIAJBA3FFDQE","gASABKAIAIgJrIgFBACgCqJLBAiIESQ0BIAIgAGohAAJAAkACQCABQQAoAqySwQJGDQACQCACQf8BSw0AIA","EoAggiBCACQQN2IgVBA3RBwJLBAmoiBkYaAkAgASgCDCICIARHDQBBAEEAKAKYksECQX4gBXdxNgKYksECD","AULIAIgBkYaIAQgAjYCDCACIAQ2AggMBAsgASgCGCEHAkAgASgCDCIGIAFGDQAgASgCCCICIARJGiACIAY2","AgwgBiACNgIIDAMLAkAgAUEUaiIEKAIAIgINACABKAIQIgJFDQIgAUEQaiEECwNAIAQhBSACIgZBFGoiBCg","CACICDQAgBkEQaiEEIAYoAhAiAg0ACyAFQQA2AgAMAgsgAygCBCICQQNxQQNHDQJBACAANgKgksECIAMgAk","F+cTYCBCABIABBAXI2AgQgAyAANgIADwtBACEGCyAHRQ0AAkACQCABIAEoAhwiBEECdEHIlMECaiICKAIAR","w0AIAIgBjYCACAGDQFBAEEAKAKcksECQX4gBHdxNgKcksECDAILIAdBEEEUIAcoAhAgAUYbaiAGNgIAIAZF","DQELIAYgBzYCGAJAIAEoAhAiAkUNACAGIAI2AhAgAiAGNgIYCyABQRRqKAIAIgJFDQAgBkEUaiACNgIAIAI","gBjYCGAsgASADTw0AIAMoAgQiAkEBcUUNAAJAAkACQAJAAkAgAkECcQ0AAkAgA0EAKAKwksECRw0AQQAgAT","YCsJLBAkEAQQAoAqSSwQIgAGoiADYCpJLBAiABIABBAXI2AgQgAUEAKAKsksECRw0GQQBBADYCoJLBAkEAQ","QA2AqySwQIPCwJAIANBACgCrJLBAkcNAEEAIAE2AqySwQJBAEEAKAKgksECIABqIgA2AqCSwQIgASAAQQFy","NgIEIAEgAGogADYCAA8LIAJBeHEgAGohAAJAIAJB/wFLDQAgAygCCCIEIAJBA3YiBUEDdEHAksECaiIGRho","CQCADKAIMIgIgBEcNAEEAQQAoApiSwQJBfiAFd3E2ApiSwQIMBQsgAiAGRhogBCACNgIMIAIgBDYCCAwECy","ADKAIYIQcCQCADKAIMIgYgA0YNACADKAIIIgJBACgCqJLBAkkaIAIgBjYCDCAGIAI2AggMAwsCQCADQRRqI","gQoAgAiAg0AIAMoAhAiAkUNAiADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECIC","DQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAM","gAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0","EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBF","GooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEA","IAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQA","gBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQC","AAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBA","mohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsg","AEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZ","BBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNg","IMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBf","yAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAA","KAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCE","FIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEGIANBEGohBEECIQcCQAJAAkACQAJAIAAoAjwgA0","EQakECIANBDGoQAxAXRQ0AIAQhBQwBCwNAIAYgAygCDCIBRg0CAkAgAUF/Sg0AIAQhBQwECyAEIAEgBCgCB","CIISyIJQQN0aiIFIAUoAgAgASAIQQAgCRtrIghqNgIAIARBDEEEIAkbaiIEIAQoAgAgCGs2AgAgBiABayEG","IAUhBCAAKAI8IAUgByAJayIHIANBDGoQAxAXRQ0ACwsgBkF/Rw0BCyAAIAAoAiwiATYCHCAAIAE2AhQgACA","BIAAoAjBqNgIQIAIhAQwBC0EAIQEgAEEANgIcIABCADcDECAAIAAoAgBBIHI2AgAgB0ECRg0AIAIgBSgCBG","shAQsgA0EgaiQAIAELNwEBfyMAQRBrIgMkACAAIAEgAkH/AXEgA0EIahAwEBchAiADKQMIIQEgA0EQaiQAQ","n8gASACGwsNACAAKAI8IAEgAhAZCwIACwIACw4AQZCWwQIQG0GUlsECCwkAQZCWwQIQHAsEAEEBCwIACwcA","IAAoAgALCQBBnJbBAhAhCwYAIAAkAQsEACMBCwQAIwALBgAgACQACxIBAn8jACAAa0FwcSIBJAAgAQsEACM","ACxMAQYCAwAIkA0EAQQ9qQXBxJAILBwAjACMCawsEACMDCwQAIwILuAIBA38CQCAADQBBACEBAkBBACgCmJ","bBAkUNAEEAKAKYlsECEC0hAQsCQEEAKAKYkcECRQ0AQQAoApiRwQIQLSABciEBCwJAEB0oAgAiAEUNAANAQ","QAhAgJAIAAoAkxBAEgNACAAEB8hAgsCQCAAKAIUIAAoAhxGDQAgABAtIAFyIQELAkAgAkUNACAAECALIAAo","AjgiAA0ACwsQHiABDwtBACECAkAgACgCTEEASA0AIAAQHyECCwJAAkACQCAAKAIUIAAoAhxGDQAgAEEAQQA","gACgCJBEHABogACgCFA0AQX8hASACDQEMAgsCQCAAKAIEIgEgACgCCCIDRg0AIAAgASADa6xBASAAKAIoEQ","QAGgtBACEBIABBADYCHCAAQgA3AxAgAEIANwIEIAJFDQELIAAQIAsgAQsNACABIAIgAyAAEQQACyMBAX4gA","CABIAKtI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YmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULa","noUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMq","PNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+P","oLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAA","AAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAA","AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpb","nRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cg","J0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA=="].join("");function ie(e){var t=window.atob(e);var r=t.length;var i=new Uint8Array(r);for(var n=0;n<r;n++){i[n]=t.charCodeAt(n)}return i}function ne(e){if(typeof Jl=="function"){return Jl.from(re,"base64")}else{return ie(re)}}function ae(){return Promise.resolve().then((function(){return ne()}))}function oe(){var e={env:xe,wasi_snapshot_preview1:xe};function t(e,t){var i=e.exports;r["asm"]=i;A=r["asm"]["memory"];x(A,"memory not found in wasm exports");S(A.buffer);_=r["asm"]["__indirect_function_table"];x(_,"table not found in wasm exports");L(r["asm"]["__wasm_call_ctors"]);J("wasm-instantiate")}K("wasm-instantiate");var i=r;function a(e){x(r===i,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?");i=null;t(e["instance"])}function o(t){return ae().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){p("failed to asynchronously prepare wasm: "+e);if($(te)){p("warning: Loading from a file URI ("+te+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing")}V(e)}))}function s(){return o(a)}if(r["instantiateWasm"]){try{var l=r["instantiateWasm"](e,t);return l}catch(e){p("Module.instantiateWasm callback failed with error: "+e);n(e)}}s().catch(n);return{}}function se(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"}function le(e){while(e.length>0){e.shift()(r)}}function ce(e){return"0x"+e.toString(16).padStart(8,"0")}function ue(e){if(!ue.shown)ue.shown={};if(!ue.shown[e]){ue.shown[e]=1;if(l)e="warning: "+e;p(e)}}function de(){V("native code called abort()")}function me(){return 2147483648}function pe(e){try{A.grow(e-z.byteLength+65535>>>16);S(A.buffer);return 1}catch(t){p("emscripten_realloc_buffer: Attempted to grow heap from "+z.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function fe(e){var t=I.length;e=e>>>0;x(e>t);var r=me();if(e>r){p("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+r+" bytes!");return false}var i=function(e,t){return e+(t-e%t)%t};for(var n=1;n<=4;n*=2){var a=t*(1+.2/n);a=Math.min(a,e+100663296);var o=Math.min(r,i(Math.max(e,a),65536));var s=pe(o);if(s){return true}}p("Failed to grow the heap from "+t+" bytes to "+o+" bytes, not enough memory!");return false}function he(e){V("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")}function ge(e,t,r,i,n){return 70}var ve=[null,[],[]];function ye(e,t){var r=ve[e];x(r);if(t===0||t===10){(e===1?m:p)(C(r,0));r.length=0}else{r.push(t)}}function Ae(e,t,r,i){var n=0;for(var a=0;a<r;a++){var o=w[t>>2];var s=w[t+4>>2];t+=8;for(var l=0;l<s;l++){ye(e,I[o+l])}n+=s}w[i>>2]=n;return 0}function be(){h("fetchSettings")}var xe={abort:de,array_bounds_check_error:se,emscripten_resize_heap:fe,fd_close:he,fd_seek:ge,fd_write:Ae};oe();r["___wasm_call_ctors"]=ee("__wasm_call_ctors");var Ne=r["_emscripten_bind_VoidPtr___destroy___0"]=ee("emscripten_bind_VoidPtr___destroy___0");var Ce=r["_emscripten_bind_Crc64Hash_Crc64Hash_0"]=ee("emscripten_bind_Crc64Hash_Crc64Hash_0");var ze=r["_emscripten_bind_Crc64Hash_OnAppend_2"]=ee("emscripten_bind_Crc64Hash_OnAppend_2");var Ie=r["_emscripten_bind_Crc64Hash_OnFinal_3"]=ee("emscripten_bind_Crc64Hash_OnFinal_3");var we=r["_emscripten_bind_Crc64Hash___destroy___0"]=ee("emscripten_bind_Crc64Hash___destroy___0");r["___errno_location"]=ee("__errno_location");r["_fflush"]=ee("fflush");r["_malloc"]=ee("malloc");r["_free"]=ee("free");var Se=r["_emscripten_stack_init"]=function(){return(Se=r["_emscripten_stack_init"]=r["asm"]["emscripten_stack_init"]).apply(null,arguments)};r["_emscripten_stack_get_free"]=function(){return(r["_emscripten_stack_get_free"]=r["asm"]["emscripten_stack_get_free"]).apply(null,arguments)};r["_emscripten_stack_get_base"]=function(){return(r["_emscripten_stack_get_base"]=r["asm"]["emscripten_stack_get_base"]).apply(null,arguments)};var Be=r["_emscripten_stack_get_end"]=function(){return(Be=r["_emscripten_stack_get_end"]=r["asm"]["emscripten_stack_get_end"]).apply(null,arguments)};r["stackSave"]=ee("stackSave");r["stackRestore"]=ee("stackRestore");r["stackAlloc"]=ee("stackAlloc");r["_emscripten_stack_get_current"]=function(){return(r["_emscripten_stack_get_current"]=r["asm"]["emscripten_stack_get_current"]).apply(null,arguments)};r["dynCall_jiji"]=ee("dynCall_jiji");r["___start_em_js"]=5261488;r["___stop_em_js"]=5261586;var Ee=["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];Ee.forEach(y);var _e=["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];_e.forEach(v);var ke;Y=function e(){if(!ke)Pe();if(!ke)Y=e};function Qe(){Se();k()}function Pe(e){if(O>0){return}Qe();T();if(O>0){return}function t(){if(ke)return;ke=true;r["calledRun"]=true;if(b)return;q();i(r);if(r["onRuntimeInitialized"])r["onRuntimeInitialized"]();x(!r["_main"],'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]');H()}if(r["setStatus"]){r["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){r["setStatus"]("")}),1);t()}),1)}else{t()}Q()}if(r["preInit"]){if(typeof r["preInit"]=="function")r["preInit"]=[r["preInit"]];while(r["preInit"].length>0){r["preInit"].pop()()}}Pe();function Me(){}Me.prototype=Object.create(Me.prototype);Me.prototype.constructor=Me;Me.prototype.__class__=Me;Me.__cache__={};r["WrapperObject"]=Me;function De(e){return(e||Me).__cache__}r["getCache"]=De;function Re(e,t){var r=De(t);var i=r[e];if(i)return i;i=Object.create((t||Me).prototype);i.ptr=e;return r[e]=i}r["wrapPointer"]=Re;function Te(e,t){return Re(e.ptr,t)}r["castObject"]=Te;r["NULL"]=Re(0);function qe(e){if(!e["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";e["__destroy__"]();delete De(e.__class__)[e.ptr]}r["destroy"]=qe;function He(e,t){return e.ptr===t.ptr}r["compare"]=He;function Ue(e){return e.ptr}r["getPointer"]=Ue;function Le(e){return e.__class__}r["getClass"]=Le;function Fe(){throw"cannot construct a VoidPtr, no constructor in IDL"}Fe.prototype=Object.create(Me.prototype);Fe.prototype.constructor=Fe;Fe.prototype.__class__=Fe;Fe.__cache__={};r["VoidPtr"]=Fe;Fe.prototype["__destroy__"]=Fe.prototype.__destroy__=function(){var e=this.ptr;Ne(e)};function Oe(){this.ptr=Ce();De(Oe)[this.ptr]=this}Oe.prototype=Object.create(Me.prototype);Oe.prototype.constructor=Oe;Oe.prototype.__class__=Oe;Oe.__cache__={};r["Crc64Hash"]=Oe;Oe.prototype["OnAppend"]=Oe.prototype.OnAppend=function(e,t){var r=this.ptr;if(e&&typeof e==="object")e=e.ptr;if(t&&typeof t==="object")t=t.ptr;ze(r,e,t)};Oe.prototype["OnFinal"]=Oe.prototype.OnFinal=function(e,t,r){var i=this.ptr;if(e&&typeof e==="object")e=e.ptr;if(t&&typeof t==="object")t=t.ptr;if(r&&typeof r==="object")r=r.ptr;Ie(i,e,t,r)};Oe.prototype["__destroy__"]=Oe.prototype.__destroy__=function(){var e=this.ptr;we(e)};return t.ready}}();var Yc=function(){function e(){this.nativeCrc64Hash=new e.nativeInstance.Crc64Hash}e.init=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){if(!this.initPromise){this.initPromise=Gc().then((function(t){e.nativeInstance=t;return}))}return[2,this.initPromise]}))}))};e.prototype.append=function(t,r){var i=e.nativeInstance._malloc(r);e.nativeInstance.HEAPU8.set(t,i);this.nativeCrc64Hash.OnAppend(i,r);e.nativeInstance._free(i)};e.prototype.final=function(t,r){var i=e.nativeInstance._malloc(r);e.nativeInstance.HEAPU8.set(t,i);var n=e.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(i,r,n);e.nativeInstance._free(i);var a=new Uint8Array(8);a.set(e.nativeInstance.HEAPU8.subarray(n,n+8));e.nativeInstance._free(n);return a};return e}();var jc=1;var Kc=13;var Jc=10;var Vc=8;var Xc=4*1024*1024;var Wc;(function(e){e[e["StreamHeader"]=0]="StreamHeader";e[e["StreamFooter"]=1]="StreamFooter";e[e["SegmentHeader"]=2]="SegmentHeader";e[e["SegmentFooter"]=3]="SegmentFooter";e[e["SegmentContent"]=4]="SegmentContent";e[e["Completed"]=5]="Completed"})(Wc||(Wc={}));var Zc=function(){function e(e,t){var r=this;this.sourceDataHandler=function(e){r.currentDataOffset=0;if(r.state===Wc.StreamHeader){r.handlingMessageHeader()}while(r.segmentNumber<r.segmentsCount){r.segmentContentLength=Math.min(Xc,r.contentLength-r.contentOffset);if(r.state===Wc.SegmentHeader){r.handlingSegmentHeader()}if(r.state===Wc.SegmentContent){r.handlingSegmentContent(e)}if(r.state===Wc.SegmentFooter){r.handlingSegmentFooter();r.contentOffset+=r.segmentContentLength}if(r.currentDataOffset===e.length){break}}if(r.state===Wc.StreamFooter){r.handlingMessageFooter()}};this.pushData=e;this.contentLength=t;this.contentOffset=0;this.currentDataOffset=0;this.segmentsCount=Math.ceil(this.contentLength/Xc);this.messageLength=this.contentLength+Kc+(Jc+Vc)*this.segmentsCount+Vc;this.messageHeaderBuffer=new Uint8Array(Kc);this.segmentNumber=0;this.segmentContentLength=0;this.segmentContentOffset=0;this.state=Wc.StreamHeader;this.segmentCrc64=new Yc;this.messageCrc64=new Yc}e.prototype.handlingMessageHeader=function(){this.messageHeaderBuffer[0]=jc;this.fillInt64(this.messageHeaderBuffer,1,this.messageLength);this.fillInt16(this.messageHeaderBuffer,9,1);this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount);this.pushData(this.messageHeaderBuffer);this.state=Wc.SegmentHeader};e.prototype.handlingSegmentHeader=function(){var e=new Uint8Array(Jc);this.fillInt16(e,0,this.segmentNumber+1);this.fillInt64(e,2,this.segmentContentLength);this.segmentContentOffset=0;this.pushData(e);this.state=Wc.SegmentContent};e.prototype.handlingSegmentContent=function(e){var t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(t!==0){var r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t);this.segmentCrc64.append(r,t);this.pushData(r)}this.segmentContentOffset+=t;this.currentDataOffset+=t;if(this.segmentContentOffset===this.segmentContentLength){this.state=Wc.SegmentFooter}};e.prototype.handlingSegmentFooter=function(){var e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e);this.segmentCrc64=new Yc;++this.segmentNumber;if(this.segmentNumber===this.segmentsCount){this.state=Wc.StreamFooter}else{this.state=Wc.SegmentHeader}};e.prototype.handlingMessageFooter=function(){var e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e);this.state=Wc.Completed};e.prototype.fillInt64=function(e,t,r){if(e.length<t+8){throw new Error("Uint8Array length is not expected.")}var i=new DataView(e.buffer,e.byteOffset+t,8);i.setBigUint64(0,BigInt(r),true)};e.prototype.fillInt16=function(e,t,r){if(e.length<t+2){throw new Error("Uint8Array length is not expected.")}var i=new DataView(e.buffer,e.byteOffset+t,2);i.setUint16(0,r,true)};return e}();function $c(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:return[4,e.read()];case 1:i=o.sent(),n=i.done,a=i.value;if(a){r.stream.sourceDataHandler(a)}if(n){if(!r.closed){r.closed=true;t.close()}return[2]}return[2]}}))}))}function eu(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:r=e instanceof Blob?e.stream():e;i=r.getReader();n=undefined;a=new ReadableStream({start:function(e){n={stream:new Zc((function(t){e.enqueue(t)}),t),closed:false}},pull:function(e){$c(i,e,n).then((function(){return})).catch((function(t){e.error(t)}))}});o=new Response(a);s={};return[4,o.blob()];case 1:return[2,(s.content=l.sent(),s.encodedContentLength=n.stream.messageLength,s)]}}))}))}function tu(e,t){return __awaiter(this,void 0,void 0,(function(){var r,r,r;return __generator(this,(function(i){switch(i.label){case 0:if(e===null){return[2,{body:e,encodedContentLength:t}]}if(!(e instanceof Blob))return[3,2];return[4,eu(e,t)];case 1:r=i.sent();return[2,{body:r.content,encodedContentLength:r.encodedContentLength}];case 2:if(!(typeof e==="string"||e instanceof ArrayBuffer))return[3,4];return[4,eu(new Blob([e]),t)];case 3:r=i.sent();return[2,{body:r.content,encodedContentLength:r.encodedContentLength}];case 4:if(!ArrayBuffer.isView(e))return[3,6];r=undefined;if(!(e.buffer instanceof ArrayBuffer))return[3,6];return[4,eu(new Blob([e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)]),t)];case 5:r=i.sent();return[2,{body:r.content,encodedContentLength:r.encodedContentLength}];case 6:throw new Error("The specified request body type is not supported for CRC64 checksum")}}))}))}var ru=1;var iu=13;var nu=10;var au=8;var ou;(function(e){e[e["StreamHeader"]=0]="StreamHeader";e[e["StreamFooter"]=1]="StreamFooter";e[e["SegmentHeader"]=2]="SegmentHeader";e[e["SegmentFooter"]=3]="SegmentFooter";e[e["SegmentContent"]=4]="SegmentContent"})(ou||(ou={}));var su=function(){function e(e){var t=this;this.sourceDataHandler=function(e){t.currentDataOffset=0;if(t.state===ou.StreamHeader){t.parseMessageHeader(e)}while(t.segmentNumber<t.segmentsCount&&t.currentDataOffset<e.length){if(t.state===ou.SegmentHeader){t.parseSegmentHeader(e)}if(t.state===ou.SegmentContent){t.parseSegmentContent(e)}if(t.state===ou.SegmentFooter){t.parseSegmentFooter(e)}}if(t.state===ou.StreamFooter){t.parseMessageFooter(e)}};this.pushData=e;this.currentOffset=0;this.segmentsCount=0;this.messageHeaderOffset=0;this.messageHeaderBuffer=new Uint8Array(iu);this.currentDataOffset=0;this.segmentNumber=0;this.segmentHeaderOffset=0;this.segmentHeaderBuffer=new Uint8Array(nu);this.segmentContentOffset=0;this.segmentContentLength=0;this.state=ou.StreamHeader;this.segmentFooterOffset=0;this.segmentFooterBuffer=new Uint8Array(au);this.messageFooterOffset=0;this.messageFooterBuffer=new Uint8Array(au);this.segmentCrc64=new Yc;this.messageCrc64=new Yc}e.prototype.parseMessageHeader=function(e){var t=Math.min(iu-this.messageHeaderOffset,e.length-this.currentDataOffset);this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset);this.currentDataOffset+=t;this.messageHeaderOffset+=t;this.currentOffset+=t;if(this.messageHeaderOffset===iu){var r=this.messageHeaderBuffer[0];if(r!==ru){throw new Error("Unexpected message version")}this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13));this.state=ou.SegmentHeader}};e.prototype.parseSegmentHeader=function(e){var t=Math.min(nu-this.segmentHeaderOffset,e.length-this.currentDataOffset);this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset);this.currentDataOffset+=t;this.segmentHeaderOffset+=t;this.currentOffset+=t;if(this.segmentHeaderOffset===nu){var r=this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2));if(r!==this.segmentNumber+1){throw new Error("Segment number is unexpected.")}this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2);this.segmentContentOffset=0;this.state=ou.SegmentContent}};e.prototype.parseSegmentContent=function(e){var t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);var r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t);this.messageCrc64.append(r,t);this.pushData(r);this.currentDataOffset+=t;this.segmentContentOffset+=t;this.currentOffset+=t;if(this.segmentContentOffset===this.segmentContentLength){this.state=ou.SegmentFooter}};e.prototype.parseSegmentFooter=function(e){var t=Math.min(au-this.segmentFooterOffset,e.length-this.currentDataOffset);this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset);this.currentDataOffset+=t;this.segmentFooterOffset+=t;this.currentOffset+=t;if(this.segmentFooterOffset===au){var r=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(r,this.segmentFooterBuffer)){throw new Error("Segment check sum mismatch, segmentNumber: ".concat(this.segmentNumber))}++this.segmentNumber;if(this.segmentNumber===this.segmentsCount){this.state=ou.StreamFooter}else{this.segmentHeaderOffset=0;this.segmentFooterOffset=0;this.segmentCrc64=new Yc;this.state=ou.SegmentHeader}}};e.prototype.parseMessageFooter=function(e){var t=Math.min(au-this.messageFooterOffset,e.length-this.currentDataOffset);this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset);this.currentDataOffset+=t;this.messageFooterOffset+=t;this.currentOffset+=t;if(this.messageFooterOffset===au){var r=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(r,this.messageFooterBuffer)){throw new Error("Check sum mismatch")}this.pushData(null)}};e.prototype.toInt64=function(e,t){if(e.length<t+8){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}var r=new DataView(e.buffer,e.byteOffset+t,8);return Number(r.getBigUint64(0,true))};e.prototype.toInt16=function(e){if(e.length!==2){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}return e[0]+e[1]*256};e.prototype.checkCrc64CheckSum=function(e,t){if(e.length!==8||t.length!==8){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}for(var r=0;r<8;++r){if(e[r]!==t[r]){return false}}return true};return e}();var lu=undefined;function cu(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:return[4,e.read()];case 1:r=a.sent(),i=r.done,n=r.value;if(i){return[2]}t.sourceDataHandler(n);return[2]}}))}))}function uu(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,n,a;return __generator(this,(function(o){t=e instanceof Blob?e.stream():e;r=t.getReader();i=undefined;n=new ReadableStream({start:function(e){i=new su((function(t){if(null!==t){e.enqueue(t)}else{e.close()}}))},pull:function(e){cu(r,i).then((function(){return})).catch((function(t){e.error(t)}))}});a=new Response(n);return[2,a.blob()]}))}))}var du;function mu(){if(!du){du=Za()}return du}var pu=function(){function e(e,t){this._nextPolicy=e;this._options=t}e.prototype.shouldLog=function(e){return this._options.shouldLog(e)};e.prototype.log=function(e,t){this._options.log(e,t)};return e}();var fu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",TIMEOUT:"timeout"}};var hu={CONTENT_LENGTH:"Content-Length",COOKIE:"Cookie",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function gu(e,t,r){var i=new URL(e);var n=encodeURIComponent(t);var a=r?encodeURIComponent(r):undefined;var o=i.search===""?"?":i.search;var s=[];for(var l=0,c=o.slice(1).split("&");l<c.length;l++){var u=c[l];if(u){var d=u.split("=",2)[0];if(d!==n){s.push(u)}}}if(a){s.push("".concat(n,"=").concat(a))}i.search=s.length?"?".concat(s.join("&")):"";return i.toString()}function vu(e,t){var r=new URL(e);r.hostname=t;return r.toString()}function yu(e,t,r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,new Promise((function(i,n){var a;var o=function(){if(a!==undefined){clearTimeout(a)}n(r)};var s=function(){if(t!==undefined){t.removeEventListener("abort",o)}i()};a=setTimeout(s,e);if(t!==undefined){t.addEventListener("abort",o)}}))]}))}))}var Au=function(e){__extends(t,e);function t(t,r){return e.call(this,t,r)||this}t.prototype.sendRequest=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=gu(e.url,fu.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(hu.COOKIE);e.headers.remove(hu.CONTENT_LENGTH);return[2,this._nextPolicy.sendRequest(e)]}))}))};return t}(pu);var bu=function(){function e(){}e.prototype.create=function(e,t){return new Au(e,t)};return e}();var xu=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.sendRequest=function(e){return this._nextPolicy.sendRequest(this.signRequest(e))};t.prototype.signRequest=function(e){return e};return t}(pu);var Nu=function(e){__extends(t,e);function t(t,r){return e.call(this,t,r)||this}return t}(xu);var Cu=function(){function e(){}e.prototype.create=function(e,t){throw new Error("Method should be implemented in children classes.")};return e}();var zu=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.create=function(e,t){return new Nu(e,t)};return t}(Cu);var Iu=function(e){__extends(t,e);function t(t,r){var i=e.call(this)||this;throw new Error("StorageSharedKeyCredential is not supported in the browser.");return i}t.prototype.create=function(e,t){throw new Error("StorageSharedKeyCredential is not supported in the browser.")};t.prototype.computeHMACSHA256=function(e){throw new Error("StorageSharedKeyCredential is not supported in the browser.")};return t}(Cu);var wu=Yn("storage-common");var Su;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(Su||(Su={}));var Bu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Su.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};var Eu=new ga("The operation was aborted.");var _u=function(e){__extends(t,e);function t(t,r,i){if(i===void 0){i=Bu}var n=e.call(this,t,r)||this;n.retryOptions={retryPolicyType:i.retryPolicyType?i.retryPolicyType:Bu.retryPolicyType,maxTries:i.maxTries&&i.maxTries>=1?Math.floor(i.maxTries):Bu.maxTries,tryTimeoutInMs:i.tryTimeoutInMs&&i.tryTimeoutInMs>=0?i.tryTimeoutInMs:Bu.tryTimeoutInMs,retryDelayInMs:i.retryDelayInMs&&i.retryDelayInMs>=0?Math.min(i.retryDelayInMs,i.maxRetryDelayInMs?i.maxRetryDelayInMs:Bu.maxRetryDelayInMs):Bu.retryDelayInMs,maxRetryDelayInMs:i.maxRetryDelayInMs&&i.maxRetryDelayInMs>=0?i.maxRetryDelayInMs:Bu.maxRetryDelayInMs,secondaryHost:i.secondaryHost?i.secondaryHost:Bu.secondaryHost};return n}t.prototype.sendRequest=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.attemptSendRequest(e,false,1)]}))}))};t.prototype.attemptSendRequest=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i,n,a,o;return __generator(this,(function(s){switch(s.label){case 0:i=e.clone();n=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||r%2===1;if(!n){i.url=vu(i.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){i.url=gu(i.url,fu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}s.label=1;case 1:s.trys.push([1,3,,4]);wu.info("RetryPolicy: =====> Try=".concat(r," ").concat(n?"Primary":"Secondary"));return[4,this._nextPolicy.sendRequest(i)];case 2:a=s.sent();if(!this.shouldRetry(n,r,a)){return[2,a]}t=t||!n&&a.status===404;return[3,4];case 3:o=s.sent();wu.error("RetryPolicy: Caught error, message: ".concat(o.message,", code: ").concat(o.code));if(!this.shouldRetry(n,r,a,o)){throw o}return[3,4];case 4:return[4,this.delay(n,r,e.abortSignal)];case 5:s.sent();return[2,this.attemptSendRequest(e,t,++r)]}}))}))};t.prototype.shouldRetry=function(e,t,r,i){if(t>=this.retryOptions.maxTries){wu.info("RetryPolicy: Attempt(s) ".concat(t," >= maxTries ").concat(this.retryOptions.maxTries,", no further try."));return false}var n=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(var a=0,o=n;a<o.length;a++){var s=o[a];if(i.name.toUpperCase().includes(s)||i.message.toUpperCase().includes(s)||i.code&&i.code.toString().toUpperCase()===s){wu.info("RetryPolicy: Network error ".concat(s," found, will retry."));return true}}}if(r||i){var l=r?r.status:i?i.statusCode:0;if(!e&&l===404){wu.info("RetryPolicy: Secondary access with 404, will retry.");return true}if(l===503||l===500){wu.info("RetryPolicy: Will retry for status code ".concat(l,"."));return true}}if(r){if((r===null||r===void 0?void 0:r.status)>=400){var c=r.headers.get(hu.X_MS_CopySourceErrorCode);if(c!==undefined){switch(c){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if((i===null||i===void 0?void 0:i.code)==="PARSE_ERROR"&&(i===null||i===void 0?void 0:i.message.startsWith('Error "Error: Unclosed root tag'))){wu.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false};t.prototype.delay=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){i=0;if(e){switch(this.retryOptions.retryPolicyType){case Su.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Su.FIXED:i=this.retryOptions.retryDelayInMs;break}}else{i=Math.random()*1e3}wu.info("RetryPolicy: Delay for ".concat(i,"ms"));return[2,yu(i,r,Eu)]}))}))};return t}(pu);var ku=function(){function e(e){this.retryOptions=e}e.prototype.create=function(e,t){return new _u(e,t,this.retryOptions)};return e}();var Qu="storageBrowserPolicy";function Pu(){return{name:Qu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(e.method==="GET"||e.method==="HEAD"){e.url=gu(e.url,fu.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(hu.COOKIE);e.headers.delete(hu.CONTENT_LENGTH);return[2,t(e)]}))}))}}}var Mu="StorageCorrectContentLengthPolicy";function Du(){return{name:Mu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,t(e)]}))}))}}}var Ru="storageRetryPolicy";var Tu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Su.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};var qu=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];var Hu=new ga("The operation was aborted.");function Uu(e){var t,r,i,n,a,o;if(e===void 0){e={}}var s=(t=e.retryPolicyType)!==null&&t!==void 0?t:Tu.retryPolicyType;var l=(r=e.maxTries)!==null&&r!==void 0?r:Tu.maxTries;var c=(i=e.retryDelayInMs)!==null&&i!==void 0?i:Tu.retryDelayInMs;var u=(n=e.maxRetryDelayInMs)!==null&&n!==void 0?n:Tu.maxRetryDelayInMs;var d=(a=e.secondaryHost)!==null&&a!==void 0?a:Tu.secondaryHost;var m=(o=e.tryTimeoutInMs)!==null&&o!==void 0?o:Tu.tryTimeoutInMs;function p(e){var t,r;var i=e.isPrimaryRetry,n=e.attempt,a=e.response,o=e.error;if(n>=l){wu.info("RetryPolicy: Attempt(s) ".concat(n," >= maxTries ").concat(l,", no further try."));return false}if(o){for(var s=0,c=qu;s<c.length;s++){var u=c[s];if(o.name.toUpperCase().includes(u)||o.message.toUpperCase().includes(u)||o.code&&o.code.toString().toUpperCase()===u){wu.info("RetryPolicy: Network error ".concat(u," found, will retry."));return true}}if((o===null||o===void 0?void 0:o.code)==="PARSE_ERROR"&&(o===null||o===void 0?void 0:o.message.startsWith('Error "Error: Unclosed root tag'))){wu.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(a||o){var d=(r=(t=a===null||a===void 0?void 0:a.status)!==null&&t!==void 0?t:o===null||o===void 0?void 0:o.statusCode)!==null&&r!==void 0?r:0;if(!i&&d===404){wu.info("RetryPolicy: Secondary access with 404, will retry.");return true}if(d===503||d===500){wu.info("RetryPolicy: Will retry for status code ".concat(d,"."));return true}}if(a){if((a===null||a===void 0?void 0:a.status)>=400){var m=a.headers.get(hu.X_MS_CopySourceErrorCode);if(m!==undefined){switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function f(e,t){var r=0;if(e){switch(s){case Su.EXPONENTIAL:r=Math.min((Math.pow(2,t-1)-1)*c,u);break;case Su.FIXED:r=c;break}}else{r=Math.random()*1e3}wu.info("RetryPolicy: Delay for ".concat(r,"ms"));return r}return{name:Ru,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,c,u;return __generator(this,(function(h){switch(h.label){case 0:if(m){e.url=gu(e.url,fu.Parameters.TIMEOUT,String(Math.floor(m/1e3)))}r=e.url;i=d?vu(e.url,d):undefined;n=false;a=1;o=true;h.label=1;case 1:if(!o)return[3,8];c=n||!i||!["GET","HEAD","OPTIONS"].includes(e.method)||a%2===1;e.url=c?r:i;s=undefined;l=undefined;h.label=2;case 2:h.trys.push([2,4,,5]);wu.info("RetryPolicy: =====> Try=".concat(a," ").concat(c?"Primary":"Secondary"));return[4,t(e)];case 3:s=h.sent();n=n||!c&&s.status===404;return[3,5];case 4:u=h.sent();if(La(u)){wu.error("RetryPolicy: Caught error, message: ".concat(u.message,", code: ").concat(u.code));l=u}else{wu.error("RetryPolicy: Caught error, message: ".concat(ba(u)));throw u}return[3,5];case 5:o=p({isPrimaryRetry:c,attempt:a,response:s,error:l});if(!o)return[3,7];return[4,yu(f(c,a),e.abortSignal,Hu)];case 6:h.sent();h.label=7;case 7:a++;return[3,1];case 8:if(s){return[2,s]}throw l!==null&&l!==void 0?l:new Ua("RetryPolicy failed without known error.")}}))}))}}}var Lu="storageSharedKeyCredentialPolicy";function Fu(e){return{name:Lu,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,t(e)]}))}))}}}var Ou="storageRequestFailureDetailsParserPolicy";function Gu(){return{name:Ou,sendRequest:function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,t(e)];case 1:r=n.sent();return[2,r];case 2:i=n.sent();if(typeof i==="object"&&i!==null&&i.response&&i.response.parsedBody){if(i.response.parsedBody.code==="InvalidHeaderValue"&&i.response.parsedBody.HeaderName==="x-ms-version"){i.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw i;case 3:return[2]}}))}))}}}var Yu=function(){function e(e,t){this.accountName=e;this.userDelegationKey=t;throw new Error("UserDelegationKeyCredential is not supported in the browser.")}e.prototype.computeHMACSHA256=function(e){throw new Error("UserDelegationKeyCredential is not supported in the browser.")};return e}();var ju="12.33.0";var Ku="2026-06-06";var Ju=256*1024*1024;var Vu=4e3*1024*1024;var Xu=5e4;var Wu=8*1024*1024;var Zu=4*1024*1024;var $u=5;var ed="https://storage.azure.com/.default";var td={Parameters:{SNAPSHOT:"snapshot",VERSIONID:"versionid"}};var rd="";var id="*";var nd="AES256";var ad="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";var od=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];var sd=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];var ld="BlobUsesCustomerSpecifiedEncryption";var cd="BlobDoesNotUseCustomerSpecifiedEncryption";var ud=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function dd(e){if(!e||typeof e!=="object"){return false}var t=e;return Array.isArray(t.factories)&&typeof t.options==="object"&&typeof t.toServiceClientOptions==="function"}var md=function(){function e(e,t){if(t===void 0){t={}}this.factories=e;this.options=t}e.prototype.toServiceClientOptions=function(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}};return e}();function pd(e,t){if(t===void 0){t={}}if(!e){e=new zu}var r=new md([],t);r._credential=e;return r}function fd(e){var t=[yd,vd,Ad,bd,xd,Nd,zd];if(e.factories.length){var r=e.factories.filter((function(e){return!t.some((function(t){return t(e)}))}));if(r.length){var i=r.some((function(e){return Cd(e)}));return{wrappedPolicies:dl(r),afterRetry:i}}}return undefined}function hd(e){var t;var r=e.options,i=r.httpClient,n=__rest(r,["httpClient"]);var a=e._coreHttpClient;if(!a){a=i?ml(i):mu();e._coreHttpClient=a}var o=e._corePipeline;if(!o){var s="azsdk-js-azure-storage-blob/".concat(ju);var l=n.userAgentOptions&&n.userAgentOptions.userAgentPrefix?"".concat(n.userAgentOptions.userAgentPrefix," ").concat(s):"".concat(s);o=Ss(__assign(__assign({},n),{loggingOptions:{additionalAllowedHeaderNames:od,additionalAllowedQueryParameters:sd,logger:El.info},userAgentOptions:{userAgentPrefix:l},serializationOptions:{stringifyXML:wl,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:yl,serializerOptions:{xml:{xmlCharKey:"#"}}}}));o.removePolicy({phase:"Retry"});o.removePolicy({name:ma});o.addPolicy(Du());o.addPolicy(Uu(n.retryOptions),{phase:"Retry"});o.addPolicy(Gu());o.addPolicy(Pu());var c=fd(e);if(c){o.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:undefined)}var u=gd(e);if(po(u)){o.addPolicy(co({credential:u,scopes:(t=n.audience)!==null&&t!==void 0?t:ed,challengeCallbacks:{authorizeRequestOnChallenge:Ys}}),{phase:"Sign"})}else if(u instanceof Iu){o.addPolicy(Fu(),{phase:"Sign"})}e._corePipeline=o}return __assign(__assign({},n),{allowInsecureConnection:true,httpClient:a,pipeline:o})}function gd(e){if(e._credential){return e._credential}var t=new zu;for(var r=0,i=e.factories;r<i.length;r++){var n=i[r];if(po(n.credential)){t=n.credential}else if(vd(n)){return n}}return t}function vd(e){if(e instanceof Iu){return true}return e.constructor.name==="StorageSharedKeyCredential"}function yd(e){if(e instanceof zu){return true}return e.constructor.name==="AnonymousCredential"}function Ad(e){return po(e.credential)}function bd(e){if(e instanceof bu){return true}return e.constructor.name==="StorageBrowserPolicyFactory"}function xd(e){if(e instanceof ku){return true}return e.constructor.name==="StorageRetryPolicyFactory"}function Nd(e){return e.constructor.name==="TelemetryPolicyFactory"}function Cd(e){return e.constructor.name==="InjectorPolicyFactory"}function zd(e){var t=this;var r=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];var i={sendRequest:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){return[2,{request:e,headers:e.headers.clone(),status:500}]}))}))}};var n={log:function(e,t){},shouldLog:function(e){return false}};var a=e.create(i,n);var o=a.constructor.name;return r.some((function(e){return o.startsWith(e)}))}var Id;(function(e){e["AES256"]="AES256"})(Id||(Id={}));var wd;(function(e){e["Backup"]="backup"})(wd||(wd={}));var Sd;(function(e){e["NeverExpire"]="NeverExpire";e["RelativeToCreation"]="RelativeToCreation";e["RelativeToNow"]="RelativeToNow";e["Absolute"]="Absolute"})(Sd||(Sd={}));var Bd;(function(e){e["AccountAlreadyExists"]="AccountAlreadyExists";e["AccountBeingCreated"]="AccountBeingCreated";e["AccountIsDisabled"]="AccountIsDisabled";e["AuthenticationFailed"]="AuthenticationFailed";e["AuthorizationFailure"]="AuthorizationFailure";e["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";e["ConditionNotMet"]="ConditionNotMet";e["EmptyMetadataKey"]="EmptyMetadataKey";e["InsufficientAccountPermissions"]="InsufficientAccountPermissions";e["InternalError"]="InternalError";e["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";e["InvalidHeaderValue"]="InvalidHeaderValue";e["InvalidHttpVerb"]="InvalidHttpVerb";e["InvalidInput"]="InvalidInput";e["InvalidMd5"]="InvalidMd5";e["InvalidMetadata"]="InvalidMetadata";e["InvalidQueryParameterValue"]="InvalidQueryParameterValue";e["InvalidRange"]="InvalidRange";e["InvalidResourceName"]="InvalidResourceName";e["InvalidUri"]="InvalidUri";e["InvalidXmlDocument"]="InvalidXmlDocument";e["InvalidXmlNodeValue"]="InvalidXmlNodeValue";e["Md5Mismatch"]="Md5Mismatch";e["MetadataTooLarge"]="MetadataTooLarge";e["MissingContentLengthHeader"]="MissingContentLengthHeader";e["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";e["MissingRequiredHeader"]="MissingRequiredHeader";e["MissingRequiredXmlNode"]="MissingRequiredXmlNode";e["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";e["OperationTimedOut"]="OperationTimedOut";e["OutOfRangeInput"]="OutOfRangeInput";e["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";e["RequestBodyTooLarge"]="RequestBodyTooLarge";e["ResourceTypeMismatch"]="ResourceTypeMismatch";e["RequestUrlFailedToParse"]="RequestUrlFailedToParse";e["ResourceAlreadyExists"]="ResourceAlreadyExists";e["ResourceNotFound"]="ResourceNotFound";e["ServerBusy"]="ServerBusy";e["UnsupportedHeader"]="UnsupportedHeader";e["UnsupportedXmlNode"]="UnsupportedXmlNode";e["UnsupportedQueryParameter"]="UnsupportedQueryParameter";e["UnsupportedHttpVerb"]="UnsupportedHttpVerb";e["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";e["BlobAlreadyExists"]="BlobAlreadyExists";e["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";e["BlobNotFound"]="BlobNotFound";e["BlobOverwritten"]="BlobOverwritten";e["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";e["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";e["BlockCountExceedsLimit"]="BlockCountExceedsLimit";e["BlockListTooLong"]="BlockListTooLong";e["CannotChangeToLowerTier"]="CannotChangeToLowerTier";e["CannotVerifyCopySource"]="CannotVerifyCopySource";e["ContainerAlreadyExists"]="ContainerAlreadyExists";e["ContainerBeingDeleted"]="ContainerBeingDeleted";e["ContainerDisabled"]="ContainerDisabled";e["ContainerNotFound"]="ContainerNotFound";e["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";e["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";e["CopyIdMismatch"]="CopyIdMismatch";e["FeatureVersionMismatch"]="FeatureVersionMismatch";e["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";e["IncrementalCopyOfEarlierSnapshotNotAllowed"]="IncrementalCopyOfEarlierSnapshotNotAllowed";e["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";e["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";e["InvalidBlobOrBlock"]="InvalidBlobOrBlock";e["InvalidBlobTier"]="InvalidBlobTier";e["InvalidBlobType"]="InvalidBlobType";e["InvalidBlockId"]="InvalidBlockId";e["InvalidBlockList"]="InvalidBlockList";e["InvalidOperation"]="InvalidOperation";e["InvalidPageRange"]="InvalidPageRange";e["InvalidSourceBlobType"]="InvalidSourceBlobType";e["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";e["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";e["LeaseAlreadyPresent"]="LeaseAlreadyPresent";e["LeaseAlreadyBroken"]="LeaseAlreadyBroken";e["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";e["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";e["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";e["LeaseIdMissing"]="LeaseIdMissing";e["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";e["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";e["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";e["LeaseLost"]="LeaseLost";e["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";e["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";e["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";e["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";e["NoAuthenticationInformation"]="NoAuthenticationInformation";e["NoPendingCopyOperation"]="NoPendingCopyOperation";e["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";e["PendingCopyOperation"]="PendingCopyOperation";e["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";e["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";e["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";e["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";e["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";e["SnapshotCountExceeded"]="SnapshotCountExceeded";e["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";e["SnapshotsPresent"]="SnapshotsPresent";e["SourceConditionNotMet"]="SourceConditionNotMet";e["SystemInUse"]="SystemInUse";e["TargetConditionNotMet"]="TargetConditionNotMet";e["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";e["BlobBeingRehydrated"]="BlobBeingRehydrated";e["BlobArchived"]="BlobArchived";e["BlobNotArchived"]="BlobNotArchived";e["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";e["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";e["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";e["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";e["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";e["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(Bd||(Bd={}));var Ed={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};var _d={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};var kd={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};var Qd={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};var Pd={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};var Md={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};var Dd={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};var Rd={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};var Td={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};var qd={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var Hd={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};var Ud={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};var Ld={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}};var Fd={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};var Od={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var Gd={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};var Yd={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};var jd={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};var Kd={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};var Jd={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};var Vd={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var Xd={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};var Wd={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};var Zd={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};var $d={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};var em={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var tm={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};var rm={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};var im={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};var nm={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};var am={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};var om={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};var sm={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};var lm={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};var cm={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};var um={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};var dm={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};var mm={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};var pm={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};var fm={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};var hm={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};var gm={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var vm={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ym={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Am={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var bm={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var xm={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Nm={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Cm={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var zm={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Im={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var wm={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Sm={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Bm={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Em={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var _m={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var km={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Qm={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Pm={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Mm={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Dm={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rm={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Tm={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var qm={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Hm={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Um={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Lm={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Fm={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Om={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Gm={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ym={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var jm={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Km={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Jm={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};var Vm={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Xm={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Wm={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Zm={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var $m={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ep={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var tp={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var rp={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var ip={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var np={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var ap={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var op={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var sp={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var lp={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var cp={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var up={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var dp={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var mp={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};var pp={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var fp={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};var hp={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var gp={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var vp={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var yp={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ap={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var bp={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var xp={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Np={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Cp={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var zp={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ip={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var wp={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};var Sp={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Bp={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Ep={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var _p={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};var kp={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Qp={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Pp={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Mp={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Dp={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rp={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Tp={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var qp={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Hp={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Up={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Lp={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Fp={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};var Op={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Gp={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Yp={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var jp={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Kp={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Jp={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Vp={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Xp={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Wp={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Zp={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var $p={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ef={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};var tf={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var rf={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};var nf={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var af={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var of={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var sf={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var lf={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var cf={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var uf={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var df={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var mf={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var pf={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ff={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var hf={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var gf={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var vf={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var yf={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Af={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var bf={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var xf={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Nf={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Cf={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var zf={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var If={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var wf={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Sf={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Bf={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ef={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var _f={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var kf={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Qf={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Pf={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};var Mf={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Df={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rf={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Tf={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var qf={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Hf={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Uf={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Lf={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ff={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};var Of={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Gf={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Yf={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var jf={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Kf=Object.freeze({__proto__:null,AccessPolicy:Jd,AppendBlobAppendBlockExceptionHeaders:_f,AppendBlobAppendBlockFromUrlExceptionHeaders:Qf,AppendBlobAppendBlockFromUrlHeaders:kf,AppendBlobAppendBlockHeaders:Ef,AppendBlobCreateExceptionHeaders:Bf,AppendBlobCreateHeaders:Sf,AppendBlobSealExceptionHeaders:Mf,AppendBlobSealHeaders:Pf,ArrowConfiguration:fm,ArrowField:hm,BlobAbortCopyFromURLExceptionHeaders:Wp,BlobAbortCopyFromURLHeaders:Xp,BlobAcquireLeaseExceptionHeaders:Dp,BlobAcquireLeaseHeaders:Mp,BlobBreakLeaseExceptionHeaders:Op,BlobBreakLeaseHeaders:Fp,BlobChangeLeaseExceptionHeaders:Lp,BlobChangeLeaseHeaders:Up,BlobCopyFromURLExceptionHeaders:Vp,BlobCopyFromURLHeaders:Jp,BlobCreateSnapshotExceptionHeaders:Yp,BlobCreateSnapshotHeaders:Gp,BlobDeleteExceptionHeaders:Ap,BlobDeleteHeaders:yp,BlobDeleteImmutabilityPolicyExceptionHeaders:Ep,BlobDeleteImmutabilityPolicyHeaders:Bp,BlobDownloadExceptionHeaders:hp,BlobDownloadHeaders:fp,BlobFlatListSegment:Xd,BlobGetAccountInfoExceptionHeaders:tf,BlobGetAccountInfoHeaders:ef,BlobGetPropertiesExceptionHeaders:vp,BlobGetPropertiesHeaders:gp,BlobGetTagsExceptionHeaders:of,BlobGetTagsHeaders:af,BlobHierarchyListSegment:tm,BlobItemInternal:Wd,BlobName:Zd,BlobPrefix:rm,BlobPropertiesInternal:$d,BlobQueryExceptionHeaders:nf,BlobQueryHeaders:rf,BlobReleaseLeaseExceptionHeaders:Tp,BlobReleaseLeaseHeaders:Rp,BlobRenewLeaseExceptionHeaders:Hp,BlobRenewLeaseHeaders:qp,BlobServiceProperties:Ed,BlobServiceStatistics:Rd,BlobSetExpiryExceptionHeaders:Cp,BlobSetExpiryHeaders:Np,BlobSetHttpHeadersExceptionHeaders:Ip,BlobSetHttpHeadersHeaders:zp,BlobSetImmutabilityPolicyExceptionHeaders:Sp,BlobSetImmutabilityPolicyHeaders:wp,BlobSetLegalHoldExceptionHeaders:kp,BlobSetLegalHoldHeaders:_p,BlobSetMetadataExceptionHeaders:Pp,BlobSetMetadataHeaders:Qp,BlobSetTagsExceptionHeaders:lf,BlobSetTagsHeaders:sf,BlobSetTierExceptionHeaders:$p,BlobSetTierHeaders:Zp,BlobStartCopyFromURLExceptionHeaders:Kp,BlobStartCopyFromURLHeaders:jp,BlobTag:jd,BlobTags:Yd,BlobUndeleteExceptionHeaders:xp,BlobUndeleteHeaders:bp,Block:am,BlockBlobCommitBlockListExceptionHeaders:Gf,BlockBlobCommitBlockListHeaders:Of,BlockBlobGetBlockListExceptionHeaders:jf,BlockBlobGetBlockListHeaders:Yf,BlockBlobPutBlobFromUrlExceptionHeaders:qf,BlockBlobPutBlobFromUrlHeaders:Tf,BlockBlobStageBlockExceptionHeaders:Uf,BlockBlobStageBlockFromURLExceptionHeaders:Ff,BlockBlobStageBlockFromURLHeaders:Lf,BlockBlobStageBlockHeaders:Hf,BlockBlobUploadExceptionHeaders:Rf,BlockBlobUploadHeaders:Df,BlockList:nm,BlockLookupList:im,ClearRange:lm,ContainerAcquireLeaseExceptionHeaders:$m,ContainerAcquireLeaseHeaders:Zm,ContainerBreakLeaseExceptionHeaders:ap,ContainerBreakLeaseHeaders:np,ContainerChangeLeaseExceptionHeaders:sp,ContainerChangeLeaseHeaders:op,ContainerCreateExceptionHeaders:Pm,ContainerCreateHeaders:Qm,ContainerDeleteExceptionHeaders:Tm,ContainerDeleteHeaders:Rm,ContainerFilterBlobsExceptionHeaders:Wm,ContainerFilterBlobsHeaders:Xm,ContainerGetAccessPolicyExceptionHeaders:Lm,ContainerGetAccessPolicyHeaders:Um,ContainerGetAccountInfoExceptionHeaders:pp,ContainerGetAccountInfoHeaders:mp,ContainerGetPropertiesExceptionHeaders:Dm,ContainerGetPropertiesHeaders:Mm,ContainerItem:Hd,ContainerListBlobFlatSegmentExceptionHeaders:cp,ContainerListBlobFlatSegmentHeaders:lp,ContainerListBlobHierarchySegmentExceptionHeaders:dp,ContainerListBlobHierarchySegmentHeaders:up,ContainerProperties:Ud,ContainerReleaseLeaseExceptionHeaders:tp,ContainerReleaseLeaseHeaders:ep,ContainerRenameExceptionHeaders:Km,ContainerRenameHeaders:jm,ContainerRenewLeaseExceptionHeaders:ip,ContainerRenewLeaseHeaders:rp,ContainerRestoreExceptionHeaders:Ym,ContainerRestoreHeaders:Gm,ContainerSetAccessPolicyExceptionHeaders:Om,ContainerSetAccessPolicyHeaders:Fm,ContainerSetMetadataExceptionHeaders:Hm,ContainerSetMetadataHeaders:qm,ContainerSubmitBatchExceptionHeaders:Vm,ContainerSubmitBatchHeaders:Jm,CorsRule:Pd,DelimitedTextConfiguration:mm,FilterBlobItem:Gd,FilterBlobSegment:Od,GeoReplication:Td,JsonTextConfiguration:pm,KeyInfo:Ld,ListBlobsFlatSegmentResponse:Vd,ListBlobsHierarchySegmentResponse:em,ListContainersSegmentResponse:qd,Logging:_d,Metrics:Qd,PageBlobClearPagesExceptionHeaders:ff,PageBlobClearPagesHeaders:pf,PageBlobCopyIncrementalExceptionHeaders:wf,PageBlobCopyIncrementalHeaders:If,PageBlobCreateExceptionHeaders:uf,PageBlobCreateHeaders:cf,PageBlobGetPageRangesDiffExceptionHeaders:bf,PageBlobGetPageRangesDiffHeaders:Af,PageBlobGetPageRangesExceptionHeaders:yf,PageBlobGetPageRangesHeaders:vf,PageBlobResizeExceptionHeaders:Nf,PageBlobResizeHeaders:xf,PageBlobUpdateSequenceNumberExceptionHeaders:zf,PageBlobUpdateSequenceNumberHeaders:Cf,PageBlobUploadPagesExceptionHeaders:mf,PageBlobUploadPagesFromURLExceptionHeaders:gf,PageBlobUploadPagesFromURLHeaders:hf,PageBlobUploadPagesHeaders:df,PageList:om,PageRange:sm,QueryFormat:dm,QueryRequest:cm,QuerySerialization:um,RetentionPolicy:kd,ServiceFilterBlobsExceptionHeaders:km,ServiceFilterBlobsHeaders:_m,ServiceGetAccountInfoExceptionHeaders:Sm,ServiceGetAccountInfoHeaders:wm,ServiceGetPropertiesExceptionHeaders:Am,ServiceGetPropertiesHeaders:ym,ServiceGetStatisticsExceptionHeaders:xm,ServiceGetStatisticsHeaders:bm,ServiceGetUserDelegationKeyExceptionHeaders:Im,ServiceGetUserDelegationKeyHeaders:zm,ServiceListContainersSegmentExceptionHeaders:Cm,ServiceListContainersSegmentHeaders:Nm,ServiceSetPropertiesExceptionHeaders:vm,ServiceSetPropertiesHeaders:gm,ServiceSubmitBatchExceptionHeaders:Em,ServiceSubmitBatchHeaders:Bm,SignedIdentifier:Kd,StaticWebsite:Md,StorageError:Dd,UserDelegationKey:Fd});var Jf={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};var Vf={parameterPath:"blobServiceProperties",mapper:Ed};var Xf={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};var Wf={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};var Zf={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};var $f={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};var eh={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};var th={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};var rh={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};var ih={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};var nh={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};var ah={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};var oh={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};var sh={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};var lh={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};var ch={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};var uh={parameterPath:"keyInfo",mapper:Ld};var dh={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};var mh={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};var ph={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};var fh={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};var hh={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};var gh={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};var vh={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};var yh={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};var Ah={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};var bh={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};var xh={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};var Nh={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};var Ch={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};var zh={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};var Ih={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};var wh={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};var Sh={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Bh={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Eh={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};var _h={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};var kh={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};var Qh={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};var Ph={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Mh={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};var Dh={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};var Rh={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Th={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var qh={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};var Hh={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};var Uh={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Lh={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};var Fh={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Oh={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var Gh={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};var Yh={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};var jh={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};var Kh={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};var Jh={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};var Vh={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};var Xh={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};var Wh={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};var Zh={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};var $h={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};var eg={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};var tg={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}};var rg={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};var ig={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};var ng={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};var ag={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};var og={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};var sg={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};var lg={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};var cg={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};var ug={parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}};var dg={parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};var mg={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};var pg={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};var fg={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};var hg={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};var gg={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};var vg={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};var yg={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};var Ag={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};var bg={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};var xg={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Ng={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};var Cg={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};var zg={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Ig={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};var wg={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};var Sg={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Bg={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}};var Eg={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};var _g={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};var kg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};var Qg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};var Pg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};var Mg={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};var Dg={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};var Rg={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};var Tg={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};var qg={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};var Hg={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};var Ug={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};var Lg={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};var Fg={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};var Og={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};var Gg={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Yg={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};var jg={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};var Kg={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Jg={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}};var Vg={parameterPath:["options","queryRequest"],mapper:cm};var Xg={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Wg={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Zg={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};var $g={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};var ev={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};var tv={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};var rv={parameterPath:["options","tags"],mapper:Yd};var iv={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};var nv={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};var av={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};var ov={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};var sv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};var lv={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};var cv={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};var uv={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};var dv={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};var mv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};var pv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};var fv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};var hv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};var gv={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}};var vv={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};var yv={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};var Av={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};var bv={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};var xv={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};var Nv={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}};var Cv={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}};var zv={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}};var Iv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};var wv={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};var Sv={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};var Bv={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};var Ev={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};var _v={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};var kv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Qv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};var Pv={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};var Mv={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};var Dv={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Rv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};var Tv={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};var qv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Hv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};var Uv={parameterPath:"blocks",mapper:im};var Lv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};var Fv={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Ov=function(){function e(e){this.client=e}e.prototype.setProperties=function(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},Yv)};e.prototype.getProperties=function(e){return this.client.sendOperationRequest({options:e},jv)};e.prototype.getStatistics=function(e){return this.client.sendOperationRequest({options:e},Kv)};e.prototype.listContainersSegment=function(e){return this.client.sendOperationRequest({options:e},Jv)};e.prototype.getUserDelegationKey=function(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},Vv)};e.prototype.getAccountInfo=function(e){return this.client.sendOperationRequest({options:e},Xv)};e.prototype.submitBatch=function(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Wv)};e.prototype.filterBlobs=function(e){return this.client.sendOperationRequest({options:e},Zv)};return e}();var Gv=Eo(Kf,true);var Yv={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:gm},default:{bodyMapper:Dd,headersMapper:vm}},requestBody:Vf,queryParameters:[Zf,$f,eh],urlParameters:[Wf],headerParameters:[Jf,Xf,th,rh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gv};var jv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ed,headersMapper:ym},default:{bodyMapper:Dd,headersMapper:Am}},queryParameters:[Zf,$f,eh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:Gv};var Kv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Rd,headersMapper:bm},default:{bodyMapper:Dd,headersMapper:xm}},queryParameters:[Zf,eh,nh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:Gv};var Jv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:qd,headersMapper:Nm},default:{bodyMapper:Dd,headersMapper:Cm}},queryParameters:[eh,ah,oh,sh,lh,ch],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:Gv};var Vv={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Fd,headersMapper:zm},default:{bodyMapper:Dd,headersMapper:Im}},requestBody:uh,queryParameters:[Zf,eh,dh],urlParameters:[Wf],headerParameters:[Jf,Xf,th,rh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gv};var Xv={path:"/",httpMethod:"GET",responses:{200:{headersMapper:wm},default:{bodyMapper:Dd,headersMapper:Sm}},queryParameters:[$f,eh,mh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:Gv};var Wv={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Bm},default:{bodyMapper:Dd,headersMapper:Em}},requestBody:ph,queryParameters:[eh,fh],urlParameters:[Wf],headerParameters:[Xf,th,rh,hh,gh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gv};var Zv={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Od,headersMapper:_m},default:{bodyMapper:Dd,headersMapper:km}},queryParameters:[eh,sh,lh,vh,yh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:Gv};var $v=function(){function e(e){this.client=e}e.prototype.create=function(e){return this.client.sendOperationRequest({options:e},ty)};e.prototype.getProperties=function(e){return this.client.sendOperationRequest({options:e},ry)};e.prototype.delete=function(e){return this.client.sendOperationRequest({options:e},iy)};e.prototype.setMetadata=function(e){return this.client.sendOperationRequest({options:e},ny)};e.prototype.getAccessPolicy=function(e){return this.client.sendOperationRequest({options:e},ay)};e.prototype.setAccessPolicy=function(e){return this.client.sendOperationRequest({options:e},oy)};e.prototype.restore=function(e){return this.client.sendOperationRequest({options:e},sy)};e.prototype.rename=function(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},ly)};e.prototype.submitBatch=function(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},cy)};e.prototype.filterBlobs=function(e){return this.client.sendOperationRequest({options:e},uy)};e.prototype.acquireLease=function(e){return this.client.sendOperationRequest({options:e},dy)};e.prototype.releaseLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},my)};e.prototype.renewLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},py)};e.prototype.breakLease=function(e){return this.client.sendOperationRequest({options:e},fy)};e.prototype.changeLease=function(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},hy)};e.prototype.listBlobFlatSegment=function(e){return this.client.sendOperationRequest({options:e},gy)};e.prototype.listBlobHierarchySegment=function(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},vy)};e.prototype.getAccountInfo=function(e){return this.client.sendOperationRequest({options:e},yy)};return e}();var ey=Eo(Kf,true);var ty={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qm},default:{bodyMapper:Dd,headersMapper:Pm}},queryParameters:[eh,Ah],urlParameters:[Wf],headerParameters:[th,rh,ih,bh,xh,Nh,Ch],isXML:true,serializer:ey};var ry={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Mm},default:{bodyMapper:Dd,headersMapper:Dm}},queryParameters:[eh,Ah],urlParameters:[Wf],headerParameters:[th,rh,ih,zh],isXML:true,serializer:ey};var iy={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Rm},default:{bodyMapper:Dd,headersMapper:Tm}},queryParameters:[eh,Ah],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh],isXML:true,serializer:ey};var ny={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:qm},default:{bodyMapper:Dd,headersMapper:Hm}},queryParameters:[eh,Ah,Sh],urlParameters:[Wf],headerParameters:[th,rh,ih,bh,zh,Ih],isXML:true,serializer:ey};var ay={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:Um},default:{bodyMapper:Dd,headersMapper:Lm}},queryParameters:[eh,Ah,Bh],urlParameters:[Wf],headerParameters:[th,rh,ih,zh],isXML:true,serializer:ey};var oy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Fm},default:{bodyMapper:Dd,headersMapper:Om}},requestBody:Eh,queryParameters:[eh,Ah,Bh],urlParameters:[Wf],headerParameters:[Jf,Xf,th,rh,xh,zh,Ih,wh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ey};var sy={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Gm},default:{bodyMapper:Dd,headersMapper:Ym}},queryParameters:[eh,Ah,_h],urlParameters:[Wf],headerParameters:[th,rh,ih,kh,Qh],isXML:true,serializer:ey};var ly={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:jm},default:{bodyMapper:Dd,headersMapper:Km}},queryParameters:[eh,Ah,Ph],urlParameters:[Wf],headerParameters:[th,rh,ih,Mh,Dh],isXML:true,serializer:ey};var cy={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Jm},default:{bodyMapper:Dd,headersMapper:Vm}},requestBody:ph,queryParameters:[eh,fh,Ah],urlParameters:[Wf],headerParameters:[Xf,th,rh,hh,gh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ey};var uy={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Od,headersMapper:Xm},default:{bodyMapper:Dd,headersMapper:Wm}},queryParameters:[eh,sh,lh,vh,yh,Ah],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:ey};var dy={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Zm},default:{bodyMapper:Dd,headersMapper:$m}},queryParameters:[eh,Ah,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Th,qh,Hh],isXML:true,serializer:ey};var my={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ep},default:{bodyMapper:Dd,headersMapper:tp}},queryParameters:[eh,Ah,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Uh,Lh],isXML:true,serializer:ey};var py={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:rp},default:{bodyMapper:Dd,headersMapper:ip}},queryParameters:[eh,Ah,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Lh,Fh],isXML:true,serializer:ey};var fy={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:np},default:{bodyMapper:Dd,headersMapper:ap}},queryParameters:[eh,Ah,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Oh,Gh],isXML:true,serializer:ey};var hy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:op},default:{bodyMapper:Dd,headersMapper:sp}},queryParameters:[eh,Ah,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Lh,Yh,jh],isXML:true,serializer:ey};var gy={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Vd,headersMapper:lp},default:{bodyMapper:Dd,headersMapper:cp}},queryParameters:[eh,ah,oh,sh,lh,Ah,Kh,Jh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:ey};var vy={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:em,headersMapper:up},default:{bodyMapper:Dd,headersMapper:dp}},queryParameters:[eh,ah,oh,sh,lh,Ah,Kh,Jh,Vh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:ey};var yy={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:mp},default:{bodyMapper:Dd,headersMapper:pp}},queryParameters:[$f,eh,mh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:ey};var Ay=function(){function e(e){this.client=e}e.prototype.download=function(e){return this.client.sendOperationRequest({options:e},xy)};e.prototype.getProperties=function(e){return this.client.sendOperationRequest({options:e},Ny)};e.prototype.delete=function(e){return this.client.sendOperationRequest({options:e},Cy)};e.prototype.undelete=function(e){return this.client.sendOperationRequest({options:e},zy)};e.prototype.setExpiry=function(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},Iy)};e.prototype.setHttpHeaders=function(e){return this.client.sendOperationRequest({options:e},wy)};e.prototype.setImmutabilityPolicy=function(e){return this.client.sendOperationRequest({options:e},Sy)};e.prototype.deleteImmutabilityPolicy=function(e){return this.client.sendOperationRequest({options:e},By)};e.prototype.setLegalHold=function(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Ey)};e.prototype.setMetadata=function(e){return this.client.sendOperationRequest({options:e},_y)};e.prototype.acquireLease=function(e){return this.client.sendOperationRequest({options:e},ky)};e.prototype.releaseLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Qy)};e.prototype.renewLease=function(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Py)};e.prototype.changeLease=function(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},My)};e.prototype.breakLease=function(e){return this.client.sendOperationRequest({options:e},Dy)};e.prototype.createSnapshot=function(e){return this.client.sendOperationRequest({options:e},Ry)};e.prototype.startCopyFromURL=function(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Ty)};e.prototype.copyFromURL=function(e,t){return this.client.sendOperationRequest({copySource:e,options:t},qy)};e.prototype.abortCopyFromURL=function(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Hy)};e.prototype.setTier=function(e,t){return this.client.sendOperationRequest({tier:e,options:t},Uy)};e.prototype.getAccountInfo=function(e){return this.client.sendOperationRequest({options:e},Ly)};e.prototype.query=function(e){return this.client.sendOperationRequest({options:e},Fy)};e.prototype.getTags=function(e){return this.client.sendOperationRequest({options:e},Oy)};e.prototype.setTags=function(e){return this.client.sendOperationRequest({options:e},Gy)};return e}();var by=Eo(Kf,true);var xy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fp},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fp},default:{bodyMapper:Dd,headersMapper:hp}},queryParameters:[eh,Xh,Wh],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,Zh,$h,eg,tg,rg,ig,ng,ag,og,sg],isXML:true,serializer:by};var Ny={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:gp},default:{bodyMapper:Dd,headersMapper:vp}},queryParameters:[eh,Xh,Wh],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,rg,ig,ng,ag,og,sg],isXML:true,serializer:by};var Cy={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:yp},default:{bodyMapper:Dd,headersMapper:Ap}},queryParameters:[eh,Xh,Wh,cg],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,ag,og,sg,lg,ug,dg],isXML:true,serializer:by};var zy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bp},default:{bodyMapper:Dd,headersMapper:xp}},queryParameters:[eh,_h],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:by};var Iy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Np},default:{bodyMapper:Dd,headersMapper:Cp}},queryParameters:[eh,mg],urlParameters:[Wf],headerParameters:[th,rh,ih,pg,fg],isXML:true,serializer:by};var wy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zp},default:{bodyMapper:Dd,headersMapper:Ip}},queryParameters:[$f,eh],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,ag,og,sg,hg,gg,vg,yg,Ag,bg],isXML:true,serializer:by};var Sy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wp},default:{bodyMapper:Dd,headersMapper:Sp}},queryParameters:[eh,Xh,Wh,xg],urlParameters:[Wf],headerParameters:[th,rh,ih,wh,Ng,Cg],isXML:true,serializer:by};var By={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Bp},default:{bodyMapper:Dd,headersMapper:Ep}},queryParameters:[eh,Xh,Wh,xg],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:by};var Ey={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_p},default:{bodyMapper:Dd,headersMapper:kp}},queryParameters:[eh,Xh,Wh,zg],urlParameters:[Wf],headerParameters:[th,rh,ih,Ig],isXML:true,serializer:by};var _y={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Qp},default:{bodyMapper:Dd,headersMapper:Pp}},queryParameters:[eh,Sh],urlParameters:[Wf],headerParameters:[th,rh,ih,bh,zh,Ih,wh,rg,ig,ng,ag,og,sg,wg],isXML:true,serializer:by};var ky={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Mp},default:{bodyMapper:Dd,headersMapper:Dp}},queryParameters:[eh,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Th,qh,Hh,ag,og,sg],isXML:true,serializer:by};var Qy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Rp},default:{bodyMapper:Dd,headersMapper:Tp}},queryParameters:[eh,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Uh,Lh,ag,og,sg],isXML:true,serializer:by};var Py={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qp},default:{bodyMapper:Dd,headersMapper:Hp}},queryParameters:[eh,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Lh,Fh,ag,og,sg],isXML:true,serializer:by};var My={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Up},default:{bodyMapper:Dd,headersMapper:Lp}},queryParameters:[eh,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Lh,Yh,jh,ag,og,sg],isXML:true,serializer:by};var Dy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Fp},default:{bodyMapper:Dd,headersMapper:Op}},queryParameters:[eh,Rh],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,Oh,Gh,ag,og,sg],isXML:true,serializer:by};var Ry={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Gp},default:{bodyMapper:Dd,headersMapper:Yp}},queryParameters:[eh,Sg],urlParameters:[Wf],headerParameters:[th,rh,ih,bh,zh,Ih,wh,rg,ig,ng,ag,og,sg,wg],isXML:true,serializer:by};var Ty={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:jp},default:{bodyMapper:Dd,headersMapper:Kp}},queryParameters:[eh],urlParameters:[Wf],headerParameters:[th,rh,ih,bh,zh,Ih,wh,ag,og,sg,Ng,Cg,Bg,Eg,_g,kg,Qg,Pg,Mg,Dg,Rg,Tg,qg],isXML:true,serializer:by};var qy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Jp},default:{bodyMapper:Dd,headersMapper:Vp}},queryParameters:[eh],urlParameters:[Wf],headerParameters:[th,rh,ih,bh,zh,Ih,wh,ag,og,sg,Ng,Cg,wg,Bg,_g,kg,Qg,Pg,Dg,Rg,qg,Hg,Ug,Lg,Fg,Og],isXML:true,serializer:by};var Hy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Xp},default:{bodyMapper:Dd,headersMapper:Wp}},queryParameters:[eh,Gg,jg],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Yg],isXML:true,serializer:by};var Uy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Zp},202:{headersMapper:Zp},default:{bodyMapper:Dd,headersMapper:$p}},queryParameters:[eh,Xh,Wh,Kg],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,sg,Eg,Jg],isXML:true,serializer:by};var Ly={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:ef},default:{bodyMapper:Dd,headersMapper:tf}},queryParameters:[$f,eh,mh],urlParameters:[Wf],headerParameters:[th,rh,ih],isXML:true,serializer:by};var Fy={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:rf},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:rf},default:{bodyMapper:Dd,headersMapper:nf}},requestBody:Vg,queryParameters:[eh,Xh,Xg],urlParameters:[Wf],headerParameters:[Jf,Xf,th,rh,zh,Ih,wh,rg,ig,ng,ag,og,sg],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:by};var Oy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Yd,headersMapper:af},default:{bodyMapper:Dd,headersMapper:of}},queryParameters:[eh,Xh,Wh,Wg],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,sg,Zg,$g,ev,tv],isXML:true,serializer:by};var Gy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:sf},default:{bodyMapper:Dd,headersMapper:lf}},requestBody:rv,queryParameters:[eh,Wh,Wg],urlParameters:[Wf],headerParameters:[Jf,Xf,th,rh,zh,sg,Zg,$g,ev,tv,iv,nv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:by};var Yy=function(){function e(e){this.client=e}e.prototype.create=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},Ky)};e.prototype.uploadPages=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Jy)};e.prototype.clearPages=function(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Vy)};e.prototype.uploadPagesFromURL=function(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},Xy)};e.prototype.getPageRanges=function(e){return this.client.sendOperationRequest({options:e},Wy)};e.prototype.getPageRangesDiff=function(e){return this.client.sendOperationRequest({options:e},Zy)};e.prototype.resize=function(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},$y)};e.prototype.updateSequenceNumber=function(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},eA)};e.prototype.copyIncremental=function(e,t){return this.client.sendOperationRequest({copySource:e,options:t},tA)};return e}();var jy=Eo(Kf,true);var Ky={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cf},default:{bodyMapper:Dd,headersMapper:uf}},queryParameters:[eh],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,bh,zh,Ih,wh,rg,ig,ng,ag,og,sg,hg,gg,vg,yg,Ag,bg,Ng,Cg,wg,Bg,Rg,qg,av,ov,sv],isXML:true,serializer:jy};var Jy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:df},default:{bodyMapper:Dd,headersMapper:mf}},requestBody:cv,queryParameters:[eh,dv],urlParameters:[Wf],headerParameters:[th,rh,hh,zh,Ih,wh,Zh,tg,rg,ig,ng,ag,og,sg,wg,iv,nv,lv,uv,mv,pv,fv,hv,gv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:jy};var Vy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:pf},default:{bodyMapper:Dd,headersMapper:ff}},queryParameters:[eh,dv],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,zh,Ih,wh,Zh,rg,ig,ng,ag,og,sg,wg,pv,fv,hv,vv],isXML:true,serializer:jy};var Xy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hf},default:{bodyMapper:Dd,headersMapper:gf}},queryParameters:[eh,dv],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,zh,Ih,wh,rg,ig,ng,ag,og,sg,wg,_g,kg,Qg,Pg,Ug,Lg,Og,mv,pv,fv,hv,yv,Av,bv,xv,Nv,Cv,zv],isXML:true,serializer:jy};var Wy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:om,headersMapper:vf},default:{bodyMapper:Dd,headersMapper:yf}},queryParameters:[eh,sh,lh,Xh,Iv],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,Zh,ag,og,sg],isXML:true,serializer:jy};var Zy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:om,headersMapper:Af},default:{bodyMapper:Dd,headersMapper:bf}},queryParameters:[eh,sh,lh,Xh,Iv,wv],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,Zh,ag,og,sg,Sv],isXML:true,serializer:jy};var $y={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:xf},default:{bodyMapper:Dd,headersMapper:Nf}},queryParameters:[$f,eh],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,rg,ig,ng,ag,og,sg,wg,ov],isXML:true,serializer:jy};var eA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Cf},default:{bodyMapper:Dd,headersMapper:zf}},queryParameters:[$f,eh],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,ag,og,sg,sv,Bv],isXML:true,serializer:jy};var tA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:If},default:{bodyMapper:Dd,headersMapper:wf}},queryParameters:[eh,Ev],urlParameters:[Wf],headerParameters:[th,rh,ih,Ih,wh,ag,og,sg,Dg],isXML:true,serializer:jy};var rA=function(){function e(e){this.client=e}e.prototype.create=function(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},nA)};e.prototype.appendBlock=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},aA)};e.prototype.appendBlockFromUrl=function(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},oA)};e.prototype.seal=function(e){return this.client.sendOperationRequest({options:e},sA)};return e}();var iA=Eo(Kf,true);var nA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Sf},default:{bodyMapper:Dd,headersMapper:Bf}},queryParameters:[eh],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,bh,zh,Ih,wh,rg,ig,ng,ag,og,sg,hg,gg,vg,yg,Ag,bg,Ng,Cg,wg,Rg,qg,_v],isXML:true,serializer:iA};var aA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ef},default:{bodyMapper:Dd,headersMapper:_f}},requestBody:cv,queryParameters:[eh,kv],urlParameters:[Wf],headerParameters:[th,rh,hh,zh,Ih,wh,tg,rg,ig,ng,ag,og,sg,wg,iv,nv,lv,uv,gv,Qv,Pv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:iA};var oA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kf},default:{bodyMapper:Dd,headersMapper:Qf}},queryParameters:[eh,kv],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,zh,Ih,wh,rg,ig,ng,ag,og,sg,wg,_g,kg,Qg,Pg,Ug,Lg,Og,iv,yv,bv,Nv,Cv,zv,Qv,Pv,Mv],isXML:true,serializer:iA};var sA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Pf},default:{bodyMapper:Dd,headersMapper:Mf}},queryParameters:[eh,Dv],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,Ih,wh,ag,og,Pv],isXML:true,serializer:iA};var lA=function(){function e(e){this.client=e}e.prototype.upload=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},uA)};e.prototype.putBlobFromUrl=function(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},dA)};e.prototype.stageBlock=function(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},mA)};e.prototype.stageBlockFromURL=function(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},pA)};e.prototype.commitBlockList=function(e,t){return this.client.sendOperationRequest({blocks:e,options:t},fA)};e.prototype.getBlockList=function(e,t){return this.client.sendOperationRequest({listType:e,options:t},hA)};return e}();var cA=Eo(Kf,true);var uA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Df},default:{bodyMapper:Dd,headersMapper:Rf}},requestBody:cv,queryParameters:[eh],urlParameters:[Wf],headerParameters:[th,rh,hh,bh,zh,Ih,wh,tg,rg,ig,ng,ag,og,sg,hg,gg,vg,yg,Ag,bg,Ng,Cg,wg,Bg,Rg,qg,iv,nv,lv,uv,gv,Rv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:cA};var dA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Tf},default:{bodyMapper:Dd,headersMapper:qf}},queryParameters:[eh],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,bh,zh,Ih,wh,rg,ig,ng,ag,og,sg,hg,gg,vg,yg,Ag,bg,wg,Bg,_g,kg,Qg,Pg,Mg,Dg,Rg,Ug,Lg,Fg,Og,iv,Nv,Cv,zv,Rv,Tv],isXML:true,serializer:cA};var mA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Hf},default:{bodyMapper:Dd,headersMapper:Uf}},requestBody:cv,queryParameters:[eh,qv,Hv],urlParameters:[Wf],headerParameters:[th,rh,hh,zh,tg,rg,ig,ng,wg,iv,nv,lv,uv,gv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:cA};var pA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Lf},default:{bodyMapper:Dd,headersMapper:Ff}},queryParameters:[eh,qv,Hv],urlParameters:[Wf],headerParameters:[th,rh,ih,hh,zh,rg,ig,ng,wg,_g,kg,Qg,Pg,Ug,Lg,Og,yv,bv,Nv,Cv,zv,Mv],isXML:true,serializer:cA};var fA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Of},default:{bodyMapper:Dd,headersMapper:Gf}},requestBody:Uv,queryParameters:[eh,Lv],urlParameters:[Wf],headerParameters:[Jf,Xf,th,rh,bh,zh,Ih,wh,rg,ig,ng,ag,og,sg,hg,gg,vg,yg,Ag,bg,Ng,Cg,wg,Bg,Rg,qg,iv,nv],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cA};var hA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:nm,headersMapper:Yf},default:{bodyMapper:Dd,headersMapper:jf}},queryParameters:[eh,Xh,Lv,Fv],urlParameters:[Wf],headerParameters:[th,rh,ih,zh,sg],isXML:true,serializer:cA};var gA=function(e){__extends(t,e);function t(t,r){var i=this;var n,a;if(t===undefined){throw new Error("'url' cannot be null")}if(!r){r={}}var o={requestContentType:"application/json; charset=utf-8"};var s="azsdk-js-azure-storage-blob/12.33.0";var l=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?"".concat(r.userAgentOptions.userAgentPrefix," ").concat(s):"".concat(s);var c=__assign(__assign(__assign({},o),r),{userAgentOptions:{userAgentPrefix:l},endpoint:(a=(n=r.endpoint)!==null&&n!==void 0?n:r.baseUri)!==null&&a!==void 0?a:"{url}"});i=e.call(this,c)||this;i.url=t;i.version=r.version||"2026-06-06";i.service=new Ov(i);i.container=new $v(i);i.blob=new Ay(i);i.pageBlob=new Yy(i);i.appendBlob=new rA(i);i.blockBlob=new lA(i);return i}return t}(sl);var vA=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.sendOperationRequest=function(t,r){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){i=__assign({},r);if(i.path==="/{containerName}"||i.path==="/{containerName}/{blob}"){i.path=""}return[2,e.prototype.sendOperationRequest.call(this,t,i)]}))}))};return t}(gA);var yA=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function AA(e){var t=new URL(e);var r=t.pathname;r=r||"/";r=CA(r);t.pathname=r;return t.toString()}function bA(e){var t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){var r=e.split(";");for(var i=0,n=r;i<n.length;i++){var a=n[i];if(a.trim().startsWith("DevelopmentStorageProxyUri=")){t=a.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function xA(e,t){var r=e.split(";");for(var i=0,n=r;i<n.length;i++){var a=n[i];if(a.trim().startsWith(t)){return a.trim().match(t+"=(.*)")[1]}}return""}function NA(e){var t="";if(e.startsWith("UseDevelopmentStorage=true")){t=bA(e);e=ad}var r=xA(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){var i="";var n="";var a=Jl.from("accountKey","base64");var o="";n=xA(e,"AccountName");a=Jl.from(xA(e,"AccountKey"),"base64");if(!r){i=xA(e,"DefaultEndpointsProtocol");var s=i.toLowerCase();if(s!=="https"&&s!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}o=xA(e,"EndpointSuffix");if(!o){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r="".concat(i,"://").concat(n,".blob.").concat(o)}if(!n){throw new Error("Invalid AccountName in the provided Connection String")}else if(a.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:n,accountKey:a,proxyUri:t}}else{var l=xA(e,"SharedAccessSignature");var n=xA(e,"AccountName");if(!n){n=MA(r)}if(!r){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!l){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(l.startsWith("?")){l=l.substring(1)}return{kind:"SASConnString",url:r,accountName:n,accountSas:l}}}function CA(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function zA(e,t){var r=new URL(e);var i=r.pathname;i=i?i.endsWith("/")?"".concat(i).concat(t):"".concat(i,"/").concat(t):t;r.pathname=i;return r.toString()}function IA(e,t,r){var i=new URL(e);var n=encodeURIComponent(t);var a=r?encodeURIComponent(r):undefined;var o=i.search===""?"?":i.search;var s=[];for(var l=0,c=o.slice(1).split("&");l<c.length;l++){var u=c[l];if(u){var d=u.split("=",2)[0];if(d!==n){s.push(u)}}}if(a){s.push("".concat(n,"=").concat(a))}i.search=s.length?"?".concat(s.join("&")):"";return i.toString()}function wA(e,t){var r;var i=new URL(e);return(r=i.searchParams.get(t))!==null&&r!==void 0?r:undefined}function SA(e){try{var t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function BA(e,t){var r=new URL(e);var i=r.search;if(i){i+="&"+t}else{i=t}r.search=i;return r.toString()}function EA(e,t){if(t===void 0){t=true}var r=e.toISOString();return t?r.substring(0,r.length-1)+"0000"+"Z":r.substring(0,r.length-5)+"Z"}function _A(e){return!Ca?btoa(e):Jl.from(e).toString("base64")}function kA(e,t){var r=48;var i=6;var n=r-i;if(e.length>n){e=e.slice(0,n)}var a=e+QA(t.toString(),r-e.length,"0");return _A(a)}function QA(e,t,r){if(r===void 0){r=" "}if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function PA(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function MA(e){var t=new URL(e);var r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0];for(var i=0;i<yA.length;++i){var n=yA[i];if(r.endsWith(n)){r=r.substring(0,r.length-n.length);break}}}else if(DA(t)){r=t.pathname.split("/")[1]}else{r=""}return r}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function DA(e){var t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&ud.includes(e.port)}function RA(e){if(e===undefined){return undefined}var t=[];for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];t.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(i)))}}return t.join("&")}function TA(e){if(e===undefined){return undefined}var t={blobTagSet:[]};for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];t.blobTagSet.push({key:r,value:i})}}return t}function qA(e){if(e===undefined){return undefined}var t={};for(var r=0,i=e.blobTagSet;r<i.length;r++){var n=i[r];t[n.key]=n.value}return t}function HA(e){if(e===undefined){return undefined}switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function UA(e){if(!e){return undefined}if("policy-id"in e){return undefined}var t=[];var r=function(r){var i=r.split("_");var n="or-";if(i[0].startsWith(n)){i[0]=i[0].substring(n.length)}var a={ruleId:i[1],replicationStatus:e[r]};var o=t.findIndex((function(e){return e.policyId===i[0]}));if(o>-1){t[o].rules.push(a)}else{t.push({policyId:i[0],rules:[a]})}};for(var i in e){r(i)}return t}function LA(e){return e?e.scheme+" "+e.value:undefined}function FA(e){var t,r,i,n;return __generator(this,(function(a){switch(a.label){case 0:t=[];r=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)r=e.clearRange;i=0;n=0;a.label=1;case 1:if(!(i<t.length&&n<r.length))return[3,6];if(!(t[i].start<r[n].start))return[3,3];return[4,{start:t[i].start,end:t[i].end,isClear:false}];case 2:a.sent();++i;return[3,5];case 3:return[4,{start:r[n].start,end:r[n].end,isClear:true}];case 4:a.sent();++n;a.label=5;case 5:return[3,1];case 6:if(!(i<t.length))return[3,9];return[4,{start:t[i].start,end:t[i].end,isClear:false}];case 7:a.sent();a.label=8;case 8:++i;return[3,6];case 9:if(!(n<r.length))return[3,12];return[4,{start:r[n].start,end:r[n].end,isClear:true}];case 10:a.sent();a.label=11;case 11:++n;return[3,9];case 12:return[2]}}))}function OA(e){if("_response"in e){return e}throw new TypeError("Unexpected response object ".concat(e))}function GA(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){var a,o;var s;return __generator(this,(function(l){switch(l.label){case 0:a=(s=i.contentChecksumAlgorithm)!==null&&s!==void 0?s:n;if(a===undefined){a="Customized"}if(a==="Auto"){a="StorageCrc64"}o=undefined;if(!(a==="Customized"))return[3,1];r.transactionalContentMD5=i.transactionalContentMD5;r.transactionalContentCrc64=i.transactionalContentCrc64;return[3,4];case 1:if(!(a==="StorageCrc64"))return[3,4];return[4,Yc.init()];case 2:l.sent();return[4,tu(e,t)];case 3:o=l.sent();r.structuredBodyType="XSM/1.0; properties=crc64";r.structuredContentLength=t;l.label=4;case 4:return[2,{body:a==="StorageCrc64"?o.body:e,contentLength:a==="StorageCrc64"?o.encodedContentLength:t,contentChecksumAlgorithm:a}]}}))}))}var YA=function(){function e(e,t){this.url=AA(e);this.accountName=MA(e);this.pipeline=t;this.storageClientContext=new vA(this.url,hd(t));this.isHttps=PA(SA(this.url)||"","https");this.credential=gd(t);var r=this.storageClientContext;r.requestContentType=undefined}return e}();var jA=Ha({packageName:"@azure/storage-blob",packageVersion:ju,namespace:"Microsoft.Storage"});var KA=function(){function e(){this.read=false;this.add=false;this.create=false;this.write=false;this.delete=false;this.deleteVersion=false;this.tag=false;this.move=false;this.execute=false;this.setImmutabilityPolicy=false;this.permanentDelete=false}e.parse=function(t){var r=new e;for(var i=0,n=t;i<n.length;i++){var a=n[i];switch(a){case"r":r.read=true;break;case"a":r.add=true;break;case"c":r.create=true;break;case"w":r.write=true;break;case"d":r.delete=true;break;case"x":r.deleteVersion=true;break;case"t":r.tag=true;break;case"m":r.move=true;break;case"e":r.execute=true;break;case"i":r.setImmutabilityPolicy=true;break;case"y":r.permanentDelete=true;break;default:throw new RangeError("Invalid permission: ".concat(a))}}return r};e.from=function(t){var r=new e;if(t.read){r.read=true}if(t.add){r.add=true}if(t.create){r.create=true}if(t.write){r.write=true}if(t.delete){r.delete=true}if(t.deleteVersion){r.deleteVersion=true}if(t.tag){r.tag=true}if(t.move){r.move=true}if(t.execute){r.execute=true}if(t.setImmutabilityPolicy){r.setImmutabilityPolicy=true}if(t.permanentDelete){r.permanentDelete=true}return r};e.prototype.toString=function(){var e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")};return e}();var JA=function(){function e(){this.read=false;this.add=false;this.create=false;this.write=false;this.delete=false;this.deleteVersion=false;this.list=false;this.tag=false;this.move=false;this.execute=false;this.setImmutabilityPolicy=false;this.permanentDelete=false;this.filterByTags=false}e.parse=function(t){var r=new e;for(var i=0,n=t;i<n.length;i++){var a=n[i];switch(a){case"r":r.read=true;break;case"a":r.add=true;break;case"c":r.create=true;break;case"w":r.write=true;break;case"d":r.delete=true;break;case"l":r.list=true;break;case"t":r.tag=true;break;case"x":r.deleteVersion=true;break;case"m":r.move=true;break;case"e":r.execute=true;break;case"i":r.setImmutabilityPolicy=true;break;case"y":r.permanentDelete=true;break;case"f":r.filterByTags=true;break;default:throw new RangeError("Invalid permission ".concat(a))}}return r};e.from=function(t){var r=new e;if(t.read){r.read=true}if(t.add){r.add=true}if(t.create){r.create=true}if(t.write){r.write=true}if(t.delete){r.delete=true}if(t.list){r.list=true}if(t.deleteVersion){r.deleteVersion=true}if(t.tag){r.tag=true}if(t.move){r.move=true}if(t.execute){r.execute=true}if(t.setImmutabilityPolicy){r.setImmutabilityPolicy=true}if(t.permanentDelete){r.permanentDelete=true}if(t.filterByTags){r.filterByTags=true}return r};e.prototype.toString=function(){var e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.list){e.push("l")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}if(this.filterByTags){e.push("f")}return e.join("")};return e}();function VA(e){return e.end?"".concat(e.start,"-").concat(e.end):e.start}var XA;(function(e){e["Https"]="https";e["HttpsAndHttp"]="https,http"})(XA||(XA={}));var WA=function(){function e(e,t,r,i,n,a,o,s,l,c,u,d,m,p,f,h,g,v,y,A,b,x,N,C){this.version=e;this.signature=t;if(r!==undefined&&typeof r!=="string"){this.permissions=r.permissions;this.services=r.services;this.resourceTypes=r.resourceTypes;this.protocol=r.protocol;this.startsOn=r.startsOn;this.expiresOn=r.expiresOn;this.ipRangeInner=r.ipRange;this.identifier=r.identifier;this.delegatedUserObjectId=r.delegatedUserObjectId;this.encryptionScope=r.encryptionScope;this.resource=r.resource;this.cacheControl=r.cacheControl;this.contentDisposition=r.contentDisposition;this.contentEncoding=r.contentEncoding;this.contentLanguage=r.contentLanguage;this.contentType=r.contentType;this.requestHeaderKeys=r.requestHeaderKeys;this.requestQueryParameterKeys=r.requestQueryParameterKeys;this.directoryDepth=r.directoryDepth;if(r.userDelegationKey){this.signedOid=r.userDelegationKey.signedObjectId;this.signedTenantId=r.userDelegationKey.signedTenantId;this.signedStartsOn=r.userDelegationKey.signedStartsOn;this.signedExpiresOn=r.userDelegationKey.signedExpiresOn;this.signedService=r.userDelegationKey.signedService;this.signedVersion=r.userDelegationKey.signedVersion;this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId;this.correlationId=r.correlationId}}else{this.services=i;this.resourceTypes=n;this.expiresOn=s;this.permissions=r;this.protocol=a;this.startsOn=o;this.ipRangeInner=l;this.delegatedUserObjectId=b;this.encryptionScope=A;this.identifier=c;this.resource=u;this.cacheControl=d;this.contentDisposition=m;this.contentEncoding=p;this.contentLanguage=f;this.contentType=h;this.requestHeaderKeys=x;this.requestQueryParameterKeys=N;this.directoryDepth=C;if(g){this.signedOid=g.signedObjectId;this.signedTenantId=g.signedTenantId;this.signedStartsOn=g.signedStartsOn;this.signedExpiresOn=g.signedExpiresOn;this.signedService=g.signedService;this.signedVersion=g.signedVersion;this.signedDelegatedUserTid=g.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=v;this.correlationId=y}}}Object.defineProperty(e.prototype,"ipRange",{get:function(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined},enumerable:false,configurable:true});e.prototype.toString=function(){var e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"];var t=[];for(var r=0,i=e;r<i.length;r++){var n=i[r];switch(n){case"sv":this.tryAppendQueryParameter(t,n,this.version);break;case"ss":this.tryAppendQueryParameter(t,n,this.services);break;case"srt":this.tryAppendQueryParameter(t,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,n,this.protocol);break;case"st":this.tryAppendQueryParameter(t,n,this.startsOn?EA(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,n,this.expiresOn?EA(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,n,this.ipRange?VA(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,n,this.signedStartsOn?EA(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,n,this.signedExpiresOn?EA(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,n,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(t,n,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(t,n,this.resource);break;case"sp":this.tryAppendQueryParameter(t,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(t,n,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(t,n,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(t,n,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(t,n,this.directoryDepth!==undefined?this.directoryDepth.toString():"");break}}return t.join("&")};e.prototype.tryAppendQueryParameter=function(e,t,r){if(!r){return}t=encodeURIComponent(t);r=encodeURIComponent(r);if(t.length>0&&r.length>0){e.push("".concat(t,"=").concat(r))}};return e}();function ZA(e,t,r){return $A(e,t,r).sasQueryParameters}function $A(e,t,r){var i=e.version?e.version:Ku;var n=t instanceof Iu?t:undefined;var a;if(n===undefined&&r!==undefined){a=new Yu(r,t)}if(n===undefined&&a===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(i>="2020-12-06"){if(n!==undefined){return ib(e,n)}else{if(i>="2026-04-06"){return lb(e,a)}else if(i>="2025-07-05"){return sb(e,a)}else{return ob(e,a)}}}if(i>="2018-11-09"){if(n!==undefined){if(i>="2020-02-10"){return rb(e,n)}else{return tb(e,n)}}else{if(i>="2020-02-10"){return ab(e,a)}else{return nb(e,a)}}}if(i>="2015-04-05"){if(n!==undefined){return eb(e,n)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function eb(e,t){e=pb(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";if(e.blobName){r="b"}var i;if(e.permissions){if(e.blobName){i=KA.parse(e.permissions.toString()).toString()}else{i=JA.parse(e.permissions.toString()).toString()}}var n=[i?i:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var a=t.computeHMACSHA256(n);return{sasQueryParameters:new WA(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}function tb(e,t){e=pb(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";var i=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}var n;if(e.permissions){if(e.blobName){n=KA.parse(e.permissions.toString()).toString()}else{n=JA.parse(e.permissions.toString()).toString()}}var a=[n?n:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:a}}function rb(e,t){e=pb(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=fb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=KA.parse(e.permissions.toString()).toString()}else{a=JA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new WA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,undefined,undefined,undefined,undefined,n),stringToSign:o}}function ib(e,t){e=pb(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=fb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=KA.parse(e.permissions.toString()).toString()}else{a=JA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new WA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope,undefined,undefined,undefined,n),stringToSign:o}}function nb(e,t){e=pb(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}var n;if(e.permissions){if(e.blobName){n=KA.parse(e.permissions.toString()).toString()}else{n=JA.parse(e.permissions.toString()).toString()}}var a=[n?n:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?EA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?EA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:a}}function ab(e,t){e=pb(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=fb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=KA.parse(e.permissions.toString()).toString()}else{a=JA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?EA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?EA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new WA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,undefined,undefined,undefined,undefined,n),stringToSign:o}}function ob(e,t){e=pb(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=fb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=KA.parse(e.permissions.toString()).toString()}else{a=JA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?EA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?EA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new WA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,undefined,undefined,undefined,n),stringToSign:o}}function sb(e,t){e=pb(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=fb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=KA.parse(e.permissions.toString()).toString()}else{a=JA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?EA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?EA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new WA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,undefined,undefined,n),stringToSign:o}}function lb(e,t){e=pb(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}var r="c";var i=e.snapshotTime;var n=undefined;if(e.blobName){if(e.isDirectory===true){r="d";n=fb(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";i=e.versionId}}}var a;if(e.permissions){if(e.blobName){a=KA.parse(e.permissions.toString()).toString()}else{a=JA.parse(e.permissions.toString()).toString()}}var o=[a?a:"",e.startsOn?EA(e.startsOn,false):"",e.expiresOn?EA(e.expiresOn,false):"",mb(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?EA(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?EA(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?VA(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,i,e.encryptionScope,cb(e.requestHeaders),ub(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");var s=t.computeHMACSHA256(o);return{sasQueryParameters:new WA(e.version,s,a,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,db(e.requestHeaders),db(e.requestQueryParameters),n),stringToSign:o}}function cb(e){if(e===undefined){return undefined}var t="";Object.keys(e).forEach((function(r){t=t+r+":"+e[r]+"\n"}));return t}function ub(e){if(e===undefined){return undefined}var t="";Object.keys(e).forEach((function(r){t=t+"\n"+r+":"+e[r]}));return t}function db(e){if(e===undefined){return undefined}var t="";var r=0;Object.keys(e).forEach((function(e){if(r!==0){t=t+","}t=t+e;++r}));return t}function mb(e,t,r){var i=["/blob/".concat(e,"/").concat(t)];if(r){i.push("/".concat(r))}return i.join("")}function pb(e){var t=e.version?e.version:Ku;if(e.snapshotTime&&t<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(e.blobName===undefined&&e.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(e.versionId&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(e.blobName===undefined&&e.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(e.permissions&&e.permissions.tag&&t<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(e.encryptionScope&&t<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}e.version=t;return e}function fb(e){var t=e;while(t.startsWith("/")){t=t.substring(1)}while(t.endsWith("/")){t=t.substring(0,t.length-1)}return t}var hb=function(){function e(e,t){var r=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=r.container}else{this._isContainer=false;this._containerOrBlobOperation=r.blob}if(!t){t=Na()}this._leaseId=t}Object.defineProperty(e.prototype,"leaseId",{get:function(){return this._leaseId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:false,configurable:true});e.prototype.acquireLease=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;var i,n,a,o,s;if(t===void 0){t={}}return __generator(this,(function(l){if(this._isContainer&&(((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)&&((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)!==rd||((a=t.conditions)===null||a===void 0?void 0:a.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==rd||((s=t.conditions)===null||s===void 0?void 0:s.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,jA.withSpan("BlobLeaseClient-acquireLease",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),proposedLeaseId:this._leaseId,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};e.prototype.changeLease=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;var i,n,a,o,s;if(t===void 0){t={}}return __generator(this,(function(l){if(this._isContainer&&(((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)&&((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)!==rd||((a=t.conditions)===null||a===void 0?void 0:a.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==rd||((s=t.conditions)===null||s===void 0?void 0:s.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,jA.withSpan("BlobLeaseClient-changeLease",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:n=OA;return[4,this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:i.tracingOptions})];case 1:r=n.apply(void 0,[o.sent()]);this._leaseId=e;return[2,r]}}))}))}))]}))}))};e.prototype.releaseLease=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;var r,i,n,a,o;if(e===void 0){e={}}return __generator(this,(function(s){if(this._isContainer&&(((r=e.conditions)===null||r===void 0?void 0:r.ifMatch)&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==rd||((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((a=e.conditions)===null||a===void 0?void 0:a.ifNoneMatch)!==rd||((o=e.conditions)===null||o===void 0?void 0:o.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,jA.withSpan("BlobLeaseClient-releaseLease",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i;return __generator(this,(function(n){switch(n.label){case 0:t=OA;return[4,this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))}))]}))}))};e.prototype.renewLease=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;var r,i,n,a,o;if(e===void 0){e={}}return __generator(this,(function(s){if(this._isContainer&&(((r=e.conditions)===null||r===void 0?void 0:r.ifMatch)&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==rd||((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((a=e.conditions)===null||a===void 0?void 0:a.ifNoneMatch)!==rd||((o=e.conditions)===null||o===void 0?void 0:o.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,jA.withSpan("BlobLeaseClient-renewLease",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){return[2,this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(t=e.conditions)===null||t===void 0?void 0:t.tagConditions}),tracingOptions:r.tracingOptions})]}))}))}))]}))}))};e.prototype.breakLease=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;var i,n,a,o,s;if(t===void 0){t={}}return __generator(this,(function(l){if(this._isContainer&&(((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)&&((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)!==rd||((a=t.conditions)===null||a===void 0?void 0:a.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==rd||((s=t.conditions)===null||s===void 0?void 0:s.tagConditions))){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return[2,jA.withSpan("BlobLeaseClient-breakLease",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:r={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:i.tracingOptions};n=OA;return[4,this._containerOrBlobOperation.breakLease(r)];case 1:return[2,n.apply(void 0,[o.sent()])]}}))}))}))]}))}))};return e}();var gb=function(){function e(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}throw new Error("BlobDownloadResponse is not supported in the browser.")}return e}();var vb=function(){function e(e,t){if(t===void 0){t={}}this.originalResponse=e}Object.defineProperty(e.prototype,"acceptRanges",{get:function(){return this.originalResponse.acceptRanges},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"cacheControl",{get:function(){return this.originalResponse.cacheControl},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentDisposition",{get:function(){return this.originalResponse.contentDisposition},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentEncoding",{get:function(){return this.originalResponse.contentEncoding},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentLanguage",{get:function(){return this.originalResponse.contentLanguage},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobSequenceNumber",{get:function(){return this.originalResponse.blobSequenceNumber},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobType",{get:function(){return this.originalResponse.blobType},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentLength",{get:function(){return this.originalResponse.contentLength},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentMD5",{get:function(){return this.originalResponse.contentMD5},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentRange",{get:function(){return this.originalResponse.contentRange},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentType",{get:function(){return this.originalResponse.contentType},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyCompletedOn",{get:function(){return undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyId",{get:function(){return this.originalResponse.copyId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyProgress",{get:function(){return this.originalResponse.copyProgress},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copySource",{get:function(){return this.originalResponse.copySource},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyStatus",{get:function(){return this.originalResponse.copyStatus},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"copyStatusDescription",{get:function(){return this.originalResponse.copyStatusDescription},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"leaseDuration",{get:function(){return this.originalResponse.leaseDuration},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"leaseState",{get:function(){return this.originalResponse.leaseState},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"leaseStatus",{get:function(){return this.originalResponse.leaseStatus},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"date",{get:function(){return this.originalResponse.date},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobCommittedBlockCount",{get:function(){return this.originalResponse.blobCommittedBlockCount},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"etag",{get:function(){return this.originalResponse.etag},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"errorCode",{get:function(){return this.originalResponse.errorCode},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isServerEncrypted",{get:function(){return this.originalResponse.isServerEncrypted},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobContentMD5",{get:function(){return this.originalResponse.blobContentMD5},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastModified",{get:function(){return this.originalResponse.lastModified},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"metadata",{get:function(){return this.originalResponse.metadata},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"requestId",{get:function(){return this.originalResponse.requestId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"clientRequestId",{get:function(){return this.originalResponse.clientRequestId},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"version",{get:function(){return this.originalResponse.version},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"encryptionKeySha256",{get:function(){return this.originalResponse.encryptionKeySha256},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"contentCrc64",{get:function(){return this.originalResponse.contentCrc64},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"blobBody",{get:function(){throw Error("Quick query in browser is not supported yet.")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"readableStreamBody",{get:function(){return undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"_response",{get:function(){return this.originalResponse._response},enumerable:false,configurable:true});return e}();var yb;(function(e){e["Hot"]="Hot";e["Cool"]="Cool";e["Cold"]="Cold";e["Archive"]="Archive"})(yb||(yb={}));var Ab;(function(e){e["P4"]="P4";e["P6"]="P6";e["P10"]="P10";e["P15"]="P15";e["P20"]="P20";e["P30"]="P30";e["P40"]="P40";e["P50"]="P50";e["P60"]="P60";e["P70"]="P70";e["P80"]="P80"})(Ab||(Ab={}));function bb(e){if(e===undefined){return undefined}return e}function xb(e,t){if(e&&!t){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(e&&!e.encryptionAlgorithm){e.encryptionAlgorithm=nd}}var Nb;(function(e){e["StorageOAuthScopes"]="https://storage.azure.com/.default";e["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(Nb||(Nb={}));function Cb(e){var t=(e._response.parsedBody.pageRange||[]).map((function(e){return{offset:e.start,count:e.end-e.start}}));var r=(e._response.parsedBody.clearRange||[]).map((function(e){return{offset:e.start,count:e.end-e.start}}));return __assign(__assign({},e),{pageRange:t,clearRange:r,_response:__assign(__assign({},e._response),{parsedBody:{pageRange:t,clearRange:r}})})}var zb=function(e){__extends(t,e);function t(r){var i=e.call(this,r)||this;i.name="PollerStoppedError";Object.setPrototypeOf(i,t.prototype);return i}return t}(Error);var Ib=function(e){__extends(t,e);function t(r){var i=e.call(this,r)||this;i.name="PollerCancelledError";Object.setPrototypeOf(i,t.prototype);return i}return t}(Error);var wb=function(){function e(e){var t=this;this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=e;this.promise=new Promise((function(e,r){t.resolve=e;t.reject=r}));this.promise.catch((function(){}))}e.prototype.startPolling=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={}}return __generator(this,(function(t){switch(t.label){case 0:if(this.stopped){this.stopped=false}t.label=1;case 1:if(!(!this.isStopped()&&!this.isDone()))return[3,4];return[4,this.poll(e)];case 2:t.sent();return[4,this.delay()];case 3:t.sent();return[3,1];case 4:return[2]}}))}))};e.prototype.pollOnce=function(){return __awaiter(this,arguments,void 0,(function(e){var t;if(e===void 0){e={}}return __generator(this,(function(r){switch(r.label){case 0:if(!!this.isDone())return[3,2];t=this;return[4,this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})];case 1:t.operation=r.sent();r.label=2;case 2:this.processUpdatedState();return[2]}}))}))};e.prototype.fireProgress=function(e){for(var t=0,r=this.pollProgressCallbacks;t<r.length;t++){var i=r[t];i(e)}};e.prototype.cancelOnce=function(){return __awaiter(this,arguments,void 0,(function(e){var t;if(e===void 0){e={}}return __generator(this,(function(r){switch(r.label){case 0:t=this;return[4,this.operation.cancel(e)];case 1:t.operation=r.sent();return[2]}}))}))};e.prototype.poll=function(e){var t=this;if(e===void 0){e={}}if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);var r=function(){t.pollOncePromise=undefined};this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise};e.prototype.processUpdatedState=function(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){var e=new Ib("Operation was canceled");this.reject(e);throw e}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}};e.prototype.pollUntilDone=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={}}return __generator(this,(function(t){if(this.stopped){this.startPolling(e).catch(this.reject)}this.processUpdatedState();return[2,this.promise]}))}))};e.prototype.onProgress=function(e){var t=this;this.pollProgressCallbacks.push(e);return function(){t.pollProgressCallbacks=t.pollProgressCallbacks.filter((function(t){return t!==e}))}};e.prototype.isDone=function(){var e=this.operation.state;return Boolean(e.isCompleted||e.isCancelled||e.error)};e.prototype.stopPolling=function(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new zb("This poller is already stopped"))}}};e.prototype.isStopped=function(){return this.stopped};e.prototype.cancelOperation=function(e){if(e===void 0){e={}}if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(e)}else if(e.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise};e.prototype.getOperationState=function(){return this.operation.state};e.prototype.getResult=function(){var e=this.operation.state;return e.result};e.prototype.toString=function(){return this.operation.toString()};return e}();var Sb=function(e){__extends(t,e);function t(t){var r=this;var i=t.blobClient,n=t.copySource,a=t.intervalInMs,o=a===void 0?15e3:a,s=t.onProgress,l=t.resumeFrom,c=t.startCopyFromURLOptions;var u;if(l){u=JSON.parse(l).state}var d=kb(__assign(__assign({},u),{blobClient:i,copySource:n,startCopyFromURLOptions:c}));r=e.call(this,d)||this;if(typeof s==="function"){r.onProgress(s)}r.intervalInMs=o;return r}t.prototype.delay=function(){return Aa(this.intervalInMs)};return t}(wb);var Bb=function e(){return __awaiter(this,arguments,void 0,(function(e){var t,r;if(e===void 0){e={}}return __generator(this,(function(i){switch(i.label){case 0:t=this.state;r=t.copyId;if(t.isCompleted){return[2,kb(t)]}if(!r){t.isCancelled=true;return[2,kb(t)]}return[4,t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal})];case 1:i.sent();t.isCancelled=true;return[2,kb(t)]}}))}))};var Eb=function e(){return __awaiter(this,arguments,void 0,(function(e){var t,r,i,n,a,a,o,s,l,c;if(e===void 0){e={}}return __generator(this,(function(u){switch(u.label){case 0:t=this.state;r=t.blobClient,i=t.copySource,n=t.startCopyFromURLOptions;if(!!t.isStarted)return[3,2];t.isStarted=true;return[4,r.startCopyFromURL(i,n)];case 1:a=u.sent();t.copyId=a.copyId;if(a.copyStatus==="success"){t.result=a;t.isCompleted=true}return[3,6];case 2:if(!!t.isCompleted)return[3,6];u.label=3;case 3:u.trys.push([3,5,,6]);return[4,t.blobClient.getProperties({abortSignal:e.abortSignal})];case 4:a=u.sent();o=a.copyStatus,s=a.copyProgress;l=t.copyProgress;if(s){t.copyProgress=s}if(o==="pending"&&s!==l&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(o==="success"){t.result=a;t.isCompleted=true}else if(o==="failed"){t.error=new Error('Blob copy failed with reason: "'.concat(a.copyStatusDescription||"unknown",'"'));t.isCompleted=true}return[3,6];case 5:c=u.sent();t.error=c;t.isCompleted=true;return[3,6];case 6:return[2,kb(t)]}}))}))};var _b=function e(){return JSON.stringify({state:this.state},(function(e,t){if(e==="blobClient"){return undefined}return t}))};function kb(e){return{state:__assign({},e),cancel:Bb,toString:_b,update:Eb}}function Qb(e){if(e.offset<0){throw new RangeError("Range.offset cannot be smaller than 0.")}if(e.count&&e.count<=0){throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.")}return e.count?"bytes=".concat(e.offset,"-").concat(e.offset+e.count-1):"bytes=".concat(e.offset,"-")}var Pb;function Mb(){}Mb.prototype=Object.create(null);function Db(){Db.init.call(this)}Db.EventEmitter=Db;Db.usingDomains=false;Db.prototype.domain=undefined;Db.prototype._events=undefined;Db.prototype._maxListeners=undefined;Db.defaultMaxListeners=10;Db.init=function(){this.domain=null;if(Db.usingDomains){if(Pb.active&&!(this instanceof Pb.Domain)){this.domain=Pb.active}}if(!this._events||this._events===Object.getPrototypeOf(this)._events){this._events=new Mb;this._eventsCount=0}this._maxListeners=this._maxListeners||undefined};Db.prototype.setMaxListeners=function e(t){if(typeof t!=="number"||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');this._maxListeners=t;return this};function Rb(e){if(e._maxListeners===undefined)return Db.defaultMaxListeners;return e._maxListeners}Db.prototype.getMaxListeners=function e(){return Rb(this)};function Tb(e,t,r){if(t)e.call(r);else{var i=e.length;var n=Kb(e,i);for(var a=0;a<i;++a)n[a].call(r)}}function qb(e,t,r,i){if(t)e.call(r,i);else{var n=e.length;var a=Kb(e,n);for(var o=0;o<n;++o)a[o].call(r,i)}}function Hb(e,t,r,i,n){if(t)e.call(r,i,n);else{var a=e.length;var o=Kb(e,a);for(var s=0;s<a;++s)o[s].call(r,i,n)}}function Ub(e,t,r,i,n,a){if(t)e.call(r,i,n,a);else{var o=e.length;var s=Kb(e,o);for(var l=0;l<o;++l)s[l].call(r,i,n,a)}}function Lb(e,t,r,i){if(t)e.apply(r,i);else{var n=e.length;var a=Kb(e,n);for(var o=0;o<n;++o)a[o].apply(r,i)}}Db.prototype.emit=function e(t){var r,i,n,a,o,s,l;var c=t==="error";s=this._events;if(s)c=c&&s.error==null;else if(!c)return false;l=this.domain;if(c){r=arguments[1];if(l){if(!r)r=new Error('Uncaught, unspecified "error" event');r.domainEmitter=this;r.domain=l;r.domainThrown=false;l.emit("error",r)}else if(r instanceof Error){throw r}else{var u=new Error('Uncaught, unspecified "error" event. ('+r+")");u.context=r;throw u}return false}i=s[t];if(!i)return false;var d=typeof i==="function";n=arguments.length;switch(n){case 1:Tb(i,d,this);break;case 2:qb(i,d,this,arguments[1]);break;case 3:Hb(i,d,this,arguments[1],arguments[2]);break;case 4:Ub(i,d,this,arguments[1],arguments[2],arguments[3]);break;default:a=new Array(n-1);for(o=1;o<n;o++)a[o-1]=arguments[o];Lb(i,d,this,a)}return true};function Fb(e,t,r,i){var n;var a;var o;if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');a=e._events;if(!a){a=e._events=new Mb;e._eventsCount=0}else{if(a.newListener){e.emit("newListener",t,r.listener?r.listener:r);a=e._events}o=a[t]}if(!o){o=a[t]=r;++e._eventsCount}else{if(typeof o==="function"){o=a[t]=i?[r,o]:[o,r]}else{if(i){o.unshift(r)}else{o.push(r)}}if(!o.warned){n=Rb(e);if(n&&n>0&&o.length>n){o.warned=true;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+t+" listeners added. "+"Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning";s.emitter=e;s.type=t;s.count=o.length;Ob(s)}}}return e}function Ob(e){typeof console.warn==="function"?console.warn(e):console.log(e)}Db.prototype.addListener=function e(t,r){return Fb(this,t,r,false)};Db.prototype.on=Db.prototype.addListener;Db.prototype.prependListener=function e(t,r){return Fb(this,t,r,true)};function Gb(e,t,r){var i=false;function n(){e.removeListener(t,n);if(!i){i=true;r.apply(e,arguments)}}n.listener=r;return n}Db.prototype.once=function e(t,r){if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');this.on(t,Gb(this,t,r));return this};Db.prototype.prependOnceListener=function e(t,r){if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');this.prependListener(t,Gb(this,t,r));return this};Db.prototype.removeListener=function e(t,r){var i,n,a,o,s;if(typeof r!=="function")throw new TypeError('"listener" argument must be a function');n=this._events;if(!n)return this;i=n[t];if(!i)return this;if(i===r||i.listener&&i.listener===r){if(--this._eventsCount===0)this._events=new Mb;else{delete n[t];if(n.removeListener)this.emit("removeListener",t,i.listener||r)}}else if(typeof i!=="function"){a=-1;for(o=i.length;o-- >0;){if(i[o]===r||i[o].listener&&i[o].listener===r){s=i[o].listener;a=o;break}}if(a<0)return this;if(i.length===1){i[0]=undefined;if(--this._eventsCount===0){this._events=new Mb;return this}else{delete n[t]}}else{jb(i,a)}if(n.removeListener)this.emit("removeListener",t,s||r)}return this};Db.prototype.off=function(e,t){return this.removeListener(e,t)};Db.prototype.removeAllListeners=function e(t){var r,i;i=this._events;if(!i)return this;if(!i.removeListener){if(arguments.length===0){this._events=new Mb;this._eventsCount=0}else if(i[t]){if(--this._eventsCount===0)this._events=new Mb;else delete i[t]}return this}if(arguments.length===0){var n=Object.keys(i);for(var a=0,o;a<n.length;++a){o=n[a];if(o==="removeListener")continue;this.removeAllListeners(o)}this.removeAllListeners("removeListener");this._events=new Mb;this._eventsCount=0;return this}r=i[t];if(typeof r==="function"){this.removeListener(t,r)}else if(r){do{this.removeListener(t,r[r.length-1])}while(r[0])}return this};Db.prototype.listeners=function e(t){var r;var i;var n=this._events;if(!n)i=[];else{r=n[t];if(!r)i=[];else if(typeof r==="function")i=[r.listener||r];else i=Jb(r)}return i};Db.listenerCount=function(e,t){if(typeof e.listenerCount==="function"){return e.listenerCount(t)}else{return Yb.call(e,t)}};Db.prototype.listenerCount=Yb;function Yb(e){var t=this._events;if(t){var r=t[e];if(typeof r==="function"){return 1}else if(r){return r.length}}return 0}Db.prototype.eventNames=function e(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function jb(e,t){for(var r=t,i=r+1,n=e.length;i<n;r+=1,i+=1)e[r]=e[i];e.pop()}function Kb(e,t){var r=new Array(t);while(t--)r[t]=e[t];return r}function Jb(e){var t=new Array(e.length);for(var r=0;r<t.length;++r){t[r]=e[r].listener||e[r]}return t}var Vb;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})(Vb||(Vb={}));var Xb=function(){function e(e){if(e===void 0){e=5}this.actives=0;this.completed=0;this.offset=0;this.operations=[];this.state=Vb.Good;if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new Db}e.prototype.addOperation=function(e){var t=this;this.operations.push((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);this.actives++;return[4,e()];case 1:r.sent();this.actives--;this.completed++;this.parallelExecute();return[3,3];case 2:t=r.sent();this.emitter.emit("error",t);return[3,3];case 3:return[2]}}))}))}))};e.prototype.do=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){if(this.operations.length===0){return[2,Promise.resolve()]}this.parallelExecute();return[2,new Promise((function(t,r){e.emitter.on("finish",t);e.emitter.on("error",(function(t){e.state=Vb.Error;r(t)}))}))]}))}))};e.prototype.nextOperation=function(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null};e.prototype.parallelExecute=function(){if(this.state===Vb.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){var e=this.nextOperation();if(e){e()}else{return}}};return e}();function Wb(e,t,r,i,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("streamToBuffer is not supported in the browser.")}))}))}function Zb(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("readStreamToLocalFile is not supported in the browser.")}))}))}var $b=function e(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){throw new Error("fsStat is not supported in the browser.")}))}))};var ex=function e(t,r){throw new Error("fsCreateReadStream is not supported in the browser.")};var tx=function(e){__extends(t,e);function t(t,r,i,n){var a;var o=this;n=n||{};var s;var l;if(dd(r)){l=t;s=r;n=i}else if(Ca&&r instanceof Iu||r instanceof zu||po(r)){l=t;n=i;s=pd(r,n)}else if(!r&&typeof r!=="string"){l=t;if(i&&typeof i!=="string"){n=i}s=pd(new zu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var c=r;var u=i;var d=NA(t);if(d.kind==="AccountConnString"){if(Ca){var m=new Iu(d.accountName,d.accountKey);l=zA(zA(d.url,encodeURIComponent(c)),encodeURIComponent(u));if(!n.proxyOptions){n.proxyOptions=wa()}s=pd(m,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(d.kind==="SASConnString"){l=zA(zA(d.url,encodeURIComponent(c)),encodeURIComponent(u))+"?"+d.accountSas;s=pd(new zu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}o=e.call(this,l,s)||this;a=o.getBlobAndContainerNamesFromUrl(),o._name=a.blobName,o._containerName=a.containerName;o.blobContext=o.storageClientContext.blob;o._snapshot=wA(o.url,td.Parameters.SNAPSHOT);o._versionId=wA(o.url,td.Parameters.VERSIONID);o.blobClientConfig=n;return o}Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"containerName",{get:function(){return this._containerName},enumerable:false,configurable:true});t.prototype.withSnapshot=function(e){return new t(IA(this.url,td.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.withVersion=function(e){return new t(IA(this.url,td.Parameters.VERSIONID,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.getAppendBlobClient=function(){return new rx(this.url,this.pipeline,this.blobClientConfig)};t.prototype.getBlockBlobClient=function(){return new ix(this.url,this.pipeline,this.blobClientConfig)};t.prototype.getPageBlobClient=function(){return new nx(this.url,this.pipeline,this.blobClientConfig)};t.prototype.download=function(){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(e===void 0){e=0}if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};r.conditions=r.conditions||{};xb(r.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlobClient-download",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a,o,s,l,c,u;var d=this;var m,p,f;return __generator(this,(function(h){switch(h.label){case 0:i=(m=r.contentChecksumAlgorithm)!==null&&m!==void 0?m:(p=this.blobClientConfig)===null||p===void 0?void 0:p.downloadContentChecksumAlgorithm;if(i===undefined){i="Customized"}else if(i==="Auto"){i="StorageCrc64"}if(!(i==="StorageCrc64"))return[3,2];return[4,Yc.init()];case 1:h.sent();h.label=2;case 2:o=OA;return[4,this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(f=r.conditions)===null||f===void 0?void 0:f.tagConditions}),requestOptions:{onDownloadProgress:Ca?undefined:r.onProgress},range:e===0&&!t?undefined:Qb({offset:e,count:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions,structuredBodyType:i==="StorageCrc64"?"XSM/1.0; properties=crc64":undefined})];case 3:a=o.apply(void 0,[h.sent()]);s=__assign(__assign({},a),{_response:a._response,objectReplicationDestinationPolicyId:a.objectReplicationPolicyId,objectReplicationSourceProperties:UA(a.objectReplicationRules)});if(!!Ca)return[3,6];if(!(i==="StorageCrc64"))return[3,5];l=s;c=uu;return[4,s.blobBody];case 4:l.blobBody=c.apply(void 0,[h.sent()]);h.label=5;case 5:return[2,s];case 6:if(r.maxRetryRequests===undefined||r.maxRetryRequests<0){r.maxRetryRequests=$u}if(a.contentLength===undefined){throw new RangeError("File download response doesn't contain valid content length header")}if(i==="StorageCrc64"&&a.structuredContentLength===undefined){throw new RangeError("Unexpected structured content length")}if(!a.etag){throw new RangeError("File download response doesn't contain valid etag header")}u=i==="StorageCrc64"?a.structuredContentLength:a.contentLength;return[2,new gb(s,(function(t){return __awaiter(d,void 0,void 0,(function(){var n,o;var s;return __generator(this,(function(l){switch(l.label){case 0:n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||a.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions},range:Qb({count:e+u-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:i==="StorageCrc64"?"XSM/1.0; properties=crc64":undefined};return[4,this.blobContext.download(__assign({abortSignal:r.abortSignal},n))];case 1:o=l.sent().readableStreamBody;if(i==="StorageCrc64"){return[2,lu(o,{})]}else{return[2,o]}return[2]}}))}))}),e,u,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})]}}))}))}))]}))}))};t.prototype.exists=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,jA.withSpan("BlobClient-exists",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);xb(e.customerProvidedKey,this.isHttps);return[4,this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions})];case 1:i.sent();return[2,true];case 2:t=i.sent();if(t.statusCode===404){return[2,false]}else if(t.statusCode===409&&(t.details.errorCode===ld||t.details.errorCode===cd)){return[2,true]}throw t;case 3:return[2]}}))}))}))]}))}))};t.prototype.getProperties=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};xb(e.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlobClient-getProperties",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t,i;var n;return __generator(this,(function(a){switch(a.label){case 0:i=OA;return[4,this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions})];case 1:t=i.apply(void 0,[a.sent()]);return[2,__assign(__assign({},t),{_response:t._response,objectReplicationDestinationPolicyId:t.objectReplicationPolicyId,objectReplicationSourceProperties:UA(t.objectReplicationRules)})]}}))}))}))]}))}))};t.prototype.delete=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};return[2,jA.withSpan("BlobClient-delete",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=OA;return[4,this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:r.tracingOptions,accessTierIfModifiedSince:(n=e.conditions)===null||n===void 0?void 0:n.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:(a=e.conditions)===null||a===void 0?void 0:a.accessTierIfUnmodifiedSince})];case 1:return[2,t.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.deleteIfExists=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,jA.withSpan("BlobClient-deleteIfExists",e,(function(e){return __awaiter(t,void 0,void 0,(function(){var t,r,i;var n,a;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);r=OA;return[4,this.delete(e)];case 1:t=r.apply(void 0,[o.sent()]);return[2,__assign(__assign({succeeded:true},t),{_response:t._response})];case 2:i=o.sent();if(((n=i.details)===null||n===void 0?void 0:n.errorCode)==="BlobNotFound"){return[2,__assign(__assign({succeeded:false},(a=i.response)===null||a===void 0?void 0:a.parsedHeaders),{_response:i.response})]}throw i;case 3:return[2]}}))}))}))]}))}))};t.prototype.undelete=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,jA.withSpan("BlobClient-undelete",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=OA;return[4,this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[i.sent()])]}}))}))}))]}))}))};t.prototype.setHTTPHeaders=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};xb(t.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlobClient-setHTTPHeaders",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.setMetadata=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};xb(t.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlobClient-setMetadata",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.setTags=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlobClient-setTags",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),blobModifiedAccessConditions:t.conditions,tracingOptions:i.tracingOptions,tags:TA(e)})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.getTags=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,jA.withSpan("BlobClient-getTags",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t,i,n;var a;return __generator(this,(function(o){switch(o.label){case 0:i=OA;return[4,this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(a=e.conditions)===null||a===void 0?void 0:a.tagConditions}),blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})];case 1:t=i.apply(void 0,[o.sent()]);n=__assign(__assign({},t),{_response:t._response,tags:qA({blobTagSet:t.blobTagSet})||{}});return[2,n]}}))}))}))]}))}))};t.prototype.getBlobLeaseClient=function(e){return new hb(this,e)};t.prototype.createSnapshot=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};xb(e.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlobClient-createSnapshot",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i;return __generator(this,(function(n){switch(n.label){case 0:t=OA;return[4,this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))}))]}))}))};t.prototype.beginCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r,i;var n=this;if(t===void 0){t={}}return __generator(this,(function(a){switch(a.label){case 0:r={abortCopyFromURL:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n.abortCopyFromURL.apply(n,e)},getProperties:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n.getProperties.apply(n,e)},startCopyFromURL:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n.startCopyFromURL.apply(n,e)}};i=new Sb({blobClient:r,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return[4,i.poll()];case 1:a.sent();return[2,i]}}))}))};t.prototype.abortCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlobClient-abortCopyFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:r=OA;return[4,this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[n.sent()])]}}))}))}))]}))}))};t.prototype.syncCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return[2,jA.withSpan("BlobClient-syncCopyFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o,s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:r=OA;return[4,this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=t.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(s=t.sourceConditions)===null||s===void 0?void 0:s.ifNoneMatch,sourceIfUnmodifiedSince:(l=t.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:LA(t.sourceAuthorization),tier:bb(t.tier),blobTagsString:RA(t.tags),immutabilityPolicyExpiry:(c=t.immutabilityPolicy)===null||c===void 0?void 0:c.expiriesOn,immutabilityPolicyMode:(u=t.immutabilityPolicy)===null||u===void 0?void 0:u.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[d.sent()])]}}))}))}))]}))}))};t.prototype.setAccessTier=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlobClient-setAccessTier",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this.blobContext.setTier(bb(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),rehydratePriority:t.rehydratePriority,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.downloadToBuffer=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n,a,o,s,l;var c=this;var u;if(i===void 0){i={}}return __generator(this,(function(d){a=0;o=0;s=i;if(e instanceof Jl){n=e;a=t||0;o=typeof r==="number"?r:0}else{a=typeof e==="number"?e:0;o=typeof t==="number"?t:0;s=r||{}}l=(u=s.blockSize)!==null&&u!==void 0?u:0;if(l<0){throw new RangeError("blockSize option must be >= 0")}if(l===0){l=Zu}if(a<0){throw new RangeError("offset option must be >= 0")}if(o&&o<=0){throw new RangeError("count option must be greater than 0")}if(!s.conditions){s.conditions={}}return[2,jA.withSpan("BlobClient-downloadToBuffer",s,(function(e){return __awaiter(c,void 0,void 0,(function(){var t,r,i,c,u;var d=this;return __generator(this,(function(m){switch(m.label){case 0:if(!!o)return[3,2];return[4,this.getProperties(__assign(__assign({},s),{tracingOptions:e.tracingOptions}))];case 1:t=m.sent();o=t.contentLength-a;if(o<0){throw new RangeError("offset ".concat(a," shouldn't be larger than blob size ").concat(t.contentLength))}m.label=2;case 2:if(!n){try{n=Jl.alloc(o)}catch(e){throw new Error("Unable to allocate the buffer of size: ".concat(o,'(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ').concat(e.message))}}if(n.length<o){throw new RangeError("The buffer's size should be equal to or larger than the request count of bytes: ".concat(o))}r=0;i=new Xb(s.concurrency);c=function(t){i.addOperation((function(){return __awaiter(d,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:i=a+o;if(t+l<i){i=t+l}return[4,this.download(t,i-t,{abortSignal:s.abortSignal,conditions:s.conditions,maxRetryRequests:s.maxRetryRequestsPerBlock,customerProvidedKey:s.customerProvidedKey,contentChecksumAlgorithm:s.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})];case 1:n.sent();return[4,Wb()];case 2:n.sent();r+=i-t;if(s.onProgress){s.onProgress({loadedBytes:r})}return[2]}}))}))}))};for(u=a;u<a+o;u=u+l){c(u)}return[4,i.do()];case 3:m.sent();return[2,n]}}))}))}))]}))}))};t.prototype.downloadToFile=function(e){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(t===void 0){t=0}if(i===void 0){i={}}return __generator(this,(function(e){return[2,jA.withSpan("BlobClient-downloadToFile",i,(function(e){return __awaiter(n,void 0,void 0,(function(){var n;return __generator(this,(function(a){switch(a.label){case 0:return[4,this.download(t,r,__assign(__assign({},i),{tracingOptions:e.tracingOptions}))];case 1:n=a.sent();if(!n.readableStreamBody)return[3,3];return[4,Zb()];case 2:a.sent();a.label=3;case 3:n.blobDownloadStream=undefined;return[2,n]}}))}))}))]}))}))};t.prototype.getBlobAndContainerNamesFromUrl=function(){var e;var t;try{var r=new URL(this.url);if(r.host.split(".")[1]==="blob"){var i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1];t=i[3]}else if(DA(r)){var i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2];t=i[4]}else{var i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1];t=i[3]}e=decodeURIComponent(e);t=decodeURIComponent(t);t=t.replace(/\\/g,"/");if(!e){throw new Error("Provided containerName is invalid.")}return{blobName:t,containerName:e}}catch(e){throw new Error("Unable to extract blobName and containerName with provided information.")}};t.prototype.startCopyFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlobClient-startCopyFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o;return __generator(this,(function(s){switch(s.label){case 0:t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};r=OA;return[4,this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:(a=t.immutabilityPolicy)===null||a===void 0?void 0:a.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:bb(t.tier),blobTagsString:RA(t.tags),sealBlob:t.sealBlob,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.generateSasUrl=function(e){var t=this;return new Promise((function(r){if(!(t.credential instanceof Iu)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}var i=ZA(__assign({containerName:t._containerName,blobName:t._name,snapshotTime:t._snapshot,versionId:t._versionId},e),t.credential).toString();r(BA(t.url,i))}))};t.prototype.generateSasStringToSign=function(e){if(!(this.credential instanceof Iu)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return $A(__assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).stringToSign};t.prototype.generateUserDelegationSasUrl=function(e,t){var r=this;return new Promise((function(i){var n=ZA(__assign({containerName:r._containerName,blobName:r._name,snapshotTime:r._snapshot,versionId:r._versionId},e),t,r.accountName).toString();i(BA(r.url,n))}))};t.prototype.generateUserDelegationSasStringToSign=function(e,t){return $A(__assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),t,this.accountName).stringToSign};t.prototype.deleteImmutabilityPolicy=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,jA.withSpan("BlobClient-deleteImmutabilityPolicy",e,(function(e){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=OA;return[4,this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})];case 1:return[2,t.apply(void 0,[r.sent()])]}}))}))}))]}))}))};t.prototype.setImmutabilityPolicy=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlobClient-setImmutabilityPolicy",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=OA;return[4,this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})];case 1:return[2,r.apply(void 0,[i.sent()])]}}))}))}))]}))}))};t.prototype.setLegalHold=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlobClient-setLegalHold",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=OA;return[4,this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})];case 1:return[2,r.apply(void 0,[i.sent()])]}}))}))}))]}))}))};t.prototype.getAccountInfo=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){return[2,jA.withSpan("BlobClient-getAccountInfo",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=OA;return[4,this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[i.sent()])]}}))}))}))]}))}))};return t}(YA);var rx=function(e){__extends(t,e);function t(t,r,i,n){var a=this;var o;var s;n=n||{};if(dd(r)){s=t;o=r;n=i}else if(Ca&&r instanceof Iu||r instanceof zu||po(r)){s=t;n=i;o=pd(r,n)}else if(!r&&typeof r!=="string"){s=t;n=i;o=pd(new zu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var l=r;var c=i;var u=NA(t);if(u.kind==="AccountConnString"){if(Ca){var d=new Iu(u.accountName,u.accountKey);s=zA(zA(u.url,encodeURIComponent(l)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=wa()}o=pd(d,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(u.kind==="SASConnString"){s=zA(zA(u.url,encodeURIComponent(l)),encodeURIComponent(c))+"?"+u.accountSas;o=pd(new zu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}a=e.call(this,s,o)||this;a.appendBlobContext=a.storageClientContext.appendBlob;a.blobClientConfig=n;return a}t.prototype.withSnapshot=function(e){return new t(IA(this.url,td.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.create=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};xb(e.customerProvidedKey,this.isHttps);return[2,jA.withSpan("AppendBlobClient-create",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=OA;return[4,this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:(n=e.immutabilityPolicy)===null||n===void 0?void 0:n.expiriesOn,immutabilityPolicyMode:(a=e.immutabilityPolicy)===null||a===void 0?void 0:a.policyMode,legalHold:e.legalHold,blobTagsString:RA(e.tags),tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.createIfNotExists=function(){return __awaiter(this,arguments,void 0,(function(e){var t;var r=this;if(e===void 0){e={}}return __generator(this,(function(i){t={ifNoneMatch:id};return[2,jA.withSpan("AppendBlobClient-createIfNotExists",e,(function(e){return __awaiter(r,void 0,void 0,(function(){var r,i,n;var a,o;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,2,,3]);i=OA;return[4,this.create(__assign(__assign({},e),{conditions:t}))];case 1:r=i.apply(void 0,[s.sent()]);return[2,__assign(__assign({succeeded:true},r),{_response:r._response})];case 2:n=s.sent();if(((a=n.details)===null||a===void 0?void 0:a.errorCode)==="BlobAlreadyExists"){return[2,__assign(__assign({succeeded:false},(o=n.response)===null||o===void 0?void 0:o.parsedHeaders),{_response:n.response})]}throw n;case 3:return[2]}}))}))}))]}))}))};t.prototype.seal=function(){return __awaiter(this,arguments,void 0,(function(e){var t=this;if(e===void 0){e={}}return __generator(this,(function(r){e.conditions=e.conditions||{};return[2,jA.withSpan("AppendBlobClient-seal",e,(function(r){return __awaiter(t,void 0,void 0,(function(){var t;var i;return __generator(this,(function(n){switch(n.label){case 0:t=OA;return[4,this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:__assign(__assign({},e.conditions),{ifTags:(i=e.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:r.tracingOptions})];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))}))]}))}))};t.prototype.appendBlock=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};xb(r.customerProvidedKey,this.isHttps);return[2,jA.withSpan("AppendBlobClient-appendBlock",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a,o;var s,l;return __generator(this,(function(c){switch(c.label){case 0:i={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions};return[4,GA(e,t,i,r,(l=this.blobClientConfig)===null||l===void 0?void 0:l.uploadContentChecksumAlgorithm)];case 1:a=c.sent();o=OA;return[4,this.appendBlobContext.appendBlock(a.contentLength,a.body,i)];case 2:return[2,o.apply(void 0,[c.sent()])]}}))}))}))]}))}))};t.prototype.appendBlockFromURL=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};i.sourceConditions=i.sourceConditions||{};xb(i.customerProvidedKey,this.isHttps);return[2,jA.withSpan("AppendBlobClient-appendBlockFromURL",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n;var o,s,l,c,u,d,m,p;return __generator(this,(function(f){switch(f.label){case 0:n=OA;return[4,this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Qb({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(s=i.sourceConditions)===null||s===void 0?void 0:s.ifMatch,sourceIfModifiedSince:(l=i.sourceConditions)===null||l===void 0?void 0:l.ifModifiedSince,sourceIfNoneMatch:(c=i.sourceConditions)===null||c===void 0?void 0:c.ifNoneMatch,sourceIfUnmodifiedSince:(u=i.sourceConditions)===null||u===void 0?void 0:u.ifUnmodifiedSince},copySourceAuthorization:LA(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(d=i.sourceCustomerProvidedKey)===null||d===void 0?void 0:d.encryptionKey,sourceEncryptionAlgorithm:(m=i.sourceCustomerProvidedKey)===null||m===void 0?void 0:m.encryptionAlgorithm,sourceEncryptionKeySha256:(p=i.sourceCustomerProvidedKey)===null||p===void 0?void 0:p.encryptionKeySha256}})];case 1:return[2,n.apply(void 0,[f.sent()])]}}))}))}))]}))}))};return t}(tx);var ix=function(e){__extends(t,e);function t(t,r,i,n){var a=this;var o;var s;n=n||{};if(dd(r)){s=t;o=r;n=i}else if(Ca&&r instanceof Iu||r instanceof zu||po(r)){s=t;n=i;o=pd(r,n)}else if(!r&&typeof r!=="string"){s=t;if(i&&typeof i!=="string"){n=i}o=pd(new zu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var l=r;var c=i;var u=NA(t);if(u.kind==="AccountConnString"){if(Ca){var d=new Iu(u.accountName,u.accountKey);s=zA(zA(u.url,encodeURIComponent(l)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=wa()}o=pd(d,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(u.kind==="SASConnString"){s=zA(zA(u.url,encodeURIComponent(l)),encodeURIComponent(c))+"?"+u.accountSas;o=pd(new zu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}a=e.call(this,s,o)||this;a.blockBlobContext=a.storageClientContext.blockBlob;a._blobContext=a.storageClientContext.blob;a.blobClientConfig=n;return a}t.prototype.withSnapshot=function(e){return new t(IA(this.url,td.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.query=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){xb(t.customerProvidedKey,this.isHttps);if(!Ca){throw new Error("This operation currently is only supported in Node.js.")}return[2,jA.withSpan("BlockBlobClient-query",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:n=OA;return[4,this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:HA(t.inputTextConfiguration),outputSerialization:HA(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),cpkInfo:t.customerProvidedKey,tracingOptions:i.tracingOptions})];case 1:r=n.apply(void 0,[o.sent()]);return[2,new vb(r,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})]}}))}))}))]}))}))};t.prototype.upload=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};xb(r.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlockBlobClient-upload",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a,o;var s,l,c,u;return __generator(this,(function(d){switch(d.label){case 0:i={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(l=r.immutabilityPolicy)===null||l===void 0?void 0:l.expiriesOn,immutabilityPolicyMode:(c=r.immutabilityPolicy)===null||c===void 0?void 0:c.policyMode,legalHold:r.legalHold,tier:bb(r.tier),blobTagsString:RA(r.tags),tracingOptions:n.tracingOptions};return[4,GA(e,t,i,r,(u=this.blobClientConfig)===null||u===void 0?void 0:u.uploadContentChecksumAlgorithm)];case 1:a=d.sent();o=OA;return[4,this.blockBlobContext.upload(a.contentLength,a.body,i)];case 2:return[2,o.apply(void 0,[d.sent()])]}}))}))}))]}))}))};t.prototype.syncUploadFromURL=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};xb(t.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlockBlobClient-syncUploadFromURL",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o,s,l,c,u,d,m;return __generator(this,(function(p){switch(p.label){case 0:r=OA;return[4,this.blockBlobContext.putBlobFromUrl(0,e,__assign(__assign({},t),{blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=t.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(s=t.sourceConditions)===null||s===void 0?void 0:s.ifNoneMatch,sourceIfUnmodifiedSince:(l=t.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince,sourceIfTags:(c=t.sourceConditions)===null||c===void 0?void 0:c.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:LA(t.sourceAuthorization),tier:bb(t.tier),blobTagsString:RA(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:i.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(u=t.sourceCustomerProvidedKey)===null||u===void 0?void 0:u.encryptionKey,sourceEncryptionAlgorithm:(d=t.sourceCustomerProvidedKey)===null||d===void 0?void 0:d.encryptionAlgorithm,sourceEncryptionKeySha256:(m=t.sourceCustomerProvidedKey)===null||m===void 0?void 0:m.encryptionKeySha256}}))];case 1:return[2,r.apply(void 0,[p.sent()])]}}))}))}))]}))}))};t.prototype.stageBlock=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){xb(i.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlockBlobClient-stageBlock",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o,s;var l;return __generator(this,(function(c){switch(c.label){case 0:n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:a.tracingOptions};return[4,GA(t,r,n,i,(l=this.blobClientConfig)===null||l===void 0?void 0:l.uploadContentChecksumAlgorithm)];case 1:o=c.sent();s=OA;return[4,this.blockBlobContext.stageBlock(e,o.contentLength,o.body,n)];case 2:return[2,s.apply(void 0,[c.sent()])]}}))}))}))]}))}))};t.prototype.stageBlockFromURL=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a=this;if(r===void 0){r=0}if(n===void 0){n={}}return __generator(this,(function(o){xb(n.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlockBlobClient-stageBlockFromURL",n,(function(o){return __awaiter(a,void 0,void 0,(function(){var a;var s,l,c;return __generator(this,(function(u){switch(u.label){case 0:a=OA;return[4,this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:r===0&&!i?undefined:Qb({offset:r,count:i}),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:LA(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:o.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(s=n.sourceCustomerProvidedKey)===null||s===void 0?void 0:s.encryptionKey,sourceEncryptionAlgorithm:(l=n.sourceCustomerProvidedKey)===null||l===void 0?void 0:l.encryptionAlgorithm,sourceEncryptionKeySha256:(c=n.sourceCustomerProvidedKey)===null||c===void 0?void 0:c.encryptionKeySha256}})];case 1:return[2,a.apply(void 0,[u.sent()])]}}))}))}))]}))}))};t.prototype.commitBlockList=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};xb(t.customerProvidedKey,this.isHttps);return[2,jA.withSpan("BlockBlobClient-commitBlockList",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o;return __generator(this,(function(s){switch(s.label){case 0:r=OA;return[4,this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(a=t.immutabilityPolicy)===null||a===void 0?void 0:a.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,tier:bb(t.tier),blobTagsString:RA(t.tags),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.getBlockList=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlockBlobClient-getBlockList",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n;var a;return __generator(this,(function(o){switch(o.label){case 0:n=OA;return[4,this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(a=t.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:i.tracingOptions})];case 1:r=n.apply(void 0,[o.sent()]);if(!r.committedBlocks){r.committedBlocks=[]}if(!r.uncommittedBlocks){r.uncommittedBlocks=[]}return[2,r]}}))}))}))]}))}))};t.prototype.uploadData=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlockBlobClient-uploadData",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r,i;return __generator(this,(function(n){if(Ca){if(e instanceof Jl){r=e}else if(e instanceof ArrayBuffer){r=Jl.from(e)}else{e=e;r=Jl.from(e.buffer,e.byteOffset,e.byteLength)}return[2,this.uploadSeekableInternal((function(e,t){return r.slice(e,e+t)}),r.byteLength,t)]}else{i=new Blob([e]);return[2,this.uploadSeekableInternal((function(e,t){return i.slice(e,e+t)}),i.size,t)]}return[2]}))}))}))]}))}))};t.prototype.uploadBrowserData=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("BlockBlobClient-uploadBrowserData",t,(function(t){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){r=new Blob([e]);return[2,this.uploadSeekableInternal((function(e,t){return r.slice(e,e+t)}),r.size,t)]}))}))}))]}))}))};t.prototype.uploadSeekableInternal=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i,n;var a=this;var o,s;if(r===void 0){r={}}return __generator(this,(function(l){i=(o=r.blockSize)!==null&&o!==void 0?o:0;if(i<0||i>Vu){throw new RangeError("blockSize option must be >= 0 and <= ".concat(Vu))}n=(s=r.maxSingleShotSize)!==null&&s!==void 0?s:Ju;if(n<0||n>Ju){throw new RangeError("maxSingleShotSize option must be >= 0 and <= ".concat(Ju))}if(i===0){if(t>Vu*Xu){throw new RangeError("".concat(t," is too larger to upload to a block blob."))}if(t>n){i=Math.ceil(t/Xu);if(i<Zu){i=Zu}}}if(!r.blobHTTPHeaders){r.blobHTTPHeaders={}}if(!r.conditions){r.conditions={}}return[2,jA.withSpan("BlockBlobClient-uploadSeekableInternal",r,(function(o){return __awaiter(a,void 0,void 0,(function(){var a,s,l,c,u,d,m,p;var f=this;return __generator(this,(function(h){switch(h.label){case 0:if(!(t<=n))return[3,2];a=OA;return[4,this.upload(e(0,t),t,o)];case 1:return[2,a.apply(void 0,[h.sent()])];case 2:s=Math.floor((t-1)/i)+1;if(s>Xu){throw new RangeError("The buffer's size is too big or the BlockSize is too small;"+"the number of blocks must be <= ".concat(Xu))}l=[];c=Na();u=0;d=new Xb(r.concurrency);m=function(n){d.addOperation((function(){return __awaiter(f,void 0,void 0,(function(){var a,d,m,p;return __generator(this,(function(f){switch(f.label){case 0:a=kA(c,n);d=i*n;m=n===s-1?t:d+i;p=m-d;l.push(a);return[4,this.stageBlock(a,e(d,p),p,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:o.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm})];case 1:f.sent();u+=p;if(r.onProgress){r.onProgress({loadedBytes:u})}return[2]}}))}))}))};for(p=0;p<s;p++){m(p)}return[4,d.do()];case 3:h.sent();return[2,this.commitBlockList(l,o)]}}))}))}))]}))}))};t.prototype.uploadFile=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(e){return[2,jA.withSpan("BlockBlobClient-uploadFile",t,(function(e){return __awaiter(r,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,$b()];case 1:r=i.sent().size;return[2,this.uploadSeekableInternal((function(e,t){return function(){return ex()}}),r,__assign(__assign({},t),{tracingOptions:e.tracingOptions}))]}}))}))}))]}))}))};t.prototype.uploadStream=function(e){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(t===void 0){t=Wu}if(r===void 0){r=5}if(i===void 0){i={}}return __generator(this,(function(a){if(!i.blobHTTPHeaders){i.blobHTTPHeaders={}}if(!i.conditions){i.conditions={}}return[2,jA.withSpan("BlockBlobClient-uploadStream",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o,s,l,c,u;var d=this;return __generator(this,(function(m){switch(m.label){case 0:n=0;o=Na();s=0;l=[];c=new _l(e,t,r,(function(e,t){return __awaiter(d,void 0,void 0,(function(){var r;return __generator(this,(function(c){switch(c.label){case 0:r=kA(o,n);l.push(r);n++;return[4,this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:a.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm})];case 1:c.sent();s+=t;if(i.onProgress){i.onProgress({loadedBytes:s})}return[2]}}))}))}),Math.ceil(r/4*3));return[4,c.do()];case 1:m.sent();u=OA;return[4,this.commitBlockList(l,__assign(__assign({},i),{tracingOptions:a.tracingOptions}))];case 2:return[2,u.apply(void 0,[m.sent()])]}}))}))}))]}))}))};return t}(tx);var nx=function(e){__extends(t,e);function t(t,r,i,n){var a=this;var o;var s;n=n||{};if(dd(r)){s=t;o=r;n=i}else if(Ca&&r instanceof Iu||r instanceof zu||po(r)){s=t;n=i;o=pd(r,n)}else if(!r&&typeof r!=="string"){s=t;n=i;o=pd(new zu,n)}else if(r&&typeof r==="string"&&i&&typeof i==="string"){var l=r;var c=i;var u=NA(t);if(u.kind==="AccountConnString"){if(Ca){var d=new Iu(u.accountName,u.accountKey);s=zA(zA(u.url,encodeURIComponent(l)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=wa()}o=pd(d,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(u.kind==="SASConnString"){s=zA(zA(u.url,encodeURIComponent(l)),encodeURIComponent(c))+"?"+u.accountSas;o=pd(new zu,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}a=e.call(this,s,o)||this;a.pageBlobContext=a.storageClientContext.pageBlob;a.blobClientConfig=n;return a}t.prototype.withSnapshot=function(e){return new t(IA(this.url,td.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)};t.prototype.create=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};xb(t.customerProvidedKey,this.isHttps);return[2,jA.withSpan("PageBlobClient-create",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n,a,o;return __generator(this,(function(s){switch(s.label){case 0:r=OA;return[4,this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(a=t.immutabilityPolicy)===null||a===void 0?void 0:a.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,tier:bb(t.tier),blobTagsString:RA(t.tags),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.createIfNotExists=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("PageBlobClient-createIfNotExists",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r,n,a,o;var s,l;return __generator(this,(function(c){switch(c.label){case 0:c.trys.push([0,2,,3]);r={ifNoneMatch:id};a=OA;return[4,this.create(e,__assign(__assign({},t),{conditions:r,tracingOptions:i.tracingOptions}))];case 1:n=a.apply(void 0,[c.sent()]);return[2,__assign(__assign({succeeded:true},n),{_response:n._response})];case 2:o=c.sent();if(((s=o.details)===null||s===void 0?void 0:s.errorCode)==="BlobAlreadyExists"){return[2,__assign(__assign({succeeded:false},(l=o.response)===null||l===void 0?void 0:l.parsedHeaders),{_response:o.response})]}throw o;case 3:return[2]}}))}))}))]}))}))};t.prototype.uploadPages=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};xb(i.customerProvidedKey,this.isHttps);return[2,jA.withSpan("PageBlobClient-uploadPages",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o,s;var l,c;return __generator(this,(function(u){switch(u.label){case 0:n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(l=i.conditions)===null||l===void 0?void 0:l.tagConditions}),requestOptions:{onUploadProgress:i.onProgress},range:Qb({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:a.tracingOptions};return[4,GA(e,r,n,i,(c=this.blobClientConfig)===null||c===void 0?void 0:c.uploadContentChecksumAlgorithm)];case 1:o=u.sent();s=OA;return[4,this.pageBlobContext.uploadPages(o.contentLength,o.body,n)];case 2:return[2,s.apply(void 0,[u.sent()])]}}))}))}))]}))}))};t.prototype.uploadPagesFromURL=function(e,t,r,i){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a=this;if(n===void 0){n={}}return __generator(this,(function(o){n.conditions=n.conditions||{};n.sourceConditions=n.sourceConditions||{};xb(n.customerProvidedKey,this.isHttps);return[2,jA.withSpan("PageBlobClient-uploadPagesFromURL",n,(function(o){return __awaiter(a,void 0,void 0,(function(){var a;var s,l,c,u,d,m,p,f;return __generator(this,(function(h){switch(h.label){case 0:a=OA;return[4,this.pageBlobContext.uploadPagesFromURL(e,Qb({offset:t,count:i}),0,Qb({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:__assign(__assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(l=n.sourceConditions)===null||l===void 0?void 0:l.ifMatch,sourceIfModifiedSince:(c=n.sourceConditions)===null||c===void 0?void 0:c.ifModifiedSince,sourceIfNoneMatch:(u=n.sourceConditions)===null||u===void 0?void 0:u.ifNoneMatch,sourceIfUnmodifiedSince:(d=n.sourceConditions)===null||d===void 0?void 0:d.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:LA(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:o.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:(m=n.sourceCustomerProvidedKey)===null||m===void 0?void 0:m.encryptionKey,sourceEncryptionAlgorithm:(p=n.sourceCustomerProvidedKey)===null||p===void 0?void 0:p.encryptionAlgorithm,sourceEncryptionKeySha256:(f=n.sourceCustomerProvidedKey)===null||f===void 0?void 0:f.encryptionKeySha256}})];case 1:return[2,a.apply(void 0,[h.sent()])]}}))}))}))]}))}))};t.prototype.clearPages=function(){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(e===void 0){e=0}if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};return[2,jA.withSpan("PageBlobClient-clearPages",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i;var a;return __generator(this,(function(o){switch(o.label){case 0:i=OA;return[4,this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(a=r.conditions)===null||a===void 0?void 0:a.tagConditions}),range:Qb({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})];case 1:return[2,i.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.getPageRanges=function(){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(e===void 0){e=0}if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};return[2,jA.withSpan("PageBlobClient-getPageRanges",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i,a;var o;return __generator(this,(function(s){switch(s.label){case 0:a=OA;return[4,this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(o=r.conditions)===null||o===void 0?void 0:o.tagConditions}),range:Qb({offset:e,count:t}),tracingOptions:n.tracingOptions})];case 1:i=a.apply(void 0,[s.sent()]);return[2,Cb(i)]}}))}))}))]}))}))};t.prototype.listPageRangesSegment=function(){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(e===void 0){e=0}if(i===void 0){i={}}return __generator(this,(function(a){return[2,jA.withSpan("PageBlobClient-getPageRangesSegment",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n;var o;return __generator(this,(function(s){switch(s.label){case 0:n=OA;return[4,this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),range:Qb({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:a.tracingOptions})];case 1:return[2,n.apply(void 0,[s.sent()])]}}))}))}))]}))}))};t.prototype.listPageRangeItemSegments=function(){return __asyncGenerator(this,arguments,(function e(t,r,i,n){var a;if(t===void 0){t=0}if(n===void 0){n={}}return __generator(this,(function(e){switch(e.label){case 0:if(!(!!i||i===undefined))return[3,7];e.label=1;case 1:return[4,__await(this.listPageRangesSegment(t,r,i,n))];case 2:a=e.sent();i=a.continuationToken;return[4,__await(a)];case 3:return[4,__await.apply(void 0,[e.sent()])];case 4:return[4,e.sent()];case 5:e.sent();e.label=6;case 6:if(i)return[3,1];e.label=7;case 7:return[2]}}))}))};t.prototype.listPageRangeItems=function(){return __asyncGenerator(this,arguments,(function e(t,r,i){var n,a,o,s,l,c;var u,d,m,p;if(t===void 0){t=0}if(i===void 0){i={}}return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,7,8,13]);a=true,o=__asyncValues(this.listPageRangeItemSegments(t,r,n,i));e.label=1;case 1:return[4,__await(o.next())];case 2:if(!(s=e.sent(),u=s.done,!u))return[3,6];p=s.value;a=false;l=p;return[5,__values(__asyncDelegator(__asyncValues(FA(l))))];case 3:return[4,__await.apply(void 0,[e.sent()])];case 4:e.sent();e.label=5;case 5:a=true;return[3,1];case 6:return[3,13];case 7:c=e.sent();d={error:c};return[3,13];case 8:e.trys.push([8,,11,12]);if(!(!a&&!u&&(m=o.return)))return[3,10];return[4,__await(m.call(o))];case 9:e.sent();e.label=10;case 10:return[3,12];case 11:if(d)throw d.error;return[7];case 12:return[7];case 13:return[2]}}))}))};t.prototype.listPageRanges=function(e,t,r){var i;var n=this;if(e===void 0){e=0}if(r===void 0){r={}}r.conditions=r.conditions||{};var a=this.listPageRangeItems(e,t,r);return i={next:function(){return a.next()}},i[Symbol.asyncIterator]=function(){return this},i.byPage=function(i){if(i===void 0){i={}}return n.listPageRangeItemSegments(e,t,i.continuationToken,__assign({maxPageSize:i.maxPageSize},r))},i};t.prototype.getPageRangesDiff=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};return[2,jA.withSpan("PageBlobClient-getPageRangesDiff",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o;var s;return __generator(this,(function(l){switch(l.label){case 0:o=OA;return[4,this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(s=i.conditions)===null||s===void 0?void 0:s.tagConditions}),prevsnapshot:r,range:Qb({offset:e,count:t}),tracingOptions:a.tracingOptions})];case 1:n=o.apply(void 0,[l.sent()]);return[2,Cb(n)]}}))}))}))]}))}))};t.prototype.listPageRangesDiffSegment=function(e,t,r,i){return __awaiter(this,arguments,void 0,(function(e,t,r,i,n){var a=this;if(n===void 0){n={}}return __generator(this,(function(o){return[2,jA.withSpan("PageBlobClient-getPageRangesDiffSegment",n,(function(o){return __awaiter(a,void 0,void 0,(function(){var a;var s;return __generator(this,(function(l){switch(l.label){case 0:a=OA;return[4,this.pageBlobContext.getPageRangesDiff({abortSignal:n===null||n===void 0?void 0:n.abortSignal,leaseAccessConditions:n===null||n===void 0?void 0:n.conditions,modifiedAccessConditions:__assign(__assign({},n===null||n===void 0?void 0:n.conditions),{ifTags:(s=n===null||n===void 0?void 0:n.conditions)===null||s===void 0?void 0:s.tagConditions}),prevsnapshot:r,range:Qb({offset:e,count:t}),marker:i,maxPageSize:n===null||n===void 0?void 0:n.maxPageSize,tracingOptions:o.tracingOptions})];case 1:return[2,a.apply(void 0,[l.sent()])]}}))}))}))]}))}))};t.prototype.listPageRangeDiffItemSegments=function(e,t,r,i,n){return __asyncGenerator(this,arguments,(function a(){var o;return __generator(this,(function(a){switch(a.label){case 0:if(!(!!i||i===undefined))return[3,7];a.label=1;case 1:return[4,__await(this.listPageRangesDiffSegment(e,t,r,i,n))];case 2:o=a.sent();i=o.continuationToken;return[4,__await(o)];case 3:return[4,__await.apply(void 0,[a.sent()])];case 4:return[4,a.sent()];case 5:a.sent();a.label=6;case 6:if(i)return[3,1];a.label=7;case 7:return[2]}}))}))};t.prototype.listPageRangeDiffItems=function(e,t,r,i){return __asyncGenerator(this,arguments,(function n(){var a,o,s,l,c,u;var d,m,p,f;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,7,8,13]);o=true,s=__asyncValues(this.listPageRangeDiffItemSegments(e,t,r,a,i));n.label=1;case 1:return[4,__await(s.next())];case 2:if(!(l=n.sent(),d=l.done,!d))return[3,6];f=l.value;o=false;c=f;return[5,__values(__asyncDelegator(__asyncValues(FA(c))))];case 3:return[4,__await.apply(void 0,[n.sent()])];case 4:n.sent();n.label=5;case 5:o=true;return[3,1];case 6:return[3,13];case 7:u=n.sent();m={error:u};return[3,13];case 8:n.trys.push([8,,11,12]);if(!(!o&&!d&&(p=s.return)))return[3,10];return[4,__await(p.call(s))];case 9:n.sent();n.label=10;case 10:return[3,12];case 11:if(m)throw m.error;return[7];case 12:return[7];case 13:return[2]}}))}))};t.prototype.listPageRangesDiff=function(e,t,r,i){var n;var a=this;if(i===void 0){i={}}i.conditions=i.conditions||{};var o=this.listPageRangeDiffItems(e,t,r,__assign({},i));return n={next:function(){return o.next()}},n[Symbol.asyncIterator]=function(){return this},n.byPage=function(n){if(n===void 0){n={}}return a.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,__assign({maxPageSize:n.maxPageSize},i))},n};t.prototype.getPageRangesDiffForManagedDisks=function(e,t,r){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n=this;if(i===void 0){i={}}return __generator(this,(function(a){i.conditions=i.conditions||{};return[2,jA.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,(function(a){return __awaiter(n,void 0,void 0,(function(){var n,o;var s;return __generator(this,(function(l){switch(l.label){case 0:o=OA;return[4,this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:__assign(__assign({},i.conditions),{ifTags:(s=i.conditions)===null||s===void 0?void 0:s.tagConditions}),prevSnapshotUrl:r,range:Qb({offset:e,count:t}),tracingOptions:a.tracingOptions})];case 1:n=o.apply(void 0,[l.sent()]);return[2,Cb(n)]}}))}))}))]}))}))};t.prototype.resize=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){t.conditions=t.conditions||{};return[2,jA.withSpan("PageBlobClient-resize",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),encryptionScope:t.encryptionScope,tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};t.prototype.updateSequenceNumber=function(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i=this;if(r===void 0){r={}}return __generator(this,(function(n){r.conditions=r.conditions||{};return[2,jA.withSpan("PageBlobClient-updateSequenceNumber",r,(function(n){return __awaiter(i,void 0,void 0,(function(){var i;var a;return __generator(this,(function(o){switch(o.label){case 0:i=OA;return[4,this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:__assign(__assign({},r.conditions),{ifTags:(a=r.conditions)===null||a===void 0?void 0:a.tagConditions}),tracingOptions:n.tracingOptions})];case 1:return[2,i.apply(void 0,[o.sent()])]}}))}))}))]}))}))};t.prototype.startCopyIncremental=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var r=this;if(t===void 0){t={}}return __generator(this,(function(i){return[2,jA.withSpan("PageBlobClient-startCopyIncremental",t,(function(i){return __awaiter(r,void 0,void 0,(function(){var r;var n;return __generator(this,(function(a){switch(a.label){case 0:r=OA;return[4,this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:__assign(__assign({},t.conditions),{ifTags:(n=t.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:i.tracingOptions})];case 1:return[2,r.apply(void 0,[a.sent()])]}}))}))}))]}))}))};return t}(tx);function ax(e){return{Authorization:"Bearer "+e}}function ox(e,t){return fetch(e,{method:"GET",headers:ax(t)}).then((function(e){return e.json()}))}var sx=function(){function e(e,t){var r=this;this.abortController=null;this.getPrintStatus=function(){return ox("https://".concat(r.printingApi,"/sfapi/Status/?id=").concat(encodeURIComponent(lx.state.jobID)),ft.state.accessToken)};this.redirectURI=e;this.clientID=t;this.printingApi=lx.state.printApiHostUrl;this.checkStoredRefreshToken()}e.prototype.checkStoredRefreshToken=function(){var e;if(ft.state.refreshToken!==""){return}ft.state.refreshToken=(e=dt.getRefreshToken())!==null&&e!==void 0?e:""};e.prototype.registerFetchInterceptor=function(){var e=this;hr.register({request:function(e,t){return[e,t]},requestError:function(e){return Promise.reject(e)},response:function(t){if(t.status===401){if(ft.state.refreshToken===""){return t}var r=new pt(e.redirectURI,e.clientID);r.refreshTokens()}return t},responseError:function(e){return Promise.reject(e)}})};e.prototype.getPrinterList=function(e){return ox("https://".concat(this.printingApi,"/sfapi/GetPrinter/"),e)};e.prototype.getConfig=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,fetch("https://".concat(this.printingApi,"/sfapi/GetConfiguration/"),{method:"GET",headers:ax(e)})]}))}))};e.prototype.getPrinterProperties=function(e,t){return ox("https://".concat(this.printingApi,"/sfapi/GetPrinterProperties/?id=").concat(t),e)};e.prototype.getAllPrinterProperties=function(e){return ox("https://".concat(this.printingApi,"/sfapi/GetPrinterProperties/"),e)};e.prototype.printFileByUrl=function(e,t,r,i,n,a,o){this.abortController=new AbortController;return this.printRequest(e,Object.assign(Object.assign(Object.assign({fileurl:t,type:r,printerid:i},a&&{alias:a}),o&&{printanddelete:o}),{properties:n}),this.abortController.signal)};e.prototype.abortPrint=function(){if(this.abortController){this.abortController.abort();this.abortController=null}};e.prototype.printRequest=function(e,t,r){return fetch("https://".concat(this.printingApi,"/sfapi/Print/"),{method:"POST",headers:Object.assign(Object.assign({},ax(e)),{"Content-Type":"application/json"}),body:JSON.stringify(t),signal:r})};e.prototype.printByFileID=function(e,t,r,i,n,a,o){return this.printRequest(e,Object.assign(Object.assign(Object.assign({fileid:t,type:r,printerid:i},a&&{alias:a}),o&&{printanddelete:o}),{properties:n})).then((function(e){return e.json()}))};e.prototype.prepareFileUpload=function(e){return ox("https://".concat(this.printingApi,"/sfapi/PrepareUpload/"),e)};e.prototype.uploadBlobFiles=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:lx.state.uploadProgress=0;r=pd(new zu,{retryOptions:{maxTries:4},userAgentOptions:{userAgentPrefix:"AdvancedSample V1.0.0"},keepAliveOptions:{enable:false}});i=new ix(e,r);return[4,i.uploadData(t,{blockSize:4*1024*1024,concurrency:20,onProgress:function(e){var r=100*e.loadedBytes/t.size;lx.state.uploadProgress=r},blobHTTPHeaders:{blobContentType:"application/octet-stream"}})];case 1:n=a.sent();return[2,n]}}))}))};return e}();var lx=I({printers:[],jobID:"",printFinished:false,printApiHostUrl:"",printerProperties:{},fileID:"",fileUrl:"",fileType:"",printerID:"",fileName:"",uploadProgress:0,supportedFileExtensions:""});var cx=function(){function e(){}e.prototype.getUserInfo=function(){return ox("https://".concat(ft.state.authApiHostUrl,"/v1/users/me"),ft.state.accessToken)};return e}();var ux=I({user:null,theme:"",appearance:""});var dx=[1,2,3];function mx(e,t){var r,i,n,a,o,s,l;t.color=((r=e.Default)===null||r===void 0?void 0:r.Color)=="color"?true:false;var c=(i=e.Default)===null||i===void 0?void 0:i.Orientation;var u=(n=e.Default)===null||n===void 0?void 0:n.OrientationIndex;var d;if(c){var m=(a=e.OrientationsSupported)===null||a===void 0?void 0:a.indexOf(c);if(typeof m==="number"&&m>=0)d=m+1}t.orientation=u!==null&&u!==void 0?u:d;t.resolution=(o=e.Default)===null||o===void 0?void 0:o.Resolution;var p=(s=e.PaperFormats)===null||s===void 0?void 0:s.find((function(e){return e.Default===true}));t.paper=p===null||p===void 0?void 0:p.Name;t.paperid=p===null||p===void 0?void 0:p.Id;var f=(l=e.Trays)===null||l===void 0?void 0:l.find((function(e){return(e===null||e===void 0?void 0:e.Default)===true}));if(e.Trays&&e.Trays.length>=1&&e.Trays[0]!=null){t.trayname=f===null||f===void 0?void 0:f.Name;t.defaultSource=f===null||f===void 0?void 0:f.Index}if(e.Trays&&e.Trays.length>=0&&e.Trays[0]==null){delete t.trayname;delete t.defaultSource}t.duplex=e.DuplexSupported;t.duplexmode=e.DuplexMode;delete t.PageRanges;return t}function px(e,t,r){var i,n,a,o,s;mx(e,r);if(!t)return r;if(e.ColorSupported&&typeof t.color==="boolean"){r.color=t.color}if(e.DuplexSupported&&dx.includes(Number(t.duplexmode))){r.duplex=true;r.duplexmode=Number(t.duplexmode)}var l=(i=e.PaperFormats)===null||i===void 0?void 0:i.find((function(e){return e.Id===Number(t.paperid)}));if(l){r.paper=l.Name;r.paperid=l.Id;if(l.Id===Ke){r.paperwidth=t.paperwidth;r.paperlength=t.paperlength}}var c=Number(t.orientation);if(c>=1&&c<=((a=(n=e.OrientationsSupported)===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)){r.orientation=c}if(typeof t.resolution==="string"&&((o=e.Resolutions)===null||o===void 0?void 0:o.includes(t.resolution))){r.resolution=t.resolution}if(gx(e)){var u=(s=e.Trays)===null||s===void 0?void 0:s.find((function(e){return(e===null||e===void 0?void 0:e.Index)===Number(t.defaultSource)}));if(u){r.trayname=u.Name;r.defaultSource=u.Index}}return r}function fx(e){var t=e.color,r=e.duplex,i=e.duplexmode,n=e.paper,a=e.paperid,o=e.paperwidth,s=e.paperlength;var l=e.orientation,c=e.resolution,u=e.trayname,d=e.defaultSource;return{color:t,duplex:r,duplexmode:i,paper:n,paperid:a,paperwidth:o,paperlength:s,orientation:l,resolution:c,trayname:u,defaultSource:d}}function hx(e){return!!e.Trays&&e.Trays.length>=0&&e.Trays[0]==null}function gx(e){return!!e.Trays&&e.Trays.length>=1&&e.Trays[0]!=null}function vx(e,t){if(e===Ue.Success)return"success";if(Le.includes(e))return"processing";if(t&&Oe.includes(e))return"hub-error";if(Fe.includes(e))return"failed";return"failed"}function yx(e){var t=e.split(".").pop();return t?t.toLowerCase():""}var Ax=function(e){return new Promise((function(t){return setTimeout(t,e)}))};function bx(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r,i){var n,a,o;if(r===void 0){r=Je}if(i===void 0){i=Xe}return __generator(this,(function(s){switch(s.label){case 0:n=0;s.label=1;case 1:if(!true)return[3,4];return[4,e()];case 2:a=s.sent();n++;o=vx(a.jobstatus,t);if(o==="success")return[2];if(o==="hub-error"){throw new Error("Hub printer driver error: "+(a.jobstatusstring||a.jobstatus))}if(o==="failed"){throw new Error("Print job failed: "+(a.jobstatusstring||a.jobstatus))}if(n>=i){throw new Error("Print job timed out after ".concat(n," status checks"))}return[4,Ax(r)];case 3:s.sent();return[3,1];case 4:return[2]}}))}))}function xx(e,t){return __awaiter(this,arguments,void 0,(function(e,t,r){var i,n,a,o,s,l,c,u,d,m,p;if(r===void 0){r={}}return __generator(this,(function(f){switch(f.label){case 0:(i=r.onPreparing)===null||i===void 0?void 0:i.call(r,true);return[4,e.service.prepareFileUpload(e.accessToken)];case 1:l=f.sent();(n=r.onPreparing)===null||n===void 0?void 0:n.call(r,false);c=l.fileid;u=l.sasUri;d=yx(t.name);(a=r.onUploading)===null||a===void 0?void 0:a.call(r,true);f.label=2;case 2:f.trys.push([2,,6,7]);return[4,e.service.uploadBlobFiles(u,t)];case 3:m=f.sent();if(m._response.status!==je){throw new Error("Upload failed for file: ".concat(t.name))}return[4,e.service.printByFileID(e.accessToken,c,d,e.printerId,e.properties,t.name)];case 4:p=f.sent();if(p.code===Ye){throw new Error("Print failed for file: ".concat(t.name))}if(e.isQueue&&p.code!==undefined&&Oe.includes(p.code)){throw new Error("Hub printer driver error for file: ".concat(t.name))}if(!p.jobid){throw new Error("No job ID returned for file: ".concat(t.name))}(o=r.onJobId)===null||o===void 0?void 0:o.call(r,p.jobid);return[4,bx((function(){return e.service.getPrintStatus()}),e.isQueue,e.pollIntervalMs)];case 5:f.sent();return[3,7];case 6:(s=r.onUploading)===null||s===void 0?void 0:s.call(r,false);return[7];case 7:return[2]}}))}))}var Nx=function(){return":host{--ezp-status-border-radius:16px;background:var(--ezp-printerSelection-background, var(--ezp-core-backdrop));-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inset:var(--ezp-printerSelection-inset, 0);overflow-y:auto;padding:var(--ezp-printerSelection-padding, var(--ezp-spacing-5));position:var(--ezp-printerSelection-position, fixed);z-index:1}:host(.seamless){--ezp-printerSelection-background:transparent;--ezp-printerSelection-box-background:transparent;--ezp-printerSelection-box-boxShadow:none;--ezp-printerSelection-box-margin:0;--ezp-printerSelection-box-padding:0;--ezp-printerSelection-inset:auto;--ezp-printerSelection-padding:0;--ezp-printerSelection-position:static;--ezp-printerSelection-width:100%}#box{background:var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));border-radius:16px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));color:var(--ezp-core-foreground-primary);margin:var(--ezp-printerSelection-box-margin, auto);padding:var(--ezp-printerSelection-box-padding, 0);position:relative;width:var(--ezp-printerSelection-width, 384px)}#header{-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--ezp-core-outline);color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);-ms-flex-pack:justify;justify-content:space-between;padding:var(--ezp-spacing-4);position:relative;z-index:3}#title{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}#title ezp-label{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#files-badge{background:var(--ezp-theme-translucent);border-radius:999px;color:var(--ezp-theme-solid);font-size:12px;font-weight:600;line-height:1;padding:5px 10px;white-space:nowrap}#header-actions{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2)}#body{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3);padding:var(--ezp-spacing-4)}#files-card{background:var(--ezp-core-surface-secondary);border-radius:12px;padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}#files{position:relative}#files-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);margin:calc(-1 * 4px);max-height:var(--ezp-printerSelection-filesList-maxHeight, calc(4.5 * 20px + 4 * var(--ezp-spacing-2)));overflow-x:hidden;overflow-y:auto;padding:4px;scrollbar-width:thin}.file-row{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;gap:var(--ezp-spacing-3);min-height:20px;min-width:0}.file-row ezp-file-name{-ms-flex:0 1 auto;flex:0 1 auto}.file-row-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px;color:var(--ezp-theme-solid);-ms-flex-negative:0;flex-shrink:0}#printer-caption{color:var(--ezp-core-foreground-secondary);letter-spacing:0.08em;padding:0 var(--ezp-spacing-1);text-transform:uppercase}#printer-card{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--ezp-core-outline);box-shadow:inset 0 0 0 1px var(--ezp-core-outline);position:relative}#printer{--ezp-select-label-display:none;--ezp-select-toggle-gridTemplateAreas:'icon value accessory';--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-textAlign:left}#print{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-theme-solid);border:0;border-radius:8px;color:var(--ezp-white-100);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:var(--ezp-spacing-3);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:13px var(--ezp-spacing-4);-webkit-transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#print ezp-icon{--ezp-icon-size:20px;--ezp-icon-gridTemplate:20px}@media (hover: hover){#print:not(:disabled):hover{opacity:0.9}#print:not(:disabled):active{opacity:0.8}}#print:disabled{background:var(--ezp-core-shade-primary);color:var(--ezp-core-foreground-tertiary);cursor:default}#options{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#options>*{-webkit-box-shadow:inset 0 -1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 -1px 0 0 var(--ezp-core-outline)}#options>*:last-child{-webkit-box-shadow:none;box-shadow:none}#footer{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));border-radius:0 0 16px 16px;border-top:1px solid var(--ezp-core-outline);bottom:0;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr;padding:var(--ezp-spacing-4);position:-webkit-sticky;position:sticky;z-index:3}#cancel{--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-borderRadius:8px;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary);--ezp-textButton-padding:13px var(--ezp-spacing-3)}"};var Cx=e("ezp_printer_selection",function(){function e(e){var t=this;i(this,e);this.printCancel=n(this,"printCancel",7);this.printDismiss=n(this,"printDismiss",7);this.printSubmit=n(this,"printSubmit",7);this.logout=n(this,"logout",7);this.fileExtension="";this.duplexOptions=[{id:1,title:Ce.t("printer_selection.duplex_none")},{id:2,title:Ce.t("printer_selection.duplex_long")},{id:3,title:Ce.t("printer_selection.duplex_short")}];this.ColorOptions=[{id:1,title:Ce.t("printer_selection.color_color")},{id:2,title:Ce.t("printer_selection.color_grayscale")}];this.hidemenu=false;this.hideheader=false;this.loading=true;this.printProcessing=false;this.pageRangeInvalid=false;this.uploading=false;this.preparingUpload=false;this.printSuccess=false;this.printFailed=false;this.printTimedOut=false;this.notSupported=false;this.noPrinters=false;this.hubDriverError=false;this.userMenuOpen=false;this.printStopped=false;this.firstVisibleFile=0;this.printers=[];this.selectedPrinter={id:"",location:"",name:"",is_queue:false};this.selectedPrinterConfig={Default:{Color:"",Duplex:"",Paper:"",Orientation:"",Resolution:"",Tray:""},OrientationsSupported:[],PaperFormats:[],Resolutions:[],DuplexSupported:false,Color:false,Trays:[]};this.selectedProperties={paper:"",paperid:"",color:false,duplex:true,duplexmode:1,orientation:1,copies:"",resolution:0,paperlength:0,paperwidth:0,defaultSource:"",trayname:"",PageRanges:""};this.loadingPrinterConfig=false;this.currentFileIndex=0;this.totalFiles=0;this.failedFiles=[];this.successfulFiles=[];this.partialSuccess=false;this.handleCancel=function(){t.failedFiles=[];t.successfulFiles=[];t.partialSuccess=false;t.hubDriverError=false;t.printDismiss.emit()};this.validateData=function(e){var r=vx(e.jobstatus,t.selectedPrinter.is_queue);switch(r){case"processing":return false;case"success":t.printSuccess=true;t.printProcessing=false;return true;case"hub-error":t.hubDriverError=true;t.printProcessing=false;return true;case"failed":default:t.printFailed=true;t.printProcessing=false;return true}};this.handlePrint=function(){return __awaiter(t,void 0,void 0,(function(){var e,t,r,i,n;var a=this;return __generator(this,(function(o){switch(o.label){case 0:(e=this.printButton)===null||e===void 0?void 0:e.blur();this.printProcessing=true;this.failedFiles=[];this.successfulFiles=[];this.partialSuccess=false;this.hubDriverError=false;if(this.selectedPrinter.is_queue){t=setTimeout((function(){a.hubDriverError=true;a.printProcessing=false}),We)}r=function(){if(a.selectedPrinter.is_queue){a.hubDriverError=true}else{a.printFailed=true}a.printProcessing=false;if(t)clearTimeout(t)};if(hx(this.selectedPrinterConfig)){delete this.selectedProperties.trayname;delete this.selectedProperties.defaultSource}i=at(this.selectedProperties);i=ot(i);if(i.PageRanges)i.PageRanges=st(i.PageRanges);lx.state.fileUrl=this.fileurl;lx.state.fileID=this.fileid;lx.state.fileType=this.filetype;lx.state.printerID=this.selectedPrinter.id;lx.state.printerProperties=this.selectedProperties;lx.state.fileName=this.filename;if(!this.fileurl)return[3,1];this.printService.printFileByUrl(ft.state.accessToken,this.fileurl,this.filetype,this.selectedPrinter.id,i,this.filename).then((function(e){if(e.status===200&&a.selectedPrinter.is_queue){a.printProcessing=false;a.printSuccess=true;if(t)clearTimeout(t)}if(e.status===Ge){return e.json().then((function(e){a.fileid=e.fileid;return a.printService.printByFileID(ft.state.accessToken,a.fileid,a.filetype,a.selectedPrinter.id,i,a.filename)}))}else{return e.json()}})).then((function(e){if(e.code===Ye){a.printFailed=true;a.printProcessing=false;if(t)clearTimeout(t)}else if(a.selectedPrinter.is_queue&&Oe.includes(e.code)){a.hubDriverError=true;a.printProcessing=false;if(t)clearTimeout(t)}else if(e.jobid){lx.state.jobID=e.jobid;nt({fn:a.printService.getPrintStatus,validate:a.validateData,interval:Je,maxAttempts:Xe}).catch((function(e){if(a.isTimeoutError(e)){a.printTimedOut=true;a.printProcessing=false}else{r()}}))}else{r()}})).catch((function(){r()}));return[3,8];case 1:if(!(this.files&&this.files.length>1))return[3,3];return[4,this.processMultipleFiles(this.files,i)];case 2:o.sent();if(t)clearTimeout(t);return[3,8];case 3:if(!(this.files&&this.files.length===1))return[3,8];this.totalFiles=1;this.currentFileIndex=0;this.failedFiles=[];this.successfulFiles=[];o.label=4;case 4:o.trys.push([4,6,,7]);return[4,this.processSingleFile(this.files[0],i)];case 5:o.sent();this.successfulFiles.push(this.files[0].name);this.printSuccess=true;this.partialSuccess=false;this.printProcessing=false;return[3,7];case 6:n=o.sent();this.partialSuccess=false;this.printProcessing=false;if(this.isTimeoutError(n)){this.printTimedOut=true}else{this.failedFiles.push(this.files[0].name);this.printFailed=true;if(n.message&&n.message.includes("Hub printer driver error")){this.hubDriverError=true}}return[3,7];case 7:if(t)clearTimeout(t);o.label=8;case 8:this.rememberSelection();this.printStopped=false;return[2]}}))}))};this.handleUserMenu=function(){t.userMenuOpen=true};this.handleFilesScroll=function(e){var r=et(e.currentTarget);if(r>=0&&r!==t.firstVisibleFile)t.firstVisibleFile=r};this.validateFileType=function(e){return __awaiter(t,void 0,void 0,(function(){var t,r;return __generator(this,(function(i){r=(t=e.split(".").pop())!==null&&t!==void 0?t:"";this.fileExtension=r.toLowerCase();return[2,lx.state.supportedFileExtensions.includes("".concat(this.fileExtension))]}))}))}}e.prototype.listenInputValueChanged=function(e){this.setSelectedProperties(e.detail)};e.prototype.listenSelectSelection=function(e){this.setSelectedProperties(e.detail)};e.prototype.listenStepperChanged=function(e){this.selectedProperties.copies=e.detail};e.prototype.listenUserMenuClosure=function(){this.userMenuOpen=false};e.prototype.listenLogout=function(){this.printCancel.emit();this.logout.emit()};e.prototype.listenStatusCancel=function(e){if(e.detail==="print-processing"){this.printStopped=true;this.printProcessing=false;this.printService.abortPrint()}};e.prototype.listenStatusClose=function(e){switch(e.detail){case"print-success":this.printSuccess=false;this.partialSuccess=false;this.failedFiles=[];this.successfulFiles=[];this.printCancel.emit();break;case"print-failed":this.printFailed=false;break;case"print-timeout":this.printTimedOut=false;this.printCancel.emit();break;case"hub-driver-error":this.hubDriverError=false;break;case"not-supported":this.noPrinters=false;break;case"no-printers":this.noPrinters=false;this.printCancel.emit();break}};e.prototype.listenStatusRetry=function(e){switch(e.detail){case"not-supported":this.printCancel.emit();break;case"print-failed":this.printFailed=false;this.printProcessing=false;this.handlePrint();break;case"print-timeout":this.printTimedOut=false;this.printProcessing=false;this.handlePrint();break;case"hub-driver-error":this.hubDriverError=false;this.printProcessing=false;this.handlePrint();break}};Object.defineProperty(e.prototype,"printDisabled",{get:function(){return this.selectedPrinter.id===""||this.loadingPrinterConfig||this.printProcessing||this.pageRangeInvalid},enumerable:false,configurable:true});e.prototype.rememberSelection=function(){if(!this.selectedPrinter.id)return;dt.setPrinterSettings(this.selectedPrinter.id,fx(this.selectedProperties));dt.setPrinter(this.selectedPrinter)};e.prototype.selectInitialPrinter=function(){var e,t;var r=dt.getPrinter();var i=(e=this.printers)===null||e===void 0?void 0:e.some((function(e){return e.id===(r===null||r===void 0?void 0:r.id)}));if(r&&!i)dt.clearSavedPrinter();if(r&&i){this.selectedPrinter=r}else if(((t=this.printers)===null||t===void 0?void 0:t.length)===1){this.selectedPrinter=this.printers[0]}else{this.selectedPrinter={id:"",location:"",name:"",is_queue:false}}this.setPaperid()};e.prototype.setPaperid=function(){this.paperid=this.selectedProperties.paperid};e.prototype.getUserInfo=function(){var e=this;var t=new cx;return t.getUserInfo().then((function(t){ux.state.user=t;e.userName=ux.state.user.display_name}))};e.prototype.setSelectedProperties=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r;return __generator(this,(function(i){switch(i.label){case 0:t=e.type;switch(t){case"printer":return[3,1];case"color":return[3,3];case"orientation":return[3,4];case"format":return[3,5];case"quality":return[3,6];case"length":return[3,7];case"width":return[3,8];case"tray":return[3,9];case"paper_ranges":return[3,10];case"duplex":return[3,11]}return[3,12];case 1:r=this.printers.find((function(t){return t.id===e.id}));this.selectedPrinter=r!==null&&r!==void 0?r:{id:e.id,name:e.title,location:"",is_queue:e.is_queue};return[4,this.loadSelectedPrinterConfig()];case 2:i.sent();return[3,12];case 3:this.selectedProperties.color=e.title==Ce.t("printer_selection.color_color")?true:false;return[3,12];case 4:this.selectedProperties.orientation=e.id;return[3,12];case 5:this.selectedProperties.paper=e.title;this.selectedProperties.paperid=e.id;return[3,12];case 6:this.selectedProperties.resolution=e.title;return[3,12];case 7:this.selectedProperties.paperlength=e.value;return[3,12];case 8:this.selectedProperties.paperwidth=e.value;return[3,12];case 9:if(hx(this.selectedPrinterConfig)){delete this.selectedProperties.trayname;delete this.selectedProperties.defaultSource}if(gx(this.selectedPrinterConfig)){this.selectedProperties.trayname=e.title;this.selectedProperties.defaultSource=e.id}return[3,12];case 10:this.selectedProperties.PageRanges=e.value;this.pageRangeInvalid=!lt(this.selectedProperties.PageRanges);return[3,12];case 11:if(e.title==Ce.t("printer_selection.duplex_none")||e.title==Ce.t("printer_selection.duplex_long")||e.title==Ce.t("printer_selection.duplex_short")){this.selectedProperties.duplex=true}else{this.selectedProperties.duplex=false}this.selectedProperties.duplexmode=e.id;return[3,12];case 12:this.setPaperid();return[2]}}))}))};e.prototype.processSingleFile=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r=this;return __generator(this,(function(i){switch(i.label){case 0:return[4,xx({service:this.printService,accessToken:ft.state.accessToken,printerId:this.selectedPrinter.id,isQueue:this.selectedPrinter.is_queue,properties:t,pollIntervalMs:Je},e,{onPreparing:function(e){return r.preparingUpload=e},onUploading:function(e){return r.uploading=e},onJobId:function(e){return lx.state.jobID=e}})];case 1:i.sent();return[2]}}))}))};e.prototype.duplexPreSelection=function(){var e;if(!this.selectedPrinter.id)return null;var t=Number(this.selectedProperties.duplexmode);if(t)return t;switch((e=this.selectedPrinterConfig.Default)===null||e===void 0?void 0:e.Duplex){case"duplex_simplex":return Ce.t("printer_selection.duplex_none");case"duplex_vertical":return Ce.t("printer_selection.duplex_long");case"duplex_horizontal":return Ce.t("printer_selection.duplex_short");default:return null}};e.prototype.paperPreSelection=function(){var e,t;if(!this.selectedPrinter.id)return null;if(this.selectedProperties.paper)return this.selectedProperties.paper;var r=(e=this.selectedPrinterConfig.Default)===null||e===void 0?void 0:e.Paper;return r&&((t=this.selectedPrinterConfig.PaperFormats)===null||t===void 0?void 0:t.some((function(e){return e.Name.includes(r)})))?r:null};e.prototype.trayPreSelection=function(){var e,t;if(!this.selectedPrinter.id)return null;if(this.selectedProperties.trayname)return this.selectedProperties.trayname;var r=(e=this.selectedPrinterConfig.Default)===null||e===void 0?void 0:e.Tray;return r&&((t=this.selectedPrinterConfig.Trays)===null||t===void 0?void 0:t.some((function(e){return e===null||e===void 0?void 0:e.Name.includes(r)})))?r:null};e.prototype.setDefaultPaperFormat=function(){var e,t,r,i,n;var a;var o=navigator.language;if(o==="en-US"){a="Letter"}else if(o==="my"){a="Letter"}else{a="A4"}var s=(e=this.selectedPrinterConfig.PaperFormats)===null||e===void 0?void 0:e.find((function(e){return e.Name.includes(a)}));if(s){this.selectedProperties.paper=s.Name;this.selectedProperties.paperid=s.Id}else{this.selectedProperties.paper=(r=(t=this.selectedPrinterConfig.PaperFormats)===null||t===void 0?void 0:t[0])===null||r===void 0?void 0:r.Name;this.selectedProperties.paperid=(n=(i=this.selectedPrinterConfig.PaperFormats)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.Id}this.setPaperid()};e.prototype.processMultipleFiles=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,i,n;return __generator(this,(function(a){switch(a.label){case 0:this.totalFiles=e.length;this.currentFileIndex=0;this.failedFiles=[];this.successfulFiles=[];r=0;a.label=1;case 1:if(!(r<e.length))return[3,6];this.currentFileIndex=r;i=e[r];a.label=2;case 2:a.trys.push([2,4,,5]);return[4,this.processSingleFile(i,t)];case 3:a.sent();this.successfulFiles.push(i.name);return[3,5];case 4:n=a.sent();this.failedFiles.push(i.name);return[3,5];case 5:r++;return[3,1];case 6:if(this.failedFiles.length===0){this.printSuccess=true;this.partialSuccess=false;this.printProcessing=false}else if(this.successfulFiles.length===0){this.printFailed=true;this.partialSuccess=false;this.printProcessing=false}else{this.printSuccess=true;this.partialSuccess=true;this.printProcessing=false}return[2]}}))}))};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,i,n,a,o,s,l,c;var u=this;return __generator(this,(function(d){switch(d.label){case 0:this.unsubscribeLanguage=$e(this);this.printService=new sx(this.redirectURI,this.clientID);this.printService.registerFetchInterceptor();d.label=1;case 1:d.trys.push([1,,20,21]);return[4,this.getUserInfo().catch((function(){return undefined}))];case 2:d.sent();e=false;d.label=3;case 3:d.trys.push([3,5,,6]);return[4,this.printService.getPrinterList(ft.state.accessToken)];case 4:t=d.sent();if(!Array.isArray(t))throw new Error("Unexpected printer list payload");this.printers=t;e=true;return[3,6];case 5:r=d.sent();this.printers=[];return[3,6];case 6:if(!!e)return[3,7];this.noPrinters=true;return[3,9];case 7:if(this.printers.length===0){this.noPrinters=true}this.selectInitialPrinter();if(!(this.selectedPrinter.id!=""))return[3,9];return[4,this.loadSelectedPrinterConfig()];case 8:d.sent();d.label=9;case 9:i=false;d.label=10;case 10:d.trys.push([10,13,,14]);return[4,this.printService.getConfig(ft.state.accessToken)];case 11:return[4,d.sent().json()];case 12:n=d.sent();lx.state.supportedFileExtensions=n.System.FILEEXT;i=true;return[3,14];case 13:a=d.sent();return[3,14];case 14:d.trys.push([14,16,,17]);return[4,this.printService.getAllPrinterProperties(ft.state.accessToken).then((function(e){u.printerConfig=e}))];case 15:d.sent();return[3,17];case 16:o=d.sent();return[3,17];case 17:if(!(i&&this.files&&this.files.length>0))return[3,19];s=this.files.map((function(e){return u.validateFileType(e.name)}));return[4,Promise.all(s)];case 18:l=d.sent();c=l.every((function(e){return e}));this.notSupported=!c;d.label=19;case 19:return[3,21];case 20:this.loading=false;return[7];case 21:return[2]}}))}))};e.prototype.loadSelectedPrinterConfig=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(i){switch(i.label){case 0:this.loadingPrinterConfig=true;i.label=1;case 1:i.trys.push([1,3,4,5]);return[4,this.printService.getPrinterProperties(ft.state.accessToken,this.selectedPrinter.id)];case 2:e=i.sent();t=e===null||e===void 0?void 0:e[0];if(!t)throw new Error("No properties returned for the selected printer");this.selectedPrinterConfig=t;px(t,dt.getPrinterSettings(this.selectedPrinter.id),this.selectedProperties);this.setPaperid();if(this.selectedProperties.paper===""){this.setDefaultPaperFormat()}return[3,5];case 3:r=i.sent();this.selectedPrinter={id:"",location:"",name:"",is_queue:false};return[3,5];case 4:this.loadingPrinterConfig=false;return[7];case 5:return[2]}}))}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.processingDescription=function(){if(this.preparingUpload)return Ce.t("printer_selection.prepare_upload");if(this.uploading){var e=Math.round(lx.state.uploadProgress);var t=this.totalFiles>1?"".concat(this.currentFileIndex+1,"/").concat(this.totalFiles," · "):"";return"".concat(Ce.t("printer_selection.uploading")," (").concat(t).concat(e,"%)")}if(this.totalFiles>1){return"".concat(Ce.t("printer_selection.print_processing")," (").concat(this.currentFileIndex+1,"/").concat(this.totalFiles,")")}return Ce.t("printer_selection.print_processing")};e.prototype.pullPrintSuccessDescription=function(){var e=Ce.t("printer_selection.pull_print_success");if(this.totalFiles<=1)return e;return this.failedFiles.length>0?"".concat(e," (").concat(this.successfulFiles.length,"/").concat(this.totalFiles," files)"):"".concat(e," (").concat(this.totalFiles," files)")};e.prototype.printSuccessDescription=function(){var e=Ce.t("printer_selection.print_success");var t=Ce.t("printer_selection.files");if(this.totalFiles<=1)return e;return this.partialSuccess?"".concat(e," (").concat(this.successfulFiles.length,"/").concat(this.totalFiles," ").concat(t," - ").concat(this.failedFiles.length," failed"):"".concat(e," (").concat(this.totalFiles," ").concat(t,")")};e.prototype.isTimeoutError=function(e){var t=e instanceof Error?e.message:String(e);return t.includes("Exceeded max attempts")||t.includes("timed out")};e.prototype.renderStatus=function(){if(this.printProcessing){return a("ezp-status",{processing:true,description:this.processingDescription(),instance:"print-processing",cancel:true})}if(this.selectedPrinter.is_queue&&this.printSuccess){return a("ezp-status",{icon:"checkmark-alt",description:this.pullPrintSuccessDescription(),instance:"print-success",close:true})}if(this.printSuccess){return a("ezp-status",{icon:this.partialSuccess?"exclamation-mark":"checkmark-alt",description:this.printSuccessDescription(),subtext:this.partialSuccess?undefined:Ce.t("printer_selection.print_success_sub"),instance:"print-success",close:true})}if(this.printTimedOut){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.print_timeout"),instance:"print-timeout",close:true,retry:true})}if(this.printFailed){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.print_failed"),instance:"print-failed",close:true,retry:true})}if(this.notSupported){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.not_supported"),instance:"not-supported",retry:true})}if(this.hubDriverError){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.print_failed"),instance:"hub-driver-error",close:true,retry:true})}if(this.noPrinters){return a("ezp-status",{icon:"exclamation-mark",description:Ce.t("printer_selection.no_printers"),instance:"no-printers",close:true})}return null};e.prototype.render=function(){var e=this;var t,r,i,n,s,l,u,d,m,p;var f=this.files&&this.files.length>0?this.files.map((function(e){return e.name})):this.filename?[this.filename]:[];var h=f.length;return this.loading?a("ezp-status",{processing:true,description:Ce.t("printer_selection.loading"),instance:"loading"}):a(o,{class:{seamless:this.seamless}},a("div",{id:"box","data-backdrop-surface":true},!this.printStopped&&this.renderStatus(),!this.hideheader&&a("div",{id:"header"},a("div",{id:"title"},a("ezp-label",{weight:"heavy",text:Ce.t("printer_selection.print")}),!this.notSupported&&h>0&&a("span",{id:"files-badge"},Ce.t("printer_selection.file_count",{count:h}))),a("div",{id:"header-actions"},!this.hidemenu&&a("ezp-icon-button",{level:"tertiary",icon:"menu",id:"toggle-menu",type:"button",onClick:this.handleUserMenu}),a("ezp-icon-button",{level:"tertiary",icon:"close",id:"close",type:"button",onClick:this.handleCancel}))),a("div",{id:"body"},!this.notSupported&&f.length>0&&a("div",{id:"files-card"},a("div",{id:"files"},a("div",{id:"files-list",onScroll:this.handleFilesScroll},f.map((function(t,r){return a("div",{class:"file-row",key:r},a("ezp-icon",{name:"file",class:"file-row-icon"}),a("ezp-file-name",{name:t,anchor:"parent",placement:r===e.firstVisibleFile?"bottom":"top"}))}))))),a("ezp-label",{id:"printer-caption",level:"tertiary",weight:"heavy",text:Ce.t("printer_selection.printer")}),a("div",{id:"printer-card"},a("ezp-select",{id:"printer",label:Ce.t("printer_selection.printer"),icon:"printer",placeholder:this.printers.length>0?Ce.t("printer_selection.select_printer"):Ce.t("printer_selection.no_printers"),toggleFlow:"vertical",optionFlow:"vertical",options:this.printers.map((function(e){return{id:e.id,title:e.name,meta:e.location!==""?e.location:"",type:"printer",is_queue:e.is_queue}})),preSelected:this.selectedPrinter.id?this.selectedPrinter.name:null,disabled:!(this.printers.length>0)})),a("div",{id:"options"},a("ezp-stepper",{label:Ce.t("printer_selection.copies")}),a("ezp-select",{label:Ce.t("printer_selection.color"),placeholder:Ce.t("printer_selection.select_color"),toggleFlow:"horizontal",options:(t=this.ColorOptions)===null||t===void 0?void 0:t.map((function(e){return{id:e.id,title:e.title,meta:"",type:"color"}})),preSelected:this.selectedPrinter.id?this.selectedProperties.color?Ce.t("printer_selection.color_color"):Ce.t("printer_selection.color_grayscale"):null,disabled:!this.selectedPrinterConfig.ColorSupported}),a("ezp-select",{label:Ce.t("printer_selection.duplex"),placeholder:Ce.t("printer_selection.select_duplex"),toggleFlow:"horizontal",options:(r=this.duplexOptions)===null||r===void 0?void 0:r.map((function(e){return{id:e.id,title:e.title,meta:"",type:"duplex"}})),preSelected:this.duplexPreSelection(),disabled:!this.selectedPrinterConfig.DuplexSupported}),a("ezp-select",{label:Ce.t("printer_selection.size"),placeholder:Ce.t("printer_selection.select_size"),toggleFlow:"horizontal",optionFlow:"horizontal",options:this.selectedPrinterConfig.PaperFormats&&this.selectedPrinterConfig.PaperFormats.map((function(e){return{id:e.Id,title:e.Name,meta:"".concat(e.XRes," x ").concat(e.YRes),type:"format"}})),preSelected:this.paperPreSelection(),disabled:!(((n=(i=this.selectedPrinterConfig.PaperFormats)===null||i===void 0?void 0:i.length)!==null&&n!==void 0?n:0)>0)}),this.paperid==Ke?a(c,null,a("ezp-input",{suffix:"mm",value:this.selectedProperties.paperwidth,eventType:"width",type:"number",label:Ce.t("printer_selection.width")}),a("ezp-input",{suffix:"mm",value:this.selectedProperties.paperlength,eventType:"length",type:"number",label:Ce.t("printer_selection.length")})):null,a("ezp-select",{label:Ce.t("printer_selection.orientation"),placeholder:Ce.t("printer_selection.select_orientation"),toggleFlow:"horizontal",options:(s=this.selectedPrinterConfig.OrientationsSupported)===null||s===void 0?void 0:s.map((function(e,t){return{id:t+1,title:Ce.t("printer_selection.orientation_".concat(e)),meta:"",type:"orientation"}})),preSelected:this.selectedPrinter.id?this.selectedProperties.orientation:null,disabled:!(((u=(l=this.selectedPrinterConfig.OrientationsSupported)===null||l===void 0?void 0:l.length)!==null&&u!==void 0?u:0)>0)}),a("ezp-select",{label:Ce.t("printer_selection.quality"),placeholder:Ce.t("printer_selection.select_quality"),toggleFlow:"horizontal",options:(d=this.selectedPrinterConfig.Resolutions)===null||d===void 0?void 0:d.map((function(e,t){return{id:t,title:e,meta:"",type:"quality"}})),preSelected:this.selectedPrinter.id?this.selectedProperties.resolution||null:null,disabled:!(((p=(m=this.selectedPrinterConfig.Resolutions)===null||m===void 0?void 0:m.length)!==null&&p!==void 0?p:0)>0)}),this.selectedPrinterConfig.Trays&&this.selectedPrinterConfig.Trays.length>=1&&this.selectedPrinterConfig.Trays[0]!=null?a("ezp-select",{label:Ce.t("printer_selection.trays"),placeholder:Ce.t("printer_selection.select_trays"),toggleFlow:"horizontal",optionFlow:"horizontal",options:this.selectedPrinterConfig.Trays&&this.selectedPrinterConfig.Trays.length>=1?this.selectedPrinterConfig.Trays.map((function(e){return{title:e.Name,id:e.Index,meta:"",type:"tray"}})):undefined,preSelected:this.trayPreSelection()}):null,a("ezp-input",{suffix:"",placeholder:"1-2,4-5,8",value:this.selectedProperties.PageRanges,eventType:"paper_ranges",type:"text",label:Ce.t("printer_selection.page_ranges")}))),a("div",{id:"footer"},a("ezp-text-button",{type:"button",level:"secondary",onClick:this.handleCancel,label:Ce.t("button_actions.cancel"),class:"action",id:"cancel"}),a("button",{id:"print",type:"button",disabled:this.printDisabled,onClick:this.handlePrint,ref:function(t){return e.printButton=t}},a("ezp-icon",{name:"printer"}),a("ezp-label",{weight:"heavy",text:Ce.t("printer_selection.print")}))),!this.hidemenu&&a("ezp-user-menu",{open:this.userMenuOpen,name:this.userName})))};return e}());Cx.style=Nx();var zx="account.ezeep.com";var Ix="printapi.ezeep.com";var wx={authApiHostUrl:zx,printingApiHostUrl:Ix};var Sx=function(){return':host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:rgba(0, 0, 0, 0.1);--ezp-black-20:rgba(0, 0, 0, 0.2);--ezp-black-30:rgba(0, 0, 0, 0.3);--ezp-black-40:rgba(0, 0, 0, 0.4);--ezp-black-50:rgba(0, 0, 0, 0.5);--ezp-black-60:rgba(0, 0, 0, 0.6);--ezp-black-70:rgba(0, 0, 0, 0.7);--ezp-black-80:rgba(0, 0, 0, 0.8);--ezp-black-90:rgba(0, 0, 0, 0.9);--ezp-black-95:rgba(0, 0, 0, 0.95);--ezp-black-100:rgb(0, 0, 0)}:host{--ezp-white-5:rgba(255, 255, 255, 0.05);--ezp-white-10:rgba(255, 255, 255, 0.1);--ezp-white-20:rgba(255, 255, 255, 0.2);--ezp-white-30:rgba(255, 255, 255, 0.3);--ezp-white-40:rgba(255, 255, 255, 0.4);--ezp-white-50:rgba(255, 255, 255, 0.5);--ezp-white-60:rgba(255, 255, 255, 0.6);--ezp-white-70:rgba(255, 255, 255, 0.7);--ezp-white-80:rgba(255, 255, 255, 0.8);--ezp-white-90:rgba(255, 255, 255, 0.9);--ezp-white-95:rgba(255, 255, 255, 0.95);--ezp-white-100:rgb(255, 255, 255)}:host{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", sans-serif;-webkit-font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--ezp-duration-1:0.1s;--ezp-duration-2:0.16s;--ezp-duration-3:0.26s;--ezp-duration-4:0.42s;--ezp-duration-5:0.68s;--ezp-duration-6:1s;--ezp-spacing-1:4px;--ezp-spacing-2:6px;--ezp-spacing-3:10px;--ezp-spacing-4:16px;--ezp-spacing-5:26px;--ezp-spacing-6:42px;--ezp-spacing-7:68px;--ezp-spacing-8:110px;--ezp-easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--ezp-easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ezp-easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ezp-easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ezp-easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ezp-easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1)}:host([fit-parent]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%;min-height:0}:host([fit-parent]) ezp-upload{-ms-flex:1 1 auto;flex:1 1 auto;min-height:0}:host([fit-parent]) ezp-auth{-ms-flex-negative:0;flex-shrink:0}:host(.light){--ezp-accent-pink-solid:rgb(242, 50, 103);--ezp-accent-pink-solid-alt:rgb(223, 21, 89);--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-pink-faded:rgba(242, 50, 103, 0.1);--ezp-accent-red-solid:rgb(242, 59, 34);--ezp-accent-red-solid-alt:rgb(222, 35, 19);--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-red-faded:rgba(242, 59, 34, 0.1);--ezp-accent-orange-solid:rgb(254, 114, 0);--ezp-accent-orange-solid-alt:rgb(245, 98, 0);--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-orange-faded:rgba(254, 114, 0, 0.1);--ezp-accent-yellow-solid:rgb(255, 162, 0);--ezp-accent-yellow-solid-alt:rgb(254, 144, 0);--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-yellow-faded:rgba(255, 162, 0, 0.1);--ezp-accent-green-solid:rgb(93, 146, 0);--ezp-accent-green-solid-alt:rgb(81, 129, 0);--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-green-faded:rgba(93, 146, 0, 0.1);--ezp-accent-teal-solid:rgb(0, 150, 124);--ezp-accent-teal-solid-alt:rgb(0, 132, 110);--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-teal-faded:rgba(0, 150, 124, 0.1);--ezp-accent-cyan-solid:rgb(0, 143, 178);--ezp-accent-cyan-solid-alt:rgb(0, 126, 158);--ezp-accent-cyan-translucent:rgba(0, 143, 178, 0.1);--ezp-accent-cyan-faded:rgba(0, 143, 178, 0.1);--ezp-accent-blue-solid:rgb(80, 129, 241);--ezp-accent-blue-solid-alt:rgb(59, 114, 223);--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-blue-faded:rgba(80, 129, 241, 0.1);--ezp-accent-dark-blue-solid:rgb(0, 47, 109);--ezp-accent-dark-blue-solid-alt:rgb(0, 35, 84);--ezp-accent-dark-blue-translucent:rgba(0, 47, 109, 0.16);--ezp-accent-dark-blue-faded:rgba(0, 47, 109, 0.1);--ezp-accent-violet-solid:rgb(174, 94, 243);--ezp-accent-violet-solid-alt:rgb(157, 78, 226);--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-accent-violet-faded:rgba(174, 94, 243, 0.1)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-accent-pink-solid:color(display-p3 0.949 0.196 0.404 / 100%);--ezp-accent-pink-solid-alt:color(display-p3 0.875 0.082 0.349 / 100%);--ezp-accent-pink-translucent:color(display-p3 0.949 0.196 0.404 / 16%);--ezp-accent-pink-faded:color(display-p3 0.949 0.196 0.404 / 10%);--ezp-accent-red-solid:color(display-p3 0.949 0.231 0.133 / 100%);--ezp-accent-red-solid-alt:color(display-p3 0.871 0.137 0.075 / 100%);--ezp-accent-red-translucent:color(display-p3 0.949 0.231 0.133 / 16%);--ezp-accent-red-faded:color(display-p3 0.949 0.231 0.133 / 10%);--ezp-accent-orange-solid:color(display-p3 0.996 0.447 0 / 100%);--ezp-accent-orange-solid-alt:color(display-p3 0.961 0.384 0 / 100%);--ezp-accent-orange-translucent:color(display-p3 0.996 0.447 0 / 16%);--ezp-accent-orange-faded:color(display-p3 0.996 0.447 0 / 10%);--ezp-accent-yellow-solid:color(display-p3 1 0.635 0 / 100%);--ezp-accent-yellow-solid-alt:color(display-p3 0.996 0.565 0 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.635 0 / 16%);--ezp-accent-yellow-faded:color(display-p3 1 0.635 0 / 10%);--ezp-accent-green-solid:color(display-p3 0.365 0.573 0 / 100%);--ezp-accent-green-solid-alt:color(display-p3 0.318 0.506 0 / 100%);--ezp-accent-green-translucent:color(display-p3 0.365 0.573 0 / 16%);--ezp-accent-green-faded:color(display-p3 0.365 0.573 0 / 10%);--ezp-accent-teal-solid:color(display-p3 0 0.588 0.486 / 100%);--ezp-accent-teal-solid-alt:color(display-p3 0 0.518 0.431 / 100%);--ezp-accent-teal-translucent:color(display-p3 0 0.588 0.486 / 16%);--ezp-accent-teal-faded:color(display-p3 0 0.588 0.486 / 10%);--ezp-accent-cyan-solid:color(display-p3 0 0.561 0.698 / 100%);--ezp-accent-cyan-solid-alt:color(display-p3 0 0.494 0.62 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0 0.561 0.698 / 10%);--ezp-accent-cyan-faded:color(display-p3 0 0.561 0.698 / 10%);--ezp-accent-blue-solid:color(display-p3 0.314 0.506 0.945 / 100%);--ezp-accent-blue-solid-alt:color(display-p3 0.231 0.447 0.875 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.314 0.506 0.945 / 16%);--ezp-accent-blue-faded:color(display-p3 0.314 0.506 0.945 / 10%);--ezp-accent-dark-blue-solid:color(display-p3 0 0.184 0.427 / 100%);--ezp-accent-dark-blue-solid-alt:color(display-p3 0 0.137 0.329 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0 0.184 0.427 / 16%);--ezp-accent-dark-blue-faded:color(display-p3 0 0.184 0.427 / 10%);--ezp-accent-violet-solid:color(display-p3 0.682 0.369 0.953 / 100%);--ezp-accent-violet-solid-alt:color(display-p3 0.616 0.306 0.886 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.682 0.369 0.953 / 16%);--ezp-accent-violet-faded:color(display-p3 0.682 0.369 0.953 / 10%)}}}:host(.light){--ezp-core-surface-primary:rgb(255, 255, 255);--ezp-core-surface-secondary:rgb(243, 243, 243);--ezp-core-surface-secondary-alt:rgb(249, 249, 249);--ezp-core-surface-tertiary:rgb(255, 255, 255);--ezp-core-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-core-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-core-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-core-shade-primary:rgba(139, 139, 139, 0.1);--ezp-core-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-core-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-core-outline:rgba(99, 99, 99, 0.16);--ezp-core-edge:rgba(0, 0, 0, 0.1);--ezp-core-backdrop:rgba(0, 0, 0, 0.26)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-core-surface-primary:color(display-p3 1 1 1 / 100%);--ezp-core-surface-secondary:color(display-p3 0.953 0.953 0.953 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.976 0.976 0.976 / 100%);--ezp-core-surface-tertiary:color(display-p3 1 1 1 / 100%);--ezp-core-foreground-primary:color(display-p3 0 0 0 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.243 0.243 0.243 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.243 0.243 0.243 / 42%);--ezp-core-shade-primary:color(display-p3 0.545 0.545 0.545 / 10%);--ezp-core-shade-secondary:color(display-p3 0.545 0.545 0.545 / 16%);--ezp-core-shade-tertiary:color(display-p3 0.545 0.545 0.545 / 22%);--ezp-core-outline:color(display-p3 0.388 0.388 0.388 / 16%);--ezp-core-edge:color(display-p3 0 0 0 / 10%);--ezp-core-backdrop:color(display-p3 0 0 0 / 26%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-core-outline), inset -1px 0 0 0 var(--ezp-core-outline);--ezp-printerSelection-box-boxShadow:0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-footer-boxShadowPosition:inset 0 0 0 1px;--ezp-printerSelection-header-boxShadowPosition:inset 0 0 0 1px;--ezp-select-wrap-boxShadowPositionBottom:inset 0 -1px 0 0;--ezp-select-wrap-boxShadowPositionLeft:inset 1px 0 0 0;--ezp-select-wrap-boxShadowPositionRight:inset -1px 0 0 0;--ezp-select-wrap-boxShadowPositionTop:inset 0 1px 0 0;--ezp-status-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-stepper-boxShadowPosition:inset 0 0 0 1px;--ezp-userMenu-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-userMenu-header-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-links-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-theme-boxShadowPosition:inset 0 -1px 0 0;--ezp-input-box-shadow-position-top:inset 0 1px 0 0;--ezp-input-box-shadow-position-right:inset -1px 0 0 0;--ezp-input-box-shadow-position-bottom:inset 0 -1px 0 0;--ezp-input-box-shadow-position-left:inset 1px 0 0 0;--ezp-accent-pink-solid:rgb(255, 65, 113);--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-pink-faded:rgba(255, 65, 113, 0.16);--ezp-accent-red-solid:rgb(255, 72, 44);--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-red-faded:rgba(255, 72, 44, 0.16);--ezp-accent-orange-solid:rgb(255, 129, 28);--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-orange-faded:rgba(255, 129, 28, 0.16);--ezp-accent-yellow-solid:rgb(255, 175, 58);--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-yellow-faded:rgba(255, 175, 58, 0.16);--ezp-accent-green-solid:rgb(103, 156, 21);--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-green-faded:rgba(103, 156, 21, 0.16);--ezp-accent-teal-solid:rgb(29, 160, 134);--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-teal-faded:rgba(29, 160, 134, 0.16);--ezp-accent-cyan-solid:rgb(32, 153, 189);--ezp-accent-cyan-translucent:rgba(32, 153, 189, 0.26);--ezp-accent-cyan-faded:rgba(32, 153, 189, 0.16);--ezp-accent-blue-solid:rgb(93, 139, 253);--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-blue-faded:rgba(93, 139, 253, 0.16);--ezp-accent-dark-blue-solid:rgb(20, 56, 119);--ezp-accent-dark-blue-translucent:rgba(20, 56, 119, 0.26);--ezp-accent-dark-blue-faded:rgba(20, 56, 119, 0.16);--ezp-accent-violet-solid:rgb(186, 105, 255);--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-accent-violet-faded:rgba(186, 105, 255, 0.16)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-accent-pink-solid:color(display-p3 1 0.255 0.443 / 100%);--ezp-accent-pink-translucent:color(display-p3 1 0.255 0.443 / 26%);--ezp-accent-pink-faded:color(display-p3 1 0.255 0.443 / 16%);--ezp-accent-red-solid:color(display-p3 1 0.282 0.173 / 100%);--ezp-accent-red-translucent:color(display-p3 1 0.282 0.173 / 26%);--ezp-accent-red-faded:color(display-p3 1 0.282 0.173 / 16%);--ezp-accent-orange-solid:color(display-p3 1 0.506 0.11 / 100%);--ezp-accent-orange-translucent:color(display-p3 1 0.506 0.11 / 26%);--ezp-accent-orange-faded:color(display-p3 1 0.506 0.11 / 16%);--ezp-accent-yellow-solid:color(display-p3 1 0.686 0.227 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.686 0.227 / 26%);--ezp-accent-yellow-faded:color(display-p3 1 0.686 0.227 / 16%);--ezp-accent-green-solid:color(display-p3 0.404 0.612 0.082 / 100%);--ezp-accent-green-translucent:color(display-p3 0.404 0.612 0.082 / 26%);--ezp-accent-green-faded:color(display-p3 0.404 0.612 0.082 / 16%);--ezp-accent-teal-solid:color(display-p3 0.114 0.627 0.525 / 100%);--ezp-accent-teal-translucent:color(display-p3 0.114 0.627 0.525 / 26%);--ezp-accent-teal-faded:color(display-p3 0.114 0.627 0.525 / 16%);--ezp-accent-cyan-solid:color(display-p3 0.125 0.6 0.741 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0.125 0.6 0.741 / 26%);--ezp-accent-cyan-faded:color(display-p3 0.125 0.6 0.741 / 16%);--ezp-accent-blue-solid:color(display-p3 0.365 0.545 0.992 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.365 0.545 0.992 / 26%);--ezp-accent-blue-faded:color(display-p3 0.365 0.545 0.992 / 16%);--ezp-accent-dark-blue-solid:color(display-p3 0.078 0.22 0.467 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0.078 0.22 0.467 / 26%);--ezp-accent-dark-blue-faded:color(display-p3 0.078 0.22 0.467 / 16%);--ezp-accent-violet-solid:color(display-p3 0.729 0.412 1 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1 / 26%);--ezp-accent-violet-faded:color(display-p3 0.729 0.412 1 / 16%)}}}:host(.dark){--ezp-core-surface-primary:rgb(0, 0, 0);--ezp-core-surface-secondary:rgb(27, 27, 27);--ezp-core-surface-secondary-alt:rgb(19, 19, 19);--ezp-core-surface-tertiary:rgb(40, 40, 40);--ezp-core-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-core-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-core-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-core-shade-primary:rgba(99, 99, 99, 0.26);--ezp-core-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-core-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-core-outline:rgba(139, 139, 139, 0.26);--ezp-core-edge:rgba(255, 255, 255, 0.16);--ezp-core-backdrop:rgba(0, 0, 0, 0.68)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-core-surface-primary:color(display-p3 0 0 0 / 100%);--ezp-core-surface-secondary:color(display-p3 0.106 0.106 0.106 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.075 0.075 0.075 / 100%);--ezp-core-surface-tertiary:color(display-p3 0.157 0.157 0.157 / 100%);--ezp-core-foreground-primary:color(display-p3 1 1 1 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.714 0.714 0.714 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.714 0.714 0.714 / 42%);--ezp-core-shade-primary:color(display-p3 0.388 0.388 0.388 / 26%);--ezp-core-shade-secondary:color(display-p3 0.388 0.388 0.388 / 32%);--ezp-core-shade-tertiary:color(display-p3 0.388 0.388 0.388 / 38%);--ezp-core-outline:color(display-p3 0.545 0.545 0.545 / 26%);--ezp-core-edge:color(display-p3 1 1 1 / 16%);--ezp-core-backdrop:color(display-p3 0 0 0 / 68%)}}}:host(.seamless){--ezp-status-border-radius:0;--ezp-backdrop-border-radius:0}:host(.blue){--ezp-theme-solid:var(--ezp-accent-blue-solid);--ezp-theme-translucent:var(--ezp-accent-blue-translucent)}:host(.cyan){--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent)}:host(.green){--ezp-theme-solid:var(--ezp-accent-green-solid);--ezp-theme-translucent:var(--ezp-accent-green-translucent)}:host(.teal){--ezp-theme-solid:var(--ezp-accent-teal-solid);--ezp-theme-translucent:var(--ezp-accent-teal-translucent)}:host(.orange){--ezp-theme-solid:var(--ezp-accent-orange-solid);--ezp-theme-translucent:var(--ezp-accent-orange-translucent)}:host(.pink){--ezp-theme-solid:var(--ezp-accent-pink-solid);--ezp-theme-translucent:var(--ezp-accent-pink-translucent)}:host(.red){--ezp-theme-solid:var(--ezp-accent-red-solid);--ezp-theme-translucent:var(--ezp-accent-red-translucent)}:host(.violet){--ezp-theme-solid:var(--ezp-accent-violet-solid);--ezp-theme-translucent:var(--ezp-accent-violet-translucent)}'};var Bx=e("ezp_printing",function(){function e(e){i(this,e);this.printFinished=n(this,"printFinished",7);this.filename="";this.hidemenu=false;this.hideheader=false;this.theme="cyan";this.appearance="system";this.language="";this.seamless=false;this.printOpen=false;this.authOpen=false;this.onlyGetSasUri=false;this.noDocumentOpen=false;this.files=[]}e.prototype.watchFileData=function(e,t){if(e!==t&&e.length>0){var r=new Uint8Array(e.length);for(var i=0;i<e.length;i++){r[i]=e.charCodeAt(i)}this.files=[new File([r],this.filename)]}};e.prototype.watchFilename=function(e,t){if(e!==t&&e.length>0){this.filename=e}};e.prototype.watchFileUrl=function(e,t){if(e!==t&&e.length>0){this.fileurl=e}};e.prototype.watchLanguage=function(e,t){if(e!==t&&e.length>0){this.language=e;Ce.changeLanguage(e)}};e.prototype.listenPrintCancel=function(){this.printOpen=false;this.files=[];this.filename="";var e=new CustomEvent("printCancel",{bubbles:true,detail:{}});document.dispatchEvent(e);this.printFinished.emit()};e.prototype.listenPrintDismiss=function(){if(this.trigger==="file"){this.printOpen=false}else{this.listenPrintCancel()}};e.prototype.listenPrintSubmit=function(){this.printOpen=false;this.printFinished.emit();this.checkAuth()};e.prototype.listenAuthCancel=function(){this.authOpen=false;this.checkAuth()};e.prototype.listenUserCancel=function(){this.authOpen=false;this.files=[];this.filename="";var e=new CustomEvent("printCancel",{bubbles:true,detail:{}});document.dispatchEvent(e);this.printFinished.emit();this.checkAuth()};e.prototype.listenAuthSuccess=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.syncPreferredLanguage()];case 1:e.sent();if(this.onlyGetSasUri){this.printOpen=false;this.onlyGetSasUri=false}else if(this.filename!=""){this.printOpen=true}else{this.noDocumentOpen=true}return[2]}}))}))};e.prototype.listenUploadFile=function(e){this.files=e.detail;this.filename=this.files.length>0?this.files[0].name:""};e.prototype.listenUploadContinue=function(e){this.files=e.detail;this.filename=this.files.length>0?this.files[0].name:"";this.open()};e.prototype.listenDialogClose=function(e){if(e.detail==="no-document-selected"){this.noDocumentOpen=false}};e.prototype.listenDialogAction=function(e){if(e.detail==="no-document-selected"){this.noDocumentOpen=false}};e.prototype.listenLogout=function(){this.logOut()};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.authOpen=true;return[2]}))}))};e.prototype.logOut=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.auth.revokeRefreshToken();dt.clearSession();this.printOpen=false;return[2]}))}))};e.prototype.ensureAccessToken=function(){var e=this;if(ft.state.accessToken!==""||ft.state.refreshToken===""||!this.auth){return Promise.resolve()}if(!this.refreshInFlight){this.refreshInFlight=this.auth.refreshTokens().catch((function(){})).finally((function(){e.refreshInFlight=undefined}))}return this.refreshInFlight};e.prototype.getSasUri=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var r=this;return __generator(this,(function(i){switch(i.label){case 0:this.onlyGetSasUri=true;return[4,this.ensureAccessToken()];case 1:i.sent();e=new sx(this.redirecturi,this.clientid);return[4,e.prepareFileUpload(ft.state.accessToken).catch((function(){r.open();return null}))];case 2:t=i.sent();return[2,t?t.sasUri:undefined]}}))}))};e.prototype.getAuthUri=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.auth.generateCodeVerifier();return[4,this.auth.generateCodeChallenge(ft.state.codeVerifier)];case 1:e.sent();this.auth.buildAuthURI();return[2,ft.state.authUri]}}))}))};e.prototype.setAuthRefreshToken=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:ft.state.refreshToken=e;dt.setRefreshToken(e);return[4,this.auth.refreshTokens()];case 1:t.sent();return[2]}}))}))};e.prototype.checkAuth=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=new sx(this.redirecturi,this.clientid);return[4,this.ensureAccessToken()];case 1:t.sent();if(dt.hasIsAuthorized()){ft.state.isAuthorized=dt.getIsAuthorized()}return[4,e.getConfig(ft.state.accessToken).then((function(e){if(e.ok){ft.state.isAuthorized=true}if(!e.ok){ft.state.isAuthorized=false;throw new Error("http status "+e.status)}})).catch((function(){ft.state.isAuthorized=false}))];case 2:t.sent();dt.setIsAuthorized(ft.state.isAuthorized);return[2,ft.state.isAuthorized]}}))}))};e.prototype.normalizeHostUrl=function(e){if(!e){return e}try{if(e.startsWith("http://")||e.startsWith("https://")){var t=new URL(e);return t.host}}catch(e){}return e};e.prototype.refreshTokensPeriodically=function(e){var t=new pt(this.redirecturi,this.clientid);this.tokenRefreshInterval=setInterval((function(){t.refreshTokens()}),e*1e3)};e.prototype.connectedCallback=function(){this.unsubscribeLanguage=$e(this)};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;var t=this;return __generator(this,(function(r){e=window.matchMedia("(prefers-color-scheme: dark)");this.systemAppearance=e.matches?"dark":"light";this.systemAppearanceQuery=e;this.systemAppearanceListener=function(e){t.systemAppearance=e.matches?"dark":"light"};e.addEventListener("change",this.systemAppearanceListener);ft.state.redirectUri=this.redirecturi;ux.state.theme=this.theme;ux.state.appearance=this.appearance;if(this.authapihosturl){ft.state.authApiHostUrl=this.normalizeHostUrl(this.authapihosturl)}else{ft.state.authApiHostUrl=wx.authApiHostUrl}if(this.printapihosturl){lx.state.printApiHostUrl=this.normalizeHostUrl(this.printapihosturl)}else{lx.state.printApiHostUrl=wx.printingApiHostUrl}this.auth=new pt(this.redirecturi,this.clientid);ht();it(this.language);this.checkAuth().then((function(){return t.syncPreferredLanguage()}));return[2]}))}))};e.prototype.syncPreferredLanguage=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(i){switch(i.label){case 0:if(this.language)return[2];if(!ft.state.accessToken)return[2];i.label=1;case 1:i.trys.push([1,5,,6]);return[4,(new cx).getUserInfo()];case 2:e=i.sent();t=e===null||e===void 0?void 0:e.preferred_language;if(!(t&&t!==Ce.language))return[3,4];return[4,Ce.changeLanguage(t)];case 3:i.sent();i.label=4;case 4:return[3,6];case 5:r=i.sent();return[3,6];case 6:return[2]}}))}))};e.prototype.componentDidLoad=function(){this.refreshTokensPeriodically(Ze)};e.prototype.disconnectedCallback=function(){var e;if(this.tokenRefreshInterval){clearInterval(this.tokenRefreshInterval)}if(this.systemAppearanceQuery&&this.systemAppearanceListener){this.systemAppearanceQuery.removeEventListener("change",this.systemAppearanceListener)}(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.render=function(){var e=this;return a(o,{key:"1b33fdafac04c08cdd11412202a537f66131caef",class:"".concat(ux.state.theme," ").concat(ux.state.appearance==="system"?this.systemAppearance:ux.state.appearance," ").concat(this.seamless?"seamless":"")},this.trigger==="custom"?a("slot",null):this.trigger==="file"?a("ezp-upload",null):this.trigger==="button"&&a("ezp-icon-button",{id:"print-trigger",icon:"printer",slot:"trigger",type:"button",onClick:function(){return e.open()}}),this.authOpen?a("ezp-auth",{clientID:this.clientid,redirectURI:this.redirecturi,hidelogin:this.hidelogin,trigger:this.trigger,code:this.code}):this.printOpen?a("ezp-printer-selection",{clientID:this.clientid,redirectURI:this.redirecturi,filename:this.filename,fileurl:this.fileurl,filetype:this.filetype,fileid:this.fileid,files:this.files,hidemenu:this.hidemenu,hideheader:this.hideheader,seamless:this.seamless}):this.noDocumentOpen?a("ezp-dialog",{heading:Ce.t("no_document_dialog.heading"),description:Ce.t("no_document_dialog.description"),action:Ce.t("no_document_dialog.action"),iconName:"question-mark",instance:"no-document-selected"}):null)};Object.defineProperty(e,"watchers",{get:function(){return{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}},enumerable:false,configurable:true});return e}());Bx.style=Sx();var Ex=function(){return":host{--ezp-select-duration:var(--ezp-duration-3);display:block;height:var(--ezp-select-toggle-height);position:relative;-webkit-transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));z-index:var(--ezp-select-zIndex, 3)}:host(.toggle-horizontal){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label value accessory';--ezp-select-toggle-gridTemplateColumns:1fr repeat(2, auto);--ezp-select-toggle-height:56px;--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-alignSelf:center}:host(.toggle-horizontal.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr repeat(2, auto)}:host(.toggle-vertical){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label accessory' 'value accessory';--ezp-select-toggle-gridTemplateColumns:1fr auto;--ezp-select-toggle-height:64px;--ezp-select-toggle-gridTemplateRows:repeat(2, auto);--ezp-select-value-alignSelf:center}:host(.toggle-vertical.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label accessory' 'icon value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr auto}:host(.option-horizontal){--ezp-select-details-gridTemplateColumns:repeat(2, 1fr);--ezp-select-details-gridTemplateRows:auto;--ezp-select-option-height:44px}:host(.option-vertical){--ezp-select-details-gridTemplateColumns:1fr;--ezp-select-details-gridTemplateRows:repeat(2, auto);--ezp-select-option-height:52px}:host(.toggle-vertical.has-icon){--ezp-select-badge-borderRadius:10px;--ezp-select-badge-height:40px;--ezp-select-badge-width:40px;--ezp-select-label-textTransform:uppercase;--ezp-select-label-letterSpacing:0.08em;--ezp-select-label-fontSize:11px;--ezp-select-value-fontSize:16px;--ezp-select-value-fontWeight:600;--ezp-select-value-color:var(--ezp-core-foreground-primary)}:host(.is-expanded){--ezp-select-accessory-color:var(--ezp-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-label-color:var(--ezp-theme-solid);--ezp-select-toggle-background:var(--ezp-theme-translucent);--ezp-select-wrap-background:var(--ezp-core-surface-tertiary);--ezp-select-wrap-borderRadius:12px;--ezp-select-wrap-boxShadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop)}:host(.disabled){--ezp-select-accessory-color:var(--ezp-core-foreground-tertiary);--ezp-select-badge-background:var(--ezp-core-shade-primary);--ezp-select-badge-color:var(--ezp-core-foreground-tertiary);--ezp-select-label-color:var(--ezp-core-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--ezp-select-value-color:var(--ezp-core-foreground-tertiary);--value-color:var(--ezp-core-foreground-tertiary)}#wrap{background:var(--ezp-select-wrap-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-shadow:var(--ezp-select-wrap-boxShadow, none);box-shadow:var(--ezp-select-wrap-boxShadow, none);-webkit-transform:translateY(var(--ezp-select-wrap-translateY, 0));transform:translateY(var(--ezp-select-wrap-translateY, 0));-webkit-transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart)}#toggle{background:var(--ezp-select-toggle-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:var(--ezp-select-toggle-cursor, pointer);display:grid;gap:2px var(--ezp-spacing-3);grid-template-areas:var(--ezp-select-toggle-gridTemplateAreas, none);grid-template-columns:var(--ezp-select-toggle-gridTemplateColumns, none);grid-template-rows:var(--ezp-select-toggle-gridTemplateRows, auto);height:var(--ezp-select-toggle-height, auto);padding:var(--ezp-spacing-2) var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart)}#toggle:hover{--ezp-select-toggle-background:var( --ezp-select-toggle-background-hover, var(--ezp-core-shade-primary) )}#icon{--ezp-icon-background:var(--ezp-select-badge-background, var(--ezp-theme-translucent));--ezp-icon-borderRadius:var(--ezp-select-badge-borderRadius, 50%);--ezp-icon-height:var(--ezp-select-badge-height, 40px);--ezp-icon-width:var(--ezp-select-badge-width, 40px);align-self:center;color:var(--ezp-select-badge-color, var(--ezp-theme-solid));grid-area:icon}#label{--ezp-label-fontSize:var(--ezp-select-label-fontSize, 14px);--ezp-label-letterSpacing:var(--ezp-select-label-letterSpacing, normal);align-self:var(--ezp-select-label-alignSelf, auto);color:var(--ezp-select-label-color, var(--ezp-core-foreground-primary));display:var(--ezp-select-label-display, block);grid-area:label;text-transform:var(--ezp-select-label-textTransform, none)}#value{--ezp-label-fontSize:var(--ezp-select-value-fontSize, 14px);--ezp-label-fontWeight:var(--ezp-select-value-fontWeight, 400);align-self:var(--ezp-select-value-alignSelf, auto);color:var(--ezp-select-value-color, var(--value-color, var(--ezp-core-foreground-secondary)));grid-area:value;text-align:var(--ezp-select-value-textAlign, right)}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-core-foreground-tertiary));grid-area:accessory}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);height:var(--ezp-select-list-height, 0);overflow:auto;-webkit-transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart)}.option{background:var(--ezp-select-option-background);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;height:var(--ezp-select-option-height, auto);padding:0 0 0 var(--ezp-spacing-3)}.option:not(:last-child){--ezp-select-details-boxShadow:inset 0 -1px 0 0 var(--ezp-core-outline)}.option:hover{--ezp-select-option-background:var(--ezp-core-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-core-shade-secondary)}.option.is-selected{--ezp-select-indicator-opacity:1;--ezp-select-indicator-transform:translateX(0);--ezp-select-indicator-transition:opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-select-indicator-visibility:visible}.indicator{-ms-flex-item-align:center;align-self:center;color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0;opacity:var(--ezp-select-indicator-opacity, 0);-webkit-transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));-webkit-transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));visibility:var(--ezp-select-indicator-visibility, hidden)}.details{-webkit-box-shadow:var(--ezp-select-details-boxShadow);box-shadow:var(--ezp-select-details-boxShadow);display:grid;gap:var(--ezp-spacing-2);grid-template-columns:var(--ezp-select-details-gridTemplateColumns, 1fr);grid-template-rows:var(--ezp-select-details-gridTemplateRows, auto);padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) 0}.title{-ms-flex-item-align:start;align-self:start;color:var(--ezp-core-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-core-foreground-secondary)}"};var _x={id:false,title:"",meta:""};var kx=e("ezp_select",function(){function e(e){var t=this;i(this,e);this.selectToggle=n(this,"selectToggle",7);this.selectSelection=n(this,"selectSelection",7);this.backdrop=document.createElement("ezp-backdrop");this.containerHeight=0;this.expandCover=false;this.expandRise=false;this.listHeight=0;this.spacing=6;this.toggleHeight=0;this.wrapDiff=0;this.wrapHeight=0;this.wrapTop=0;this.duration=0;this.label="Label";this.placeholder="Placeholder";this.toggleFlow="horizontal";this.disabled=false;this.expanded=false;this.selected=_x;this.toggle=function(){t.containerHeight=t.container.clientHeight-t.spacing*2;t.listHeight=t.list.scrollHeight;t.wrapTop=t.component.offsetTop;t.wrapHeight=t.toggleHeight+t.listHeight;t.expandCover=t.wrapHeight>t.containerHeight;t.expandRise=t.wrapHeight>t.containerHeight-t.wrapTop;t.wrapDiff=t.containerHeight-t.wrapHeight-t.wrapTop;t.expanded=!t.expanded;t.selectToggle.emit(t.expanded)};this.select=function(e){var r;var i=((r=t.selected)===null||r===void 0?void 0:r.id)===e?0:t.duration*1e3;t.selected=t.options.find((function(t){return t.id===e}));t.selectSelection.emit(t.selected);window.setTimeout((function(){t.toggle()}),i)};this.preSelect=function(){var e;var r=(e=t.options)===null||e===void 0?void 0:e.find((function(e){return typeof t.preSelected==="number"?e.id===t.preSelected:typeof t.preSelected==="string"?e.title===t.preSelected:null}));t.selected=r!==null&&r!==void 0?r:_x};this.handleToggleKeydown=function(e){if(t.disabled)return;if(e.key==="Enter"||e.key===" "||e.key==="ArrowDown"){e.preventDefault();if(!t.expanded){t.toggle();window.setTimeout((function(){return t.focusOption(0)}),0)}}else if(e.key==="Escape"&&t.expanded){t.toggle()}};this.handleOptionKeydown=function(e,r){var i;var n=t.getOptionElements();var a=n.indexOf(e.currentTarget);switch(e.key){case"Enter":case" ":e.preventDefault();t.select(r);break;case"ArrowDown":e.preventDefault();t.focusOption(a+1);break;case"ArrowUp":e.preventDefault();t.focusOption(a-1);break;case"Home":e.preventDefault();t.focusOption(0);break;case"End":e.preventDefault();t.focusOption(n.length-1);break;case"Escape":if(t.expanded){t.toggle();(i=t.toggleEl)===null||i===void 0?void 0:i.focus()}break}}}e.prototype.watchExpanded=function(){if(this.expandCover){this.component.style.setProperty("--ezp-select-list-height",this.expanded?"".concat(this.containerHeight-this.toggleHeight,"px"):"0px");this.component.style.setProperty("--ezp-select-wrap-translateY",this.expanded?"".concat(this.wrapTop*-1+this.spacing,"px"):"0px")}else if(this.expandRise){this.component.style.setProperty("--ezp-select-list-height",this.expanded?"".concat(this.listHeight,"px"):"0px");this.component.style.setProperty("--ezp-select-wrap-translateY",this.expanded?"".concat(this.wrapDiff+this.spacing,"px"):"0px")}else{this.component.style.setProperty("--ezp-select-list-height",this.expanded?"".concat(this.listHeight,"px"):"0px")}if(this.expanded){this.backdrop.visible=true;this.container.appendChild(this.backdrop)}else{this.backdrop.visible=false}};e.prototype.preSelectedChanged=function(){this.preSelect()};e.prototype.getOptionElements=function(){return this.list?Array.from(this.list.querySelectorAll('[role="option"]')):[]};e.prototype.focusOption=function(e){var t=this.getOptionElements();var r=t[Math.max(0,Math.min(e,t.length-1))];r===null||r===void 0?void 0:r.focus()};e.prototype.componentWillLoad=function(){var e=this;this.container=this.component.closest("[data-backdrop-surface]");this.backdrop.addEventListener("backdropHideStart",(function(){e.expanded=false}));this.backdrop.addEventListener("backdropHideEnd",(function(){e.container.removeChild(e.backdrop)}));if(this.preSelected!==undefined&&this.preSelected!==""&&this.preSelected!==null){this.preSelect()}};e.prototype.componentDidLoad=function(){var e=getComputedStyle(this.component);this.toggleHeight=parseInt(e.getPropertyValue("--ezp-select-toggle-height"));this.duration=parseFloat(e.getPropertyValue("--ezp-select-duration"))};e.prototype.componentWillUpdate=function(){var e;if(((e=this.selected)===null||e===void 0?void 0:e.id)===false&&this.preSelected!==undefined&&this.preSelected!==""&&this.preSelected!==null){this.preSelect()}};e.prototype.render=function(){var e=this;var t,r,i;var n=[this.expanded?"is-expanded":"",this.icon?"has-icon":"","toggle-".concat(this.toggleFlow),this.optionFlow?"option-".concat(this.optionFlow):"",this.disabled?"disabled":""];var s=this.toggleFlow==="horizontal"?"secondary":"tertiary";return a(o,{key:"7dd328df209e8906917c97b8002bdcd9e2fafa0b",class:n.join(" ")},a("div",{key:"522bbbfea1ef111af7bd7317cc6054138eca020d",id:"wrap"},a("div",{key:"d1c2c06a33f629d589e2247342467ebbd7283d1b",id:"toggle",role:"combobox","aria-haspopup":"listbox","aria-controls":"list","aria-expanded":this.expanded?"true":"false","aria-label":this.label,"aria-disabled":this.disabled?"true":"false",tabindex:this.disabled?-1:0,ref:function(t){return e.toggleEl=t},onClick:function(){return!e.disabled&&e.toggle()},onKeyDown:this.handleToggleKeydown},this.icon?a("ezp-icon",{id:"icon",name:this.icon}):null,a("ezp-label",{key:"c60d6dd802424b2502d1b9c9066732ef02909779",id:"label",noWrap:true,level:s,text:this.label}),a("ezp-label",{key:"c92c91c848aec5b6ff386f32beb41bdaf4407613",id:"value",ellipsis:true,text:((t=this.selected)===null||t===void 0?void 0:t.title)!==""?(r=this.selected)===null||r===void 0?void 0:r.title:this.placeholder}),a("ezp-icon",{key:"7c653c97c7da8471e7db51c1ba04718842a9991b",id:"accessory",name:"expand"})),a("div",{key:"5c1aeeb45f4cbf1c4e26653312d6cc0a7e7084ce",id:"list",role:"listbox","aria-label":this.label,ref:function(t){return e.list=t}},(i=this.options)===null||i===void 0?void 0:i.map((function(t){var r,i;if(t.title!==""){return a("div",{class:"option ".concat(t.id===((r=e.selected)===null||r===void 0?void 0:r.id)?"is-selected":""," ").concat(t.meta!==""?"has-meta":""," "),role:"option","aria-selected":t.id===((i=e.selected)===null||i===void 0?void 0:i.id)?"true":"false",tabindex:e.expanded?0:-1,onClick:function(){return e.select(t.id)},onKeyDown:function(r){return e.handleOptionKeydown(r,t.id)}},a("ezp-icon",{name:"checkmark",class:"indicator"}),a("div",{class:"details"},a("ezp-label",{class:"title",ellipsis:true,text:t.title}),t.meta!==""?a("ezp-label",{level:"tertiary",class:"meta",text:t.meta,ellipsis:true}):null))}})))))};Object.defineProperty(e.prototype,"component",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}},enumerable:false,configurable:true});return e}());kx.style=Ex();var Qx=function(){return":host{--ezp-status-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );-ms-flex-align:center;align-items:center;background:var(--ezp-core-backdrop);border-radius:var(--ezp-status-border-radius, 16px);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;-ms-flex-pack:center;justify-content:center;left:0;padding:var(--ezp-spacing-5);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#box{-ms-flex-align:center;align-items:center;background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);max-width:360px;padding:var(--ezp-spacing-6) var(--ezp-spacing-5) var(--ezp-spacing-5);text-align:center;width:100%}#icon{-ms-flex-align:center;align-items:center;background:var(--ezp-theme-translucent);border-radius:50%;display:-ms-flexbox;display:flex;height:132px;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ezp-spacing-2);width:132px}#icon-inner{-ms-flex-align:center;align-items:center;background:var(--ezp-status-gradient);border-radius:50%;-webkit-box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:84px;-ms-flex-pack:center;justify-content:center;width:84px}#icon-inner ezp-icon{--ezp-icon-size:40px;--ezp-icon-gridTemplate:40px}#indicator{-webkit-animation:rotate var(--ezp-duration-6) linear infinite;animation:rotate var(--ezp-duration-6) linear infinite;display:block;height:48px;-webkit-transform:rotate(0);transform:rotate(0);width:48px}#track{fill:none;stroke:var(--ezp-core-outline);stroke-width:4px}#value{-webkit-animation:offset var(--ezp-duration-6) linear alternate infinite;animation:offset var(--ezp-duration-6) linear alternate infinite;fill:none;stroke:var(--ezp-theme-solid);stroke-dasharray:110;stroke-dashoffset:110;stroke-linecap:round;stroke-width:4px}#description{--ezp-label-fontSize:22px;--ezp-label-lineHeight:28px;color:var(--ezp-core-foreground-primary)}#subtext{color:var(--ezp-core-foreground-secondary);margin-top:calc(var(--ezp-spacing-4) * -1 + var(--ezp-spacing-2))}#footer{display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);margin-top:var(--ezp-spacing-3);width:100%}.action{--ezp-textButton-borderRadius:999px;--ezp-textButton-padding:var(--ezp-spacing-4);-ms-flex:1;flex:1}ezp-text-button.action.primary{--ezp-textButton-background-init:var(--ezp-status-gradient)}ezp-text-button.action.secondary{--ezp-textButton-background-init:transparent;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary)}@-webkit-keyframes offset{100%{stroke-dashoffset:55}}@keyframes offset{100%{stroke-dashoffset:55}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"};var Px=e("ezp_status",function(){function e(e){var t=this;i(this,e);this.statusCancel=n(this,"statusCancel",7);this.statusClose=n(this,"statusClose",7);this.statusRetry=n(this,"statusRetry",7);this.description="Description";this.processing=false;this.handleCancel=function(){t.statusCancel.emit(t.instance)};this.handleClose=function(){t.statusClose.emit(t.instance)};this.handleRetry=function(){t.statusRetry.emit(t.instance)}}e.prototype.connectedCallback=function(){this.unsubscribeLanguage=$e(this)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.render=function(){return a(o,{key:"db32e5667bf9438a6d3d80807519ad2c158549ff",role:"status","aria-live":"polite"},a("div",{key:"815ecfbd3b272f206764ca852b8d865d7bc3cb8d",id:"box"},this.processing?a("svg",{id:"indicator",viewBox:"0 0 42 42",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},a("circle",{id:"track",cx:"21",cy:"21",r:"18"}),a("circle",{id:"value",cx:"21",cy:"21",r:"18"})):this.icon?a("div",{id:"icon"},a("div",{id:"icon-inner"},a("ezp-icon",{name:this.icon}))):null,a("ezp-label",{key:"385d4fbbd7ed1b7a4aa2334d6d2145c2f5207508",id:"description",weight:"heavy",text:this.description}),this.subtext&&a("ezp-label",{key:"c6a243dd4ddc428f3e34021430d6b935f0a9e1a6",id:"subtext",level:"secondary",text:this.subtext}),(this.cancel||this.close||this.retry)&&a("div",{key:"0dfc5f86b6366b3631ac74c15e9d467a884feb52",id:"footer"},this.cancel&&a("ezp-text-button",{key:"a89289163ac7d630d35e887deead462c6dc29af4",class:"action secondary",level:"secondary",onClick:this.handleCancel,label:typeof this.cancel==="string"?this.cancel:Ce.t("button_actions.cancel")}),this.close&&a("ezp-text-button",{key:"d2e3814f2a81ce03f4e0f4bbcf7cc734ade37aa9",class:"action ".concat(this.retry?"secondary":"primary"),level:this.retry?"secondary":"primary",onClick:this.handleClose,label:typeof this.close==="string"?this.close:Ce.t("button_actions.close")}),this.retry&&a("ezp-text-button",{key:"6e53e77afc6c3954435b08c6daaa65dd829ce9ad",class:"action primary",level:"primary",onClick:this.handleRetry,label:typeof this.retry==="string"?this.retry:Ce.t("button_actions.retry")}))))};return e}());Px.style=Qx();var Mx=function(){return':host{-ms-flex-align:center;align-items:center;background:transparent;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-stepper-gridTemplate, auto/1fr auto);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:0}:host(.focused){--ezp-stepper-label-color:var(--ezp-core-foreground-primary)}:host(.has-icon){--ezp-stepper-gridTemplate:auto / auto 1fr auto}#toggle{background:transparent;border-radius:12px;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-stepper-icon-color, var(--ezp-theme-solid));pointer-events:none}#label{color:var(--ezp-stepper-label-color, var(--ezp-core-foreground-primary));pointer-events:none}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:16px;font-weight:600;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0109597786em;margin:0;min-width:28px;outline:none;padding:0;text-align:center;width:28px}#input::-webkit-outer-spin-button,#input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.buttons{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3)}.button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-stepper-button-background, transparent);border:1px solid var(--ezp-stepper-button-border, var(--ezp-core-outline));border-radius:50%;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-stepper-button-color, var(--ezp-core-foreground-secondary));cursor:var(--ezp-stepper-button-cursor, pointer);display:-ms-flexbox;display:flex;height:32px;-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:0;-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart), border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart), border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:32px}.button ezp-icon{--ezp-icon-size:16px;--ezp-icon-gridTemplate:16px}@media (hover: hover){.button:not(:disabled):hover{--ezp-stepper-button-background:var(--ezp-theme-translucent);--ezp-stepper-button-border:var(--ezp-theme-solid);--ezp-stepper-button-color:var(--ezp-theme-solid)}.button:not(:disabled):active{--ezp-stepper-button-background:var(--ezp-core-shade-secondary)}}.button:disabled{--ezp-stepper-button-border:var(--ezp-core-shade-primary);--ezp-stepper-button-color:var(--ezp-core-foreground-tertiary);--ezp-stepper-button-cursor:default}'};var Dx=e("ezp_stepper",function(){function e(e){var t=this;i(this,e);this.stepperChanged=n(this,"stepperChanged",7);this.label="Label";this.min=1;this.canDecrease=true;this.canIncrease=true;this.focused=false;this.value=1;this.handleDecrease=function(){var e=t.value-1;if(e>=Number.MIN_SAFE_INTEGER&&(t.min===undefined||e>=t.min)){t.value=e}};this.handleIncrease=function(){var e=t.value+1;var r=t.max!==undefined?Math.min(t.max,Number.MAX_SAFE_INTEGER):Number.MAX_SAFE_INTEGER;if(e<=Number.MAX_SAFE_INTEGER&&e<=r){t.value=e}};this.handleInput=function(){if(!t.input)return;var e=t.input.value.trim();if(e===""){t.value=t.min;t.input.value=t.value.toString();return}var r=e.replace(/\D/g,"");if(r===""){t.input.value=t.value.toString();return}var i=Number.MAX_SAFE_INTEGER.toString().length;var n=r.slice(0,i);var a=Number(n);if(a>Number.MAX_SAFE_INTEGER){a=Number.MAX_SAFE_INTEGER}if(t.min!==undefined&&a<t.min)a=t.min;var o=t.max!==undefined?Math.min(t.max,Number.MAX_SAFE_INTEGER):Number.MAX_SAFE_INTEGER;if(a>o)a=o;t.value=a;t.input.value=a.toString()};this.setFocus=function(){var e;(e=t.input)===null||e===void 0?void 0:e.focus()};this.handleBlur=function(){t.focused=false};this.handleFocus=function(){t.focused=true};this.handleKeyDown=function(e){if(Dx.ALLOWED_KEYS.includes(e.key)||(e.ctrlKey||e.metaKey)&&Dx.CTRL_CMD_KEYS.includes(e.key.toLowerCase())){return}var t=/^\d$/.test(e.key);if(!t){e.preventDefault()}}}e.prototype.watchValue=function(){var e=this.max!==undefined?Math.min(this.max,Number.MAX_SAFE_INTEGER):Number.MAX_SAFE_INTEGER;this.canIncrease=this.value<e;this.canDecrease=this.min!==undefined?this.value>this.min:true;this.stepperChanged.emit(this.value)};e.prototype.componentWillLoad=function(){if(this.min!==undefined&&this.value<this.min){this.value=this.min}this.watchValue()};e.prototype.render=function(){var e=this;return a(o,{key:"cbf3ded61537359ed280a204bb71240d0a34473a",class:"".concat(this.focused?"focused":""," ").concat(this.icon?"has-icon":"")},a("div",{key:"1c7a265f60d06dbea4a80e19ecdaa4a10aed694c",id:"toggle",onClick:this.setFocus}),this.icon?a("ezp-icon",{id:"icon",name:this.icon}):null,a("ezp-label",{key:"9fd0e1128480dd9b288cb266542fd4e6b83ceebd",id:"label",noWrap:true,text:this.label}),a("div",{key:"975fc0539e76750d7457c71d40f228cb5ebcaad8",class:"buttons"},a("button",{key:"db01d05fdcbc4eda2810751ace0194d9a1ec9eb7",class:"button",type:"button","aria-label":"Decrease ".concat(this.label),disabled:!this.canDecrease,onClick:this.handleDecrease},a("ezp-icon",{key:"7d938efa8426caf292403e94e3565d20dc40d121",name:"minus"})),a("input",{key:"dbff518a5d1f28b3b23d597947c250bef71fd68a",id:"input",type:"number",ref:function(t){return e.input=t},min:this.min.toString(),max:this.max!==undefined?this.max.toString():undefined,value:this.value.toString(),"aria-label":this.label,onInput:this.handleInput,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur}),a("button",{key:"b3001bb27f94f65fce51d3a69d7713e5da9ccdcc",class:"button",type:"button","aria-label":"Increase ".concat(this.label),disabled:!this.canIncrease,onClick:this.handleIncrease},a("ezp-icon",{key:"534bb499fa2ced2591ccbc137186e59d22aa2f5f",name:"plus"}))))};Object.defineProperty(e,"watchers",{get:function(){return{value:[{watchValue:0}]}},enumerable:false,configurable:true});return e}());Dx.ALLOWED_KEYS=["Backspace","Delete","Tab","Escape","Enter","ArrowLeft","ArrowUp","ArrowRight","ArrowDown"];Dx.CTRL_CMD_KEYS=["a","c","v","x"];Dx.style=Mx();var Rx=function(){return":host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-init:var(--ezp-theme-solid);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-white-100);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-core-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-hover:var(--ezp-core-shade-secondary);--ezp-textButton-background-init:var(--ezp-core-shade-primary);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-textButton-background, var(--ezp-textButton-background-init));border:0;border-radius:var(--ezp-textButton-borderRadius, 3px);-webkit-box-shadow:var(--ezp-textButton-boxShadow, none);box-shadow:var(--ezp-textButton-boxShadow, none);color:var(--ezp-textButton-color, var(--ezp-textButton-color-init));cursor:var(--ezp-textButton-cursor, pointer);display:-ms-flexbox;display:flex;font-family:inherit;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-textButton-opacity, 1);outline:none;padding:var(--ezp-textButton-padding, var(--ezp-spacing-3));white-space:var(--ezp-textButton-whiteSpace, nowrap);width:100%}@media (hover: hover){#button:not(:disabled):hover{--ezp-textButton-background:var( --ezp-textButton-background-hover, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var( --ezp-textButton-background-active, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-active, 1)}}#button:disabled{--ezp-textButton-background:var(--ezp-textButton-background-disabled);--ezp-textButton-boxShadow:none;--ezp-textButton-color:var(--ezp-textButton-color-disabled);--ezp-textButton-cursor:default}#label{pointer-events:none}"};var Tx=e("ezp_text_button",function(){function e(e){i(this,e);this.blank=false;this.disabled=false;this.level="primary";this.small=false}e.prototype.render=function(){var e=this.type!==undefined?"button":"a";var t=this.type!==undefined?{type:this.type,disabled:this.disabled}:{href:this.href,target:this.blank?"_blank":"_self"};return a(o,{key:"31c3726d82b340fad817eec01f597b58702ff292",class:"".concat(this.level)},a(e,Object.assign({key:"5e26c8e81ab49575b1a29c309f7792a2286ee455",id:"button","aria-label":this.label},t),a("ezp-label",{key:"b21b121c9da908b6cba286a528f8e6772c179a36",id:"label",weight:"heavy",text:this.label,level:this.small?"tertiary":"secondary"})))};return e}());Tx.style=Rx();var qx=function(){return'@charset "UTF-8";:host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);display:block;height:var(--ezp-upload-height, auto);width:var(--ezp-upload-width, auto)}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#form{display:block;height:100%}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}#modal{background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;overflow:hidden}:host(.dragging) #modal *{pointer-events:none}#body-frame{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;min-height:0;position:relative}#body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:auto;padding:var(--ezp-spacing-4);scrollbar-width:thin}#dropzone{-ms-flex-align:center;align-items:center;background:var(--ezp-theme-translucent);border:1.5px dashed var(--ezp-theme-solid);border-radius:12px;-webkit-box-shadow:var(--ezp-upload-dropzone-boxShadow, none);box-shadow:var(--ezp-upload-dropzone-boxShadow, none);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;min-height:160px;padding:var(--ezp-spacing-6) var(--ezp-spacing-4);text-align:center;-webkit-transition:-webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:-webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart)}:host(.dragging){--ezp-upload-dropzone-boxShadow:0 0 0 4px var(--ezp-theme-translucent)}:host(:not(.dragging)) #dropzone-title,:host(.dragging) #dropzone-prompt{display:none}#drop-overlay{-ms-flex-align:center;align-items:center;background:-webkit-gradient(linear, left top, left bottom, from(var(--ezp-theme-translucent)), to(var(--ezp-theme-translucent))), var(--ezp-core-surface-tertiary);background:linear-gradient(var(--ezp-theme-translucent), var(--ezp-theme-translucent)), var(--ezp-core-surface-tertiary);border:1.5px dashed var(--ezp-theme-solid);border-radius:12px;-webkit-box-shadow:0 0 0 4px var(--ezp-theme-translucent);box-shadow:0 0 0 4px var(--ezp-theme-translucent);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);inset:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;pointer-events:none;position:absolute;text-align:center;z-index:1}#dropzone-icon{--ezp-icon-size:32px;--ezp-icon-gridTemplate:32px;color:var(--ezp-theme-solid)}#dropzone-prompt{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3)}#choose{--ezp-textButton-borderRadius:8px;--ezp-textButton-padding:13px var(--ezp-spacing-5)}#drag-hint{color:var(--ezp-core-foreground-primary)}#formats{color:var(--ezp-core-foreground-secondary)}#files{border:1px solid var(--ezp-core-outline);border-radius:12px;position:relative}#file-list{border-radius:11px 11px 0 0;max-height:var(--ezp-upload-fileList-maxHeight, calc(4.5 * calc(28px + 2 * var(--ezp-spacing-3)) + 4px));overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.file{-ms-flex-align:center;align-items:center;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:auto minmax(0, 1fr) auto;min-height:calc(28px + 2 * var(--ezp-spacing-3));padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}.file+.file{border-top:1px solid var(--ezp-core-outline)}.file-type{background:var(--ezp-theme-translucent);border-radius:6px;color:var(--ezp-theme-solid);font-size:11px;font-weight:600;letter-spacing:0.02em;line-height:1;overflow:hidden;padding:8px 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:56px}.file-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);min-width:0}.file-size{color:var(--ezp-core-foreground-secondary)}.file-remove{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:6px;color:var(--ezp-core-foreground-tertiary);cursor:pointer;display:-ms-flexbox;display:flex;height:28px;-ms-flex-pack:center;justify-content:center;padding:0;-webkit-transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:28px}.file-remove ezp-icon{--ezp-icon-size:16px;--ezp-icon-gridTemplate:16px}@media (hover: hover){.file-remove:hover{color:var(--ezp-core-foreground-primary)}}#add-more{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-upload-addMore-background, transparent);border:0;border-radius:0 0 11px 11px;border-top:1px solid var(--ezp-core-outline);color:var(--ezp-theme-solid);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:4px;-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#add-more ezp-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px}@media (hover: hover){#add-more:hover{--ezp-upload-addMore-background:var(--ezp-core-shade-primary)}}#footer{border-top:1px solid var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr;padding:var(--ezp-spacing-4)}.action{--ezp-textButton-borderRadius:8px;--ezp-textButton-padding:13px var(--ezp-spacing-3);--ezp-textButton-whiteSpace:normal;text-align:center}#clear{--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary)}'};var Hx=["PDF","DOCX","PNG","JPG","XLSX"];var Ux=e("ezp_upload",function(){function e(e){var t=this;i(this,e);this.uploadFile=n(this,"uploadFile",7);this.uploadContinue=n(this,"uploadContinue",7);this.printCancel=n(this,"printCancel",7);this.selectedFiles=[];this.dragging=false;this.firstVisibleFile=0;this.dragDepth=0;this.fileKeys=new WeakMap;this.nextFileKey=0;this.openPicker=function(){var e;(e=t.input)===null||e===void 0?void 0:e.click()};this.handleInput=function(){var e,r;var i=Array.from((r=(e=t.input)===null||e===void 0?void 0:e.files)!==null&&r!==void 0?r:[]);t.selectedFiles=__spreadArray(__spreadArray([],t.selectedFiles,true),i,true);t.uploadFile.emit(t.selectedFiles);if(t.input){t.input.value=""}};this.removeFile=function(e,r){e.preventDefault();e.stopPropagation();t.selectedFiles=t.selectedFiles.filter((function(e,t){return t!==r}));t.uploadFile.emit(t.selectedFiles);if(t.input){t.input.value=""}};this.handleCancel=function(){if(t.selectedFiles.length===0)return;t.printCancel.emit()};this.handleFilesScroll=function(e){var r=et(e.currentTarget);if(r>=0&&r!==t.firstVisibleFile)t.firstVisibleFile=r};this.handleContinue=function(){if(t.selectedFiles.length===0)return;t.uploadContinue.emit(t.selectedFiles)}}e.prototype.connectedCallback=function(){this.unsubscribeLanguage=$e(this)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.handleDragEnter=function(e){e===null||e===void 0?void 0:e.preventDefault();this.dragDepth++;this.dragging=true};e.prototype.handleDragOver=function(e){e.stopPropagation();e.preventDefault();if(e.dataTransfer){e.dataTransfer.dropEffect="copy"}};e.prototype.handleDragLeave=function(){this.dragDepth=Math.max(0,this.dragDepth-1);this.dragging=this.dragDepth>0};e.prototype.handleDrop=function(e){var t,r;e.stopPropagation();e.preventDefault();this.dragDepth=0;this.dragging=false;var i=Array.from((r=(t=e.dataTransfer)===null||t===void 0?void 0:t.files)!==null&&r!==void 0?r:[]);this.selectedFiles=__spreadArray(__spreadArray([],this.selectedFiles,true),i,true);this.uploadFile.emit(this.selectedFiles)};e.prototype.resetDrag=function(){this.dragDepth=0;this.dragging=false};e.prototype.listenPrintCancel=function(){var e;(e=this.form)===null||e===void 0?void 0:e.reset();this.selectedFiles=[];this.firstVisibleFile=0;this.resetDrag()};e.prototype.fileKey=function(e){if(!this.fileKeys.has(e)){this.fileKeys.set(e,this.nextFileKey++)}return this.fileKeys.get(e)};e.prototype.fileType=function(e){var t=e.split(".").pop();return t&&t!==e?t.toUpperCase():Ce.t("upload.file_type_fallback")};e.prototype.formatSize=function(e){if(e<1024)return"".concat(e," B");var t=["KB","MB","GB"];var r=e/1024;var i=0;while(r>=1024&&i<t.length-1){r/=1024;i++}return"".concat(r.toFixed(1)," ").concat(t[i])};e.prototype.render=function(){var e=this;var t=this.selectedFiles.length>0;return a(o,{key:"647c38e3dd42274be594a2fd5eb668943cd37256",class:{dragging:this.dragging}},a("form",{key:"a0af9e0bb32e8460b0b86bd897913a1c434747a8",id:"form",ref:function(t){return e.form=t}},a("input",{key:"d687034216a6e03a484fdd4462a7e2817675237c",type:"file",name:"input",id:"input",multiple:true,"aria-label":Ce.t("upload.choose_files"),ref:function(t){return e.input=t},onInput:this.handleInput}),a("div",{key:"82a76ba0258746bc552afc03c500a563c698e821",id:"modal"},a("div",{key:"a6113ba410cf3985ad64fa9300cf4e9ef2182e4f",id:"body-frame"},a("div",{key:"d9af36800ce744146c43a7e99f289413e13b9ae3",id:"body"},!t&&a("div",{key:"df98d670f9c0498597f414158108c38265b59b90",id:"dropzone"},a("ezp-icon",{key:"0202221de58ae709f5823501cfce1bc9d1087136",id:"dropzone-icon",name:"cloud-upload"}),a("ezp-label",{key:"9cbb60bc48f9e74af2c613d8c83a973e984ce824",id:"dropzone-title",level:"primary",weight:"heavy",text:Ce.t("upload.dropzone_title")}),a("div",{key:"ccaef599519bf24af543f4727fb4c1a62338b9df",id:"dropzone-prompt"},a("ezp-text-button",{key:"f084bb66ff63e9448cb6e7aea1782d8d2c9914b3",id:"choose",type:"button",onClick:this.openPicker,label:Ce.t("upload.choose_files")}),a("ezp-label",{key:"f5e7bd5219637c13cc0f9ad97ab42a14d35aa601",id:"drag-hint",level:"secondary",weight:"strong",text:Ce.t("upload.drag_hint")}),a("ezp-label",{key:"d5334e1e3aaaaaf9a7abb4be38a27226f73a162a",id:"formats",level:"tertiary",text:Hx.join(", ")}))),t&&a("div",{key:"9eaec0f2ddb0f2ca4679e4a314afb2b42c211a17",id:"files"},a("div",{key:"bc990a270c2432c8237b75eebc9d4881a6bb856e",id:"file-list",onScroll:this.handleFilesScroll},this.selectedFiles.map((function(t,r){return a("div",{key:e.fileKey(t),class:"file","data-tooltip-row":true},a("span",{class:"file-type","aria-hidden":"true"},e.fileType(t.name)),a("div",{class:"file-details"},a("ezp-file-name",{class:"file-name",weight:"heavy",name:t.name,anchor:"parent",placement:r===e.firstVisibleFile?"bottom":"top"}),a("ezp-label",{class:"file-size",level:"tertiary",text:e.formatSize(t.size)})),a("button",{type:"button",class:"file-remove","aria-label":Ce.t("upload.remove_file"),onClick:function(t){return e.removeFile(t,r)}},a("ezp-icon",{name:"close"})))}))),a("button",{key:"d22584a56b417545260c5b8c2210a6c62b59426e",type:"button",id:"add-more",onClick:this.openPicker},a("ezp-icon",{key:"1313f4255c6a58e58d04b0188153ec815ce6b938",name:"plus"}),a("ezp-label",{key:"deadcecb7b733c33a3990802a4ebf6b84726b48e",level:"secondary",weight:"heavy",text:Ce.t("upload.add_more")})))),t&&this.dragging&&a("div",{key:"20bf6c68fd28c8de0b63b88aad24f1ab63d25ac3",id:"drop-overlay","aria-hidden":"true"},a("ezp-icon",{key:"135896652629a8eba574c21af1af20ba6722ad5d",id:"dropzone-icon",name:"cloud-upload"}),a("ezp-label",{key:"03921a166561ce06af4fce3abcd1f812738844f5",level:"primary",weight:"heavy",text:Ce.t("upload.dropzone_title")}))),a("div",{key:"2d1e16e9e8ca950e1e968ca12939a245f7618adc",id:"footer"},a("ezp-text-button",{key:"6a776b09c068982932225a4903df003e8a89b20a",id:"clear",type:"button",level:"secondary",disabled:!t,onClick:this.handleCancel,label:Ce.t("upload.remove_files"),class:"action"}),a("ezp-text-button",{key:"ca872a7d7834191001faef1140dbd344566ed79d",id:"continue",type:"button",disabled:!t,onClick:this.handleContinue,label:Ce.t("upload.continue"),class:"action"})))))};return e}());Ux.style=qx();var Lx=function(){return":host{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));display:block;opacity:var(--ezp-userMenu-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));visibility:var(--ezp-userMenu-visibility, hidden);z-index:5}:host(.is-open){--ezp-userMenu-opacity:1;--ezp-userMenu-scale:1, 1;--ezp-userMenu-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-userMenu-visibility:visible}@media (prefers-color-scheme: dark){:host{--ezp-userMenu-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4)}#name{color:var(--ezp-core-foreground-primary)}#close{margin:calc(var(--ezp-spacing-3) * -1) 0}#links{-webkit-box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:var(--ezp-spacing-2)}.link{-ms-flex-align:center;align-items:center;background:var(--ezp-userMenu-link-background, transparent);border-radius:3px;color:var(--ezp-core-foreground-primary);cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;padding:var(--ezp-spacing-3);text-decoration:none}.link:hover{--ezp-userMenu-link-background:var(--ezp-core-shade-primary)}.link__icon{color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0}.caption{color:var(--ezp-core-foreground-primary)}#theme{-webkit-box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#swatches{display:-ms-flexbox;display:flex;margin:0 calc(var(--ezp-spacing-2) * -1)}.swatch{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-swatch-background, transparent);border:0;border-radius:50%;color:var(--ezp-userMenu-swatch-color);cursor:var(--ezp-userMenu-swatch-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-userMenu-swatch-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){.swatch:not(.selected):hover{--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent)}.swatch:not(.selected):active{--ezp-userMenu-swatch-opacity:0.74}}.swatch.selected{--ezp-userMenu-dot-boxShadowSize:10px;--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent);--ezp-userMenu-swatch-cursor:normal}.swatch.selected>.dot{-webkit-animation:dot-bounce var(--ezp-duration-2) ease-in-out;animation:dot-bounce var(--ezp-duration-2) ease-in-out}.swatch--blue{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-blue-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-blue-translucent)}.swatch--cyan{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-cyan-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-cyan-translucent)}.swatch--green{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-green-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-green-translucent)}.swatch--teal{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-teal-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-teal-translucent)}.swatch--orange{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-orange-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-orange-translucent)}.swatch--pink{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-pink-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-pink-translucent)}.swatch--red{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-red-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-red-translucent)}.swatch--violet{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-violet-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-violet-translucent)}.dot{background:var(--ezp-userMenu-dot-background, transparent);border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);height:18px;-webkit-transition:-webkit-box-shadow var(--ezp-duration-2);transition:-webkit-box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2), -webkit-box-shadow var(--ezp-duration-2);width:18px}#appearance{display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#tabs{display:grid;grid-template:auto/repeat(3, 1fr);margin:0 calc(var(--ezp-spacing-2) * -1)}.tab{--ezp-icon-height:8px;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-tab-background, transparent);border:0;border-radius:14px;color:var(--ezp-userMenu-tab-color, var(--ezp-core-foreground-secondary));cursor:var(--ezp-userMenu-tab-cursor, pointer);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-2)}@media (hover: hover){.tab:not(.selected):hover{--ezp-userMenu-tab-background:var(--ezp-core-shade-primary)}.tab:not(.selected):active{--ezp-userMenu-tab-background:var(--ezp-core-shade-secondary)}}.tab.selected{--ezp-userMenu-tab-background:var(--ezp-theme-translucent);--ezp-userMenu-tab-color:var(--ezp-theme-solid);--ezp-userMenu-tab-cursor:normal}@-webkit-keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}"};var Fx=e("ezp_user_menu",function(){function e(e){var t=this;i(this,e);this.userMenuClosure=n(this,"userMenuClosure",7);this.logoutEmitter=n(this,"logoutEmitter",7);this.backdrop=document.createElement("ezp-backdrop");this.links=[{title:Ce.t("user_menu.account"),icon:"account",href:"https://app.ezeep.com"},{title:Ce.t("user_menu.help"),icon:"help",href:"https://support.ezeep.com"}];this.themes=["pink","red","orange","green","teal","cyan","blue","violet"];this.appearances=[{title:Ce.t("user_menu.system"),name:"system"},{title:Ce.t("user_menu.light"),name:"light"},{title:Ce.t("user_menu.dark"),name:"dark"}];this.name="John Doe";this.open=false;this.handleClose=function(){t.userMenuClosure.emit()};this.logOut=function(){dt.clearSession();ft.state.isAuthorized=false;t.logoutEmitter.emit()};this.handleTheme=function(e){ux.state.theme=e};this.handleAppearance=function(e){ux.state.appearance=e}}e.prototype.watchOpen=function(){if(this.open){this.backdrop.visible=true;this.container.appendChild(this.backdrop)}else{this.backdrop.visible=false;this.userMenuClosure.emit()}};e.prototype.connectedCallback=function(){this.unsubscribeLanguage=$e(this)};e.prototype.componentWillLoad=function(){var e=this;this.container=this.component.closest("[data-backdrop-surface]");this.backdrop.addEventListener("backdropHideStart",(function(){e.open=false}));this.backdrop.addEventListener("backdropHideEnd",(function(){e.container.removeChild(e.backdrop)}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeLanguage)===null||e===void 0?void 0:e.call(this)};e.prototype.render=function(){var e=this;return a(o,{key:"a6967dc3eb3b13630dbf652681c6c5c1f769f584",class:this.open?"is-open":""},a("div",{key:"5cbf232927f4b26c1c05b01a6025b5f33fe3bfaa",id:"header"},a("ezp-label",{key:"83987303c029d9d01f42d5d817edaf6c72629513",ellipsis:true,id:"name",weight:"heavy",text:this.name}),a("ezp-icon-button",{key:"45a64f18578adf35aeb824e393a359368e32e35a",id:"close",level:"tertiary",icon:"close",onClick:this.handleClose})),a("div",{key:"8bd44e5b32662baad24ee9a39abca4e772b0ef4b",id:"links"},this.links.map((function(e){return a("a",{class:"link",href:e.href,target:"_blank",rel:"noopener noreferrer"},a("ezp-icon",{class:"link__icon",name:e.icon}),a("ezp-label",{text:e.title}))})),a("a",{key:"64f041741f7760f85dd5090d0c9feebd7dec3289",class:"link",onClick:this.logOut},a("ezp-icon",{key:"bd0beefa519acb37328d9c3fd33c4286ff7e1ddc",class:"link__icon",name:"logout"}),a("ezp-label",{key:"a37c8e9ffc43d0d89fe4d5dadf1dde5e36155074",text:Ce.t("user_menu.logout")}))),a("div",{key:"ad74827637906199b94f61d5f617fcaa9044c553",id:"theme"},a("ezp-label",{key:"c420ad169436c96acd4add9951e02f2d6fd43240",class:"caption",text:"".concat(Ce.t("user_menu.theme"),":"),weight:"heavy"}),a("div",{key:"04d383554f2cdfd6b7864c3e23295e2bc6f244b8",id:"swatches"},this.themes.map((function(t){return a("button",{class:"swatch swatch--".concat(t," ").concat(t===ux.state.theme?"selected":""),onClick:function(){return e.handleTheme(t)}},a("span",{class:"dot"}))})))),a("div",{key:"4e40758f22b322cbcd3d26054c6c4801c555430a",id:"appearance"},a("ezp-label",{key:"3034f9eaa028ce4928c8bf2c36dc223b98eba45d",class:"caption",text:"".concat(Ce.t("user_menu.appearance"),":"),weight:"heavy"}),a("div",{key:"dfa6a115e24db557891295f3a8e1ab1cfa4332f0",id:"tabs"},this.appearances.map((function(t){return a("button",{class:"tab ".concat(t.name===ux.state.appearance?"selected":""),onClick:function(){return e.handleAppearance(t.name)}},a("ezp-icon",{name:t.name}),a("ezp-label",{text:t.title,level:"tertiary",weight:"strong"}))})))))};Object.defineProperty(e.prototype,"component",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:[{watchOpen:0}]}},enumerable:false,configurable:true});return e}());Fx.style=Lx()}}}));
|