PageSourceSearch

https://3dm.com.br/package/static_js/5fb8459f256d4f48898009b857a36…/index/xnull/xfalse/xfalse/xfalse/static.js

js 3dm.com.br collected 2026-10-06 13:14:18 UTC 1,239,832 bytes, 324 lines download raw bytes

1
2    if (!window._bubble_page_load_data) {
3        window._bubble_page_load_data = {}
4    }
5    if (!window._bubble_page_load_data.js_execution_timings) {
6      window._bubble_page_load_data.js_execution_timings = {}
7    }
8    window._bubble_page_load_data.js_execution_timings.static_js_start_execution = Date.now();
9window.preloaded = window.preloaded || {};
10
11window.preloaded['app/page_metadata:index'] = true;
12/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
13// BUBBLE PATCH NOTES - offset() changed below, see comment
14"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=true),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.no
14deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
14,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){
15    var e=this[0];
16    // BUBBLE PATCH NOTES - offset() changed below, see comment in non-minified
17    if (!e) return {left:0, top:0};
18    return(!e||e.nodeType&&e.getBoundingClientRect)
19        ?I.apply(this,arguments)
20        :(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length
21            ?this
22            :({left:0,top:0}))},"offset-valid-elem"
23),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
24
25window.preloaded['js/vendor:jquery-migrate-3.4.1.min.js'] = true;
26
27window.bubble_version = 33;
28window.preloaded['app/metadata:bubble_version'] = true;
29window._bubble_page_load_data.hardcoded_plugins = window._bubble_page_load_data.hardcoded_plugins || {};
30window._bubble_page_load_data.hardcoded_plugins['stripe'] = true;
31window.__code__ = window.__code__ || {};
32if(!window.__code__['bc1fcdbb1735fce369f95b6ae74e43ffbea91a11fa536a52
vendor: 6,638 bytes, lines 32-34
326f22fc961b1a033b']){window.__code__['bc1fcdbb1735fce369f95b6ae74e43ffbea91a11fa536a526f22fc961b1a033b']=1;
33
34"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,595 bytes, line 34
34K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 34
34)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 34
34if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
34var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
34y-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
34:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
34HARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol
34=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
34:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});
34var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
34yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
34ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
34(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(value,done){return{value,done}}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
34y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_esnext_iterator_reduce=__commonJS({"node_modules/core-js/modules/esnext.iterator.reduce.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),$TypeError=TypeError;$2({target:"Iterator",proto:!0,real:!0},{reduce:function(reducer){anObject(this),aCallable(reducer);var record=getIteratorDirect(this),noInitial=arguments.length<2,accumulator=noInitial?void 0:arguments[1],counter=0;if(iterate(record,function(value){noInitial?(noInitial=!1,accumulator=value):accumulator=reducer(accumulator,value,counter),counter++},{IS_RECORD:!0}),noInitial)throw new $TypeError("Reduce of empty iterator with no initial value");return accumulator}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter()),import_esnext_iterator_reduce=__toESM(require_esnext_iterator_reduce());init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var r=__require,external=safe_require.safe_require("./external"),querystring=safe_require.safe_require("querystring"),btype_ids=safe_require.safe_require("./lang/btype_ids"),hydrate=safe_require.safe_require("@bubblegroup/db/hydrate"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),lang=safe_require.safe_require("./lang/lang"),eval_node_state=safe_require.safe_require("@bubblegroup/evaluation/engine/eval_node_state"),core_events=safe_require.safe_require("./core/core_events"),workflow_consts=safe_require.safe_require("./constants/workflow"),workflow_utils=safe_require.safe_require("./lang/workflow/workflow_utils"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),generic_actions_utilities=safe_require.safe_require("./core/core_actions/utilities/generic_actions_utilities"),languages=safe_require.safe_require("./languages"),b_location=safe_require.safe_require("./geolocation/b_location"),logger=safe_require.safe_require("./logger"),core_ds_db_ops_utilities=safe_require.safe_require("./core/core_datasources/utilities/core_ds_db_ops_utilities"),status_bar=safe_require.safe_require("./core/status_bar"),payment_converter=safe_require.safe_require("./shared/payment_converter"),db_values=safe_require.safe_require("@bubblegroup/db/values/db_values"),stripe_utilities=safe_require.safe_require("./shared/stripe_utilities"),db_consts=safe_require.safe_require("./constants/db"),subscription_consts=safe_require.safe_require("./constants/subscriptions");function extract_data(call,val){if(val?.error)throw new u.OwnerError("Stripe Error",{display:val.error.message});return call.extract_data(val)}var REQUIRE_AUTHENTICATION_ERROR_CODES=["authentication_required","subscription_payment_intent_requires_action","invoice_payment_intent_requires_action"],form=null;function initialize_stripe_form(){let app_language=Lib().app_language(!0),locale=app_language?languages.get_iso_code(app_language).slice(0,2):"auto",options={key:appquery.stripe_public_key(),name:appquery.get_public_setting("stripe_checkout_name")??document.title,locale,zipCode:appquery.get_public_setting("stripe_collect_zip"),billingAddress:appquery.get_public_setting("stripe_collect_address")},image=appquery.get_public_setting("stripe_checkout_image")??appquery.favicon();if(image&&(options.image=image),!window.StripeCheckout)throw new u.UnexpectedError("Stripe Checkout not present");form=window.StripeCheckout.configure(options),$(window).off("popstate.stripe_checkout"),$(window).on("popstate.stripe_checkout",()=>form.close())}typeof window<"u"&&window!==null&&(window.initialize_stripe_form=initialize_stripe_form);function get_checkout_form(data,cb,on_closed){return form||initialize_stripe_form(),u.run_once(30,()=>data.charged_user_email??Lib().current_user().get_email(),(err,email)=>{if(err){logger.log(err);return}function open(){let options={description:data.description,amount:data.amount,panelLabel:data.panelLabel,email,token(token){return cb(token)}};return data.currency&&(options.currency=data.currency),on_closed&&(options.closed=on_closed),form.open(options)}if(u.is_on_mobile_or_tablet()){let greyout=u.div("stripe-checkout-greyout",$("body")),btn=u.div("stripe-checkout-btn",greyout),width=$(window).width()/2,caption=data.panelLabel??"Pay with card";width=Math.max(Math.min(caption.length*12.5+30,width*.9),150);let height=.266666*width;return btn.css({width,left:($(window).width()-width)/2,"min-height":height,top:($(window).height()-height)/2}),u.div("stripe-checkout-display",btn,caption).css({"min-height":height,width,"font-size":20,"line-height":height+"px",padding:"7px"}),btn.on("click",()=>(greyout.remove(),open()))}else return open()})}var version_keys={V2:"v2",V3:"v3"};function is_v3(){if(Lib())return appquery.get_public_setting("stripe_checkout_version")===version_keys.V3}function redirect_checkout(context,url){return Lib().workflow.wait_for_safe(context,()=>window.location.replace(url))}var getURLToGenerateStripeAuthToken=(app,user_email,nexturl,user_id,prefilled_data)=>{let state_raw={nextURL:nexturl,user_id};if(state_raw.appname=app.appname(),state_raw=u.json_stringify(state_raw),prefilled_data!=null){let{address}=prefilled_data;if(address!=null){let should_throw_not_ready=u.on_client(),components=b_location.get_components(address,should_throw_not_ready);prefilled_data.country=components["country code"],prefilled_data.street_address=components["street number"]+" "+components.street,prefilled_data.city=components.city,prefilled_data.zip=components["zip code"],prefilled_data.state=components["state code"]}delete prefilled_data.address}let user_data={};for(let k in prefilled_data){let v=prefilled_data[k];v!=null&&(user_data["stripe_user["+k+"]"]=v)}user_data["stripe_user[email]"]??=user_email,user_data["stripe_user[url]"]??=app.domain(),user_data["stripe_user[business_name]"]??=app.get_public_setting("facebook_meta_tag_title")??document?.title??app.appname();let argument={response_type:"code",client_id:app.stripe_client_id(),scope:"read_write",state:state_raw};return u.extend(argument,user_data),"https://connect.stripe.com/oauth/authorize?"+querystring.stringify(argument)};function saga_seller_auth_url(next_url,prefilled_data){return u.run_once(30,()=>{let current_user=Lib().current_user();return current_user.is_logged_in()?appquery.stripe_client_id()?{url:getURLToGenerateStripeAuthToken(appquery.app(),current_user.get_email(),next_url,current_user._id(),{...prefilled_data})}:{error:"CANT_REGISTER_SELLER"}:{error:"NEED_LOGIN_TO_SELL"}})}var enter_your_api_key_button_field_names={key_info:{no_states:!0}}
34,checkout_tax_field_names={apply_tax_rate:{},tax_ids_style:{},tax_ids_static_choices:{},tax_ids_data_source:{}},payment_field_names=u.extend({amount:{},currency:{default:"USD"},product_name:{},description:{},image:{},button_caption:{default:"Pay"},statement_descriptor:{optional:!0},authorize_only:{default:!1},payee_is_another_user:{},payee:{},app_fee:{}},enter_your_api_key_button_field_names),do_not_show_success_alert_field_name={do_not_show_success_alert:{default:!1}},card_id_field_name={card_id:{optional:!0}},add_user_field_names={apply_current_user:{default:!0},user:{}},allow_promotion_codes_field_name={allow_promotion_codes:{default:!1}};var _call_dependencies={},_get_keys={},_get_errors={},_get_cache={},StripeCall=class extends external.Call{make_request(call_name,properties,prev,_raw,context){prev&&(properties.user_id=prev._id());let current_eval_node=eval_node_state.get_current_eval_node(),call_location={_raw,current_eval_node},hash=u.json_stringify(hydrate.dehydrate_tree({call_name,properties}));if(_get_keys[hash]||(_get_keys[hash]=u.MakeKey(null,"request_synchronous "+call_name),this.proxy_request({prev,properties,call_location,context}).then(response=>(_get_cache[hash]=response.ret,_get_keys[hash]?.turn()),err=>(_get_errors[hash]=err,_get_keys[hash]?.turn(),this.get_value_bubble_null()))),u.ensure_ready(_get_keys[hash]),_get_errors[hash])throw _get_errors[hash];return _get_cache[hash]}};
34function invalidate_call(call_name){let user_id=Lib().current_user()._id(),properties=Lib().location.get_pieces();delete properties.query,properties.user_id=user_id;let hash=u.json_stringify({call_name,properties});return delete _get_keys[hash],_call_dependencies[user_id+call_name]?.invalidate()}var status=null;function convert_stripe_error(err){return err.raw?.type==="card_error"?REQUIRE_AUTHENTICATION_ERROR_CODES.includes(err.code)?new u.StripePaymentRequiresAction(null,err.raw?.message):new u.UserError(null,err.raw.message):err.raw?.type==="invalid_request_error"?new u.OwnerError("Stripe invalid_request_error",{display:"Stripe error: "+err.raw.message}):new u.UnexpectedError("error calling Stripe API",{error:err})}function extractIsInvoiceClosed(invoice){return invoice.closed!==void 0?invoice.closed:invoice.auto_advance!==void 0?!invoice.auto_advance:!1}function extractIsInvoiceForgiven(invoice){return invoice.forgiven!==void 0?invoice.forgiven:invoice.status!==void 0?invoice.status==="uncollectible":!1}function _currency_extractor(currency_path){return currency_path??=[],function(val,raw){let currency_value=u.extract_from_object(raw,currency_path),only_after_bv14=!0;return payment_converter.get_bubble_corrected_amount(val,currency_value,only_after_bv14)??0}}function _stripe_to_bubble_date(val){return val?val*1e3:null}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.values=this._get_initial_values(),this.calls=this._get_initial_calls()}get public_values(){return["Event","Customer","Coupon","Invoice","InvoiceItem","SubscriptionData","SubscriptionItem","CardData","TaxID"]}_get_initial_values(){return{CustomerAddress:new external.StructValue("Stripe Customer Address",{city:{},country:{},line1:{},line2:{},postal_code:{caption:"Postal code"},state:{}}),SellerData:new external.StructValue("Seller data",{id:{}},{no_special_messages:!0}),CardData:new external.StructValue("Stripe Credit Card",{id:{},last4:{caption:"last 4 digits"},exp_month:{ret_btype:"number"},exp_year:{ret_btype:"number"},brand:{},funding:{},fingerprint:{}}),SubscriptionItem:new external.StructValue("Stripe Subscription Item",{subscription_item_id:{path:["id"]},id:{path:["plan","id"],caption:"Plan ID"},name:{path:["plan"],caption:"Plan name",post_call_processing(plan){return plan?.name??plan?.nickname??plan?.id}},quantity:{ret_btype:"number"},interval:{path:["plan","interval"]},current_period_start:{caption:"Current period starting date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},current_period_end:{caption:"Current period ending date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date}}),SubscriptionData:new external.StructValue("Stripe Subscription",{subscription_id:{path:["id"]},id:{path:["plan","id"],caption:"Plan ID"},name:{path:["plan"],caption:"Plan name",post_call_processing(plan){return plan?.name??plan?.nickname??plan?.id}},items:{ret_btype:btype_ids.list_type(btype_ids.api_type("stripe.SubscriptionItem")),path:["items","data"],post_call_processing(val){let res=[],value=btypes.get(btype_ids.api_type("stripe.SubscriptionItem"));for(r of val??[])res.push(value.plugin.extract(r));return res}},status:{},start:{caption:"Starting date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},created:{caption:"Creation date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},quantity:{ret_btype:"number"},trial_end:{caption:"Trial end date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},trial_start:{caption:"Trial start date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},current_period_start:{caption:"Current period starting date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},current_period_end:{caption:"Current period ending date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date}}),Event:new external.StructValue("Stripe Event",{id:{},type:{},created:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},object:{path:["data","object","object"]},object_id:{caption:"Object ID",path:["data","object","id"]},customer_id:{path:["data","object","customer"]},invoice_id:{path:["data","object","invoice"]},subscription_id:{path:["data","object","subscription"]},charge_id:{caption:"Charge ID for dispute",path:["data","object","charge"]},amount:{ret_btype:"number",path:["data","object","amount"],post_c
34all_processing:_currency_extractor(["data","object","currency"])},amount_paid:{ret_btype:"number",extract(val){let{amount_paid,amount_captured}=val.data.object??{};return amount_paid??amount_captured},post_call_processing:_currency_extractor(["data","object","currency"])},amount_refunded:{ret_btype:"number",path:["data","object","amount_refunded"],post_call_processing:_currency_extractor(["data","object","currency"])},captured:{ret_btype:"boolean",path:["data","object","captured"]},failure_message:{path:["data","object","failure_message"]},statement_descriptor:{path:["data","object","statement_descriptor"]},description:{path:["data","object","description"]},previous_status:{path:["data","previous_attributes","status"]}}),Customer:new external.StructValue("Stripe Customer",{id:{},email:{},address:{ret_btype:btype_ids.api_type("stripe.CustomerAddress")},balance:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},discount_items:{ret_btype:btype_ids.api_type("stripe.Coupon"),path:["discount","coupon"],post_call_processing(val){if(val)return btypes.get(btype_ids.api_type("stripe.Coupon")).plugin.extract(val)}}}),Coupon:new external.StructValue("Stripe Coupon",{id:{},amount_off:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},percent_off:{ret_btype:"number"},created:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},currency:{},duration:{},duration_in_months:{ret_btype:"number"},max_redemptions:{ret_btype:"number"},redeem_by:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},times_redeemed:{ret_btype:"number"},valid:{ret_btype:"boolean"},name:{}}),Invoice:new external.StructValue("Stripe Invoice",{id:{},subscription:{},status:{},amount_due:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},subtotal:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},total:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},starting_balance:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},ending_balance:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},closed:{ret_btype:"boolean",extract(val){return extractIsInvoiceClosed(val)}},paid:{ret_btype:"boolean"},forgiven:{ret_btype:"boolean",extract(val){return extractIsInvoiceForgiven(val)}},date:{path:["created"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},period_start:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},period_end:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},invoice_items:{ret_btype:btype_ids.list_type(btype_ids.api_type("stripe.InvoiceItem")),path:["lines","data"],post_call_processing(val){let res=[],value=btypes.get(btype_ids.api_type("stripe.InvoiceItem"));for(r of val??[])res.push(value.plugin.extract(r));return res}},discount_items:{ret_btype:btype_ids.api_type("stripe.Coupon"),path:["discount","coupon"],post_call_processing(val){return btypes.get(btype_ids.api_type("stripe.Coupon")).plugin.extract(val)}},metadata:{ret_btype:"text",post_call_processing(val){return JSON.stringify(val)}}}),InvoiceItem:new external.StructValue("Stripe InvoiceItem",{id:{},invoice_item_id:{path:[],post_call_processing(obj){if(obj.object==="line_item")return obj.invoice_item;if(obj.object==="invoiceitem")return obj.id}},amount:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},statement_descriptor:{path:["plan","name"]},description:{},subscription:{},period_start:{path:["period","start"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},period_end:{path:["period","end"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},price_id:{path:["price","id"]},product_id:{path:["price","product"]},proration:{ret_btype:"boolean"}}),InvoiceMetadata:new external.StructValue("Stripe Invoice Metadata",{appname:{ret_btype:"text"},is_overage_invoice:{ret_btype:"boolean"}}),Transfer:new external.StructValue("Stripe Transfer",{id:{},destination_payment:{},amount:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},amount_reversed:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},created:{path:["period","start"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},description:{},destination:{}}),Balance:new external.StructValue("Stripe Balance",{available_amount:{path:["available"],ret_btype:"number",post_call_processing(res){let val=res[0].amount;return val?val/100:0}},pending:{path:["pending"],ret_btype:"number",post_call_processing(res){let val=res[0].amount;return val?val/100:0}},connect_reserved_amount:{path:["connect_reserved"],ret_btype:"number",post_call_processing(res){if(!res)return 0;let val=res[0].amount;return val?val/100:0}}}),TaxID:new external.StructValue("Stripe Tax ID",{id:{},country:{},type:{},value:{}}),Refund:new external.StructValue("Stripe Refund",{id:{},amount:{ret_btype:"number"},charge:{},created:{ret_btype:"number"},currency:{},description:{},status:{}})}}get user_calls(){return["GetStripeCard","GetStripeCards","GetStripeSubscription","GetStripeSubscriptions","GetSellerData","GetCustomerID","GetStripeInvoices","GetStripeTaxIDs"]}get public_calls(){return["GetEventData","GetCustomer","GetStripeCoupons","GetStripeCoupon","GetStripeInvoice","GetStripeBalance","GetStripeTaxID"]}get server_actions(){return["charge_user","charge_user_resume","define_as_seller_resume","get_user_cc_info","get_user_cc_info_resume","charge_user_with_saved_cc","subscribe_stripe_plan","subscribe_stripe_plan_resume","apply_stripe_coupon_to_plan","cancel_stripe_plan","add_invoice_item","update_invoice_item","create_invoice","update_invoice","refund_charge","pay_invoice","cancel_invoice","create_coupon","create_subscription_item","update_subscription_item","delete_subscription_item","delete_credit_card","make_card_default","transfer_to_seller","create_payout","adjust_relative_customer_balance","set_customer_balance","update_customer","capture_authorized_charge","create_stripe_value_list_item","create_tax_id","delete_tax_id","list_tax_ids_action"]}_get_initial_calls(){return{GenerateAuthToken:class extends external.Call{get _must_proxy(){return!0}get skip_property_security(){return!0}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):this.service().generateauthtoken(properties)}},GetStripePlans:class extends external.Call{get _must_proxy(){return!0}get skip_property_security(){return!0}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):this.service().getstripeplans(properties)}},GetSellerData:class extends external.Call{get _must_proxy(){return!0}get human(){return"Stripe Seller account"}get btype_id(){return btype_ids.api_type("stripe.SellerData")}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()?this.get_value_bubble_null():prev._id()?{id:prev.child("authentication").child("stripe").child("id").get()}:{}}},GetCustomerID:class extends external.Call{get _must_proxy(){return!0}get human(){return"Stripe Customer ID"}get btype_id(){return"text"}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()?this.get_value_bubble_null():prev._id()?prev.child("StripeCustomerID").get()??this.get_value_bubble_null():{}}},GetStripeCard:class extends StripeCall{get human(){return"Stripe Credit card"}get btype_id(){return btype_ids.api_type("stripe.CardData")}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode()&&!properties.force_edit_mode)return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().retrieve_credit_cards(prev)[0]);{let call_name="GetStripeCard",user_id=prev?._id();
34_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeCards:class extends StripeCall{get human(){return"Stripe Credit cards"}get btype_id(){return btype_ids.api_type("stripe.CardData")}get is_list(){return!0}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().retrieve_credit_cards(prev));{let call_name="GetStripeCards",user_id=prev?._id();_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeSubscription:class extends StripeCall{get human(){return"Stripe Customer subscription"}get btype_id(){return btype_ids.api_type("stripe.SubscriptionData")}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().get_existing_subscriptions(prev)[0]);{let call_name="GetStripeSubscription",user_id=prev?._id();_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeSubscriptions:class extends StripeCall{get human(){return"Stripe Customer subscriptions"}get btype_id(){return btype_ids.api_type("stripe.SubscriptionData")}get is_list(){return!0}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().get_existing_subscriptions(prev));{let call_name="GetStripeSubscriptions",user_id=prev?._id();_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetAppSubscription:class extends StripeCall{execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server()){let raw_list=this.service().get_existing_subscriptions(prev);if(!raw_list)return null;let matched_subscription_object=raw_list.filter(item=>item.metadata.appname===properties.appname).reduce((a,b)=>a.created>b.created?a:b,{});return matched_subscription_object?.current_period_end?(matched_subscription_object.current_period_start_formatted=_stripe_to_bubble_date(matched_subscription_object.current_period_start),matched_subscription_object.current_period_end_formatted=_stripe_to_bubble_date(matched_subscription_object.current_period_end),matched_subscription_object):null}else{let call_name="GetAppSubscription",user_id=prev?._id();_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetEventData:class extends StripeCall{get human(){return"Get Stripe Event"}get btype_id(){return btype_ids.api_type("stripe.Event")}get parameters(){return{event_id:{}}}execute(prev,properties,authentication,_raw,context){if(!properties.event_id||Lib().is_edit_mode())return{};let call_name="GetEventData";if(_call_dependencies[properties.event_id+call_name]??=u.Dependency(),_call_dependencies[properties.event_id+call_name].register(),u.on_server())return extract_data(this,this.service().retrieve_stripe_event(properties.event_id));{let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,data_to_send.event_id=properties.event_id,this.make_request(call_name,data_to_send,null,_raw,context)}}},GetCustomer:class extends StripeCall{get human(){return"Get Stripe Customer"}get btype_id(){return btype_ids.api_type("stripe.Customer")}get parameters(){return{customer_id:{}}}execute(prev,properties,authentication,_raw,context){if(!properties.customer_id||Lib().is_edit_mode())return{};let call_name="GetCustomer";if(_call_dependencies[properties.customer_id+call_name]??=u.Dependency(),_c
34all_dependencies[properties.customer_id+call_name].register(),u.on_server())return extract_data(this,this.service().retrieve_customer(properties.customer_id));{let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,data_to_send.customer_id=properties.customer_id,this.make_request(call_name,data_to_send,null,_raw,context)}}},GetStripeCoupons:class extends external.Call{get human(){return"Get Stripe Coupons"}get btype_id(){return btype_ids.api_type("stripe.Coupon")}get is_list(){return!0}get _must_proxy(){return!0}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):extract_data(this,this.service().getstripecoupons())}},GetStripeCoupon:class extends external.Call{get human(){return"Get Stripe Coupon"}get parameters(){return{coupon_id:{}}}get btype_id(){return btype_ids.api_type("stripe.Coupon")}get _must_proxy(){return!0}execute(prev,properties,authentication,_raw,context){return properties.coupon_id?u.on_client()?super.execute(prev,properties,authentication,_raw,context):extract_data(this,this.service().getstripecoupon(properties.coupon_id)):this.get_value_bubble_null()}},GetStripeInvoice:class extends external.Call{get human(){return"Retrieve Stripe Invoice"}get btype_id(){return btype_ids.api_type("stripe.Invoice")}get _must_proxy(){return!0}get parameters(){return{invoice_id:{}}}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()||!properties.invoice_id?this.get_value_bubble_null():u.on_server()?extract_data(this,this.service().retrieve_invoice(properties.invoice_id)):super.execute(prev,properties,authentication,_raw,context)}},GetStripeInvoices:class extends StripeCall{get human(){return"Get Stripe Invoices"}get btype_id(){return btype_ids.api_type("stripe.Invoice")}get is_list(){return!0}get _must_proxy(){return!0}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().get_customer_invoices(prev));{let call_name="GetStripeInvoices",user_id=prev?._id();_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeBalance:class extends external.Call{get human(){return"Retrieve Stripe Balance"}get btype_id(){return btype_ids.api_type("stripe.Balance")}get _must_proxy(){return!0}get parameters(){return{}}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()?this.get_value_bubble_null():u.on_server()?extract_data(this,this.service().retrieve_balance()):super.execute(prev,properties,authentication,_raw,context)}},GetStripeTaxID:class extends external.Call{get human(){return"Retrieve Stripe Tax ID"}get btype_id(){return btype_ids.api_type("stripe.TaxID")}get _must_proxy(){return!0}get parameters(){return{customer:{name:"customer",caption:"User",editor:"Basic",btype:"user"},tax_id:{}}}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()||!properties.tax_id?this.get_value_bubble_null():u.on_server()?extract_data(this,this.service().retrieve_tax_id(properties)):super.execute(prev,properties,authentication,_raw,context)}},GetStripeTaxIDs:class extends StripeCall{get human(){return"Stripe Tax IDs"}get btype_id(){return btype_ids.api_type("stripe.TaxID")}get is_list(){return!0}get _must_proxy(){return!0}get parameters(){return{limit:{caption:"Limit",editor:"Basic",optional:!0,btype:"number"}}}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().list_tax_ids(prev,properties.limit));{let call_name="GetStripeTaxIDs",user_id=prev?._id();_call_dependencies[user_id+call_name]??=u.Dependency(),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,data_to_send.limit=properties.limit,this.make_request(call_name,data_to_send,prev,_raw,context)}}}}}get_error_message(response){let data;try{data=JSON.parse(response.body)}catch{return}if(data.error!=null)throw convert_stripe_error(data.error)}html_header(key){return is_v3()?`(function(){
35const b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src="https://js.stripe.com/v3";
36const d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(b,d);
37})();`:`(function(){
38const b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src="https://checkout.stripe.com/checkout.js";b.onload=function(){window.initialize_stripe_form()};
39const d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(b,d);
40})();`}actions(){return{ChargeUser:{server_method:"stripe-charge_user",server_method_resume:"stripe-charge_user_resume",field_names:Object.assign({charged_user_email:{},tax_id_collection:{default:!1},client_reference_id:{optional:!0}},payment_field_names,do_not_show_success_alert_field_name,allow_promotion_codes_field_name,checkout_tax_f
40ield_names),run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>{if(err){cb(err);return}let resume_key=Lib().workflow.make_resume_key(context,action);if(is_v3())if(properties.payee_is_another_user){let payee_user=properties.payee;return u.run_once(30,()=>payee_user.child("authentication").child("stripe").child("id").get(),(err2,payee_stripe_account_id)=>err2!=null||!payee_stripe_account_id?(err2??=new u.OwnerError("Payee either does not have a stripe account setup or else has a privacy rule blocking access to social networks, which prevents this action from working"),cb(err2)):redirect_checkout(context,res.url))}else return redirect_checkout(context,res.url);else return cb("aborted"),properties.panelLabel=properties.button_caption??"Pay",u.run_once(30,()=>{let amount=res.child("amount").raw(!1);return get_checkout_form(u.extend(properties,{amount}),token=>{status=status_bar.show_progress_line("chargecc call");let data_to_send={order_id:res._id(),token:token.id,appname:Lib().appname(),app_version:Lib().app_version()};return Lib().workflow.resume(resume_key,data_to_send)})})})},resume(action,context,cb){return is_v3()&&(status=status_bar.show_progress_line("chargecc call")),context.get_server_outcome(action,(err,order)=>{if(status?.(),err){err instanceof u.ExpectedError&&alert(logger.human_friendly(err));return}else if(order.flush(),invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),!action.get_static_property("do_not_show_success_alert")){let msg=action.get_static_property("authorize_only")?Lib().get_text("stripe","SUCCESS_AUTHORIZED_CARD"):Lib().get_text("stripe","SUCCESS_CARD");window.alert(msg)}return cb(err,order)})},return_btype(){return btypes.get(db_consts.SYSTEM_TYPE_IDS.STRIPE_ORDER)},data_to_refresh:null,check_for_errors(action,report){return _check_for_errors_for_payment(action,report,this.display)}},GetUserCCInfo:{category:"payment",field_names:u.extend({update_existing:{default:!0},description:{default:"Collect card information"},button_caption:{default:"Save"},client_reference_id:{optional:!0}},do_not_show_success_alert_field_name,enter_your_api_key_button_field_names),display(){return"Collect the user's CC information"},_fields(){return[{name:"update_existing",editor:"Checkbox",caption:"Update existing main card"},{name:"description",caption:"Description",editor:"ShortText"},{name:"button_caption",caption:"Button caption",editor:"ShortText",condition(){return!is_v3()}},{name:"client_reference_id",caption:"Client reference ID",editor:"ShortText"}].concat(do_not_show_success_alert_field())},get_field_metadata(action){return{update_existing:{caption:"Update existing main card",btype_id:"boolean"},description:{caption:"Description",btype_id:"text"},button_caption:{caption:"Button caption",btype_id:"text",condition(){return!is_v3()}},client_reference_id:{caption:"Client reference ID",btype_id:"text",optional:!0},...do_not_show_success_alert_field_metadata(),...workflow_utils.getCommonFieldsMetadata(action)}},run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>{if(err)return cb(err);
40{let resume_key=Lib().workflow.make_resume_key(context,action);return is_v3()?redirect_checkout(context,res.url):(cb("aborted"),get_checkout_form({description:properties.description,panelLabel:properties.button_caption},token=>{status=status_bar.show_progress_line("chargecc call");let data_to_send={user_id:Lib().current_user()._id(),token:token.id,appname:Lib().appname(),app_version:Lib().app_version(),update_existing:properties.update_existing};return Lib().workflow.resume(resume_key,data_to_send)}))}})},resume(action,context,cb){return is_v3()&&(status=status_bar.show_progress_line("chargecc call")),context.get_server_outcome(action,err=>{if(status?.(),invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),err){err instanceof u.ExpectedError&&core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.ELEMENT_WORKFLOW,cb(err2){err2&&window.alert(logger.human_friendly(err2))}});return}else action.get_static_property("do_not_show_success_alert")||window.alert(Lib().get_text("stripe","SUCCESS_SAVE_CC"));return cb()})},server_method:"stripe-get_user_cc_info",server_method_resume:"stripe-get_user_cc_info_resume",check_for_errors(action,report){return _check_for_errors_for_payment(action,report,this.display)},data_to_refresh:null},ChargeUserWithSavedCC:{category:"payment",field_names:u.extend({charged_user:{}},payment_field_names,do_not_show_success_alert_field_name,card_id_field_name),display(){return"Charge a user using saved CC"},_fields(){return[{name:"charged_user",caption:"Charged user",editor:"Basic",btype:"user"}].concat(payment_fields()).concat(card_id_field()).concat(do_not_show_success_alert_field())},get_field_metadata(action){return{charged_user:{caption:"Charged user",btype_id:"user"},...payment_fields_metadata(!1),...card_id_field_metadata(),...do_not_show_success_alert_field_metadata(),...workflow_utils.getCommonFieldsMetadata(action)}},run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>{if(err)return cb(err);if(!properties.do_not_show_success_alert){let msg=properties.authorize_only?Lib().get_text("stripe","SUCCESS_AUTHORIZED_CARD"):Lib().get_text("stripe","SUCCESS_CARD");window.alert(msg)}return cb(null,order)})},server_method:"stripe-charge_user_with_saved_cc",check_for_errors(action,report){return _check_for_errors_for_payment(action,report,this.display)},return_btype(){return btypes.get(db_consts.SYSTEM_TYPE_IDS.STRIPE_ORDER)},data_to_refresh:null},CaptureAuthorizedCharge:{category:"payment",field_names:u.extend({charge_id:{}},do_not_show_success_alert_field_name,enter_your_api_key_button_field_names),server_method:"stripe-capture_authorized_charge",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>{if(err)return cb(err);if(!properties.do_not_show_success_alert){let msg=Lib().get_text("stripe","SUCCESS_CARD");window.alert(msg)}return cb(null,order)})},data_to_refresh:null},DefineAsSeller:{field_names:u.extend({email:{optional:!0},url:{optional:!0},business_name:{optional:!0},address:{optional:!0},product_category:{optional:!0},physical_product:{optional:!0},product_description:{optional:!0}},enter_your_api_key_button_field_names),run(action,properties,context,cb){let current_user=Lib().current_user();return u.run_once(30,()=>{let logged_in=current_user.is_logged_in(),email=current_user.get_email(),resume_url=generic_actions_utilities.get_resume_url(context,action),stripe_auth_url=getURLToGenerateStripeAuthToken(appquery.app(),email,resume_url,current_user._id(),properties);return{logged_in,email,stripe_auth_url}},(err,data)=>{if(err){cb(err);return}let{logged_in,stripe_auth_url}=data;if(!logged_in){cb(new u.UserError("stripe.NEED_LOGIN_TO_SELL"));return}if(!appquery.stripe_client_id()){cb(new u.UserError("stripe.CANT_REGISTER_SELLER"));return}return Lib().workflow.wait_for_safe(context,()=>document.location.href=stripe_auth_url)})},data_to_refresh:null,server_method_resume:"stripe-define_as_seller_resume"},SubscribeStripePlan:{category:"payment",field_names:Object.assign({plan_id:{},apply_coupon:{},coupon_id:{},quantity:{default:1},tax_percent:{optional:!0,condition(){return!is_v3()}},trial_end:{optional:!0},subscription_id:{optional:!0},dynamic_plan_id:{},update_existing:{default:!0},plans_vs_item:{default:"plan"},payment_behavior:{optional:!0},items:{},tax_id_collection:{default:!1},client_reference_id:{optional:!0}},enter_your_api_key_button_field_names,do_not_show_success_alert_field_name,add_user_field_names,allow_promotion_codes_field_name,checkout_tax_f
40ield_names),server_method:"stripe-subscribe_stripe_plan",terminate_server_workflow:!1,server_method_resume:"stripe-subscribe_stripe_plan_resume",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>{if(err){cb(err);return}let resume_key=Lib().workflow.make_resume_key(context,action,!0),v3_redirect_required=is_v3()&&res.session_id!=null;if(is_v3()&&v3_redirect_required)return redirect_checkout(context,res.url);{let order=res;if(db_values.registry.is(order,db_values.STATIC_OBJECT)){invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),properties.do_not_show_success_alert||window.alert(Lib().get_text("stripe","SUCCESS_UPDATE_SUBSCRIPTION")),cb(void 0,order);return}return cb("aborted"),get_checkout_form({description:Lib().get_text("stripe","UPDATE_SUBSCRIPTION_CAPTION"),panelLabel:Lib().get_text("stripe","SUBSCRIBE_ACTION_CAPTION")},token=>{status=status_bar.show_progress_line("chargecc call");let data_to_send={order_id:order._id(),token:token.id,appname:Lib().appname(),app_version:Lib().app_version()};return Lib().workflow.resume(resume_key,data_to_send)})}})},resume(action,context,cb){return context.get_server_outcome(action,(err,order)=>(status?.(),invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),err?err instanceof u.ExpectedError&&core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.ELEMENT_WORKFLOW,cb(err2){err2&&window.alert(logger.human_friendly(err2))}}):action.get_static_property("do_not_show_success_alert")||window.alert(Lib().get_text("stripe","SUCCESS_SUBSCRIPTION")),cb(err,core_ds_db_ops_utilities.convert_api_call_to_db_object(order?.data,{btype_id:btype_ids.api_type("stripe.SubscriptionData")}))))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.SubscriptionData"))}},ApplyCouponToPlan:{category:"payment",field_names:u.extend({coupon_id:{},subscription_id:{optional:!0}},enter_your_api_key_button_field_names,do_not_show_success_alert_field_name,add_user_field_names),server_method:"stripe-apply_stripe_coupon_to_plan",run(action,properties,context,cb){return context.get_server_outcome(action,err=>err?cb(err):(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),properties.do_not_show_success_alert||window.alert(Lib().get_text("stripe","APPLIED_COUPON")),cb()))},data_to_refresh:null},CancelStripePlan:{category:"payment",field_names:u.extend({cancel_all:{default:!0},subscription_id:{},cancelationMode:{default:subscription_consts.CancelationMode.Immediate}},do_not_show_success_alert_field_name,enter_your_api_key_button_field_names,add_user_field_names),server_method:"stripe-cancel_stripe_plan",run(action,properties,context,cb){return context.get_server_outcome(action,err=>err?cb(err):(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),properties.do_not_show_success_alert||window.alert(Lib().get_text("stripe","CANCEL_SUBSCRIPTION")),cb()))},data_to_refresh:null},AddInvoiceItem:{category:"payment",field_names:Object.assign({customer:{},amount:{},currency:{default:"USD"},description:{},subscription_id:{optional:!0}},checkout_tax_field_names,enter_your_api_key_button_field_names),server_method:"stripe-add_invoice_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},return_btype(){return btypes.get(btype_ids.api_type("stripe.InvoiceItem"))},data_to_refresh:null},UpdateInvoiceItem:{category:"payment",field_names:u.extend({invoice_item_id:{value:"text"},amount:{optional:!0,value:"number"},description:{optional:!0,value:"text"}},enter_your_api_key_button_field_names),server_method:"stripe-update_invoice_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},return_btype(){return btypes.get("api.stripe.InvoiceItem")},data_to_refresh:null},CreateInvoice:{category:"payment",field_names:u.extend({customer:{},subscription_id:{optional:!0},auto_advance:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-create_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.Invoice"))}},UpdateInvoice:{category:"payment",field_names:u.extend({invoice_id:{},description:{optional:!0},coupon_id:{optional:!0},auto_advance:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-update_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.Invoice"))}},PayInvoice:{category:"payment",field_names:u.extend({invoice_id:{}},enter_your_api_key_button_field_names),server_method:"stripe-pay_
40invoice",run(action,properties,context,cb){return context.get_server_outcome(action,err=>err?cb(err):(window.alert(Lib().get_text("stripe","SUCCESS_CARD")),cb()))},data_to_refresh:null},CancelInvoice:{category:"payment",field_names:u.extend({invoice_id:{},status:{}},enter_your_api_key_button_field_names),server_method:"stripe-cancel_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,err=>{if(err)return cb(err);{let translation_code={void:"VOID_INVOICE_SUCCESS",uncollectible:"MARK_UNCOLLECTIBLE_SUCCESS"}[properties.status];return window.alert(Lib().get_text("stripe",translation_code)),cb()}})},data_to_refresh:null},RefundCharge:{category:"payment",field_names:u.extend({charge_id:{}},enter_your_api_key_button_field_names),server_method:"stripe-refund_charge",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},return_btype(){return btypes.get(btype_ids.api_type("stripe.Refund"))},data_to_refresh:null},AddSubscriptionItem:{category:"payment",field_names:{subscription_id:{},plan_id:{},dynamic_plan_id:{},quantity:{optional:!0}},server_method:"stripe-create_subscription_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),cb(err,res)))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.SubscriptionItem"))}},UpdateSubscriptionItem:{category:"payment",field_names:{subscription_item_id:{},plan_id:{},dynamic_plan_id:{},quantity:{optional:!0}},server_method:"stripe-update_subscription_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),cb(err,res)))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.SubscriptionItem"))}},DeleteSubscriptionItem:{category:"payment",field_names:{subscription_item_id:{}},server_method:"stripe-delete_subscription_item",run(action,properties,context,cb){return context.get_server_outcome(action,err=>(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),cb(err)))},data_to_refresh:null},MakeCardDefault:{category:"payment",field_names:{card_id:{}},server_method:"stripe-make_card_default",data_to_refresh:null,run(action,properties,context,cb){return context.get_server_outcome(action,err=>(invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),cb(err)))}},DeleteCreditCard:{category:"payment",field_names:{card_id:{}},server_method:"stripe-delete_credit_card",run(action,properties,context,cb){return context.get_server_outcome(action,err=>(invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),cb(err)))},data_to_refresh:null},AdjustCustomerBalance:{category:"payment",field_names:u.extend({customer:{},amount:{}},enter_your_api_key_button_field_names),server_method:"stripe-set_customer_balance",run(action,properties,context,cb){return context.get_server_outcome(action,err=>cb(err))},data_to_refresh:null},AdjustCustomerBalanceRelative:{category:"payment",field_names:u.extend({customer:{},amount:{},amount_sign:{default:"positive"},currency:{default:"USD"}},enter_your_api_key_button_field_names),server_method:"stripe-adjust_relative_customer_balance",run(action,properties,context,cb){return context.get_server_outcome(action,err=>cb(err))},data_to_refresh:null},UpdateCustomerInformation:{category:"payment",field_names:u.extend({email:{optional:!0},address:{optional:!0}},add_user_field_names,enter_your_api_key_button_field_names),server_method:"stripe-update_customer",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},return_btype(){return btypes.get(btype_ids.api_type("stripe.Customer"))},data_to_refresh:null},CreateCoupon:{category:"payment",field_names:u.extend({name:{optional:!0},amount_off:{optional:!0},percent_off:{optional:!0},duration:{},duration_in_months:{optional:!0},redeem_by:{optional:!0},currency:{optional:!0,default:"USD"},max_redemptions:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-create_coupon",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},return_btype(){return btypes.get(btype_ids.api_type("stripe.Coupon"))},data_to_refresh:null},TransferToSeller:{category:"payment",field_names:u.extend({amount:{},currency:{},destination:{},description:{optional:!0},source_transaction:{optional:!0},transfer_group:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-transfer_to_seller",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.Transfer"))}},CreatePayout:{category:"payment",field_names:u.extend({amount:{},currency:{}},enter_your_api_key_button_field_names),server_method:"stripe-create_payout",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null},CreateStripeValueListItem:{category:"payment",field_names:u.extend({value_list_id:{},value:{}},enter_your_api_key_button_field_names),server_method:"stripe-create_stripe_value_list_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null},CreateTaxID:{category:"payment",field_names:u.extend({customer:{},type:{},value:{}},enter_your_api_key_button_field_names),server_method:"stripe-create_tax_id",run(action,_properties,context,cb){return context.get_server_outcome(action,(err,data)=>cb(err,data))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.TaxID"))}},DeleteTaxID:{category:"payment",field_names:u.extend({customer:{},tax_id:{}},enter_your_api_key_button_field_names),server_method:"stripe-delete_tax_id",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null},GetListTaxIDs:{category:"payment",field_names:u.extend({customer:{},limit:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-list_tax_ids_action",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.list_type(btype_ids.api_type("stripe.TaxID")))}}}}key_names(){return["client_id_live","private_key_live","public_key_live","client_id_test","private_key_test","public_key_test","checkout_image","checkout_name","checkout_version","collect_zip","enable_link","collect_address"]}keys(){let all_keys={client_id_live:{caption:"Live Client ID",type:"client_safe"},private_key_live:{caption:"Live Secret Key",type:"secure"},public_key_live:{caption:"Live Publishable Key",type:"client_safe"},client_id_test:{caption:"Client ID - development",type:"client_safe"},private_key_test:{caption:"Secret Key - development",type:"secure"},public_key_test:{caption:"Publishable Key - development",type:"client_safe"},checkout_image:{caption:"Image for Stripe Checkout",type:"client_safe",editor:window?.is_maison?"ImageUploader":"Image",optional:!0},checkout_name:{caption:"Name for Stripe Checkout",type:"client_safe",editor:"TextBox",optional:!0},checkout_version:{caption:"Stripe Checkout version",type:"client_safe",editor:"Dropdown",dropdown_width_override:"mid_extra_large",set:Lib().sets.get_set("Object")({v2:"Checkout v2 (Legacy)",v3:"Checkout v3 (Recommended)"}),default_value:version_keys.V2},collect_zip:{caption:"Collect the user's zip code with Checkout",type:"client_safe",editor:"Checkbox"},enable_link:{caption:"Enable Link on Checkout",type:"client_safe",editor:"Checkbox"},collect_address:{caption:"Collect the user's address with Checkout",type:"client_safe",editor:"Checkbox"}};return is_v3()?delete all_keys.collect_zip:delete all_keys.enable_link,all_keys}
40},btypes=safe_require.safe_require("./lang/btypes"),services_editor_utils=safe_require.safe_require("./services/client/editor_utils"),stripe={cls,is_v3,getURLToGenerateStripeAuthToken,convert_stripe_error,extractIsInvoiceClosed,extractIsInvoiceForgiven,invalidate_call,open_checkout_form:get_checkout_form,saga_seller_auth_url};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.stripe=stripe);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin(known_plugins_consts.STRIPE,stripe);})();
41/*! Bundled license information:
42
43buffer/index.js:
44  (*!
45   * The buffer module from node.js, for the browser.
46   *
47   * @author   Feross Aboukhadijeh <https://feross.org>
48   * @license  MIT
49   *)
50*/
51
52}
53
54
55window.preloaded['plugin/first_party:stripe'] = true;
56window._bubble_page_load_data.hardcoded_plugins['chartjs'] = true;
57window.__code__ = window.__code__ || {};
58if(!window.__code__['57ad5e238c8edcfecc06220f043d627d376e0fc008338c081d27ea30969c3c9a']){window.__code__['57ad5e238c8edcfecc06220f043d627d376e0fc008338c081d27ea30969c3c9a']=1;
59
60"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;
vendor: 26,589 bytes, line 60
60i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 60
60)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 60
60if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
60var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
60y-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
60:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
60HARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol
60=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
60:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});
60var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
60yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
60ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
60(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(value,done){return{value,done}}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var u,base_safe_require,legacy_keys,safe_require,init_window_register=__esm({"lib-browser/window_register.js"(){"use strict";init_define_process_env();init_shim();u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};
60safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register}}});var chartjs_LineBarChart_exports={};__export(chartjs_LineBarChart_exports,{additional_data:()=>additional_data,property_applications:()=>chart_property_applications});var property_applications,chart_property_applications,additional_data,init_chartjs_LineBarChart=__esm({"lib-browser/optional/services/legacy/responsive_v0/chartjs_LineBarChart.js"(){"use strict";init_define_process_env();init_shim();init_window_register();property_applications=safe_require.safe_require("./core/property_applications"),chart_property_applications=[new property_applications.MinWidth],additional_data={notify_width(instance,width){if(instance.get_static_property("keep_proportion_resize")){let height=width/instance.element.get_width()*instance.element.get_height();instance.set_height(height)}}}}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter());init_window_register();var external=safe_require.safe_require("./external"),btype_ids=safe_require.safe_require("./lang/btype_ids"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),lang=safe_require.safe_require("./lang/lang"),numeric_format_utilities=safe_require.safe_require("./core/core_btypes/utilities/numeric_format_utilities"),btypes=safe_require.safe_require("./lang/btypes"),shared_fields=safe_require.safe_require("./core/shared_fields"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),node_eval=safe_require.safe_require("@bubblegroup/evaluation/engine/node_eval"),{default_eval_host}=safe_require.safe_require("./lang/default_eval_host"),color_tokens=safe_require.safe_require("./lang/color_tokens"),page_state=safe_require.safe_require("@bubblegroup/evaluation/engine/page_state"),currency_consts=safe_require.safe_require("./constants/currency"),_chartjs_loaded=!1,Chart=null,shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));function load_chartjs(){_chartjs_loaded||(_chartjs_loaded=!0,Chart=safe_require.safe_require("./optional/chart"))}var property_applications2=safe_require.safe_require("./core/property_applications"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("chartjs-LineBarChart",(init_chartjs_LineBarChart(),__toCommonJS(chartjs_LineBarChart_exports)));function plugin_version(){return Lib()?appquery.get_public_setting("chartjs_installed_version")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("chartjs_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{LineBarChart:{display:"Line/Bar Chart",category:"visual elements",icon:"ion-stats-bars",condition(root){return!root?.is_mobile?.()},defaults:{width:590,height:370,collapse_margin:500},field_names:u.extend({chart_type:{default:"Line",no_states:!0},data_points_type:{no_states:!0},data_source:{},y_value_expression:{no_states:!0},label_expression:{no_states:!0},series1_color:{default:"rgba(151,187,205,1)",no_states:!0,in_style:!0},series1_fillColor:{default:"rgba(151,187,205,0.2)",no_states:!0,in_style:!0},showScale:{default:!0,no_states:!0,in_style:!0},scaleLineColor:{default:"rgba(0,0,0,.1)",no_states:!0,in_style:!0},scaleFontColor:{default:"#666",no_states:!0,in_style:!0},scaleShowGridLines:{default:!0,no_states:!0,in_style:!0},scaleGridLineColor:{default:"rgba(0,0,0,.05)",no_states:!0,in_style:!0},showTooltips:{default:!0,no_states:!0},customize_tooltips:{default:!1,no_states:!0},hide_label_tooltips:{default:!1,no_states:!0},bezierCurve:{default:!0,no_states:!0},animateRotate:{default:!0,no_states:!0},datasetFill:{default:!0,no_states:!0},keep_proportion_resize:{no_states:!0}},numeric_format_utilities.format_number_names),property_applications:[new property_applications2.Dimensions,new property_applications2.Backgroun
60d,new property_applications2.Border,new property_applications2.Padding,new property_applications2.BoxShadow,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},can_fix_aspect_ratio(){return!0},get_min_width(){return 0},get_html(instance){return"<div></div>"},initialize(instance){let canvas=instance.get_canvas();load_chartjs();let chart_drawn_once=!1,myChartInstance=null,data_point_context={element:instance,datasources:{...page_state.get_basic_datasources(default_eval_host,instance.element.root()),injected_value_btype:()=>this.get_injected_btype(instance.element)}};element_eval.pre_cache(instance,["height","width","padding_vertical","padding_horizontal","showScale","scaleLineColor","showTooltips","bezierCurve","datasetFill","scaleShowGridLines","scaleGridLineColor","scaleFontColor","animateRotate"]),instance.autorun(()=>{if(!instance.is_visible())return;let ratio=instance.get_static_property("aspect_ratio_height")/instance.get_static_property("aspect_ratio_width"),h=(instance.element.root()?.get_responsive_version()>0&&uses_css_responsive()&&instance.element.has_fixed_aspect_ratio()?element_eval.evaluate_property(instance,"width")*ratio:element_eval.evaluate_property(instance,"height"))-property_applications2.calculate_border_height(instance)-2*element_eval.evaluate_property(instance,"padding_vertical"),w=element_eval.evaluate_property(instance,"width")-property_applications2.calculate_border_width(instance)-2*element_eval.evaluate_property(instance,"padding_horizontal"),chart_type=instance.get_static_property("chart_type"),props={};for(let prop of["showScale","showTooltips","bezierCurve","datasetFill","scaleShowGridLines","animateRotate"])props[prop]=element_eval.evaluate_property(instance,prop);for(let prop of["scaleLineColor","scaleGridLineColor","scaleFontColor"])props[prop]=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,prop));props.pointLabelFontColor=props.scaleFontColor,canvas.empty();let chart_canvas=$('<canvas id="myChart" width="'+w+'" height = "'+h+'"></canvas>');canvas.append(chart_canvas);let ctx=chart_canvas[0].getContext("2d"),myChart=new Chart(ctx),series1_color=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,"series1_color")),series1_fill_color=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,"series1_fillColor")),data;if(Lib().is_edit_mode())props.animation=!1,props.showTooltips=!1,["Line","Bar","Radar"].includes(chart_type)?data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",fillColor:series1_fill_color,strokeColor:series1_color,pointColor:series1_color,pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:series1_color,data:[65,59,80,81,56,55,40]}]}:["Pie","Doughnut"].includes(chart_type)&&(data=[{value:300,color:"#F7464A",highlight:"#FF5A5E",label:"Red"},{value:50,color:"#46BFBD",highlight:"#5AD3D1",label:"Green"},{value:100,color:"#FDB45C",highlight:"#FFC870",label:"Yellow"}]);else{let data_points_list=element_eval.evaluate_property(instance,"data_source")??null,data_points=[],list=data_points_list?.all?.()??[];if(list.length===0)return;for(let raw_data_point of list){data_point_context.datasources.injected_value=()=>raw_data_point;for(let name of["y_value_expression","label_expression"])try{node_eval.eval_property(instance.element,name,data_point_context,default_eval_host)}catch{}}for(let raw_data_point of list)data_point_context.datasources.injected_value=()=>raw_data_point,data_points.push({value:node_eval.eval_property(instance.element,"y_value_expression",data_point_context,default_eval_host)??0,label:node_eval.eval_property(instance.element,"label_expression",data_point_context,default_eval_host)});if(["Line","Bar","Radar"].includes(chart_type))data={labels:data_points.map(a=>a.label),datasets:[{label:"Dataset 1",fillColor:series1_fill_color,strokeColor:series1_color,pointColor:series1_color,pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:series1_color,data:data_points.map(a=>a.value)}]};else if(["Pie","Doughnut"].includes(chart_type)){let color_list=["#F7464A","#46BFBD","#FDB45C","#F8F65F","#BA8FF7","#46F776","#7FF7F7","#9830F7"],color_index=0;data=[];for(let a of data_points)data.push({value:a.value,label:a.label,color:color_list[color_index]}
60),color_index++,color_index>color_list.length-1&&(color_index=0)}if(chart_drawn_once?props.animation=!1:(props.animation=!0,chart_drawn_once=!0),instance.get_static_property("showTooltips")&&instance.get_static_property("customize_tooltips")){let format_data={};for(let k in numeric_format_utilities.format_number_names)format_data[k]=element_eval.evaluate_property(instance,k);let format_fn=btypes.get("number").get_message("format_number").evaluate,fn_name="chart_format_fn_"+instance.element_id();window[fn_name]=val=>format_fn(val,void 0,format_data),instance.get_static_property("hide_label_tooltips")?props.tooltipTemplate="<%= window."+fn_name+"(value) %>":props.tooltipTemplate="<%if (label){%><%=label%>: <%}%><%= window."+fn_name+"(value) %>"}}if(["Line","Bar"].includes(chart_type)){props.scaleBeginAtZero=!0;for(let datapoint of data.datasets?.[0]?.data??[])datapoint<0&&(props.scaleBeginAtZero=!1)}myChartInstance=myChart[chart_type](data,props)}),instance.on_destroy(()=>myChartInstance?.destroy())},get_injected_btype(element){return element.get_static_property("data_points_type")},get_injected_display(){return"Current point"},use_injected_datasource(node,element){return node.path().indexOf(element.property("y_value_expression").path())===0||node.path().indexOf(element.property("label_expression").path())===0},change_cursor_style_if_clickable:!0,add_an_invisible_div_on_the_top:!0,is_input:!1,contains_group_data:!1,get_states(element){return[]},get_state_value(element,name){},jquery_plugins(){return["jquery_plugins/chart"]}}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},chartjs={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.chartjs=chartjs);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("chartjs",chartjs);})();
61/*! Bundled license information:
62
63buffer/index.js:
64  (*!
65   * The buffer module from node.js, for the browser.
66   *
67   * @author   Feross Aboukhadijeh <https://feross.org>
68   * @license  MIT
69   *)
70*/
71
72}
73
74
75window.preloaded['plugin/first_party:chartjs'] = true;
76window._bubble_page_load_data.hardcoded_plugins['dbconnector'] = true;
77window.__code__ = window.__code__ || {};
78if(!window.__code__['d324fe9031683a7220b79359af863ba35940288129f9634315d2c09c53fee169']){window.__code__['d324fe9031683a7220b79359af863ba35940288129f9634315d2c09c53fee169']=1;
79
80"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.byteLength=byteLength;exports2.toByteArray=toByteArray;exports2.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 28,475 bytes, line 80
80+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports2){init_define_process_env();init_shim();exports2.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports2.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports2){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports2.Buffer=Buffer4;exports2.SlowBuffer=SlowBuffer;exports2.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports2.kMaxLength=K_MAX_LENGTH;Buffer4.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer4.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer4.prototype,"parent",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer4.prototype,"offset",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer4.prototype),buf}function Buffer4(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer4.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer4.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer4.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer4.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer4.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer4,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer4.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer4.allocUnsafe=function(size){return allocUnsafe(size)};Buffer4.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer4.prototype),buf}function fromObject(obj){if(Buffer4.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer4.alloc(+length)}Buffer4.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer4.prototype};Buffer4.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer4.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer4.from(b,b.offset,b.byteLength)),!Buffer4.isBuffer(a)||!Buffer4.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer4.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer4.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer4.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer4.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer4.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer4.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer4.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer4.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer4.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer4.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer4.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer4.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer4.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer4.prototype.toLocaleString=Buffer4.prototype.toString;Buffer4.prototype.equals=function(b){if(!Buffer4.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer4.compare(this,b)===0};Buffer4.prototype.inspect=function(){var str="",max=exports2.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer4.prototype[customInspectSymbol]=Buffer4.prototype.inspect);Buffer4.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer4.from(target,target.offset,target.byteLength)),!Buffer4.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer4.from(val,encoding)),Buffer4.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer4.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer4.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer4.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer4.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer4.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer4.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer4.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer4.prototype.readUintLE=Buffer4.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer4.prototype.readUintBE=Buffer4.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer4.prototype.readUint8=Buffer4.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer4.prototype.readUint16LE=Buffer4.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer4.prototype.readUint16BE=Buffer4.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer4.prototype.readUint32LE=Buffer4.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer4.prototype.readUint32BE=Buffer4.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer4.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer4.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer4.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer4.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer4.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer4.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer4.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer4.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer4.prototype.writeUintLE=Buffer4.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUintBE=Buffer4.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUint8=Buffer4.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer4.prototype.writeUint16LE=Buffer4.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeUint16BE=Buffer4.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeUint32LE=Buffer4.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer4.prototype.writeUint32BE=Buffer4.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer4.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 80
80)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer4.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer4.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer4.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer4.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer4.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer4.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer4.prototype.copy=function(target,targetStart,start,end){if(!Buffer4.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,183 bytes, line 80
80if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer4.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer4.isBuffer(val)?val:Buffer4.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports2,module2){init_define_process_env();init_shim();var process2=module2.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
80var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module2.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports2=="object"&&exports2)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module2.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports2){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports2.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
80y-this.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module2.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module2.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module2.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
80:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module2.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module2.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module2.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module2.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module2.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module2.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module2.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module2.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module2.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $String=String;module2.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module2.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module2.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject2=require_is_object(),$TypeError=TypeError;module2.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject2(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module2.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
80HARED,{});module2.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module2.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module2.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty10=uncurryThis({}.hasOwnProperty);module2.exports=Object.hasOwn||function(it,key){return hasOwnProperty10(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module2.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol3=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol3.for||Symbol3:Symbol3&&Symbol3.withoutSetter||uid;module2.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol3,name)?Symbol3[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject2=require_is_object(),isSymbol
80=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module2.exports=function(input,pref){if(!isObject2(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject2(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module2.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject2=require_is_object(),document2=global.document,EXISTS=isObject2(document2)&&isObject2(document2.createElement);module2.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module2.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports2.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module2.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isObject2(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports2.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
80:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module2.exports={EXISTS,PROPER,CONFIGURABLE}}});
80var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module2.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap2=global.WeakMap;module2.exports=isCallable(WeakMap2)&&/native code/.test(String(WeakMap2))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys2=shared("keys");module2.exports=function(key){return keys2[key]||(keys2[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject2=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap2=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject2(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap2),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module2.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
80yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module2.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module2.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module2.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module2.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module2.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module2.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module2.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module2.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module2.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
80ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports2.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module2.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys2=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys2,getOwnPropertySymbols(it)):keys2}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module2.exports=function(target,source,exceptions){for(var keys2=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys2.length;i++){var key=keys2[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module2.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module2.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module2.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module2.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module2.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module2.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports2.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys2=objectKeys(Properties),length=keys2.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys2[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module2.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
80(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module2.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject2=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject2(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module2.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module2.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(value,done){return{value,done}}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module2.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module2.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module2.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IteratorProxy=createIteratorProxy(function(){var iterator=this.iterator,result=anObject(call(this.next,iterator)),done=this.done=!!result.done;if(!done)return callWithSafeIterationClosing(iterator,this.mapper,[result.value,this.counter++],!0)});module2.exports=function(mapper){return anObject(this),aCallable(mapper),new IteratorProxy(getIteratorDirect(this),{mapper})}}});var require_esnext_iterator_map=__commonJS({"node_modules/core-js/modules/esnext.iterator.map.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});var require_punycode=__commonJS({"node_modules/url/node_modules/punycode/punycode.js"(exports2,module2){init_define_process_env();init_shim();(function(root2){var freeExports3=typeof exports2=="object"&&exports2&&!exports2.nodeType&&exports2,freeModule3=typeof module2=="object"&&module2&&!module2.nodeType&&module2,freeGlobal2=typeof window=="object"&&window;(freeGlobal2.global===freeGlobal2||freeGlobal2.window===freeGlobal2||freeGlobal2.self===freeGlobal2)&&(root2=freeGlobal2);var punycode,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
80= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,key;function error(type){throw RangeError(errors[type])}function map(array,fn){for(var length=array.length,result=[];length--;)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@"),result="";parts.length>1&&(result=parts[0]+"@",string=parts[1]),string=string.replace(regexSeparators,".");var labels=string.split("."),encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){for(var output=[],counter=0,length=string.length,value,extra;counter<length;)value=string.charCodeAt(counter++),value>=55296&&value<=56319&&counter<length?(extra=string.charCodeAt(counter++),(extra&64512)==56320?output.push(((value&1023)<<10)+(extra&1023)+65536):(output.push(value),counter--)):output.push(value);return output}function ucs2encode(array){return map(array,function(value){var output="";return value>65535&&(value-=65536,output+=stringFromCharCode(value>>>10&1023|55296),value=56320|value&1023),output+=stringFromCharCode(value),output}).join("")}function basicToDigit(codePoint){return codePoint-48<10?codePoint-22:codePoint-65<26?codePoint-65:codePoint-97<26?codePoint-97:base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)}function adapt(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/damp):delta>>1,delta+=floor(delta/numPoints);delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,baseMinusT;
vendor: 4,443 bytes, line 80
80for(basic=input.lastIndexOf(delimiter),basic<0&&(basic=0),j=0;j<basic;++j)input.charCodeAt(j)>=128&&error("not-basic"),output.push(input.charCodeAt(j));for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;index>=inputLength&&error("invalid-input"),digit=basicToDigit(input.charCodeAt(index++)),(digit>=base||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w,t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,!(digit<t);k+=base)baseMinusT=base-t,w>floor(maxInt/baseMinusT)&&error("overflow"),w*=baseMinusT;out=output.length+1,bias=adapt(i-oldi,out,oldi==0),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;for(input=ucs2decode(input),inputLength=input.length,n=initialN,delta=0,bias=initialBias,j=0;j<inputLength;++j)currentValue=input[j],currentValue<128&&output.push(stringFromCharCode(currentValue));for(handledCPCount=basicLength=output.length,basicLength&&output.push(delimiter);handledCPCount<inputLength;){for(m=maxInt,j=0;j<inputLength;++j)currentValue=input[j],currentValue>=n&&currentValue<m&&(m=currentValue);for(handledCPCountPlusOne=handledCPCount+1,m-n>floor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m,j=0;j<inputLength;++j)if(currentValue=input[j],currentValue<n&&++delta>maxInt&&error("overflow"),currentValue==n){for(q=delta,k=base;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,!(q<t);k+=base)qMinusT=q-t,baseMinusT=base-t,output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0))),q=floor(qMinusT/baseMinusT);output.push(stringFromCharCode(digitToBasic(q,0))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,++handledCPCount}++delta,++n}return output.join("")}function toUnicode(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string})}function toASCII(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string})}if(punycode={version:"1.3.2",ucs2:{decode:ucs2decode,encode:ucs2encode},decode,encode,toASCII,toUnicode},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return punycode});else if(freeExports3&&freeModule3)if(module2.exports==freeExports3)freeModule3.exports=punycode;else for(key in punycode)punycode.hasOwnProperty(key)&&(freeExports3[key]=punycode[key]);else root2.punycode=punycode})(exports2)}});var require_decode=__commonJS({"node_modules/querystring/decode.js"(exports2,module2){"use strict";init_define_process_env();init_shim();function hasOwnProperty10(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module2.exports=function(qs,sep,eq2,options){sep=sep||"&",eq2=eq2||"=";var obj={};if(typeof qs!="string"||qs.length===0)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&typeof options.maxKeys=="number"&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i<len;++i){var x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq2),kstr,vstr,k,v;idx>=0?(kstr=x.substr(0,idx),vstr=x.substr(idx+1)):(kstr=x,vstr=""),k=decodeURIComponent(kstr),v=decodeURIComponent(vstr),hasOwnProperty10(obj,k)?Array.isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj}}});var require_encode=__commonJS({"node_modules/querystring/encode.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module2.exports=function(obj,sep,eq2,name){return sep=sep||"&",eq2=eq2||"=",obj===null&&(obj=void 0),typeof obj=="object"?Object.keys(obj).map(function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq2;return Array.isArray(obj[k])?obj[k].map(function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep):ks+encodeURIComponent(stringifyPrimitive(obj[k]))}).join(sep):name?encodeURIComponent(stringifyPrimitive(name))+eq2+encodeURIComponent(stringifyPrimitive(obj)):""}}});var require_querystring=__commonJS({"node_modules/querystring/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.decode=exports2.parse=require_decode();
vendor: 6,041 bytes, lines 80-81
80exports2.encode=exports2.stringify=require_encode()}});var require_url=__commonJS({"node_modules/url/url.js"(exports2){init_define_process_env();init_shim();var punycode=require_punycode();exports2.parse=urlParse;exports2.resolve=urlResolve;exports2.resolveObject=urlResolveObject;exports2.format=urlFormat;exports2.Url=Url;function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,delims=["<",">",'"',"`"," ","\r",`
81`,"	"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require_querystring();function urlParse(url2,parseQueryString,slashesDenoteHost){if(url2&&isObject2(url2)&&url2 instanceof Url)return url2;var u2=new Url;return u2.parse(url2,parseQueryString,slashesDenoteHost),u2}Url.prototype.parse=function(url2,parseQueryString,slashesDenoteHost){if(!isString(url2))throw new TypeError("Parameter 'url' must be a string, not "+typeof url2);var rest=url2;rest=rest.trim();var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto,rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes=rest.substr(0,2)==="//";slashes&&!(proto&&hostlessProtocol[proto])&&(rest=rest.substr(2),this.slashes=!0)}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){for(var hostEnd=-1,i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);hec!==-1&&(hostEnd===-1||hec<hostEnd)&&(hostEnd=hec)}var auth,atSign;hostEnd===-1?atSign=rest.lastIndexOf("@"):atSign=rest.lastIndexOf("@",hostEnd),atSign!==-1&&(auth=rest.slice(0,atSign),rest=rest.slice(atSign+1),this.auth=decodeURIComponent(auth)),hostEnd=-1;for(var i=0;i<nonHostChars.length;i++){var hec=rest.indexOf(nonHostChars[i]);hec!==-1&&(hostEnd===-1||hec<hostEnd)&&(hostEnd=hec)}hostEnd===-1&&(hostEnd=rest.length),this.host=rest.slice(0,hostEnd),rest=rest.slice(hostEnd),this.parseHost(),this.hostname=this.hostname||"";var ipv6Hostname=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ipv6Hostname)for(var hostparts=this.hostname.split(/\./),i=0,l=hostparts.length;i<l;i++){var part=hostparts[i];if(part&&!part.match(hostnamePartPattern)){for(var newpart="",j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}if(this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),!ipv6Hostname){for(var domainArray=this.hostname.split("."),newOut=[],i=0;i<domainArray.length;++i){var s=domainArray[i];newOut.push(s.match(/[^A-Za-z0-9_-]/)?"xn--"+punycode.encode(s):s)}this.hostname=newOut.join(".")}var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),rest[0]!=="/"&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(var i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i],esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae)),rest=rest.split(ae).join(esc)}var hash=rest.indexOf("#");hash!==-1&&(this.hash=rest.substr(hash),rest=rest.slice(0,hash));var qm=rest.indexOf("?");if(qm!==-1?(this.search=rest.substr(qm),this.query=rest.substr(qm+1),parseQueryString&&(this.query=querystring.parse(this.query)),rest=rest.slice(0,qm)):parseQueryString&&(this.search="",this.query={}),rest&&(this.pathname=rest),slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var p=this.pathname||"",s=this.search||"";this.path=p+s}return this.href=this.format(),this};function urlFormat(obj){return isString(obj)&&(obj=urlParse(obj)),obj instanceof Url?obj.format():Url.prototype.format.call(obj)}Url.prototype.format=function(){var auth=this.auth||"";auth&&(auth=encodeURIComponent(auth),auth=auth.replace(/%3A/i,":"),auth+="@");var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=!1,query="";this.host?host=auth+this.host:this.hostname&&(host=auth+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(host+=":"+this.port)),this.query&&isObject2(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";return protocol&&protocol.substr(-1)!==":"&&(protocol+=":"),this.slashes||(!protocol||slashedProtocol[protocol])&&host!==!1?(host="//"+(host||""),pathname&&pathname.charAt(0)!=="/"&&(pathname="/"+pathname)):host||(host=""),hash&&hash.charAt(0)!=="#"&&(hash="#"+hash),search&&search.charAt(0)!=="?"&&(search="?"+search),pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match)}),search=search.replace("#","%23"),protocol+host+pathname+search+hash};function urlResolve(source,relative){return urlParse(source,!1,!0).resolve(relative)}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,!1,!0)).format()};function urlResolveObject(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative}Url.prototype.resolveObject=function(relative){if(isString(relative)){var rel=new Url;rel.parse(relative,!1,!0),relative=rel}var result=new Url;
81if(Object.keys(this).forEach(function(k){result[k]=this[k]},this),result.hash=relative.hash,relative.href==="")return result.href=result.format(),result;if(relative.slashes&&!relative.protocol)return Object.keys(relative).forEach(function(k){k!=="protocol"&&(result[k]=relative[k])}),slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/"),result.href=result.format(),result;if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol])return Object.keys(relative).forEach(function(k){result[k]=relative[k]}),result.href=result.format(),result;if(result.protocol=relative.protocol,!relative.host&&!hostlessProtocol[relative.protocol]){for(var relPath=(relative.pathname||"").split("/");relPath.length&&!(relative.host=relPath.shift()););relative.host||(relative.host=""),relative.hostname||(relative.hostname=""),relPath[0]!==""&&relPath.unshift(""),relPath.length<2&&relPath.unshift(""),result.pathname=relPath.join("/")}else result.pathname=relative.pathname;if(result.search=relative.search,result.query=relative.query,result.host=relative.host||"",result.auth=relative.auth,result.hostname=relative.hostname||relative.host,result.port=relative.port,result.pathname||result.search){var p=result.pathname||"",s=result.search||"";result.path=p+s}return result.slashes=result.slashes||relative.slashes,result.href=result.format(),result}var isSourceAbs=result.pathname&&result.pathname.charAt(0)==="/",isRelAbs=relative.host||relative.pathname&&relative.pathname.charAt(0)==="/",mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],relPath=relative.pathname&&relative.pathname.split("/")||[],psychotic=result.protocol&&!slashedProtocol[result.protocol];if(psychotic&&(result.hostname="",result.port=null,result.host&&(srcPath[0]===""?srcPath[0]=result.host:srcPath.unshift(result.host)),result.host="",relative.protocol&&(relative.hostname=null,relative.port=null,relative.host&&(relPath[0]===""?relPath[0]=relative.host:relPath.unshift(relative.host)),relative.host=null),mustEndAbs=mustEndAbs&&(relPath[0]===""||srcPath[0]==="")),isRelAbs)result.host=relative.host||relative.host===""?relative.host:result.host,result.hostname=relative.hostname||relative.hostname===""?relative.hostname:result.hostname,result.search=relative.search,result.query=relative.query,srcPath=relPath;else if(relPath.length)srcPath||(srcPath=[]),srcPath.pop(),srcPath=srcPath.concat(relPath),result.search=relative.search,result.query=relative.query;else if(!isNullOrUndefined(relative.search)){if(psychotic){result.hostname=result.host=srcPath.shift();var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):!1;authInHost&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift())}return result.search=relative.search,result.query=relative.query,(!isNull(result.pathname)||!isNull(result.search))&&(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host)&&(last==="."||last==="..")||last==="",up=0,i=srcPath.length;i>=0;i--)last=srcPath[i],last=="."?srcPath.splice(i,1):last===".."?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")&&srcPath.unshift(""),hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"&&srcPath.push("");var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):!1;authInHost&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift())}return mustEndAbs=mustEndAbs||result.host&&srcPath.length,mustEndAbs&&!isAbsolute&&srcPath.unshift(""),srcPath.length?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),(!isNull(result.pathname)||!isNull(result.search))&&(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result};Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(port=port[0],port!==":"&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)};function isString(arg){return typeof arg=="string"}function isObject2(arg){return typeof arg=="object"&&arg!==null}function isNull(arg){return arg===null}function isNullOrUndefined(arg){return arg==null}}});var require_fs=__commonJS({"(disabled):fs"(){init_define_process_env();init_shim()}});var require_pg_connection_string=__commonJS({"node_modules/pg-connection-string/index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var url2=require_url(),fs=require_fs();function parse(str){if(str.charAt(0)==="/"){var config=str.split(" ");return{host:config[0],database:config[1]}}var result=url2.parse(/ |%[^a-f0-9]|%[a-f0-9][^a-f0-9]/i.test(str)?encodeURI(str).replace(/\%25(\d\d)/g,"%$1"):str,!0),config=result.query;for(var k in config)Array.isArray(config[k])&&(config[k]=config[k][config[k].length-1]);var auth=(result.auth||":").split(":");if(config.user=auth[0],config.password=auth.splice(1).join(":"),config.port=result.port,result.protocol=="socket:")return config.host=decodeURI(result.pathname),config.database=result.query.db,config.client_encoding=result.query.encoding,config;config.host||(config.host=result.hostname);var pathname=result.pathname;if(!config.host&&pathname&&/^%2f/i.test(pathname)){var pathnameSplit=pathname.split("/");config.host=decodeURIComponent(pathnameSplit[0]),pathname=pathnameSplit.splice(1).join("/")}switch(pathname&&pathname.charAt(0)==="/"&&(pathname=pathname.slice(1)||null),
81config.database=pathname&&decodeURI(pathname),(config.ssl==="true"||config.ssl==="1")&&(config.ssl=!0),config.ssl==="0"&&(config.ssl=!1),(config.sslcert||config.sslkey||config.sslrootcert||config.sslmode)&&(config.ssl={}),config.sslcert&&(config.ssl.cert=fs.readFileSync(config.sslcert).toString()),config.sslkey&&(config.ssl.key=fs.readFileSync(config.sslkey).toString()),config.sslrootcert&&(config.ssl.ca=fs.readFileSync(config.sslrootcert).toString()),config.sslmode){case"disable":{config.ssl=!1;break}case"prefer":case"require":case"verify-ca":case"verify-full":break;case"no-verify":{config.ssl.rejectUnauthorized=!1;break}}return config}module2.exports=parse;parse.parse=parse}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map());init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;init_define_process_env();init_shim();var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;init_define_process_env();init_shim();var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;init_define_process_env();init_shim();var isArray=Array.isArray,isArray_default=isArray;init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject_default(value))return!1;var tag=baseGetTag_default(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}var isFunction_default=isFunction;init_define_process_env();init_shim();init_define_process_env();init_shim();var coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData;var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMasked_default=isMasked;init_define_process_env();init_shim();var funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}var toSource_default=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject_default(value)||isMasked_default(value))return!1;var pattern=isFunction_default(value)?reIsNative:reIsHostCtor;return pattern.test(toSource_default(value))}var baseIsNative_default=baseIsNative;init_define_process_env();init_shim();function getValue(object,key){return object?.[key]}var getValue_default=getValue;function getNative(object,key){var value=getValue_default(object,key);return baseIsNative_default(value)?value:void 0}var getNative_default=getNative;var WeakMap=getNative_default(root_default,"WeakMap"),WeakMap_default=WeakMap;init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;return length=length??MAX_SAFE_INTEGER,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}var isIndex_default=isIndex;init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}var eq_default=eq;init_define_process_env();init_shim();init_define_process_env();init_shim();var MAX_SAFE_INTEGER2=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER2}var isLength_default=isLength;function isArrayLike(value){return value!=null&&isLength_default(value.length)&&!isFunction_default(value)}var isArrayLike_default=isArrayLike;init_define_process_env();init_shim();var objectProto4=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto4;return value===proto}var isPrototype_default=isPrototype;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}var baseTimes_default=baseTimes;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike_default(value)&&baseGetTag_default(value)==argsTag}var baseIsArguments_default=baseIsArguments;var objectProto5=Object.prototype,hasOwnProperty3=objectProto5.hasOwnProperty,propertyIsEnumerable=objectProto5.propertyIsEnumerable,isArguments=baseIsArguments_default(function(){return arguments}())?baseIsArguments_default:function(value){return isObjectLike_default(value)&&hasOwnProperty3.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArguments_default=isArguments;init_define_process_env();init_shim();init_define_process_env();init_shim();function stubFalse(){return!1}var stubFalse_default=stubFalse;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer3=moduleExports?root_default.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse_default,isBuffer_default=isBuffer;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag2="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array
81]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag2]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike_default(value)&&isLength_default(value.length)&&!!typedArrayTags[baseGetTag_default(value)]}var baseIsTypedArray_default=baseIsTypedArray;init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}var baseUnary_default=baseUnary;init_define_process_env();init_shim();var freeExports2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule2=freeExports2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports2=freeModule2&&freeModule2.exports===freeExports2,freeProcess=moduleExports2&&freeGlobal_default.process,nodeUtil=function(){try{var types=freeModule2&&freeModule2.require&&freeModule2.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeUtil_default=nodeUtil;var nodeIsTypedArray=nodeUtil_default&&nodeUtil_default.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary_default(nodeIsTypedArray):baseIsTypedArray_default,isTypedArray_default=isTypedArray;var objectProto6=Object.prototype,hasOwnProperty4=objectProto6.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray_default(value),isArg=!isArr&&isArguments_default(value),isBuff=!isArr&&!isArg&&isBuffer_default(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray_default(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes_default(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty4.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex_default(key,length)))&&result.push(key);return result}var arrayLikeKeys_default=arrayLikeKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}var overArg_default=overArg;var nativeKeys=overArg_default(Object.keys,Object),nativeKeys_default=nativeKeys;var objectProto7=Object.prototype,hasOwnProperty5=objectProto7.hasOwnProperty;function baseKeys(object){if(!isPrototype_default(object))return nativeKeys_default(object);var result=[];for(var key in Object(object))hasOwnProperty5.call(object,key)&&key!="constructor"&&result.push(key);return result}var baseKeys_default=baseKeys;function keys(object){return isArrayLike_default(object)?arrayLikeKeys_default(object):baseKeys_default(object)}var keys_default=keys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}var hashClear_default=hashClear;init_define_process_env();init_shim();function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}var hashDelete_default=hashDelete;init_define_process_env();init_shim();var HASH_UNDEFINED="__lodash_hash_undefined__",objectProto8=Object.prototype,hasOwnProperty6=objectProto8.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate_default){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty6.call(data,key)?data[key]:void 0}var hashGet_default=hashGet;init_define_process_env();init_shim();var objectProto9=Object.prototype,hasOwnProperty7=objectProto9.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate_default?data[key]!==void 0:hasOwnProperty7.call(data,key)}var hashHas_default=hashHas;init_define_process_env();init_shim();var HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate_default&&value===void 0?HASH_UNDEFINED2:value,this}var hashSet_default=hashSet;function Hash(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear_default;Hash.prototype.delete=hashDelete_default;Hash.prototype.get=hashGet_default;Hash.prototype.has=hashHas_default;Hash.prototype.set=hashSet_default;var Hash_default=Hash;init_define_process_env();init_shim();init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}var listCacheClear_default=listCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq_default(array[length][0],key))return length;return-1}var assocIndexOf_default=assocIndexOf;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf_default(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}var listCacheDelete_default=listCacheDelete;init_define_process_env();init_shim();function listCacheGet(key){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?void 0:data[index][1]}var listCacheGet_default=listCacheGet;init_define_process_env();init_shim();function listCacheHas(key){return assocIndexOf_default(this.__data__,key)>-1}var listCacheHas_default=listCacheHas;init_define_process_env();init_shim();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear_default;ListCache.prototype.delete=listCacheDelete_default;ListCache.prototype.get=listCacheGet_default;ListCache.prototype.has=listCacheHas_default;ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache;init_define_process_env();init_shim();var Map=getNative_default(root_default,"Map"),Map_default=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}var mapCacheClear_default=mapCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}
81var isKeyable_default=isKeyable;function getMapData(map,key){var data=map.__data__;return isKeyable_default(key)?data[typeof key=="string"?"string":"hash"]:data.map}var getMapData_default=getMapData;function mapCacheDelete(key){var result=getMapData_default(this,key).delete(key);return this.size-=result?1:0,result}var mapCacheDelete_default=mapCacheDelete;init_define_process_env();init_shim();function mapCacheGet(key){return getMapData_default(this,key).get(key)}var mapCacheGet_default=mapCacheGet;init_define_process_env();init_shim();function mapCacheHas(key){return getMapData_default(this,key).has(key)}var mapCacheHas_default=mapCacheHas;init_define_process_env();init_shim();function mapCacheSet(key,value){var data=getMapData_default(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}var mapCacheSet_default=mapCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear_default;MapCache.prototype.delete=mapCacheDelete_default;MapCache.prototype.get=mapCacheGet_default;MapCache.prototype.has=mapCacheHas_default;MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache;init_define_process_env();init_shim();function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}var arrayPush_default=arrayPush;init_define_process_env();init_shim();init_define_process_env();init_shim();function stackClear(){this.__data__=new ListCache_default,this.size=0}var stackClear_default=stackClear;init_define_process_env();init_shim();function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}var stackDelete_default=stackDelete;init_define_process_env();init_shim();function stackGet(key){return this.__data__.get(key)}var stackGet_default=stackGet;init_define_process_env();init_shim();function stackHas(key){return this.__data__.has(key)}var stackHas_default=stackHas;init_define_process_env();init_shim();var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache_default){var pairs=data.__data__;if(!Map_default||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache_default(pairs)}return data.set(key,value),this.size=data.size,this}var stackSet_default=stackSet;function Stack(entries){var data=this.__data__=new ListCache_default(entries);this.size=data.size}Stack.prototype.clear=stackClear_default;Stack.prototype.delete=stackDelete_default;Stack.prototype.get=stackGet_default;Stack.prototype.has=stackHas_default;Stack.prototype.set=stackSet_default;var Stack_default=Stack;init_define_process_env();init_shim();init_define_process_env();init_shim();function arrayFilter(array,predicate){for(var index=-1,length=array==null?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}var arrayFilter_default=arrayFilter;init_define_process_env();init_shim();function stubArray(){return[]}var stubArray_default=stubArray;var objectProto10=Object.prototype,propertyIsEnumerable2=objectProto10.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return object==null?[]:(object=Object(object),arrayFilter_default(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable2.call(object,symbol)}))}:stubArray_default,getSymbols_default=getSymbols;init_define_process_env();init_shim();init_define_process_env();init_shim();function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray_default(object)?result:arrayPush_default(result,symbolsFunc(object))}var baseGetAllKeys_default=baseGetAllKeys;function getAllKeys(object){return baseGetAllKeys_default(object,keys_default,getSymbols_default)}var getAllKeys_default=getAllKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();var DataView=getNative_default(root_default,"DataView"),DataView_default=DataView;init_define_process_env();init_shim();var Promise2=getNative_default(root_default,"Promise"),Promise_default=Promise2;init_define_process_env();init_shim();var Set=getNative_default(root_default,"Set"),Set_default=Set;var mapTag2="[object Map]",objectTag2="[object Object]",promiseTag="[object Promise]",
vendor: 8,293 bytes, line 81
81setTag2="[object Set]",weakMapTag2="[object WeakMap]",dataViewTag2="[object DataView]",dataViewCtorString=toSource_default(DataView_default),mapCtorString=toSource_default(Map_default),promiseCtorString=toSource_default(Promise_default),setCtorString=toSource_default(Set_default),weakMapCtorString=toSource_default(WeakMap_default),getTag=baseGetTag_default;(DataView_default&&getTag(new DataView_default(new ArrayBuffer(1)))!=dataViewTag2||Map_default&&getTag(new Map_default)!=mapTag2||Promise_default&&getTag(Promise_default.resolve())!=promiseTag||Set_default&&getTag(new Set_default)!=setTag2||WeakMap_default&&getTag(new WeakMap_default)!=weakMapTag2)&&(getTag=function(value){var result=baseGetTag_default(value),Ctor=result==objectTag2?value.constructor:void 0,ctorString=Ctor?toSource_default(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag2;case mapCtorString:return mapTag2;case promiseCtorString:return promiseTag;case setCtorString:return setTag2;case weakMapCtorString:return weakMapTag2}return result});var getTag_default=getTag;init_define_process_env();init_shim();var Uint8Array2=root_default.Uint8Array,Uint8Array_default=Uint8Array2;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED3),this}var setCacheAdd_default=setCacheAdd;init_define_process_env();init_shim();function setCacheHas(value){return this.__data__.has(value)}var setCacheHas_default=setCacheHas;function SetCache(values){var index=-1,length=values==null?0:values.length;for(this.__data__=new MapCache_default;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd_default;SetCache.prototype.has=setCacheHas_default;var SetCache_default=SetCache;init_define_process_env();init_shim();function arraySome(array,predicate){for(var index=-1,length=array==null?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}var arraySome_default=arraySome;init_define_process_env();init_shim();function cacheHas(cache,key){return cache.has(key)}var cacheHas_default=cacheHas;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache_default:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome_default(other,function(othValue2,othIndex){if(!cacheHas_default(seen,othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}var equalArrays_default=equalArrays;init_define_process_env();init_shim();init_define_process_env();init_shim();function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}var mapToArray_default=mapToArray;init_define_process_env();init_shim();function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var setToArray_default=setToArray;var COMPARE_PARTIAL_FLAG2=1,COMPARE_UNORDERED_FLAG2=2,boolTag2="[object Boolean]",dateTag2="[object Date]",errorTag2="[object Error]",mapTag3="[object Map]",numberTag2="[object Number]",regexpTag2="[object RegExp]",setTag3="[object Set]",stringTag2="[object String]",symbolTag="[object Symbol]",arrayBufferTag2="[object ArrayBuffer]",dataViewTag3="[object DataView]",symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag3:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag2:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array_default(object),new Uint8Array_default(other)));case boolTag2:case dateTag2:case numberTag2:return eq_default(+object,+other);case errorTag2:return object.name==other.name&&object.message==other.message;case regexpTag2:case stringTag2:return object==other+"";case mapTag3:var convert=mapToArray_default;case setTag3:var isPartial=bitmask&COMPARE_PARTIAL_FLAG2;if(convert||(convert=setToArray_default),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG2,stack.set(object,other);var result=equalArrays_default(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}var equalByTag_default=equalByTag;init_define_process_env();init_shim();var COMPARE_PARTIAL_FLAG3=1,objectProto11=Object.prototype,hasOwnProperty8=objectProto11.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG3,objProps=getAllKeys_default(object),objLength=objProps.length,othProps=getAllKeys_default(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty8.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}var equalObjects_default=equalObjects;var COMPARE_PARTIAL_FLAG4=1,argsTag3="[object Arguments]",arrayTag2="[object Array]",objectTag3="[object Object]",objectProto12=Object.prototype,hasOwnProperty9=objectProto12.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray_default(object),othIsArr=isArray_default(other),objTag=objIsArr?arrayTag2:getTag_default(object),othTag=othIsArr?arrayTag2:getTag_default(other);objTag=objTag==argsTag3?objectTag3:objTag,othTag=othTag==argsTag3?objectTag3:othTag;var objIsObj=objTag==objectTag3,othIsObj=othTag==objectTag3,isSameTag=objTag==othTag;if(isSameTag&&isBuffer_default(object)){if(!isBuffer_default(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack_default),objIsArr||isTypedArray_default(object)?equalArrays_default(object,other,bitmask,customizer,equalFunc,stack):equalByTag_default(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG4)){var objIsWrapped=objIsObj&&hasOwnProperty9.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty9.call(other,"__wrapped__");
81if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack_default),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return isSameTag?(stack||(stack=new Stack_default),equalObjects_default(object,other,bitmask,customizer,equalFunc,stack)):!1}var baseIsEqualDeep_default=baseIsEqualDeep;function baseIsEqual(value,other,bitmask,customizer,stack){return value===other?!0:value==null||other==null||!isObjectLike_default(value)&&!isObjectLike_default(other)?value!==value&&other!==other:baseIsEqualDeep_default(value,other,bitmask,customizer,baseIsEqual,stack)}var baseIsEqual_default=baseIsEqual;init_define_process_env();init_shim();function isEqual(value,other){return baseIsEqual_default(value,other)}var isEqual_default=isEqual;init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var DropdownComposerInterface,get_composer,decaf=safe_require.safe_require("./u/shared/decaf"),b_fiber
81=safe_require.safe_require("./u/shared/async/b_fiber"),external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),widgets=safe_require.safe_require("./core/widgets"),app_json_consts=safe_require.safe_require("./constants/app_json"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),btype_ids=safe_require.safe_require("./lang/btype_ids"),url=safe_require.safe_require("url"),hydrate=safe_require.safe_require("@bubblegroup/db/hydrate"),Lib=safe_require.safe_require("./lib"),logger=safe_require.safe_require("./logger"),btypes=safe_require.safe_require("./lang/btypes"),r=__require,configuration,pg,tedious,pg_connection_string_parse,dbconnector_mysql;u.on_server()?(r("./../../user_lib"),dbconnector_mysql=r("./utilities/dbconnector_mysql"),pg=r("pg"),pg_connection_string_parse=require_pg_connection_string().parse,tedious=r("tedious"),configuration=r("./../../configuration").default):configuration=safe_require.safe_require("./client_config");u.is_edit_mode()&&({DropdownComposerInterface}=safe_require.safe_require("./editor/composer/static/DropdownComposerInterface"),{get_composer}=safe_require.safe_require("./editor/composer/compatibility/composers"));function get_queries(){let res=appquery.get_public_setting("dbconnector_queries")??"{}";return u.json_parse(res)}var get_connection_strings=()=>u.json_parse(appquery.get_private_setting("dbconnector_connection_strings")??"{}");function get_params_for_bubble(params){let parameters={};function get_editor_for_param(type,param_obj){switch(type){case"text":return param_obj.editor="ShortText";case"area":return param_obj.editor="LongText";case"boolean":return param_obj.editor="Checkbox";case"number":case"date":return param_obj.editor="Basic",param_obj.btype=type;case"file":return param_obj.editor="ShortText",param_obj.value=type,param_obj.need_download_image=!0;default:return param_obj.editor="ShortText"}}if(params!=null)for(let param of params)parameters[param.name]={display:param.name,optional:!1},get_editor_for_param(param.type,parameters[param.name]);return parameters}function query_comparison_object_for_values(query){return{name:query.name,fields:query.final_fields}}var wrapped_get_queries=u.autorun_cache({fn:get_queries,compare_fn(a,b){return isEqual_default(Object.values(a).map(query_comparison_object_for_values),Object.values(b).map(query_comparison_object_for_values))}}),cls=class extends external.Service{constructor(){super(),this.public_values=u.autorun_cache(this.__public_values),this.values=u.autorun_cache(this.__values),this.public_calls=u.autorun_cache(this.__public_calls),this.action_calls=u.autorun_cache(this.__action_calls),this.calls=u.autorun_cache(this.__calls),this.authenticator=new external.NoAuth}get dynamic_calls(){return!0}__public_values(){return decaf.object_values(get_queries()).filter(query_data=>query_data.name!=null).map(query_data=>query_data.name)}__values(){let vals={},object=wrapped_get_queries();for(let query_id in object){let query_data=object[query_id];query_data.name!=null&&(vals[query_data.name]=new external.StructValue(query_data.name,query_data.final_fields,{storable:!0}))}return vals}__public_calls(){return decaf.object_values(get_queries()).filter(query_data=>["both","datasource"].includes(query_data.publish_as)&&query_data.name!=null).map(query_data=>query_data.name)}__action_calls(){return decaf.object_values(get_queries()).filter(query_data=>["both","action"].includes(query_data.publish_as)&&query_data.name!=null).map(query_data=>query_data.name)}__calls(){let calls={},object=get_queries();for(let id in object){let call_data=object[id];if(call_data.name!=null){let name=call_data.name;calls[name]=class extends external.Call{get human(){return name}get _must_proxy(){return!0}get btype_id(){return call_data.final_fields&&!u.is_empty(call_data.final_fields)?btype_ids.api_type("dbconnector."+name):null}static can_be_used_as_action=(()=>["both","action"].includes(call_data.publish_as))();get is_list(){return!0}get category(){return"data (things)"}get parameters(){return get_params_for_bubble(call_data.params)}get call_raw_data(){return call_data}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):activityApm.traceSpan("plugin_sql_connector",{},_ref=>{let{recordActivity}=_ref,query,object1=get_queries();for(let id2 in object1){let q=object1[id2];q.name===this.name&&(query=q)}let values=[];for(let _ in this.parameters){let param=this.parameters[_];values.push(properties[param.display])}let cs=get_connection_strings()?.[query?.cs_id],res;cs?.type==="postgres"?res=run_pg_query(cs,query,values).rows:cs?.type==="mysql"?res=dbconnector_mysql.run_mysql_query(cs.text,query.text,values,!1,get_error_for_user).rows:cs?.type==="mssql"&&(res=run_mssql_query(cs,query,values).rows);let cleaned_list=[];for(let item of res??[]){let clean_obj={};for(let field_name in call_data.final_fields){let{ret_btype}=call_data.final_fields[field_name];["geographic_address","date","number","boolean"].includes(ret_btype)?clean_obj[field_name]=btypes.get(ret_btype).cast(item[field_name]):clean_obj[field_name]=item[field_name]}clean_obj._id||(clean_obj._id=u.incremental_digest(clean_obj)),cleaned_list.push(clean_obj)}return recordActivity("plugin_sql_connector",{calls:1,rows:cleaned_list.length}),cleaned_list})}}}}return calls}},dbconnector={get_queries,get_connection_strings,cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.dbconnector=dbconnector);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin(known_plugins_consts.DB_CONNECTOR,dbconnector);})();
82/*! Bundled license information:
83
84buffer/index.js:
85  (*!
86   * The buffer module from node.js, for the browser.
87   *
88   * @author   Feross Aboukhadijeh <https://feross.org>
89   * @license  MIT
90   *)
91
92punycode/punycode.js:
93  (*! https://mths.be/punycode v1.3.2 by @mathias *)
94
95lodash-es/lodash.js:
96  (**
97   * @license
98   * Lodash (Custom Build) <https://lodash.com/>
99   * Build: `lodash modularize exports="es" -o ./`
100   * Copyright OpenJS Foundation and other contributors <https://
vendor: 6,862 bytes, lines 100-115
100openjsf.org/>
101   * Released under MIT license <https://lodash.com/license>
102   * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
103   * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
104   *)
105*/
106
107}
108
109
110window.preloaded['plugin/first_party:dbconnector'] = true;
111window._bubble_page_load_data.hardcoded_plugins['draggableui'] = true;
112window.__code__ = window.__code__ || {};
113if(!window.__code__['07aa7238a628e69e2c62052d19693274a881bfc466fe42d830275ab9b9814b07']){window.__code__['07aa7238a628e69e2c62052d19693274a881bfc466fe42d830275ab9b9814b07']=1;
114
115"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,595 bytes, line 115
115K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 115
115)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 115
115if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
115var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
115y-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
115:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
115HARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol
115=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
115:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});
115var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
115yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
115ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
vendor: 4,762 bytes, line 115
115(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
115y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
115){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find());init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),shared_fields=safe_require.safe_require("./core/shared_fields"),groups=safe_require.safe_require("./core/core_elements/shared/groups"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),core_actions=safe_require.safe_require("./core/core_actions"),appquery=safe_require.safe_require("./lang/appquery"),Lib=safe_require.safe_require("./lib"),btypes=safe_require.safe_require("./lang/btypes"),logger=safe_require.safe_require("./logger"),core_consts=safe_require.safe_require("./constants/core"),core_ds_workflow_utilities=safe_require.safe_require("./core/core_datasources/utilities/core_ds_workflow_utilities"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),workflow_utils=safe_require.safe_require("./lang/workflow/workflow_utils"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var LegacyContainerComponent=safe_require.safe_require("./core/core_elements/components/LegacyContainerComponent"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("draggableui-DroppableGroup");var property_applications=safe_require.safe_require("./core/property_applications");element_modifications.set_legacy_element_modifications("draggableui-Dropzone");function _child_mov(instance,max_delta){let height=instance.element.get_height()+max_delta;(instance.is_visible()||!instance._has_been_hidden)&&instance.set_height(height)}var PLUGIN_FILE="draggableui",DRAGGED_Z_INDEX=1e7;function droppable_group_initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();if(instance.run_mode()){let parent_offset=canvas.parent().offset(),canvas_offset=canvas.offset();instance.state("x_position",canvas_offset.left-parent_offset.left),instance.state("y_position",canvas_offset.top-parent_offset.top),instance.on_message("child_movement",max_delta=>_child_mov(instance,max_delta));let clone_container=null,clone_ref=null,stored_parent_ref=null,stored_parent_overflow_style=null,offset_necessary=null,helper_necessary=determine_helper(instance);canvas.draggable({containment:instance.get_static_property("constrained")?instance.parent().get_canvas():void 0,revert:instance.get_static_property("droppable")?"invali
115d":!1,revertDuration:200,cancel:"input, textarea, select, option",helper:helper_necessary,start(event,ui){if(instance.state("dragged",!0),instance.initial={top:canvas[0].style.top,left:canvas[0].style.left},helper_necessary==="clone"){if(clone_ref=ui.helper[0],offset_necessary===null&&(offset_necessary=determine_clone_properties(instance,canvas).offset_necessary,stored_parent_ref=determine_clone_properties(instance,canvas).parent_ref),offset_necessary){let helper_placement=canvas.offset();clone_container=document.createElement("div"),clone_container.style.position="absolute",clone_container.style.left=`${helper_placement.left-ui.position.left}px`,clone_container.style.top=`${helper_placement.top-ui.position.top}px`,clone_container.style.overflow="visible",clone_ref.style.left=`${ui.position.left}px`,clone_ref.style.top=`${ui.position.top}px`,clone_ref.style.placeSelf="",clone_ref.style.minWidth="",clone_ref.style.maxWidth="",clone_ref.style.minHeight="",clone_ref.style.maxHeight="",clone_ref.style.width=`${canvas.outerWidth()}px`,clone_ref.style.height=`${canvas.outerHeight()}px`,clone_container.appendChild(clone_ref),document.body.appendChild(clone_container)}stored_parent_ref!=null&&(stored_parent_overflow_style=stored_parent_ref.style.overflow,stored_parent_ref.style.overflow="visible"),clone_ref.style["z-index"]=DRAGGED_Z_INDEX,canvas.hide()}else canvas[0].style["z-index"]=DRAGGED_Z_INDEX},drag(){let{top,left}=canvas.offset();if(helper_necessary==="clone")for(let item of clone_ref.style)["offsetTop","offsetLeft","z-index","left","top","display","width","height"].includes(item)||(clone_ref.style[item]=canvas[0].style[item]);let parent_data=canvas.parent().offset();instance.state("x_position",left-parent_data.left),instance.state("y_position",top-parent_data.top)},stop(){instance.state("dragged",!1),canvas.show(),clone_container!=null&&document.body.removeChild(clone_container),stored_parent_ref!=null&&(stored_parent_ref.style.overflow=stored_parent_overflow_style)}}),canvas.on("mousedown",evt=>{!$(evt.target).is("input")&&!$(evt.target).is("textarea")&&canvas.find("input, textarea").blur()}),element_eval.on_property_change(instance,"disabled",val=>{canvas.draggable(val?"disable":"enable"),val?canvas.removeClass("grabbable movable"):instance.get_static_property("droppable")?canvas.addClass("droppable-element grabbable"):canvas.addClass("draggable-element movable")})}}function dropzone_initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();instance.run_mode()&&(instance.on_message("child_movement",max_delta=>_child_mov(instance,max_delta)),instance.autorun(()=>{instance.should_collapse()&&instance.state("hovered_by_drag",!1)}),canvas.droppable({accept:".droppable-element",tolerance:instance.get_static_property("tolerance"),over(){instance.state("hovered_by_drag",!0)},out(){instance.state("hovered_by_drag",!1)},drop(event,ui){instance.state("hovered_by_drag",!1);let dropped_instance=ui.draggable[0].bubble_data.bubble_instance,_move_back=()=>{u.velocity(dropped_instance.get_canvas(),dropped_instance.initial,{duration:0})},events=instance.element.get_related_workflows("draggableui-DroppedOn"),to_run=[],bad_events=[];for(event of events){let event_type=event.get_static_property("custom_event_data_type");event_type==null||event_type===dropped_instance.get_static_property("group_type")?to_run.push(event):bad_events.push(event)}if(plugin_version()===0&&to_run.length===0||dropped_instance.get_static_property("post_event")==="move_back"?_move_back():u.velocity(dropped_instance.get_canvas(),"fadeOut",u.extend({duration:200,complete_cb(){dropped_instance.workflow_hide(),dropped_instance.get_canvas().css("opacity",1)}},instance.get_hidden_css())),to_run.length&&element_workflows.run_element_workflow(instance,"draggableui-DroppedOn",event,to_run,{get_wf_param:core_ds_workflow_utilities.generate_wf_param_datasource({[core_consts.LEGACY_PARAM_ID]:()=>dropped_instance.state("group_data")})}),bad_events.length)for(let bad_event of bad_events)logger.owner_error("There is a type mismatch between the dropped group and the workflow type",{event:bad_event,element_instance:instance})}}),instance.on_destroy(()=>{canvas.droppable("destroy")}))}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements(),this.actions=this._get_initial_actions(),this.events=this._get_initial_events()}_get_initial_elements(){return{DroppableGroup:u.extend({},groups.group_element_definition,{display:"Drag/drop Group",icon:"ion-android-hand",category:"containers",supported_platforms:"web",condition(root){return!root?.is_mobile?.()},defaults:{width:400,height:400,fixed_width:!0},field_names:u.extend({},groups.container_field_names,{constrained:{no_states:!0,default:!1},droppable:{no_states:!0,default:!1},disabled:{default:!1},post_event:{default:"hide",no_states:!0}}),uses_css_responsive:!0,can_fit_width:!0,can_fit_height:!0,solid_component:LegacyContainerComponent,initialize:droppable_group_initialize,legacy_container_mount:droppable_group_initialize,get_states(element){return["dragged"]},add_specific_messages(messages,element){return u.extend(messages,{is_dragged:{description:" is dragged",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return a?.state("dragged")}},x_position:{description:"'s X position",is_client_state(){return!0},section:"States",ret_btype:"number",fn(a,b){return a?.state("x_position")}},y_position:{description:"'s Y position",is_client_state(){return!0},section:"States",ret_btype:"number",fn(a,b){return a?.state("y_position")}}})},get_state_value(element,name){if(name==="group_data")return element.get_static_property("group_type");if(name==="dragged")return"boolean"},get_private_messages(element){return["child_movement"]},jquery_plugins(){return["jquery_plugins/jquery-ui.draggable.min","jquery_plugins/jquery.ui.touch-punch.min"]},only_send_to_client_in_runmode:!0,css_files:["css/optional/draggableui.css"],events:[],actions:["ResetGroup","DisplayGroupData","draggableui-MoveElement"],
115check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}}),Dropzone:u.extend({},groups.group_element_definition,{display:"Drop Area",icon:"ion-ios-download",supported_platforms:"web",condition(root){return!root?.is_mobile?.()},defaults:{width:300,height:300,border_style:"solid",border_width:1,border_color:"#BDBDBD",border_roundness:3,background_style:"bgcolor",bgcolor:"#F0F0F0"},default_states:[{condition:{type:"ThisElement",next:{type:"Message",name:"is_dragged_over"}},properties:{bgcolor:"#E0E0E0"}}],field_names:u.extend({},groups.container_field_names,{tolerance:{no_states:!0,default:"intersect"}}),uses_css_responsive:!0,can_fit_width:!0,can_fit_height:!0,solid_component:LegacyContainerComponent,initialize:dropzone_initialize,legacy_container_mount:dropzone_initialize,get_states(element){return["hovered_by_drag"]},get_private_messages(element){return["child_movement"]},get_state_value(element,name){if(name==="group_data")return element.get_static_property("group_type");if(name==="hovered_by_drag")return"boolean"},add_specific_messages(messages,element){return u.extend(messages,{is_dragged_over:{description:" is dragged over",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return a?.state("hovered_by_drag")}}})},jquery_plugins(){return["jquery_plugins/jquery-ui.draggable.min"]},only_send_to_client_in_runmode:!0,events:["draggableui-DroppedOn"],check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}})}}_get_initial_events(){return{DroppedOn:{_display(){return" has a group dropped on it"},element_name:"A drop area",field_names:{element_id:{},custom_event_data_type:{}},_fields(event){return[{name:"custom_event_data_type",caption:"Type of thing",editor:"Dropdown",set:btypes_dropdowns.displayableInListBtypes(),optional:!0}]},check_for_errors(event,report){let type=event?.get_static_property("custom_event_data_type");if(type){let page_drag_groups=event.root().find_elements("draggableui-DroppableGroup"),found_group_with_type=!1;for(let a of page_drag_groups)if(a.get_static_property("group_type")===type){found_group_with_type=!0;break}found_group_with_type||report(this.display(event)+": the type of thing for this workflow is "+btypes.get(type).display()+" but no drag/drop group on the page has this type of content.")}}}}}_get_initial_actions(){return{MoveElement:{display(action){let target=appquery.element
115(action?.element_id());return"Move "+(target?target.get_name():"a draggable group")},field_names:{element_id:{},moving_type:{default:"element"},reference:{},offset_top:{default:0},offset_left:{default:0},top_position:{},left_position:{},animation_delay:{default:500}},run(action,properties,context,cb){u.run_once(30,()=>({instance:context.element.find_instance_by_id(properties.element_id),reference:context.element.find_instance_by_id(properties.reference)}),(err,res)=>{if(err){logger.log(err);return}let{instance,reference}=res;if(!instance){cb();return}let new_position=null;if(properties.moving_type==="coords"){if(properties.top_position==null||properties.left_position==null){cb();return}new_position={top:properties.top_position,left:properties.left_position}}else{if(reference==null){cb();return}let{top,left}=reference.get_canvas().offset(),instance_canvas=instance.get_canvas(),offset_difference={top:instance_canvas.offset().top-parseInt(instance_canvas.css("top"),10),left:instance_canvas.offset().left-parseInt(instance_canvas.css("left"),10)};new_position={left:left+properties.offset_left-offset_difference.left,top:top+properties.offset_top-offset_difference.top}}instance.state("x_position",new_position.left),instance.state("y_position",new_position.top),u.velocity(instance.get_canvas(),new_position,{duration:properties.animation_delay}),cb()})},data_to_refresh:null}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"'Hide group' applies even when no workflow is attached",type:"client_safe",editor:"Checkbox"}}}};function determine_helper(instance){return instance.get_static_property("droppable")&&!instance.get_static_property("constrained")?"clone":"original"}function determine_clone_properties(instance,canvas){let ret_value={offset_necessary:!1,parent_ref:null},parent=canvas.parent();for(;parent?.length&&parent[0].style!=null;){if(u.get_element(parent).element?.E.category==="containers"&&(ret_value.offset_necessary=!0),parent.hasClass("GroupFocus")){ret_value.parent_ref=parent[0],ret_value.offset_necessary=!1;break}parent=parent.parent()}return ret_value}function plugin_version(){return Lib()?appquery.get_public_setting("draggableui_installed_version")??0:1}var draggableui={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.draggableui=draggableui);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("draggableui",draggableui);})();
116/*! Bundled license information:
117
118buffer/index.js:
119  (*!
120   * The buffer module from node.js, for the browser.
121   *
122   * @author   Feross Aboukhadijeh <https://feross.org>
123   * @license  MIT
124   *)
125*/
126
127}
128
129
130window.preloaded['plugin/first_party:draggableui'] = true;
131window._bubble_page_load_data.hardcoded_plugins['progressbar'] = true;
132window.__code__ = window.__code__ || {};
133if(!window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']){window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']=1;
134
135"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 28,466 bytes, line 135
135+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 135
135)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 135
135if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
135var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var Lib=safe_require.safe_require("./lib"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),property_applications=safe_require.safe_require("./core/property_applications"),appquery=safe_require.safe_require("./lang/appquery"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),PLUGIN_FILE="progressbar",element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("progressbar-ProgressBar");var shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));function get_bar_label_styles(_ref){let{animation_delay="0s",bar_element,instance,percentage}=_ref,element_width=instance.current_width(),padding_left=0,padding_right=0;
135bar_element?.[0]&&(padding_left=parseInt(bar_element[0]?.style?.["padding-left"]||padding_left,10),padding_right=parseInt(bar_element[0]?.style?.["padding-right"]||padding_right,10));let total_left_right_padding=padding_left+padding_right,bar_width=element_width*percentage/100,transition="width "+animation_delay+", clip-path"+animation_delay,bar_label_styles={"clip-path":`inset(0px 0px 0px ${bar_width-padding_left}px)`,padding:"inherit",transition,width:element_width-total_left_right_padding},bar_label_overlay_styles={"clip-path":`inset(0px ${element_width-bar_width-padding_right}px 0px 0px)`,padding:"inherit",transition,width:element_width-total_left_right_padding};return{bar_label_styles,bar_label_overlay_styles}}function plugin_version(){return Lib()?appquery.get_public_setting("progressbar_installed_version")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("progressbar_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{ProgressBar:{display:"Progress Bar",category:"visual elements",icon:"ion-ios-speedometer",condition(root){return!root?.is_mobile?.()},defaults:{font_alignment:"center",font_color:"#FFFFFF",background_style:"bgcolor",bgcolor:"#FFFFFF",border_roundness:3,border_width:1,border_style:"solid",border_color:"#211A66",width:300,height:25},field_names:{percentage:{},animate:{default:!0,no_states:!0},bar_color:{default:"#7F95EB"}},primary_field(){return"percentage"},get_field_metadata(element){return{percentage:{caption:"Percentage",btype_id:"number"},bar_color:{caption:"Progress bar color",btype_id:"text"},animate:{caption:"Animate progress",btype_id:"boolean"},...new property_applications.Dimensions().get_property_metadata(element,"Dimensions"),...new property_applications.InputPadding(".inner-progressbar").get_property_metadata(element),...new property_applications.Font().get_property_metadata(element),...new property_applications.FontShadow().get_property_metadata(element),...new property_applications.Border().get_property_metadata(element),...new property_applications.BoxShadow().get_property_metadata(element),...new property_applications.Background().get_property_metadata(element),...new property_applications.Rotation().get_property_metadata(element),...new property_applications.ResponsiveElement().get_property_metadata(element),...new property_applications.MinWidth().get_property_metadata(element),...new property_applications.UniqueID().get_property_metadata(element),...shared_field_metadata.get_is_visible_property()}},_fields(element){return[{name:"percentage",caption:"Percentage",editor:"Basic",btype:"number",pretty:{section:"ProgressBarContent"}},{name:"bar_color",caption:"Progress bar color",editor:"Color",dynamic:!0,pretty:{section:"ProgressBarContent"}},{name:"animate",caption:"Animate progress",editor:"Checkbox",pretty:{section:"ProgressBarContent"}}]},property_applications:[new property_applications.Dimensions,new property_applications.InputPadding(".inner-progressbar"),new property_applications.Font,new property_applications.FontShadow,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Background,new property_applications.Rotation,new property_applications.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},get_min_width(){return 0},change_cursor_style_if_clickable:!0,initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas(),bar=u.div("inner-progressbar",canvas),bar_label=u.div("progressbar-label",bar),bar_label_overlay=u.div("progressbar-label-overlay",bar);return instance.autorun(()=>{let percentage=element_eval.evaluate_property(instance,"percentage");instance.run_mode()?percentage??=0:percentage??=60,percentage>100?percentage=100:percentage<0&&(percentage=0);let prop_node=instance.element.property("percentage");instance.run_mode()||prop_node.is_static()?(bar_label.html(Lib().locale().format_decimal(percentage)+"%"),bar_label_overlay.html(Lib().locale().format_decimal(percentage)+"%")):(bar_label.html(prop_node.get_tree_display()+" %"),bar_label_overlay.html(prop_node.get_tree_display()+" %"));let animation_delay=instance.run_mode()&&instance.get_static_property("animate")?".3s":"0s";bar.css({"background-color":element_eval.evaluate_property(instance,"bar_color"),"line-height":instance.current_height()+"px",transition:"width "+animation_delay,width:percentage+"%"});let{bar_label_styles,bar_label_overlay_styles}=get_bar_label_styles({animation_delay,bar_element:bar,instance,percentage});return bar_label.css(bar_label_styles),bar_label_overlay.css(bar_label_overlay_styles),bar})},add_an_invisible_div_on_the_top:!1,css_files:["css/optional/progressbar.css"],events:["ButtonClicked","ElementPressed"],contains_group_data:!1,is_input:!1}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},progressbar={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.progressbar=progressbar);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("progressbar",progressbar);})();
136/*! Bundled license information:
137
138buffer/index.js:
139  (*!
140   * The buffer module from node.js, for the browser.
141   *
142   * @author   Feross Aboukhadijeh <https://feross.org>
143   * @license  MIT
144   *)
145*/
146
147}
148
149
150window.preloaded['plugin/first_party:progressbar'] = true;
151window._bubble_page_load_data.hardcoded_plugins['star_rating'] = true;
152window.__code__ = window.__code__ || {};
vendor: 6,450 bytes, lines 153-155
153if(!window.__code__['86dc63bad3859874463f5a3628be2570d69db5461555bcc858673f8e7178d0c4']){window.__code__['86dc63bad3859874463f5a3628be2570d69db5461555bcc858673f8e7178d0c4']=1;
154
155"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,595 bytes, line 155
155K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 155
155)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 155
155if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
155var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
155y-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
155:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
155HARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol
155=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
155:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});
155var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
155yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
155ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
vendor: 4,762 bytes, line 155
155(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
155y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
155){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find());init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),shared_fields=safe_require.safe_require("./core/shared_fields"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),Lib=safe_require.safe_require("./lib"),property_applications=safe_require.safe_require("./core/property_applications"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),PLUGIN_FILE="star_rating",DEFAULT_WIDTH=162,DEFAULT_HEIGHT=38,SIZE_RATIOS={xxxs:.6,xxs:.8,xs:1,sm:1.1,md:1.4,lg:1.7,xl:2.1},shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{StarRating:{condition(root){return!root?.is_mobile?.()},defaults:{width:DEFAULT_WIDTH,height:DEFAULT_HEIGHT},field_names:u.extend({min:{default:0,no_states:!0},max:{default:5,no_states:!0},step:{default:.5,no_states:!0},min_width:{no_states:!0},size:{default:"xs",no_states:!0,in_style:!0},content:{},star_color:{default:"#e3e3e3",in_style:!0},rating_color:{default:"#fde16d",in_style:!0}},inputs.get_disabled_field_name,inputs.get_auto_binding_field_names),property_applications:[new property_applications.Dimensions,new property_applications.Border,new property_applications.Background],get_html(instance){return"<div></div>"},get_orphaned_thumbnail_width(element){let size=element.get_static_property("size");return size in SIZE_RATIOS?Math.round(SIZE_RATIOS[size]*DEFAULT_WIDTH):element.get_width()},get_orphaned_thumbnail_height(element){let size=element.get_static_property("size");return size in SIZE_RATIOS?Math.round(SIZE_RATIOS[size]*DEFAULT_HEIGHT):element.get_height()},initialize(instance){return services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),instance.wait_for_visible_lite(()=>{let canvas=instance.get_canvas(),inner_id=u.LUID(),input=$('<input id="'+inner_id+'" type="number" class="rating" >');
155canvas.append(input),input.rating(),input.hide(),input.on("rating.change",(evt,val)=>instance.message("user_submit",input.val())),inputs.input_change_autorun(instance,val=>{val!==void 0&&input.rating("update",val)}),inputs.register_focus(instance,input),instance.autorun(()=>{let props={showClear:!1,showCaption:!1,ratingClass:"rating-fa",glyphicon:!1};for(let prop of["min","max","step","size"])props[prop]=instance.get_static_property(prop);props.stars=props.max,instance.edit_mode()&&(props.readonly=!0),input.rating("refresh",props)}),element_eval.on_property_change(instance,"disabled",value=>input.rating("refresh",{disabled:value})),element_eval.on_property_change(instance,"star_color",value=>canvas.find(".rating-container").css("color",value)),element_eval.on_property_change(instance,"rating_color",value=>canvas.find(".rating-stars").css("color",value)),instance.on_destroy(()=>input.rating("destroy"))})},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,contains_group_data:!1,no_is_focused:!0,get_starting_content(instance){return instance.get_static_property("auto_binding")?inputs.get_input_autobind_thing_field(instance):element_eval.evaluate_property(instance,"content")??element_eval.evaluate_property(instance,"min")??0},get_state_value(element,name){if(name==="value")return"number"},jquery_plugins(){return["jquery_plugins/star-rating.min"]},css_files:["css/optional/star-rating.min.css","css/optional/font-awesome.min.css"],actions:["ResetInputs"]}}}},star_rating={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.star_rating=star_rating);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("star_rating",star_rating);})();
156/*! Bundled license information:
157
158buffer/index.js:
159  (*!
160   * The buffer module from node.js, for the browser.
161   *
162   * @author   Feross Aboukhadijeh <https://feross.org>
163   * @license  MIT
164   *)
165*/
166
167}
168
169
170window.preloaded['plugin/first_party:star_rating'] = true;
171window._bubble_page_load_data.hardcoded_plugins['apiconnector2'] = true;
172window.__code__ = window.__code__ || {};
173if(!window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']){window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']=1;
174
175"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.byteLength=byteLength;exports2.toByteArray=toByteArray;exports2.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);
vendor: 28,132 bytes, line 175
175var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports2){init_define_process_env();init_shim();exports2.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports2.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports2){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports2.Buffer=Buffer4;exports2.SlowBuffer=SlowBuffer;exports2.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports2.kMaxLength=K_MAX_LENGTH;Buffer4.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer4.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer4.prototype,"parent",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer4.prototype,"offset",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer4.prototype),buf}function Buffer4(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer4.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer4.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer4.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer4.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer4.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer4,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer4.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer4.allocUnsafe=function(size){return allocUnsafe(size)};Buffer4.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer4.prototype),buf}function fromObject(obj){if(Buffer4.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer4.alloc(+length)}Buffer4.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer4.prototype};Buffer4.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer4.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer4.from(b,b.offset,b.byteLength)),!Buffer4.isBuffer(a)||!Buffer4.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer4.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer4.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer4.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer4.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer4.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer4.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer4.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer4.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer4.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer4.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer4.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer4.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer4.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer4.prototype.toLocaleString=Buffer4.prototype.toString;Buffer4.prototype.equals=function(b){if(!Buffer4.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer4.compare(this,b)===0};Buffer4.prototype.inspect=function(){var str="",max=exports2.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer4.prototype[customInspectSymbol]=Buffer4.prototype.inspect);Buffer4.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer4.from(target,target.offset,target.byteLength)),!Buffer4.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer4.from(val,encoding)),Buffer4.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer4.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer4.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer4.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer4.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer4.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer4.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer4.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer4.prototype.readUintLE=Buffer4.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer4.prototype.readUintBE=Buffer4.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer4.prototype.readUint8=Buffer4.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer4.prototype.readUint16LE=Buffer4.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer4.prototype.readUint16BE=Buffer4.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer4.prototype.readUint32LE=Buffer4.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer4.prototype.readUint32BE=Buffer4.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer4.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer4.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer4.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer4.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer4.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer4.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer4.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer4.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer4.prototype.writeUintLE=Buffer4.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUintBE=Buffer4.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUint8=Buffer4.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer4.prototype.writeUint16LE=Buffer4.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeUint16BE=Buffer4.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeUint32LE=Buffer4.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer4.prototype.writeUint32BE=Buffer4.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer4.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 175
175)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer4.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer4.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer4.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer4.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer4.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer4.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer4.prototype.copy=function(target,targetStart,start,end){if(!Buffer4.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,183 bytes, line 175
175if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer4.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer4.isBuffer(val)?val:Buffer4.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports2,module2){init_define_process_env();init_shim();var process2=module2.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
175var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module2.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports2=="object"&&exports2)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module2.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports2){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports2.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
175y-this.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module2.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module2.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module2.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
175:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module2.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module2.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module2.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module2.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module2.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module2.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module2.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module2.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module2.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $String=String;module2.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module2.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module2.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject2=require_is_object(),$TypeError=TypeError;module2.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject2(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module2.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
175HARED,{});module2.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module2.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module2.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty10=uncurryThis({}.hasOwnProperty);module2.exports=Object.hasOwn||function(it,key){return hasOwnProperty10(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module2.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol3=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol3.for||Symbol3:Symbol3&&Symbol3.withoutSetter||uid;module2.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol3,name)?Symbol3[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject2=require_is_object(),isSymbol
175=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module2.exports=function(input,pref){if(!isObject2(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject2(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module2.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject2=require_is_object(),document2=global.document,EXISTS=isObject2(document2)&&isObject2(document2.createElement);module2.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module2.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports2.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module2.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isObject2(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports2.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
175:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module2.exports={EXISTS,PROPER,CONFIGURABLE}}});
175var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module2.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap2=global.WeakMap;module2.exports=isCallable(WeakMap2)&&/native code/.test(String(WeakMap2))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys2=shared("keys");module2.exports=function(key){return keys2[key]||(keys2[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject2=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap2=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject2(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap2),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module2.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
175yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module2.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module2.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module2.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module2.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module2.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module2.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module2.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module2.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module2.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
175ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports2.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module2.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys2=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys2,getOwnPropertySymbols(it)):keys2}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module2.exports=function(target,source,exceptions){for(var keys2=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys2.length;i++){var key=keys2[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module2.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module2.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module2.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module2.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module2.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module2.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports2.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys2=objectKeys(Properties),length=keys2.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys2[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module2.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
vendor: 4,766 bytes, line 175
175(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module2.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject2=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject2(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module2.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
175y-this-clause.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module2.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module2.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module2.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module2.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module2.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module2.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module2.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module2.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module2.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
175){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});var require_esnext_iterator_for_each=__commonJS({"node_modules/core-js/modules/esnext.iterator.for-each.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$({target:"Iterator",proto:!0,real:!0},{forEach:function(fn){anObject(this),aCallable(fn);var record=getIteratorDirect(this),counter=0;iterate(record,function(value){fn(value,counter++)},{IS_RECORD:!0})}})}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module2.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(value,done){return{value,done}}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module2.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module2.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IteratorProxy=createIteratorProxy(function(){var iterator=this.iterator,result=anObject(call(this.next,iterator)),done=this.done=!!result.done;if(!done)return callWithSafeIterationClosing(iterator,this.mapper,[result.value,this.counter++],!0)});module2.exports=function(mapper){return anObject(this),aCallable(mapper),new IteratorProxy(getIteratorDirect(this),{mapper})}}});var require_esnext_iterator_map=__commonJS({"node_modules/core-js/modules/esnext.iterator.map.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});var require_esnext_iterator_reduce=__commonJS({"node_modules/core-js/modules/esnext.iterator.reduce.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),$TypeError=TypeError;$({target:"Iterator",proto:!0,real:!0},{reduce:function(reducer){anObject(this),aCallable(reducer);var record=getIteratorDirect(this),noInitial=arguments.length<2,accumulator=noInitial?void 0:arguments[1],counter=0;if(iterate(record,function(value){noInitial?(noInitial=!1,accumulator=value):accumulator=reducer(accumulator,value,counter),counter++},{IS_RECORD:!0}),noInitial)throw new $TypeError("Reduce of empty iterator with no initial value");return accumulator}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find()),import_esnext_iterator_for_each=__toESM(require_esnext_iterator_for_each()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map()),import_esnext_iterator_reduce=__toESM(require_esnext_iterator_reduce());init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;init_define_process_env();init_shim();var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;init_define_process_env();init_shim();var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;
175var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;init_define_process_env();init_shim();var isArray=Array.isArray,isArray_default=isArray;init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject_default(value))return!1;var tag=baseGetTag_default(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}var isFunction_default=isFunction;init_define_process_env();init_shim();init_define_process_env();init_shim();var coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData;var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMasked_default=isMasked;init_define_process_env();init_shim();var funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}var toSource_default=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject_default(value)||isMasked_default(value))return!1;var pattern=isFunction_default(value)?reIsNative:reIsHostCtor;return pattern.test(toSource_default(value))}var baseIsNative_default=baseIsNative;init_define_process_env();init_shim();function getValue(object,key){return object?.[key]}var getValue_default=getValue;function getNative(object,key){var value=getValue_default(object,key);return baseIsNative_default(value)?value:void 0}var getNative_default=getNative;var WeakMap=getNative_default(root_default,"WeakMap"),WeakMap_default=WeakMap;init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;return length=length??MAX_SAFE_INTEGER,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}var isIndex_default=isIndex;init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}var eq_default=eq;init_define_process_env();init_shim();init_define_process_env();init_shim();var MAX_SAFE_INTEGER2=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER2}var isLength_default=isLength;function isArrayLike(value){return value!=null&&isLength_default(value.length)&&!isFunction_default(value)}var isArrayLike_default=isArrayLike;init_define_process_env();init_shim();var objectProto4=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto4;return value===proto}var isPrototype_default=isPrototype;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}var baseTimes_default=baseTimes;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike_default(value)&&baseGetTag_default(value)==argsTag}var baseIsArguments_default=baseIsArguments;var objectProto5=Object.prototype,hasOwnProperty3=objectProto5.hasOwnProperty,propertyIsEnumerable=objectProto5.propertyIsEnumerable,isArguments=baseIsArguments_default(function(){return arguments}())?baseIsArguments_default:function(value){return isObjectLike_default(value)&&hasOwnProperty3.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArguments_default=isArguments;init_define_process_env();init_shim();init_define_process_env();init_shim();function stubFalse(){return!1}var stubFalse_default=stubFalse;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer3=moduleExports?root_default.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse_default,isBuffer_default=isBuffer;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag2="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array
175]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag2]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike_default(value)&&isLength_default(value.length)&&!!typedArrayTags[baseGetTag_default(value)]}var baseIsTypedArray_default=baseIsTypedArray;init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}var baseUnary_default=baseUnary;init_define_process_env();init_shim();var freeExports2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule2=freeExports2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports2=freeModule2&&freeModule2.exports===freeExports2,freeProcess=moduleExports2&&freeGlobal_default.process,nodeUtil=function(){try{var types=freeModule2&&freeModule2.require&&freeModule2.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeUtil_default=nodeUtil;var nodeIsTypedArray=nodeUtil_default&&nodeUtil_default.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary_default(nodeIsTypedArray):baseIsTypedArray_default,isTypedArray_default=isTypedArray;var objectProto6=Object.prototype,hasOwnProperty4=objectProto6.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray_default(value),isArg=!isArr&&isArguments_default(value),isBuff=!isArr&&!isArg&&isBuffer_default(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray_default(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes_default(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty4.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex_default(key,length)))&&result.push(key);return result}var arrayLikeKeys_default=arrayLikeKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}var overArg_default=overArg;var nativeKeys=overArg_default(Object.keys,Object),nativeKeys_default=nativeKeys;var objectProto7=Object.prototype,hasOwnProperty5=objectProto7.hasOwnProperty;function baseKeys(object){if(!isPrototype_default(object))return nativeKeys_default(object);var result=[];for(var key in Object(object))hasOwnProperty5.call(object,key)&&key!="constructor"&&result.push(key);return result}var baseKeys_default=baseKeys;function keys(object){return isArrayLike_default(object)?arrayLikeKeys_default(object):baseKeys_default(object)}var keys_default=keys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}var hashClear_default=hashClear;init_define_process_env();init_shim();function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}var hashDelete_default=hashDelete;init_define_process_env();init_shim();var HASH_UNDEFINED="__lodash_hash_undefined__",objectProto8=Object.prototype,hasOwnProperty6=objectProto8.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate_default){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty6.call(data,key)?data[key]:void 0}var hashGet_default=hashGet;init_define_process_env();init_shim();var objectProto9=Object.prototype,hasOwnProperty7=objectProto9.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate_default?data[key]!==void 0:hasOwnProperty7.call(data,key)}var hashHas_default=hashHas;init_define_process_env();init_shim();var HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate_default&&value===void 0?HASH_UNDEFINED2:value,this}var hashSet_default=hashSet;function Hash(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear_default;Hash.prototype.delete=hashDelete_default;Hash.prototype.get=hashGet_default;Hash.prototype.has=hashHas_default;Hash.prototype.set=hashSet_default;var Hash_default=Hash;init_define_process_env();init_shim();init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}var listCacheClear_default=listCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq_default(array[length][0],key))return length;return-1}var assocIndexOf_default=assocIndexOf;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf_default(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}var listCacheDelete_default=listCacheDelete;init_define_process_env();init_shim();function listCacheGet(key){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?void 0:data[index][1]}var listCacheGet_default=listCacheGet;init_define_process_env();init_shim();function listCacheHas(key){return assocIndexOf_default(this.__data__,key)>-1}var listCacheHas_default=listCacheHas;init_define_process_env();init_shim();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear_default;ListCache.prototype.delete=listCacheDelete_default;ListCache.prototype.get=listCacheGet_default;ListCache.prototype.has=listCacheHas_default;ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache;init_define_process_env();init_shim();var Map=getNative_default(root_default,"Map"),Map_default=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}var mapCacheClear_default=mapCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}
175var isKeyable_default=isKeyable;function getMapData(map,key){var data=map.__data__;return isKeyable_default(key)?data[typeof key=="string"?"string":"hash"]:data.map}var getMapData_default=getMapData;function mapCacheDelete(key){var result=getMapData_default(this,key).delete(key);return this.size-=result?1:0,result}var mapCacheDelete_default=mapCacheDelete;init_define_process_env();init_shim();function mapCacheGet(key){return getMapData_default(this,key).get(key)}var mapCacheGet_default=mapCacheGet;init_define_process_env();init_shim();function mapCacheHas(key){return getMapData_default(this,key).has(key)}var mapCacheHas_default=mapCacheHas;init_define_process_env();init_shim();function mapCacheSet(key,value){var data=getMapData_default(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}var mapCacheSet_default=mapCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear_default;MapCache.prototype.delete=mapCacheDelete_default;MapCache.prototype.get=mapCacheGet_default;MapCache.prototype.has=mapCacheHas_default;MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache;init_define_process_env();init_shim();function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}var arrayPush_default=arrayPush;init_define_process_env();init_shim();init_define_process_env();init_shim();function stackClear(){this.__data__=new ListCache_default,this.size=0}var stackClear_default=stackClear;init_define_process_env();init_shim();function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}var stackDelete_default=stackDelete;init_define_process_env();init_shim();function stackGet(key){return this.__data__.get(key)}var stackGet_default=stackGet;init_define_process_env();init_shim();function stackHas(key){return this.__data__.has(key)}var stackHas_default=stackHas;init_define_process_env();init_shim();var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache_default){var pairs=data.__data__;if(!Map_default||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache_default(pairs)}return data.set(key,value),this.size=data.size,this}var stackSet_default=stackSet;function Stack(entries){var data=this.__data__=new ListCache_default(entries);this.size=data.size}Stack.prototype.clear=stackClear_default;Stack.prototype.delete=stackDelete_default;Stack.prototype.get=stackGet_default;Stack.prototype.has=stackHas_default;Stack.prototype.set=stackSet_default;var Stack_default=Stack;init_define_process_env();init_shim();init_define_process_env();init_shim();function arrayFilter(array,predicate){for(var index=-1,length=array==null?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}var arrayFilter_default=arrayFilter;init_define_process_env();init_shim();function stubArray(){return[]}var stubArray_default=stubArray;var objectProto10=Object.prototype,propertyIsEnumerable2=objectProto10.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return object==null?[]:(object=Object(object),arrayFilter_default(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable2.call(object,symbol)}))}:stubArray_default,getSymbols_default=getSymbols;init_define_process_env();init_shim();init_define_process_env();init_shim();function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray_default(object)?result:arrayPush_default(result,symbolsFunc(object))}var baseGetAllKeys_default=baseGetAllKeys;function getAllKeys(object){return baseGetAllKeys_default(object,keys_default,getSymbols_default)}var getAllKeys_default=getAllKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();var DataView=getNative_default(root_default,"DataView"),DataView_default=DataView;init_define_process_env();init_shim();var Promise2=getNative_default(root_default,"Promise"),Promise_default=Promise2;init_define_process_env();init_shim();var Set=getNative_default(root_default,"Set"),Set_default=Set;var mapTag2="[object Map]",objectTag2="[object Object]",promiseTag="[object Promise]",
vendor: 8,293 bytes, line 175
175setTag2="[object Set]",weakMapTag2="[object WeakMap]",dataViewTag2="[object DataView]",dataViewCtorString=toSource_default(DataView_default),mapCtorString=toSource_default(Map_default),promiseCtorString=toSource_default(Promise_default),setCtorString=toSource_default(Set_default),weakMapCtorString=toSource_default(WeakMap_default),getTag=baseGetTag_default;(DataView_default&&getTag(new DataView_default(new ArrayBuffer(1)))!=dataViewTag2||Map_default&&getTag(new Map_default)!=mapTag2||Promise_default&&getTag(Promise_default.resolve())!=promiseTag||Set_default&&getTag(new Set_default)!=setTag2||WeakMap_default&&getTag(new WeakMap_default)!=weakMapTag2)&&(getTag=function(value){var result=baseGetTag_default(value),Ctor=result==objectTag2?value.constructor:void 0,ctorString=Ctor?toSource_default(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag2;case mapCtorString:return mapTag2;case promiseCtorString:return promiseTag;case setCtorString:return setTag2;case weakMapCtorString:return weakMapTag2}return result});var getTag_default=getTag;init_define_process_env();init_shim();var Uint8Array2=root_default.Uint8Array,Uint8Array_default=Uint8Array2;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED3),this}var setCacheAdd_default=setCacheAdd;init_define_process_env();init_shim();function setCacheHas(value){return this.__data__.has(value)}var setCacheHas_default=setCacheHas;function SetCache(values){var index=-1,length=values==null?0:values.length;for(this.__data__=new MapCache_default;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd_default;SetCache.prototype.has=setCacheHas_default;var SetCache_default=SetCache;init_define_process_env();init_shim();function arraySome(array,predicate){for(var index=-1,length=array==null?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}var arraySome_default=arraySome;init_define_process_env();init_shim();function cacheHas(cache,key){return cache.has(key)}var cacheHas_default=cacheHas;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache_default:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome_default(other,function(othValue2,othIndex){if(!cacheHas_default(seen,othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}var equalArrays_default=equalArrays;init_define_process_env();init_shim();init_define_process_env();init_shim();function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}var mapToArray_default=mapToArray;init_define_process_env();init_shim();function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var setToArray_default=setToArray;var COMPARE_PARTIAL_FLAG2=1,COMPARE_UNORDERED_FLAG2=2,boolTag2="[object Boolean]",dateTag2="[object Date]",errorTag2="[object Error]",mapTag3="[object Map]",numberTag2="[object Number]",regexpTag2="[object RegExp]",setTag3="[object Set]",stringTag2="[object String]",symbolTag="[object Symbol]",arrayBufferTag2="[object ArrayBuffer]",dataViewTag3="[object DataView]",symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag3:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag2:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array_default(object),new Uint8Array_default(other)));case boolTag2:case dateTag2:case numberTag2:return eq_default(+object,+other);case errorTag2:return object.name==other.name&&object.message==other.message;case regexpTag2:case stringTag2:return object==other+"";case mapTag3:var convert=mapToArray_default;case setTag3:var isPartial=bitmask&COMPARE_PARTIAL_FLAG2;if(convert||(convert=setToArray_default),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG2,stack.set(object,other);var result=equalArrays_default(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}var equalByTag_default=equalByTag;init_define_process_env();init_shim();var COMPARE_PARTIAL_FLAG3=1,objectProto11=Object.prototype,hasOwnProperty8=objectProto11.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG3,objProps=getAllKeys_default(object),objLength=objProps.length,othProps=getAllKeys_default(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty8.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}var equalObjects_default=equalObjects;var COMPARE_PARTIAL_FLAG4=1,argsTag3="[object Arguments]",arrayTag2="[object Array]",objectTag3="[object Object]",objectProto12=Object.prototype,hasOwnProperty9=objectProto12.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray_default(object),othIsArr=isArray_default(other),objTag=objIsArr?arrayTag2:getTag_default(object),othTag=othIsArr?arrayTag2:getTag_default(other);objTag=objTag==argsTag3?objectTag3:objTag,othTag=othTag==argsTag3?objectTag3:othTag;var objIsObj=objTag==objectTag3,othIsObj=othTag==objectTag3,isSameTag=objTag==othTag;if(isSameTag&&isBuffer_default(object)){if(!isBuffer_default(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack_default),objIsArr||isTypedArray_default(object)?equalArrays_default(object,other,bitmask,customizer,equalFunc,stack):equalByTag_default(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG4)){var objIsWrapped=objIsObj&&hasOwnProperty9.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty9.call(other,"__wrapped__");
175if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack_default),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return isSameTag?(stack||(stack=new Stack_default),equalObjects_default(object,other,bitmask,customizer,equalFunc,stack)):!1}var baseIsEqualDeep_default=baseIsEqualDeep;function baseIsEqual(value,other,bitmask,customizer,stack){return value===other?!0:value==null||other==null||!isObjectLike_default(value)&&!isObjectLike_default(other)?value!==value&&other!==other:baseIsEqualDeep_default(value,other,bitmask,customizer,baseIsEqual,stack)}var baseIsEqual_default=baseIsEqual;init_define_process_env();init_shim();function isEqual(value,other){return baseIsEqual_default(value,other)}var isEqual_default=isEqual;init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var incremental=safe_require.safe_require("./u/shared/incremental"),external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),plugin_consts=safe_require.safe_require("./constants/plugin"),local_storage=safe_require.safe_require("./constants/local_storage_keys"),{PUBLIC_ONLY}=safe_require.safe_require("./constants/apiconnectorbase"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),{WORKOS_AUTH_URL}=safe_require.safe_require("./constants/auth"),logger=safe_require.safe_require("./logger"),Lib=safe_require.safe_require("./lib"),apiconnectorbase=safe_require.safe_require("./apiconnectorbase"),apiconnector_editor,ContextMenu;u.is_edit_mode()&&(apiconnector_editor=safe_require.safe_require("./editor_plugin/apiconnector_editor"),ContextMenu=safe_require.safe_require("./editor/contextmenu"));var API_CONNECTOR_BASE="apiconnector2";function get_path(api_id,call_id,field_name,field_id,key_name){if(api_id==null){logger.error("API connector issue, calling apiconnector2 with an empty call_id");return}let path=API_CONNECTOR_BASE+"."+api_id;return call_id&&(path+=".calls."+call_id),field_name&&(path+="."+field_name,field_id&&(path+="."+field_id,key_name&&(path+="."+key_name))),path}var get_all_apis_editor=u.autorun_cache({fn:()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis},compare_fn:isEqual_default}),get_all_apis_runmode=function(){return u.autorun_cache(()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis})("apiconnector2")},get_all_apis=Lib()?.is_edit_mode()?get_all_apis_editor:get_all_apis_runmode,API_CONNECTOR_FIELD_PREFIX="_api_c2_",BASE_SETTING_NAMES=["human","auth","shared_params","shared_headers","token_param_name","add_to_header","header_key","username","password","private_key","private_key_test","iss","scope","generate_token_from_code_uri","cert_file","key_file","token_endpoint","scope","authentication_url","generate_token_from_code_uri","auth_url_params","add_basic_authentication","token_data_type","add_offline","server_redirect","oauth_user_data_call","id_path","email_path"];function get_settings_json_for_api(api_id){let public_settings=read_json_keys_at_path(`settings.client_safe.apiconnector2.${api_id}`,BASE_SETTING_NAMES),private_settings=read_json_keys_at_path(`settings.secure.apiconnector2.${api_id}`,BASE_SETTING_NAMES);return u.deep_copy({},private_settings,public_settings)}function get_api(api_id){let pub=appquery.get_public_setting(get_path(api_id))??{},pvt=appquery.get_private_setting(get_path(api_id))??{},api=u.deep_copy({},pvt,pub);for(let call_id in api.calls){let call=api.calls[call_id];for(let thing of["types","data_container"])call[thing]&&(call[thing]=u.json_parse(call[thing]))}return api}
175function multi_read_json(paths){return paths.forEach(path=>appquery.app().json.pre_cache(path)),paths.map(path=>appquery.app().json.child_by_path(path).raw())}function read_json_keys_at_path(path,keys2){keys2.forEach(key=>appquery.app().json.pre_cache(`${path}.${key}`));let values=keys2.map(key=>appquery.app().json.child_by_path(`${path}.${key}`).raw());return keys2.reduce((obj,key,index)=>(obj[key]=values[index],obj),{})}function get_single_call_raw(api_id,call_id){let[pub,pvt,api_human]=multi_read_json([`settings.client_safe.${get_path(api_id,call_id)}`,`settings.secure.${get_path(api_id,call_id)}`,`settings.client_safe.${get_path(api_id)}.human`]);return pub=pub??{},pvt=pvt??{},{...u.deep_copy({},pub,pvt),types:incremental.incremental_json_parse(pub.types??null),data_container:incremental.incremental_json_parse(pub.types??null),api_id,api_human}}function get_oauth_call_data_raw(api_id){let[oauth_user_data_call,email_path,id_path,human]=multi_read_json([`settings.client_safe.${get_path(api_id)}.oauth_user_data_call`,`settings.client_safe.${get_path(api_id)}.email_path`,`settings.client_safe.${get_path(api_id)}.id_path`,`settings.client_safe.${get_path(api_id)}.human`]);return{human,email_path,id_path,oauth_user_data_call}}var APIConnectorPrivateKey=class extends apiconnectorbase.APIConnectorBasePrivateKey{_get_api(){return get_api(this.params.call_id)}},APIConnectorBasicAuth=class extends apiconnectorbase.APIConnectorBasicAuth{_get_api(){return get_api(this.params.call_id)}},APIConnectorJWT=class extends apiconnectorbase.APIConnectorBaseJWT{_get_api(){return get_api(this.params.call_id)}},APIConnectorSSLProtocol=class extends apiconnectorbase.APIConnectorBaseSSLProtocol{_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2PWFlow=class extends apiconnectorbase.APIConnectorBaseOauth2PWFlow{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2Custom=class extends apiconnectorbase.APIConnectorBaseOauth2Custom{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2=class extends apiconnectorbase.APIConnectorBaseOauth2{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.api_id}human_name(){return get_api(this.params.api_id).human}_get_api(){return get_api(this.params.api_id)}get_key(name){return name==="server_redirect"?this.get_property("server_redirect"):super.get_key(name)}login(context,action,oauth_token,cb){return!this.tested()&&Lib().workflow.debugger==null&&cb(new u.OwnerError("Oauth2 API not tested",{display:"API Connector error: the Oauth2 API "+this.human_name()+" is not tested yet. Please run in with the debugger to validate your settings."})),(this.get_property("authentication_url")==null||this.get_property("generate_token_from_code_uri")==null)&&cb(new u.OwnerError("Oauth2 API missing information",{display:"API Connector error: the Oauth2 API "+this.human_name()+" has some missing informations. please check"})),super.login(context,action,oauth_token)}get_oauth_user_data(login_data){try{return super.get_oauth_user_data(login_data)}catch(e){delete e.stack;let inner_message=`${e.message?.replace(this.service().plugin_name+" error:","")??JSON.stringify(e??{})} ${e.display?.()??""}`;throw new u.OwnerError("Oauth2 not configured properly",{display:`${this.service().plugin_name} error: the Oauth2 API ${this.human_name()} is not configured properly - ${inner_message}`})}}},WORKOS_SESSION_LENGTH=60*60*4,WorkOSAuth=class extends APIConnectorOauth2{generate_validity_object(user_info){return{access_token:user_info.access_token,refresh_token:user_info.refresh_token,access_token_expires_in:WORKOS_SESSION_LENGTH}}},cls=class extends apiconnectorbase.BaseAPIConnector{constructor(params){super(),this.params=params,this.plugin_name="API Connector",this.BASE=API_CONNECTOR_BASE,this.key_prefix=API_CONNECTOR_FIELD_PREFIX}get_all_apis(){return get_all_apis()}
175get_single_call_raw(api_id,call_id){return get_single_call_raw(api_id,call_id)}get_oauth_call_data_raw(api_id){return get_oauth_call_data_raw(api_id)}user_calls(){let res=[];for(let api_id of get_api_list())appquery.get_public_setting(`${get_path(api_id)}.auth`)==="oauth2_user"&&res.push(`${api_id}_oauth_user_data_call`);return res}authenticator(id){if(!id)return new external.NoAuth;let api_data=get_settings_json_for_api(id),auth,auth_params;return[null,void 0,"none"].includes(api_data.auth)&&(auth=new external.NoAuth),["private_key_url","private_key_header"].includes(api_data.auth)&&(auth_params=apiconnectorbase.get_private_key_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorPrivateKey(auth_params)),api_data.auth==="cert_key"&&(auth=new APIConnectorSSLProtocol({call_id:id})),api_data.auth==="basic_auth"&&(auth=new APIConnectorBasicAuth({call_id:id,username:api_data.username,password:api_data.password})),api_data.auth==="oauth2_pw"&&(auth_params=apiconnectorbase.get_oauth2_pw_auth_params(api_data),u.extend(auth_params,{call_id:id,username:api_data.username,password:api_data.password}),auth=new APIConnectorOauth2PWFlow(auth_params)),api_data.auth==="oauth2_custom"&&(auth=new APIConnectorOauth2Custom({call_id:id})),api_data.auth==="oauth2_user"&&(auth_params=apiconnectorbase.get_oauth2_user_auth_params(api_data),u.extend(auth_params,{api_id:id,_id:API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+id}),auth_params.authentication_url?.startsWith(WORKOS_AUTH_URL)?auth=new WorkOSAuth(auth_params):auth=new APIConnectorOauth2(auth_params)),api_data.auth==="jwt"&&(auth_params=apiconnectorbase.get_jwt_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorJWT(auth_params)),auth._service=this,auth._display="API - "+api_data.human,auth.add_shared_params_and_headers=req=>apiconnectorbase.add_shared_params_and_headers(api_data,req,this.plugin_name,(header_id,header)=>header.value,(param_id,param)=>param.value),auth}},plugin_registry=safe_require.safe_require("./services/shared/plugin_registry"),apiconnector2={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.apiconnector2=apiconnector2);plugin_registry.register_plugin(known_plugins_consts.API_CONNECTOR,apiconnector2);})();
176/*! Bundled license information:
177
178buffer/index.js:
179  (*!
180   * The buffer module from node.js, for the browser.
181   *
182   * @author   Feross Aboukhadijeh <https://feross.org>
183   * @license  MIT
184   *)
185
186lodash-es/lodash.js:
187  (**
188   * @license
189   * Lodash (Custom Build) <https://lodash.com/>
190   * Build: `lodash modularize exports="es" -o ./`
191   * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
192   * Released under MIT license <https://lodash.com/license>
193   * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
194   * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
195   *)
196*/
197
198}
199
200
201window.preloaded['plugin/first_party:apiconnector2'] = true;
202window._bubble_page_load_data.hardcoded_plugins['materialicons'] = true;
203window.__code__ = window.__code__ || {};
204if(!window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']){window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']=1;
205
206"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 28,466 bytes, line 206
206+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 206
206)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 206
206if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
206var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var u,base_safe_require,legacy_keys,safe_require,init_window_register=__esm({"lib-browser/window_register.js"(){"use strict";init_define_process_env();init_shim();u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register}}});var materialicons_Materialicon_exports={};__export(materialicons_Materialicon_exports,{additional_data:()=>additional_data,initialize:()=>initialize,property_applications:()=>property_applications_internal});function initialize(instance){return services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),instance.wait_for_visible_lite(()=>{let canvas=instance.get_canvas();return property_applications.patch_user_agent_styles(canvas),canvas.addClass("inner-element bubble-element material-icons"),element_eval.on_property_change(instance,"icon",icon=>{icon.includes(".outline")?(canvas.removeClass("material-icons"),canvas.addClass("material-icons-outline")):(canvas.removeClass("material-icons-outline"),canvas.addClass("material-icons")),canvas.text(icon.replace(".outline",""))}),element_eval.on_property_change(instance,"icon_color",icon_color=>canvas.css("color",icon_color)),icons_legacy.calculate_font_size_for_fontawesome(instance)})}var services,property_applications,icons_legacy,element_eval,PLUGIN_FILE,property_applications_internal,additional_data,init_materialicons_Materialicon=__esm({"lib-browser/optional/services/legacy/responsive_v0/materialicons_Materialicon.js"(){"use strict";init_define_process_env();init_shim();init_window_register();services=safe_require.safe_require("./services"),property_applications=safe_require.safe_require("./core/property_applications"),icons_legacy=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/shared/icons"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),PLUGIN_FILE="materialicons",property_applications_internal=[new property_applications.MinWidth];additional_data={notify_width(instance,width){return instance.state("notify_width",width)}}}});init_define_process_env();init_shim();init_window_register();var element_eval2=safe_require.safe_require("./lang/evaluation/element_eval"),external=safe_require.safe_require("./external"),services2=safe_require.safe_require("./services"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),property_applications2=safe_require.safe_require("./core/property_applications"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),icons=safe_require.safe_require("./core/core_elements/shared/icons"),{MATERIAL_ICONS}
206=safe_require.safe_require("./constants/plugin"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("materialicons-Materialicon",(init_materialicons_Materialicon(),__toCommonJS(materialicons_Materialicon_exports)));var core_elements_fields,shared_field_metadata,goToElementEvent;u.is_edit_mode()&&!u.is_plugin_edit_mode()&&({goToElementEvent}=safe_require.safe_require("./editor/workflow_tab/logic/events"));u.uses_field_metadata()&&(core_elements_fields=safe_require.safe_require("./core/core_elements_fields"),core_elements_fields=core_elements_fields.default??core_elements_fields,shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var PLUGIN_FILE2="materialicons";function plugin_version(){return Lib()?appquery.get_public_setting("materialicons_installed_version")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("materialicons_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{Materialicon:{display:"Material Icon",category:"visual elements",icon:"ion-social-google",condition(root){return!root?.is_mobile?.()},defaults:{font_alignment:"center",background_style:"none",border_style:"none",border_roundness:4,border_width:2,border_color:"#6B6B6B",boxshadow_style:"none",width:80,height:80},field_names:u.extend({icon:{default:"insert_emoticon"},icon_color:{default:"#373737",in_style:!0}},element_workflows.start_workflow_field_names),property_applications:[new property_applications2.Dimensions,new property_applications2.FontShadow,new property_applications2.Border,new property_applications2.BoxShadow,new property_applications2.Background,new property_applications2.ToolTip,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<button></button>"},get_min_width(element){return 0},transition_properties:{icon_color:"color"},change_cursor_style_if_clickable:!0,initialize(instance){return services2.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE2}),instance.wait_for_visible_lite(()=>{let canvas=instance.get_canvas();property_applications2.patch_user_agent_styles(canvas),$(document).ready(()=>{instance.autorun(()=>{canvas.empty();let icon=element_eval2.evaluate_property(instance,"icon"),icon_name=icon;icon?.includes(".outline")?(icon_name=icon.replace(".outline",""),canvas.append(icons.get_svg_canvas("material-icons-outline",icon_name,icons.ICON_SIZE/2,-icons.ICON_SIZE/2,"start"))):canvas.append(icons.get_svg_canvas("material-icons",icon_name,icons.ICON_SIZE/2,-icons.ICON_SIZE/2,"start")),element_eval2.evaluate_property(instance,"button_disabled")&&canvas.attr("tabindex","-1")})}),element_eval2.on_property_change(instance,"icon_color",icon_color=>canvas.css("color",icon_color))})},is_input:!1,contains_group_data:!1,events:["ButtonClicked","ElementPressed"],add_an_invisible_div_on_the_top:!1,css_files:["css/optional/material-icons.css"]}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},materialicons={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.materialicons=materialicons);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("materialicons",materialicons);})();
207/*! Bundled license information:
208
209buffer/index.js:
210  (*!
211   * The buffer module from node.js, for the browser.
212   *
213   * @author   Feross Aboukhadijeh <https://feross.org>
214   * @license  MIT
215   *)
216*/
217
218}
219
220
221window.preloaded['plugin/first_party:materialicons'] = true;
222window._bubble_page_load_data.hardcoded_plugins['apple'] = true;
223window.__code__ = window.__code__ || {};
224if(!window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']){window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']=1;
225
226"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exp
vendor: 5,823 bytes, line 226
226orts:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,595 bytes, line 226
226K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).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!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 226
226)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 226
226if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
226var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),AUTH_URL="https://appleid.apple.com/auth/authorize",AppleAuthenticator=class extends external.Oauth2{native_login(native_bridge,authentication_url,api_data,options){return typeof native_bridge?.appleNativeLogin!="function"?Promise.resolve(null):native_bridge.appleNativeLogin(authentication_url,api_data,options)}get_oauth_user_data(login_data){}get_public_key(){return appquery.get_private_setting("mobile.apple.service_id")}get_secret_key(){return null}use_server_side_redirect(){return!0}get_data_for_login(data){let login_data=super.get_data_for_login(data);return data?.user!=null&&(login_data.user=data.user),login_data}
226is_still_valid(){return!0}generate_validity_object(){return{}}},cls=class extends external.Service{constructor(){super(),this.authenticator=new AppleAuthenticator({scope:"name email",response_mode:"form_post",authentication_url:AUTH_URL})}get oauth_providers(){return["apple"]}display(){return"Apple"}},apple={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.apple=apple);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("apple",apple);})();
227/*! Bundled license information:
228
229buffer/index.js:
230  (*!
231   * The buffer module from node.js, for the browser.
232   *
233   * @author   Feross Aboukhadijeh <https://feross.org>
234   * @license  MIT
235   *)
236*/
237
238}
239
240
241window.preloaded['plugin/first_party:apple'] = true;
242window.plugins = window.plugins || {};
243window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {};
244window.plugins["1488796042609x768734193128308700"] = {"human":"Toolbox","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"List of Numbers","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Start number","name":"number_start","editor":"DynamicValue","value":"number","rank":2},"AAF":{"caption":"Length of list","name":"list_length","editor":"DynamicValue","value":"number","is_list":false,"rank":3},"AAG":{"caption":"Increment","name":"increment","editor":"DynamicValue","value":"number","rank":4},"ABS":{"caption":"List of Numbers.","name":"doctitle","rank":0,"editor":"Label"},"ABT":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"states":{"AAD":{"caption":"list","name":"list","value":"number","is_list":true,"initialization_code":{"fn":"function(n,t){}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(t,n,e){n.number_start,n.list_length,n.increment;var l=[];if(null!==n.number_start&&null!==n.list_length&&null!==n.increment)for(var r=n.number_start,u=0;u<n.list_length;u++)l.push(r),r+=n.increment;t.publishState(\"list\",l)}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75) + \"px\";\n  div.textContent = \"1 2 3 ...\";\n  instance.canvas.append(div);\n}"}},"platform_type":"web"},"AAI":{"display":"Expression","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAJ":{"caption":"Expression","name":"expression","editor":"DynamicValue","value":"text","rank":2,"optional":true},"AAL":{"caption":"Result type","name":"result_type","editor":"custom_type","rank":3},"AAM":{"caption":"Result is a list","name":"result_is_list","editor":"Checkbox","default_val":false,"rank":4},"ABU":{"caption":"Expression. Evaluates with javascript.","name":"doctitle","rank":0,"editor":"Label"},"ABV":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"states":{"AAN":{"caption":"value","name":"value","value":"custom_data_AAL","initialization_code":{"fn":"function(n,t){}"}},"AAO":{"caption":"value list","name":"value_list","value":"custom_data_AAL","is_list":true,"initialization_code":{"fn":"function(n,t){}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(instance,properties,context){var result;properties.expression,properties.result_type,properties.result_is_list,result=null!=properties.expression?eval(properties.expression):null,properties.result_is_list?instance.publishState(\"value_list\",result):instance.publishState(\"value\",result)}","add_debugger":false},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75
244) + \"px\";\n  div.textContent = \"Expression\";\n  instance.canvas.append(div);\n}"}},"platform_type":"web"},"AAP":{"display":"Javascript to Bubble","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAQ":{"caption":"bubble_fn_suffix","name":"fn_name_suffix","editor":"DynamicValue","value":"text","rank":2},"AAR":{"caption":"Trigger event","name":"trigger_event","editor":"Checkbox","default_val":false,"rank":3},"AAS":{"caption":"Publish value","name":"publish_value","editor":"Checkbox","default_val":false,"rank":4},"AAT":{"caption":"Value type","name":"value_type","editor":"custom_type","optional":true,"rank":8},"AAU":{"caption":"Value is a list","name":"value_is_list","editor":"Checkbox","default_val":false,"rank":9},"ABN":{"caption":"Queue","name":"queue","rank":5,"editor":"Checkbox","default_val":false},"ABW":{"caption":"Javascript to Bubble. Brings a value and event to Bubble.","name":"doctitle","rank":0,"editor":"Label"},"ABX":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"},"ABx":{"caption":"------------ Outputs -------------","name":"docoutputs","rank":6,"editor":"Label"},"ABy":{"caption":"Multiple Outputs","name":"multipleoutputs","rank":7,"editor":"Checkbox","default_val":false},"ABz":{"caption":"output1 type","name":"output1type","rank":10,"editor":"custom_type","optional":true},"ACA":{"caption":"output2 type","name":"output2type","rank":11,"editor":"custom_type","optional":true},"ACC":{"caption":"output3 type","name":"output3type","rank":12,"editor":"custom_type","optional":true},"ACD":{"caption":"output4 type","name":"output4type","rank":13,"editor":"custom_type","optional":true},"ACE":{"caption":"outputlist1 type","name":"outputlist1type","rank":14,"editor":"custom_type","optional":true},"ACF":{"caption":"outputlist2 type","name":"outputlist2type","rank":15,"editor":"custom_type","optional":true},"ACG":{"caption":"outputlist3 type","name":"outputlist3type","rank":16,"editor":"custom_type","optional":true},"ACH":{"caption":"outputlist4 type","name":"outputlist4type","rank":17,"editor":"custom_type","optional":true}},"states":{"AAV":{"caption":"value","name":"value","value":"custom_data_AAT","initialization_code":{"fn":"function(n,t){}"}},"AAW":{"caption":"value list","name":"value_list","value":"custom_data_AAT","is_list":true,"initialization_code":{"fn":"function(n,t){}"}},"ACI":{"caption":"output1","name":"output1","value":"custom_data_ABz","initialization_code":{"fn":"function(n,t){}"}},"ACJ":{"caption":"output2","name":"output2","value":"custom_data_ACA","initialization_code":{"fn":"function(n,t){}"}},"ACK":{"caption":"output3","name":"output3","value":"custom_data_ACC","initialization_code":{"fn":"function(n,t){}"}},"ACL":{"caption":"output4","name":"output4","value":"custom_data_ACD","initialization_code":{"fn":"function(n,t){}"}},"ACM":{"caption":"outputlist1","name":"outputlist1","value":"custom_data_ACE","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACN":{"caption":"outputlist2","name":"outputlist2","value":"custom_data_ACF","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACO":{"caption":"outputlist3","name":"outputlist3","value":"custom_data_ACG","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACP":{"caption":"outputlist4","name":"outputlist4","value":"custom_data_ACH","initialization_code":{"fn":"function(n,t){}"},"is_list":true}},"events":{"AAX":{"caption":"event","name":"event"}},"actions":{"ABL":{"caption":"Dequeue","code":{"fn":"function(u,e,n){u.data.fn_dequeue()}"}},"ABM":{"caption":"ClearQueue","code":{"fn":"function(u,e,n){u.data.fn_clearqueue()}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(t,u,e){var l=u.fn_name_suffix,a=u.trigger_event,i=u.publish_value,p=u.value_is_list,s=u.queue,n=u.multipleoutputs,h;(t.data.queue=[],t.data.fn_clearvalues=function(){i&&(t.publishState(\"value_list\",[]),t.publishState(\"value\",null),t.publishState(\"output1\",null),t.publishState(\"output2\",null),t.publishState(\"output3\",null),t.publishState(\"output4\",null),t.publishState(\"outputlist1\",[]),t.publishState(\"outputlist2\",[]),t.publishState(\"outputlist3\",[]),t.publishState(\"outputlist4\",[]))},t.data.fn_publish=function(u){i&&(n?(t.publishState(\"value\",u?.value),t.publishState(\"value_list\",u?.value_list),t.publishState(\"output1\",u?.output1),t.publishState(\"output2\",u?.output2),t.publishState(\"output3\",u?.output3),t.publishState(\"output4\",u?.output4),t.publishState(\"outputlist1\",u?.outputlist1),t.publishState(\"outputlist2\",u?.outputlist2),t.publishState(\"outputlist3\",u?.outputlist3),t.publishState(\"outputlist4\",u?.outputlist4)):p?t.publishState(\"value_list\",u):t.publishState(\"value\",u))},l)&&(window[\"bubble_fn_\"+l]=function(u){s&&0!=t.data.queue.length||i&&t.data.fn_publish(u),s&&(i?t.data.queue.push(u):t.data.queue.push(null)),a&&t.data.queue.length<2&&t.triggerEvent(\"event\")});t.data.fn_dequeue=function(){if(t.data.queue.shift(),s&&t.data.queue.length>0){if(i){var u=t.data.queue[0];t.data.fn_publish(u)}a&&t.triggerEvent(\"event\")}s&&0==t.data.queue.length&&i&&t.data.fn_clearvalues()},t.data.fn_clearqueue=function(){t.data.queue=[],s&&t.data.fn_clearvalues()}}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75
244) + \"px\";\n  div.textContent = \"JS2Bubble\";\n  instance.canvas.append(div);\n}"}},"platform_type":"web"},"AAY":{"display":"List Item Expression","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAZ":{"caption":"Source item type","name":"sourcetype","editor":"custom_type","rank":2},"AAa":{"caption":"Data source (list)","name":"sourcelist","editor":"DynamicValue","optional":true,"value":"custom_data_AAZ","is_list":true,"rank":3},"AAb":{"caption":"Item expression","name":"itemexpression","editor":"DynamicValue","value":"text","default_val":"","rank":5,"optional":true},"AAc":{"caption":"Result type","name":"resultlisttype","editor":"custom_type","rank":6},"AAl":{"caption":"Lookup values with value() or field(\"field_name\") or field(\"other_data_type\", \"field_name\"). Alternatively, use chained functions item() and lookup() ...  item().lookup(\"Product\").lookup(\"Name\")","name":"infoexpression","rank":4,"editor":"Label"},"ABY":{"caption":"List Item Expression. Evaluates for each list item to make a new list.","name":"doctitle","rank":0,"editor":"Label"},"ABZ":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"states":{"AAd":{"caption":"list","name":"resultlist","value":"custom_data_AAc","is_list":true,"initialization_code":{"fn":"function(n,t){}"}}},"actions":{"AAe":{"caption":"Set data source","code":{"fn":"function(e,t,i){var l={result:[],len:0};if(t.sourcelist&&t.sourcelist.length&&(l.len=t.sourcelist.length()),l.len>0)for(l.i=0;l.i<l.len;l.i++)if(l.listRetrieved=t.sourcelist.get(l.i,1),e.data.item=l.listRetrieved[0],void 0!==typeof e.data.item)try{l.result.push(window.toolboxEval({value:e.data.value,field:e.data.field,item:e.data.createItem,lookup:e.data.lookup,expression:e.data.itemexpression}))}catch(e){throw\"not ready\"!==e.message&&console.error(e),e}e.publishState(\"resultlist\",l.result)}"},"fields":{"AAf":{"caption":"Data source (list)","name":"sourcelist","editor":"DynamicValue","value":"custom_data_element_AAZ","is_list":true,"optional":true,"rank":0}}}},"code":{"initialize":{"fn":"function(e,t){e.data.value=function(){return void 0===typeof e.data.item||null==e.data.item||e.data.item.listProperties?null:e.data.item},e.data.field=function(){if(e.data.item&&e.data.item.listProperties){for(var t=e.data.item,r=e.data.sourcetype,a=0;a<arguments.length;a++){var n=arguments[a],i=r.replace(\"custom.\",\"\");app.user_types[i];var o=app.user_types[i][\"%f3\"];if(Object.keys(o).forEach((function(e){o[e][\"%d\"]==n&&(n=e,r=o[e][\"%v\"])})),null===t)break;t=t.get(n)}return t}return null},e.data.createItem=function(t,r){return{fieldType:r||e.data.sourcetype,bubbleItem:t||e.data.item,lookup:function(t){return e.data.lookup(this,t)}}},e.data.lookup=function(t,r){if(\"object\"!=typeof t||!(\"fieldType\"in t)||!(\"bubbleItem\"in t))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var a=t.bubbleItem,n=t.fieldType;if(\"object\"!=typeof a||!(\"listProperties\"in a)||!(\"get\"in a))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var i=n.replace(\"custom.\",\"\");app.user_types[i];var o=app.user_types[i][\"%f3\"],u=null;Object.keys(o).forEach((function(e){o[e][\"%d\"]==r&&(r=e,u=o[e][\"%v\"])}));var l=a.get(r),s;if(l&&\"object\"==typeof l&&\"length\"in l&&\"get\"in l){newresult=[],u=u.replace(\"list.\",\"\");for(var p=0;p<l.length();p++){var f=l.get(p,1)[0];if(\"object\"==typeof f&&\"listProperties\"in f&&\"get\"in f){var s=e.data.createItem(f,u);newresult.push(s)}else newresult.push(f)}return newresult}return l&&\"object\"==typeof l&&\"listProperties\"in l&&\"get\"in l?s=e.data.createItem(l,u):l}}"},"update":{"fn":"function(e,t,i){var s={};if(e.data.sourcetype=t.sourcetype,e.data.itemexpression=t.itemexpression,s.result=[],s.len=0,t.sourcelist&&t.sourcelist.length&&(s.len=t.sourcelist.length()),s.len>0)for(s.i=0;s.i<s.len;s.i++)if(s.listRetrieved=t.sourcelist.get(s.i,1),e.data.item=s.listRetrieved[0],void 0!==typeof e.data.item)try{s.result.push(window.toolboxEval({value:e.data.value,field:e.data.field,item:e.data.createItem,lookup:e.data.lookup,expression:e.data.itemexpression}))}catch(e){throw\"not ready\"!==e.message&&console.error(e),e}e.publishState(\"resultlist\",s.result)}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75
244) + \"px\";\n  div.textContent = \"List Item Expression\";\n  instance.canvas.append(div);\n}"}},"platform_type":"web"}},"plugin_actions":{"AAg":{"display":"Run javascript","type":"client_side","fields":{"AAh":{"caption":"Script","name":"script","editor":"DynamicValue","value":"text","rank":2},"AAi":{"caption":"Asynchronous","name":"async","editor":"Checkbox","default_val":true,"rank":3},"ABB":{"caption":"param1","name":"param1","rank":4,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABC":{"caption":"param2","name":"param2","rank":5,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABD":{"caption":"param3","name":"param3","rank":6,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABE":{"caption":"param4","name":"param4","rank":7,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABF":{"caption":"param5","name":"param5","rank":8,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABG":{"caption":"paramlist1","name":"paramlist1","rank":9,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABH":{"caption":"paramlist2","name":"paramlist2","rank":10,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABI":{"caption":"paramlist3","name":"paramlist3","rank":11,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABJ":{"caption":"paramlist4","name":"paramlist4","rank":12,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABK":{"caption":"paramlist5","name":"paramlist5","rank":13,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABQ":{"caption":"Run Javascript.","name":"doctitle","rank":0,"editor":"Label"},"ABR":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){var script=properties.script,async=properties.async,_p1=properties.param1,_p2=properties.param2,_p3=properties.param3,_p4=properties.param4,_p5=properties.param5,_pl1=properties.paramlist1,_pl2=properties.paramlist2,_pl3=properties.paramlist3,_pl4=properties.paramlist4,_pl5=properties.paramlist5;eval(\"var properties = arguments[0]; context = arguments[1];\"),async?setTimeout((function(){eval(script)}),1):eval(script)}"}}},"AAn":{"display":"Server script","type":"server_side","return_value":{"AAz":{"caption":"result","name":"result","rank":0,"value":"custom_data_AAp"},"ABA":{"caption":"result list","name":"resultlist","rank":1,"is_list":true,"value":"custom_data_AAp"},"ABg":{"caption":"output1","name":"output1","rank":2,"value":"custom_data_ABf"},"ABp":{"caption":"output2","name":"output2","rank":3,"value":"custom_data_ABh"},"ABq":{"caption":"output3","name":"output3","rank":4,"value":"custom_data_ABi"},"ABr":{"caption":"output4","name":"output4","rank":5,"value":"custom_data_ABj"},"ABs":{"caption":"outputlist1","name":"outputlist1","rank":6,"value":"custom_data_ABk","is_list":true},"ABt":{"caption":"outputlist2","name":"outputlist2","rank":7,"value":"custom_data_ABm","is_list":true},"ABu":{"caption":"outputlist3","name":"outputlist3","rank":8,"value":"custom_data_ABn","is_list":true},"ABv":{"caption":"outputlist4","name":"outputlist4","rank":9,"value":"custom_data_ABo","is_list":true}},"fields":{"AAo":{"caption":"Node script","name":"script","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Return type","name":"returntype","rank":16,"editor":"custom_type","optional":true},"AAq":{"caption":"Returns a list","name":"returnslist","rank":17,"editor":"Checkbox","default_val":false},"AAr":{"caption":"Data","name":"data","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAs":{"caption":"Keys and values","name":"keyvalues","rank":8,"editor":"key_value_list","value":"text"},"AAt":{"caption":"Thing 1","name":"thing1","rank":9,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAu":{"caption":"Thing 2","name":"thing2","rank":10,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAv":{"caption":"Thing 3","name":"thing3","rank":11,"editor":"DynamicValue","optional":true,"value":"_any_thing"},"AAw":{"caption":"Thing list 1","name":"thinglist1","rank":12,"optional":true,"editor":"DynamicValue","is_list":true,"value":"_any_thing"},"AAx":{"caption":"Thing list 2","name":"thinglist2","rank":13,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AAy":{"caption":"Thing list 3","name":"thinglist3","rank":14,"editor":"DynamicValue","optional":true,"is_list":true,"value":"_any_thing"},"ABO":{"caption":"Server Script. Runs a Node.js AWS Lambda instance.","name":"doctitle","rank":0,"editor":"Label"},"ABP":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"},"ABa":{"caption":"Script is async function","name":"scriptasfn","rank":3,"editor":"Checkbox","default_val":false},"ABb":{"caption":"Ignore errors","name":"ignore_error","rank":4,"editor":"Checkbox","default_val":false},"ABc":{"caption":"Multiple Outputs","name":"multipleoutputs","rank":18,"editor":"Checkbox","default_val":false},"ABd":{"caption":"------------ Inputs ------------","name":"docin
244puts","rank":6,"editor":"Label"},"ABe":{"caption":"------------ Outputs -------------","name":"docoutputs","rank":15,"editor":"Label"},"ABf":{"caption":"output1 type","name":"output1type","rank":19,"editor":"custom_type","optional":true},"ABh":{"caption":"output2 type","name":"output2type","rank":20,"editor":"custom_type","optional":true},"ABi":{"caption":"output3 type","name":"output3type","rank":21,"editor":"custom_type","optional":true},"ABj":{"caption":"output4 type","name":"output4type","rank":22,"editor":"custom_type","optional":true},"ABk":{"caption":"outputlist1 type","name":"outputlist1type","rank":23,"editor":"custom_type","optional":true},"ABm":{"caption":"outputlist2 type","name":"outputlist2type","rank":24,"editor":"custom_type","optional":true},"ABn":{"caption":"outputlist3 type","name":"outputlist3type","rank":25,"editor":"custom_type","optional":true},"ABo":{"caption":"outputlist4 type","name":"outputlist4type","rank":26,"editor":"custom_type","optional":true},"ABw":{"caption":"Log errors","name":"log_error","rank":5,"editor":"Checkbox","default_val":false}}}}};
245window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 19807;
246window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.2'] = true;
247window.plugins["1497473108162x748255442121523200"] = {"human":"Air Copy to clipboard","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Air copy to clipboard","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAa":{"caption":"Target element ID attribute","name":"target_id","editor":"DynamicValue","rank":2,"value":"text","optional":true},"AAb":{"caption":"Action type","name":"action_type","editor":"Dropdown","rank":3,"default_val":"copy"},"AAd":{"caption":"Trigger element ID","name":"trigger_id","rank":4,"editor":"DynamicValue","value":"text"},"AAo":{"caption":"Text to copy","name":"text","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Use ID Attribute","name":"use_id_attribute","rank":1,"editor":"Checkbox","default_val":false},"AAt":{"caption":"Copy HTML","name":"copy_html","rank":5,"editor":"Checkbox","default_val":false}},"actions":{"AAl":{"caption":"Paste from clipboard","code":{"fn":"function(instance,properties,context){function _0x236c(_0x2f94a0,_0x2b4e21){const _0x5a591a=_0x5a59();return(_0x236c=function(_0x236c9b,_0x3c02c5){let _0x1e9ff7;return _0x5a591a[_0x236c9b-=481]})(_0x2f94a0,_0x2b4e21)}function run(_0x3f1a23,_0x193f3d,_0xa7244f){const _0xba1a07=_0x236c;let _0x11c8d0=document[_0xba1a07(500)](_0x193f3d[_0xba1a07(492)]);if(!_0x11c8d0||\"INPUT\"!==_0x11c8d0[_0xba1a07(482)]&&\"TEXTAREA\"!==_0x11c8d0[_0xba1a07(482)])console[_0xba1a07(502)](_0xba1a07(496));else try{navigator[_0xba1a07(493)].readText()[_0xba1a07(484)]((_0xcbd162=>{const _0x306b81=_0xba1a07;_0x11c8d0[_0x306b81(491)]=_0xcbd162,$(_0x11c8d0)[_0x306b81(497)]()}))}catch(_0x444e37){\"function\"!=typeof navigator[_0xba1a07(493)][_0xba1a07(504)]?_0xa7244f[_0xba1a07(498)](_0xba1a07(481)):_0xa7244f[_0xba1a07(498)](_0xba1a07(483)+_0x444e37[_0xba1a07(485)])}}function _0x5a59(){const _0x2b1dc7=[\"18010XTdSCU\",\"warn\",\"255898qyppeX\",\"readText\",\"1738702sicJiu\",\"No access to clipboard. Reason: Firefox and Internet Explorer browsers do not support pasting from clipboard\",\"nodeName\",\"No access to clipboard. Reason: \",\"then\",\"message\",\"6100578bhrMOW\",\"4bPopll\",\"1064472rrFeVE\",\"8tLWhdP\",\"5720sAKPCR\",\"value\",\"elem_id\",\"clipboard\",\"1466904SPvFDy\",\"1965630txYBQg\",\"Air Copy to clipboard: paste from clipboard is allowed only in input or textarea elements.\",\"change\",\"reportDebugger\",\"6CazuFA\",\"getElementById\"];return(_0x5a59=function(){return _0x2b1dc7})()}!function(_0xa6678b,_0x46bfd9){const _0x2067e4=_0x236c,_0x361f5f=_0xa6678b();for(;;)try{const _0x3b0d58=undefined;if(444052===parseInt(_0x2067e4(499))/1*(-parseInt(_0x2067e4(503))/2)+parseInt(_0x2067e4(494))/3*(parseInt(_0x2067e4(487))/4)+parseInt(_0x2067e4(495))/5+-parseInt(_0x2067e4(488))/6+parseInt(_0x2067e4(505))/7*(
247parseInt(_0x2067e4(489))/8)+-parseInt(_0x2067e4(486))/9+parseInt(_0x2067e4(501))/10*(parseInt(_0x2067e4(490))/11))break;_0x361f5f.push(_0x361f5f.shift())}catch(_0x522c22){_0x361f5f.push(_0x361f5f.shift())}}(_0x5a59,444052),run(instance,properties,context)}"},"fields":{"AAm":{"caption":"Element ID","name":"elem_id","rank":0,"editor":"StaticText"}}},"ABH":{"caption":"Copy with links","code":{"fn":"function(instance,properties,context){function _0x5449(_0x309b2f,_0x362cae){var _0x5f99ac=_0x5f99();return(_0x5449=function(_0x5449f5,_0x563852){var _0x26b88b;return _0x5f99ac[_0x5449f5-=250]})(_0x309b2f,_0x362cae)}function _0x5f99(){var _0xad055b=[\"5104656SITInk\",\"4440636Pnvfhm\",\"77bAvimX\",\"addRange\",\"6KWCyWp\",\"4665793KnfsSe\",\"135075STcfrv\",\"919511rRqgPv\",\"copy\",\"removeAllRanges\",\"280512oFUeqo\",\"10585xoIEPO\",\"select\",\"execCommand\",\"getElementById\",\"getSelection\",\"body\",\"1084BHbGHx\",\"createTextRange\",\"selection\",\"10WmxOTA\"];return(_0x5f99=function(){return _0xad055b})()}function run(_0x210194,_0x1a1068,_0x2e12f9){var _0x125077=_0x5449;if(document[_0x125077(264)]){var _0x390014=document[_0x125077(261)][_0x125077(263)]();_0x390014.moveToElementText(document[_0x125077(259)](_0x1a1068.element_id)),_0x390014[_0x125077(257)]().createTextRange(),document.execCommand(\"copy\")}else window[_0x125077(260)]&&setTimeout((()=>{var _0x4f7da1=_0x125077,_0xc36501=document.createRange();_0xc36501.selectNode(document[_0x4f7da1(259)](_0x1a1068.element_id)),window.getSelection()[_0x4f7da1(254)](_0xc36501),window[_0x4f7da1(260)]()[_0x4f7da1(269)](_0xc36501),document[_0x4f7da1(258)](_0x4f7da1(253))}),50)}!function(_0x43878a,_0x5f663){for(var _0x2022c5=_0x5449,_0x2e3abd=_0x43878a();;)try{var _0xbd3cc1;if(461054===parseInt(_0x2022c5(252))/1+-parseInt(_0x2022c5(270))/2*(-parseInt(_0x2022c5(251))/3)+parseInt(_0x2022c5(262))/4*(parseInt(_0x2022c5(256))/5)+-parseInt(_0x2022c5(266))/6+-parseInt(_0x2022c5(268))/7*(parseInt(_0x2022c5(255))/8)+parseInt(_0x2022c5(267))/9*(parseInt(_0x2022c5(265))/10)+-parseInt(_0x2022c5(250))/11)break;_0x2e3abd.push(_0x2e3abd.shift())}catch(_0x429f67){_0x2e3abd.push(_0x2e3abd.shift())}}(_0x5f99,461054),run(instance,properties,context)}"},"fields":{"ABI":{"caption":"element_id","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){function _0x296e(){const _0x12f7d5=[\"copy_html\",\"value\",\"9054696vzBXOt\",\"nodeName\",\"writeText\",\"trigger_id\",\"912061ZOPPnf\",\"text\",\"action_type\",\"2527226rqsHff\",\"click\",\"3209180HZsbqi\",\"cut\",\"warn\",\"getElementById\",\"8AyRsHL\",\"target_id\",\"INPUT\",\"innerHTML\",\"9749719tCexnK\",\"1699956oHWZOM\",\"4496212rtVsCl\",\"Air Copy to clipboard: Can't cut from static element\",\"use_id_attribute\",\"then\"];return(_0x296e=function(){return _0x12f7d5})()}function _0x245c(_0x3c3ad9,_0x21983c){const _0x296eda=_0x296e();return(_0x245c=function(_0x245c1a,_0x4cbcc0){let _0x3b7d67;return _0x296eda[_0x245c1a-=434]})(_0x3c3ad9,_0x21983c)}function update(_0xa5ea87,_0x46bab4,_0x16259b){const _0x3941de=_0x245c;var _0x4a02c6=_0x46bab4[_0x3941de(444)],_0x150c03=_0x46bab4[_0x3941de(458)];$(document).ready((function(){const _0x474efc=_0x3941de;$(\"#\"+_0x150c03).on(_0x474efc(438),(function(){const _0x87a4da=_0x474efc;let _0xdf9ea5=_0x46bab4[_0x87a4da(436)];if(_0x46bab4[_0x87a4da(451)]){let _0x2864ff=document[_0x87a4da(442)](_0x4a02c6);if(_0x2864ff[_0x87a4da(456)]===_0x87a4da(445)||\"TEXTAREA\"===_0x2864ff[_0x87a4da(456)]){let _0x1e1429=_0x2864ff[_0x87a4da(454)];navigator.clipboard[_0x87a4da(457)](_0x1e1429)[_0x87a4da(452)]((_0x4716b3=>{const _0x2f249e=_0x87a4da;_0xdf9ea5===_0x2f249e(440)&&(_0x2864ff[_0x2f249e(454)]=\"\")}))}else{let _0x5a9035=_0x2864ff.innerText;_0x46bab4[_0x87a4da(453)]&&(_0x5a9035=_0x2864ff[_0x87a4da(446)]),navigator.clipboard[_0x87a4da(457)](_0x5a9035)[_0x87a4da(452)]((_0x2701bb=>{const _0x3682ad=_0x87a4da;_0xdf9ea5===_0x3682ad(440)&&console[_0x3682ad(441)](_0x3682ad(450))}))}}else{let _0x585b4e=_0x46bab4[_0x87a4da(435)];navigator.clipboard.writeText(_0x585b4e)[_0x87a4da(452)]((_0x77357e=>
247{const _0x1d9eaa=_0x87a4da;_0xdf9ea5===_0x1d9eaa(440)&&console[_0x1d9eaa(441)](_0x1d9eaa(450))}))}}))}))}!function(_0x136bc9,_0x41bff0){const _0x13567a=_0x245c,_0x89b442=_0x136bc9();for(;;)try{const _0x60005e=undefined;if(813616===parseInt(_0x13567a(434))/1+-parseInt(_0x13567a(437))/2+parseInt(_0x13567a(448))/3+parseInt(_0x13567a(449))/4+-parseInt(_0x13567a(439))/5+parseInt(_0x13567a(455))/6+parseInt(_0x13567a(447))/7*(-parseInt(_0x13567a(443))/8))break;_0x89b442.push(_0x89b442.shift())}catch(_0x31ed2c){_0x89b442.push(_0x89b442.shift())}}(_0x296e,813616),update(instance,properties,context)}"},"preview":{"fn":""}},"platform_type":"web"}},"plugin_actions":{"AAU":{"display":"Copy to clipboard from static text","type":"client_side","fields":{"AAg":{"caption":"Text to copy","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(properties,context){let divTxt=properties.element_id;navigator.clipboard.writeText(divTxt).then((r=>{console.log(\"Text copied\")}))}","add_debugger":false}}},"AAq":{"display":"Copy to clipboard from element","type":"client_side","fields":{"AAr":{"caption":"Delay ( Seconds )","name":"delay","rank":0,"editor":"StaticNumber","default_val":1},"AAs":{"caption":"Element ID","name":"element_id","rank":1,"editor":"DynamicValue","value":"text"},"AAu":{"caption":"Copy HTML","name":"copy_html","rank":2,"editor":"Checkbox","default_val":false}},"code":{"client":{"fn":"function(properties,context){let pause=1e3;function copyToClip(element_id){let element=document.getElementById(element_id);if(\"INPUT\"===element.nodeName||\"TEXTAREA\"===element.nodeName){let inpVal=element.value;navigator.clipboard.writeText(inpVal).then((r=>{console.log(\"Air Copy to clipboard: Text copied\")}))}else{let divTxt=element.innerText;properties.copy_html&&(divTxt=element.innerHTML),navigator.clipboard.writeText(divTxt).then((r=>{console.log(\"Air Copy to clipboard: Text copied\")}))}}properties.delay>1&&(pause=1e3*properties.delay),setTimeout(copyToClip,pause,properties.element_id)}"}}},"ABC":{"display":"Copy element","type":"client_side","fields":{"ABD":{"caption":"Target ID","name":"target_id","rank":0,"editor":"StaticText"},"ABE":{"caption":"This action uses deprecated method. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. ","name":"this_action_use_deprecated_method._though_some_browsers_might_still_support_it,_it_may_have_already_been_removed_from_the_relevant_web_standards,_may_be_in_the_process_of_being_dropped,_or_may_only_be_kept_for_compatibility_purposes._","rank":1,"editor":"Label"},"ABF":{"caption":"Be aware that this feature may cease to work at any time.","name":"be_aware_that_this_feature_may_cease_to_work_at_any_time.","rank":2,"editor":"Label"},"ABG":{"caption":"This action can copy the entire content of an item while preserving the formatting.","name":"this_action_can_copy_the_entire_content_of_an_item_while_preserving_the_formatting.","rank":3,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){if(document.getElementById(properties.target_id)){var element=document.getElementById(properties.target_id),range=document.createRange(),selection=window.getSelection();range.selectNodeContents(element),selection.removeAllRanges(),selection.addRange(range),document.execCommand(\"copy\"),range.collapse()}}"}}}}};
248window._bubble_page_load_data.plugins_size['1497473108162x748255442121523200'] = 10554;
249window.preloaded['plugin/third_party:1497473108162x748255442121523200:2.34.0'] = true;
250window.plugins["1531310660066x700901076712292400"] = {"human":"Reveal & Hide Password","dependencies":{"use_jquery":true},"plugin_elements":{"AAH":{"display":"Reveal","property_applications":{"MinWidth":true,"resizable":false},"add_is_visible":true,"states":{"AAS":{"caption":"Toggle visible","initialization_code":{"fn":"function(properties,context){}"},"name":"toggle","value":"boolean"}},"actions":{"AAK":{"caption":"Toggle","fields":{"AAN":{"caption":"id","editor":"DynamicValue","name":"idtoggle","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x233a(_0x83e7f8,_0x481e63){var _0x36b065=_0x36b0();return(_0x233a=function(_0x233ac0,_0x30c321){var _0x179d0c;return _0x36b065[_0x233ac0-=231]})(_0x83e7f8,_0x481e63)}function _0x36b0(){var _0x3ed4f8=[\"idtoggle\",\"6Stmxyo\",\"9551574cJxuMU\",\"1NdDvov\",\"602098PKUuYP\",\"publishState\",\"12711952MPDKww\",\"17361420xjTEFU\",\"togglePassword\",\"toggle\",\"986672XNTBqR\",\"5148025ilLDtq\",\"6RqsWtF\",\"6026727yTpNPT\"];return(_0x36b0=function(){return _0x3ed4f8})()}function run(_0x44dfbc,_0x2fd4c1,_0x5efe29){var _0x3949e7=_0x233a;\"\"==_0x2fd4c1[_0x3949e7(243)]||($(\"#\"+_0x2fd4c1[_0x3949e7(243)])[_0x3949e7(237)](),$(\"#\"+_0x2fd4c1[_0x3949e7(243)]).is(\":text\")?_0x44dfbc[_0x3949e7(234)](_0x3949e7(238),\"yes\"):_0x44dfbc[_0x3949e7(234)](_0x3949e7(238),\"no\"))}!function(_0x2d770a,_0x6475b9){for(var _0x458e8c=_0x233a,_0x5c9ade=_0x2d770a();;)try{var _0x643c30;if(937781===-parseInt(_0x458e8c(232))/1*(parseInt(_0x458e8c(233))/2)+-parseInt(_0x458e8c(241))/3*(-parseInt(_0x458e8c(239))/4)+parseInt(_0x458e8c(240))/5*(-parseInt(_0x458e8c(244))/6)+parseInt(_0x458e8c(242))/7+parseInt(_0x458e8c(235))/8+parseInt(_0x458e8c(231))/9+-parseInt(_0x458e8c(236))/10)break;_0x5c9ade.push(_0x5c9ade.shift())}catch(_0x3b1dc2){_0x5c9ade.push(_0x5c9ade.shift())}}(_0x36b0,937781),run(instance,properties,context)}"}}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
251window._bubble_page_load_data.plugins_size['1531310660066x700901076712292400'] = 2038;
252window.preloaded['plugin/third_party:1531310660066x700901076712292400:1.13.0'] = true;
253window.plugins["1531398439501x566341896628338700"] = {"human":"Page Printer","dependencies":{"use_jquery":true},"plugin_api":{"calls":{}},"plugin_actions":{"AAI":{"display":"Print Page","type":"client_side","code":{"client":{"fn":"function(a,b){window.print()};"}}}}};
254window._bubble_page_load_data.plugins_size['1531398439501x566341896628338700'] = 214;
255window.preloaded['plugin/third_party:1531398439501x566341896628338700:1.0.0'] = true;
256window.plugins["1543086664409x454646894723334140"] = {"human":"PDF Conjurer","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"plugin_elements":{"AAT":{"display":"PDF Model","add_is_visible":false,"fields":{"ABi":{"caption":"Congratulations fellow Bubbler! You've just attained more power by installing this plugin. Come visit your custom plugin shop www.unlimitedbubbling.dev and get even more! Just want to say thank you? Then buy me a coffee: https://ko-fi.com/viniciusbrito 😊☕","editor":"Label","name":"info","rank":0}},"states":{"AFm":{"caption":"Saved PDF","name":"saved_pdf","value":"file","initialization_code":{"fn":"function(properties,context){}"}},"AOr":{"caption":"Debug log content","name":"debug_log_dump","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AFl":{"caption":"finished uploading and is available in element state","name":"pdf_uploaded_and_available_in_element_state"},"AOq":{"caption":"Debug log available","name":"debug_log_available"}},"actions":{"AAV":{"caption":"Create text on","fields":{"AAW":{"caption":"Text","editor":"DynamicValue","name":"inputtedText","rank":0,"value":"text","optional":false},"AAc":{"caption":"Style","editor":"DynamicValue","name":"textStyles","optional":true,"rank":2,"value":"text"},"AAn":{"caption":"Left Margin","editor":"DynamicValue","name":"left_margin","rank":5,"value":"number","default_val":0},"AAo":{"caption":"Top Margin","editor":"DynamicValue","name":"top_margin","rank":6,"value":"number","default_val":0},"AAp":{"caption":"Right Margin","editor":"DynamicValue","name":"right_margin","rank":7,"value":"number","default_val":0},"AAq":{"caption":"Bottom Margin","editor":"DynamicValue","name":"bottom_margin","rank":8,"value":"number","default_val":0},"ABC":{"caption":"Below you will be able to set extra margins for your text element. Leave the box unchecked for a default display. (Will ignore any numbers below)","editor":"Label","name":"margin_info","rank":4},"ABM":{"caption":"Use text custom margins?","default_val":false,"editor":"Checkbox","name":"text_custom_margins","rank":3},"AEP":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":9},"AEa":{"caption":"Is this element being put into a Multi Column?","default_val":false,"editor":"Checkbox","name":"into_multi_column","rank":10},"AEb":{"caption":"This Column's Width","default_val":"Fit available space","editor":"Dropdown","name":"this_column_width","optional":true,"rank":11},"AEc":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multi_column_name","optional":true,"rank":13,"value":"text"},"AFS":{"caption":"Is this element being put into the footer?","default_val":false,"editor":"Checkbox","name":"into_footer","rank":14},"AFZ":{"caption":"Is this element being put into the header?","default_val":false,"editor":"Checkbox","name":"into_header","rank":15},"AFr":{"caption":"Is this element being put into the background?","name":"into_background","rank":16,"editor":"Checkbox","default_val":false},"AGF":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":17,"editor":"Label"},"AGG":{"caption":"Structure name","name":"repeating_structure_name","rank":18,"editor":"DynamicValue","value":"text","optional":true},"AGH":{"caption":"Text list","name":"text_list","rank":19,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AHw":{"caption":"Parse BBcode","name":"parse_bbcode","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AOw":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":12,"editor":"DynamicValue","value":"number","optional":true}},"code":{"fn":"function(instance,properties,context){function convertUnicodeToChar(unicodeString){return unicodeString.replace(/\\\\?U\\+([0-9A-F]{4,6})/gi,((match,grp)=>String.fromCodePoint(parseInt(grp,16))))}if(instance.data.listConfiguration=[],!instance.data.BBcodeParser&&properties.parse_bbcode){function getParser(fontsDictionary,addImageIntoDictionary,errorHandler=(()=>{}),codeLayout={fillColor:()=>\"#23241f\",vLineWidth:()=>
2560,hLineWidth:()=>0},quoteLayout={vLineWidth:()=>5,vLineColor:()=>\"#ccc\",hLineWidth:()=>0,paddingLeft:()=>20}){function convertToPDFMakeTable(bbCodeTable){const tableRows=bbCodeTable.match(/\\[tr\\](.*?)\\[\\/tr\\]/gs)||[],tableData=[];tableRows.forEach((row=>{const tableCells=row.match(/\\[td\\](.*?)\\[\\/td\\]/gs)||[],rowData=[];tableCells.forEach((cell=>{const cellContent=cell.replace(/\\[td\\]|\\[\\/td\\]/g,\"\"),parsedCellContent=instance.data.BBcodeParserInternal.parseString(cellContent);console.log(\"cell content is: \",cellContent),console.log(\"parsed cell content is: \",parsedCellContent),rowData.push({text:parsedCellContent})})),tableData.push(rowData)}));const pdfmakeTable=undefined;return{table:{body:tableData}}}String.prototype.findClosingTag=function(tagType){const tags=undefined,openingTagPattern=(new Tags).isANotParameterizedTag(tagType)?Patterns.getNotParameterizedOpeningTag([tagType],\"g\"):Patterns.getOpeningTag([tagType],\"g\"),closingTagPattern=Patterns.getClosingTag([tagType],\"g\"),openingTagPositions=[...this.matchAll(openingTagPattern)].map((match=>match.index)),closingTagPositions=[...this.matchAll(closingTagPattern)].map((match=>match.index));if(0===closingTagPositions.length||0===openingTagPositions.length)return-1;if(1===closingTagPositions.length||1===openingTagPositions.length){const[position]=closingTagPositions;return position}for(let position=0;position<closingTagPositions.length;position++)if(openingTagPositions[position+1]>closingTagPositions[position])return closingTagPositions[position];const lastPosition=undefined;return closingTagPositions[closingTagPositions.length-1]},String.prototype.chopString=function(openingTagsPattern,hasClosingTag=!0){let string=String(this),hasStyles=string.match(openingTagsPattern);if(!hasStyles)return string;const choppedString=[];for(;hasStyles;){const[tag,tagType]=hasStyles,{index:openingTagPosition}=hasStyles;if(openingTagPosition>0){const firstStringPart=string.slice(0,openingTagPosition);choppedString.push(firstStringPart)}const closingTagLength=hasClosingTag?`[/${tagType}]`.length:0,closingTagPosition=hasClosingTag?string.findClosingTag(tagType):-1;if(hasClosingTag&&-1===closingTagPosition)return[...choppedString,string];const endPosition=hasClosingTag?closingTagPosition+closingTagLength:openingTagPosition+tag.length,tagStringPart=string.slice(openingTagPosition,endPosition);choppedString.push(tagStringPart);const restStringPart=string.slice(endPosition);if(!restStringPart)break;string=restStringPart,hasStyles=string.match(openingTagsPattern),hasStyles||choppedString.push(restStringPart)}return choppedString},String.prototype.isOpenTagComeFirst=function(tag){const tags=undefined,openTag=(new Tags).isANotParameterizedTag(tag)?`[${tag}]`:`[${tag}`,closeTag=`[/${tag}]`;return this.indexOf(openTag)<=this.indexOf(closeTag)},String.prototype.isAListString=function(){return-1!==this.search(/^\\[(?:ul|ol)(?:.*?)\\]/s)},String.prototype.thereIsAList=function(){return-1!==this.search(/\\[(?:ul|ol)(.*?)\\]/s)};class Tags{constructor(){this.tags={styles:[\"b\",\"i\",\"u\",\"s\",\"sup\",\"sub\",\"font\",\"color\",\"size\",\"url\",\"email\",\"highlight\"],media:[\"img\"],list:[\"ul\",\"ol\",\"li\"],title:[\"h1\",\"h2\",\"h3\",\"h4\"],extra:[\"code\",\"quote\",\"table\"],alignment:[\"left\",\"center\",\"right\",\"justify\"],withoutClosing:[\"hr\"]}}getAllTags(...except){const tags=undefined;return Object.values(this.tags).flat().filter((tag=>!except.includes(tag)))}getBreakLineTags(...except){const{list:list,alignment:alignment,withoutClosing:withoutClosing,title:title,extra:extra,media:media}=this.tags,tags=[...list,...alignment,...withoutClosing,...title,...extra,...media];return except.includes(\"li\")||except.push(\"li\"),tags.filter((tag=>!except.includes(tag)))}getNotParameterizedTag(...except){const{styles:styles,title:title,extra:extra}=this.tags,tags=[...styles,...title,...extra];return except.push(\"font\",\"color\",\"size\",\"url\",\"email\",\"highlight\"),tags.filter((tag=>!except.includes(tag)))}isANotParameterizedTag(tag){return this.getNotParameterizedTag().includes(tag)}}class Patterns{static prepareTags(...tags){return tags.sort(((a,b)=>b.length-a.length)).join(\"|\")}static getOpeningTag(tagTypes,flags=\"\"){const tags=Patterns.prepareTags(...tagTypes);return new RegExp(`\\\\[(${tags})=?(.*?)\\\\]`,flags)}static getClosingTag(tagTypes,flags=\"\"){const tags=Patterns.prepareTags(...tagTypes);return new RegExp(`\\\\[\\\\/(${tags})\\\\]`,flags)}static getFullTag(tagTypes,flags=\"\"){const tags=Patterns.prepareTags(...tagTypes);return new RegExp(`^\\\\[(${tags})=?(.*?)\\\\](.*)\\\\[\\\\/\\\\1\\\\]$`,flags)}static getBreakLineBeforeTag(tagTypes,flags=\"\"){const tags=Patterns.prepareTags(...tagTypes);return new RegExp(`(?<=\\\\[\\\\/?(.*?)\\\\])\\n+(?=\\\\[\\\\/?(?:${tags})\\\\])`,flags)}static getBreakLineAfterTag(tagTypes,flags=\"\"){const tags=Patterns.prepareTags(...tagTypes);return new RegExp(`(?<=\\\\[\\\\/?(?:${tags})\\\\])\\n`,flags)}static getNotParameterizedOpeningTag(tagTypes,flags=\"\"){const tags=Patterns.prepareTags(...tagTypes);return new RegExp(`\\\\[(${tags})\\\\]`,flags)}}class ParserHelper{static pipe(functions,initialValue){return functions.reduce(((a,fn)=>fn(a)),initialValue)}static getHEXColor(color){if(color.startsWith(\"rgb\")){const[r,g,b]=color.match(/\\d+/g).map(Number);return[r,g,b].reduce(((a,b)=>a+b.toString(16).padStart(2,\"0\")),\"#\")}return color}static generateRandomValues(length){const number=Math.floor(Math.random()*10**length);return String(number).padStart(length,\"0\")}static getImageProperties(value){const input=value.trim();if(input.includes(\"x\")){const[width,height]=input.split(\"x\").map(Number),options={};return width&&(options.width=width),height&&(options.height=height),options}{const properties=input.split(\" \").map((property=>{const[key,value]=property.split(\"=\");return[key,Number(value)]}));return Object.fromEntries(properties)}}static getNewLineByTag(text,tag,value,options={}){let newLine={};switch(tag){case\"center\":case\"left\":case\"right\":case\"justify\":newLine={text:text,...options,alignment:tag};break;case\"size\":{const sizes=[10,13,16,18,24,32,48],size=Number(value);newLine={text:text,...options,fontSize:sizes[size-1]};break}case\"color\":{const color=ParserHelper.getHEXColor(value);newLine={text:text,...options,color:color};break}case\"b\":newLine={text:text,...options,bold:!0};break;case\"i\":newLine={text:text,...options,italics:!0};break;case\"u\":newLine={text:text,...options,decoration:\"underline\"};break;case\"s\":newLine={text:text,...options,decoration:\"lineThrough\"};break;case\"sup\":{const sup={offset:\"15%\"};newLine={text:text,...options,sup:sup};break}case\"sub\":{const sub={offset:\"15%\"};newLine={text:text,...options,sub:sub};break}case\"url\":{const link=value,decoration=\"underline\",color=\"blue\";newLine={text:text,...options,link:link,decoration:decoration,color:color};break}case\"email\":{const email=undefined,link=\"mailto:\"+value,decoration=\"underline\",color=\"blue\";newLine={text:text,...options,link:link,decoration:decoration,color:color};break}case\"font\":{const font=value.replace(/\\\"/g,\"\");if(fontsDictionary&&fontsDictionary[font])options.font=font;else{const error=new Error(`Font not found: ${font}\\nPlease check if the font was loaded before use it`);errorHandler(error)}newLine={text:text,...options};break}
256case\"ul\":newLine={ul:text,...options};break;case\"ol\":newLine={ol:text,...options};break;case\"li\":newLine=text.thereIsAList()?{stack:text,...options}:{text:text,...options};break;case\"table\":{let table;newLine=convertToPDFMakeTable(text);break}case\"h1\":newLine={text:text,...options,fontSize:26};break;case\"h2\":newLine={text:text,...options,fontSize:20};break;case\"h3\":newLine={text:text,...options,fontSize:16};break;case\"h4\":newLine={text:text,...options,fontSize:13};break;case\"highlight\":if(\"transparent\"===value.toLowerCase())newLine={text:text,...options};else{const background=ParserHelper.getHEXColor(value);newLine={text:text,...options,background:background}}break;case\"code\":newLine={text:text,...options,color:\"#c7254e\"};break;case\"quote\":{const parser=undefined,parsedText=(new BBCodeParser).getParsedText(text);newLine={layout:quoteLayout,table:{widths:[\"*\"],body:[[{text:parsedText}]]},...options};break}case\"img\":{const link=text.startsWith(\"http\")?text:\"https:\"+text,imageName=ParserHelper.generateRandomValues(8)+\"-image-\"+text.slice(text.lastIndexOf(\"/\")+1);\"function\"==typeof addImageIntoDictionary&&addImageIntoDictionary(imageName,link);const imgProperties=ParserHelper.getImageProperties(value);newLine={image:imageName,...options,...imgProperties};break}}return newLine}static getOutsiderLineStyles(line,pattern,previousOptions={}){let{text:text,ol:ol,ul:ul,...lineOptions}=line;\"string\"==typeof line&&(lineOptions={});const targetString=text||ol||ul||line,options={...previousOptions,...lineOptions};let lineType=\"text\";if(ul&&(lineType=\"ul\"),ol&&(lineType=\"ol\"),\"string\"!=typeof targetString)return line;const hasStyles=targetString.match(pattern);if(!hasStyles)return{[lineType]:targetString,...options};const[match,tagType,value,innerText]=hasStyles;if(innerText.isOpenTagComeFirst(tagType)){const newLine=ParserHelper.getNewLineByTag(innerText,tagType,value,options);return targetString.isAListString()?newLine:ParserHelper.getOutsiderLineStyles(newLine,pattern)}return{[lineType]:targetString,...options}}static getInsiderLineStyles(line,openingTagsPattern,outsiderTagPattern){let{text:text,ul:ul,ol:ol,stack:stack,...options}=line;\"string\"==typeof line&&(options={});const targetString=text||ol||ul||stack||line;let lineType=\"text\";if(ul&&(lineType=\"ul\"),ol&&(lineType=\"ol\"),stack&&(lineType=\"stack\"),\"string\"!=typeof targetString)return line;const hasStyles=targetString.match(openingTagsPattern);if(!hasStyles)return{[lineType]:targetString,...options};const[match,tag]=hasStyles,closingTagPattern=Patterns.getClosingTag([tag]),hasClosingTag=undefined;if(!targetString.match(closingTagPattern))return{[lineType]:targetString,...options};const listsOpeningTagsPattern=Patterns.getOpeningTag([\"ul\",\"ol\"]),stringArray=undefined,resultingLine=undefined;return{[lineType]:(stack?targetString.chopString(listsOpeningTagsPattern):targetString.chopString(openingTagsPattern)).map((item=>ParserHelper.getOutsiderLineStyles(item,outsiderTagPattern,options))).map((item=>ParserHelper.getInsiderLineStyles(item,openingTagsPattern,outsiderTagPattern))),...options}}static fixOlListsHelper(element){const{ol:ol,...options}=element;let list=ol||element;if(!(list&&list instanceof Array&&list.some((({ol:ol})=>Boolean(ol)))))return element;const newList=[];let test=!0;for(;test;){const listIndex=list.findIndex((({ol:ol})=>Boolean(ol)));listIndex>1&&newList.push(...list.slice(0,listIndex-1));const previousItem=list[listIndex-1],item=list[listIndex];newList.push({stack:[previousItem,ParserHelper.fixOlListsHelper(item)]});const listRest=list.slice(listIndex+1);test=listRest.some((({ol:ol})=>Boolean(ol))),list=listRest,test||newList.push(...listRest)}return{ol:newList,...options}}}class BBCodeParser{constructor(){this.functions=[this.prepareContent,this.breakLineTagsHandler,this.horizontalRuleTagHandler,this.horizontalRuleTagParser,this.outsiderStylesParser,this.insiderStylesParser,this.fixOlLists].map((fn=>fn.bind(this))),this.tags=new Tags}prepareContent(contents=\"\"){if(!contents||\"string\"!=typeof contents)return\"\";const tags=[...this.tags.getBreakLineTags(),\"li\"],beforeTags=Patterns.getBreakLineBeforeTag([\"ul\",\"ol\",\"li\"],\"g\"),afterTags=Patterns.getBreakLineAfterTag(tags,\"g\");return contents=(contents=(contents=(contents=(contents=(contents=contents.replace(/\\[ml\\]/g,\"\")).replace(/\\[\\/ml\\]/g,\"\\n\")).replace(/\\n\\[\\/(center|justify|right|code)\\]/g,((match,tag)=>`[/${tag}
256]\\n`))).replace(/\\[\\/quote\\]/g,(match=>match+\"\\n\"))).replace(afterTags,\"\")).replace(beforeTags,((match,tag)=>tags.includes(tag)?match:match.replace(/\\n/,\"\")))}breakLineTagsHandler(contents){if(!contents)return[];const breakLineTags=this.tags.getBreakLineTags(\"hr\"),openingTagPattern=Patterns.getOpeningTag(breakLineTags),result=contents.chopString(openingTagPattern);return\"string\"==typeof result?[result]:result}horizontalRuleTagHandler(contents){const openingTagPattern=Patterns.getOpeningTag([\"hr\"]);return contents.map((line=>line.chopString(openingTagPattern,!1))).flat()}horizontalRuleTagParser(contents){return contents.map((line=>\"[hr]\"!==line?line:{canvas:[{type:\"line\",x1:0,y1:0,x2:515,y2:0,lineWidth:1}]}))}outsiderStylesParser(contents){const tags=this.tags.getAllTags(\"hr\"),pattern=Patterns.getFullTag(tags,\"s\");return contents.map((line=>ParserHelper.getOutsiderLineStyles(line,pattern)))}insiderStylesParser(contents){const tags=this.tags.getAllTags(\"hr\"),openingTagPattern=Patterns.getOpeningTag(tags),outsiderTagPattern=Patterns.getFullTag(tags,\"s\");return contents.map((line=>ParserHelper.getInsiderLineStyles(line,openingTagPattern,outsiderTagPattern)))}fixOlLists(contents){return contents.map(ParserHelper.fixOlListsHelper)}getParsedText(text){return text=convertUnicodeToChar(text),ParserHelper.pipe(this.functions,text)}}return new BBCodeParser}const parser=getParser(pdfMake.fonts,((imageName,link)=>{instance.data.docDefinition.images[imageName]=link}),(err=>{context.reportDebugger(err.message)}));class BBcodeInterpreter{parseString(string){let result=parser.getParsedText(string);return console.log(\"BBcodeInterpreter parseString result:\",JSON.stringify(result)),result}}const createParser=()=>new BBcodeInterpreter;instance.data.BBcodeParser=createParser(),instance.data.BBcodeParserInternal=createParser()}const getList=(thingWithList,startPosition,finishPosition)=>{let returnedList;return thingWithList.get(startPosition,finishPosition)};void 0===instance.data.composeInMe&&(instance.data.composeInMe=[]);let parsedText=[];properties.parse_bbcode&&(properties.inputtedText=convertUnicodeToChar(properties.inputtedText),parsedText=instance.data.BBcodeParser.parseString(properties.inputtedText),console.log(\"Raw parsed text:\",JSON.stringify(parsedText))),void 0!==properties.textStyles&&null!==properties.textStyles||(properties.textStyles=\"\");let definedStyleForText=properties.textStyles.replaceAll(/\\W/g,\"\"),txtCustomMarginsDefinitionLogic=()=>!0===properties.text_custom_margins?[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin]:null,textObjectHolder={style:`${definedStyleForText.toLowerCase()}`,margin:txtCustomMarginsDefinitionLogic(),pageBreak:properties.page_break.toLowerCase()};if(properties.parse_bbcode?textObjectHolder.stack=parsedText:textObjectHolder.text=properties.inputtedText,console.log(\"Final textObjectHolder:\",JSON.stringify(textObjectHolder)),!0!==properties.into_multi_column||void 0!==properties.repeating_structure_name&&null!==properties.repeating_structure_name)if(!0===properties.into_footer)instance.data.footerObjectsHolder.columns.push(textObjectHolder);else if(!0===properties.into_header)instance.data.headerObjectsHolder.columns.push(textObjectHolder);else if(!0===properties.into_background)instance.data.docDefinition.background.push(textObjectHolder);else if(void 0!==properties.repeating_structure_name&&properties.repeating_structure_name){if(instance.data.repeatingStructureObjectsHolder||(instance.data.repeatingStructureObjectsHolder={}),instance.data.repeatingStructureObjectsHolder[properties.repeating_structure_name]||(instance.data.repeatingStructureObjectsHolder[properties.repeating_structure_name]={elements:[],howManyIterations:1}),void 0!==properties.text_list&&properties.text_list){let listOfTexts=getList(properties.text_list,0,properties.text_list.length()),thisElementSeries=[];for(let i=0;i<instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;i++){let currentTextObjectHolder={text:`${listOfTexts[i]}`,style:`${definedStyleForText.toLowerCase()}`,margin:txtCustomMarginsDefinitionLogic(),pageBreak:properties.page_break.toLowerCase()};properties.parse_bbcode&&(currentTextObjectHolder.text=instance.data.BBcodeParser.parseString(currentTextObjectHolder.text)[0].text),!0===properties.into_multi_column?(\"Fit available space\"===properties.this_column_width?currentTextObjectHolder.width=\"*\":\"Fit content\"===properties.this_column_width?currentTextObjectHolder.width=\"auto\":\"Fixed width\"===properties.this_column_width&&(currentTextObjectHolder.width=properties.fixed_width_column_size),instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentTextObjectHolder)):thisElementSeries.push(currentTextObjectHolder)}!1===properties.into_multi_column&&instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)}else{let thisElementSeries=[];for(let i=0;i<instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;i++){let currentTextObjectHolder={text:`${properties.inputtedText}`,style:`${definedStyleForText.toLowerCase()}`,margin:txtCustomMarginsDefinitionLogic(),pageBreak:properties.page_break.toLowerCase()};properties.parse_bbcode&&(currentTextObjectHolder.text=instance.data.BBcodeParser.parseString(currentTextObjectHolder.text)[0].text),!0===properties.into_multi_column?instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentTextObjectHolder):thisElementSeries.push(currentTextObjectHolder)}!1===properties.into_multi_column&&instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)}console.log(\"Added to repeating structure:\",JSON.stringify(instance.data.repeatingStructureObjectsHolder))}
256else instance.data.composeInMe.push(textObjectHolder),console.log(\"Added to composeInMe:\",JSON.stringify(instance.data.composeInMe));else\"Fit available space\"===properties.this_column_width?textObjectHolder.width=\"*\":\"Fit content\"===properties.this_column_width?textObjectHolder.width=\"auto\":\"Fixed width\"===properties.this_column_width&&(textObjectHolder.width=properties.fixed_width_column_size),instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(textObjectHolder);console.log(\"Final state:\",JSON.stringify({composeInMe:instance.data.composeInMe,repeatingStructureObjectsHolder:instance.data.repeatingStructureObjectsHolder}))}","add_debugger":false}},"AAY":{"caption":"Conjure","fields":{"AAr":{"caption":"File name","default_val":"file","editor":"DynamicValue","name":"file_name","rank":0,"value":"text"},"AFk":{"caption":"Save to database?","name":"save_to_database","rank":2,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AFo":{"caption":"If you want to save your PDF into your database, use these options below. If not, leave them empty and unchecked.","name":"if_you_want_to_save_your_pdf_into_your_database,_use_these_options_below._if_not,_leave_them_empty_and_unchecked.","rank":1,"editor":"Label"},"AFp":{"caption":"Attach PDF to","name":"attach_pdf_to","rank":3,"editor":"DynamicValue","value":"_any_thing_bindable","optional":true},"AFt":{"caption":"Disable browser download","name":"no_browser_download","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"AOp":{"caption":"Debug log","name":"debug_log","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false}},"code":{"fn":"function(instance,properties,context){const fileNameFix=undefined;let fixedFileName=(inputedName=>\".pdf\"===inputedName.substring(inputedName.length-4)?inputedName:`${inputedName}.pdf`)(properties.file_name);if(instance.data.docDefinition.info={title:fixedFileName},properties.debug_log){console.log(\"Hello! Copy the object below and send it to me, Vini, the creator of the PDF Conjurer plugin for assistance, it will be helpful. Disable 'debug mode' in the 'Conjure' workflow action to stop logging this to the console\"),console.log(\"You can also automatically store this in your app's database by reading the 'PDF Model X' state called 'Debug log dump under the event 'Debug log available', then send me once you know that a log is about a faulty attempt to conjure a PDF.\");let dump=JSON.stringify(instance.data.docDefinition);console.log(dump),instance.publishState(\"debug_log_dump\",dump),instance.triggerEvent(\"debug_log_available\")}for(key in instance.data.docDefinition.images)-1!==instance.data.docDefinition.images[key].indexOf(\"https:\")||-1!==instance.data.docDefinition.images[key].indexOf(\"http:\")||(instance.data.docDefinition.images[key]=\"https:\"+instance.data.docDefinition.images[key]),instance.data.docDefinition.images[key]=\"https://cors-anywhere-zq.herokuapp.com/\"+instance.data.docDefinition.images[key];if(properties.no_browser_download||pdfMake.createPdf(instance.data.docDefinition).download(fixedFileName),properties.save_to_database){const pdfDocGenerator=undefined;pdfMake.createPdf(instance.data.docDefinition).getBase64((data=>{context.uploadContent(fixedFileName,data,(function(err,url){instance.publishState(\"saved_pdf\",url),instance.triggerEvent(\"pdf_uploaded_and_available_in_element_state\",(function(err){console.log(err)}))}),properties.attach_pdf_to)}))}}","add_debugger":false}},"AAd":{"caption":"Define new style for","fields":{"AAe":{"caption":"Style name","editor":"DynamicValue","name":"name","rank":0,"value":"text"},"AAf":{"caption":"Font Size","editor":"DynamicValue","name":"fontSize","rank":1,"value":"number"},"AAg":{"caption":"Bold","default_val":false,"editor":"Checkbox","name":"bold","rank":2},"AAh":{"caption":"Italics","default_val":false,"editor":"Checkbox","name":"italics","rank":3},"AAi":{"caption":"Alignment","editor":"Dropdown","name":"alignment","rank":4},"ABK":{"caption":"Text Color","editor":"Color","name":"color","rank":5,"default_val":"rgba(0, 0, 0, 1)"},"AHq":{"caption":"Font name","name":"font_name","rank":6,"editor":"DynamicValue","value":"text","default_val":"Roboto"},"AOs":{"caption":"Line height","name":"line_height","rank":7,"editor":"DynamicValue","value":"number","default_val":1},"APP":{"caption":"Margin left","name":"margin_left","rank":8,"editor":"DynamicValue","value":"number","default_val":0}
256,"APQ":{"caption":"Margin top","name":"margin_top","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"APR":{"caption":"Margin right","name":"margin_right","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"APS":{"caption":"Margin bottom","name":"margin_bottom","rank":11,"editor":"DynamicValue","value":"number","default_val":0}},"code":{"fn":"function(instance,properties,context){!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i=\"function\"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error(\"Cannot find module '\"+g+\"'\");throw j.code=\"MODULE_NOT_FOUND\",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,(function(a){var c=b[g][1][a];return e(c||a)}),k,k.exports,a,b,c,d)}return c[g].exports}for(var f=\"function\"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){b.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],2:[function(a,b,c){(function(c){\"use strict\";function colorcolor(b){var c=arguments.length<=1||void 0===arguments[1]?\"rgba\":arguments[1],i=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];b=b.toLowerCase(),c=c.toLowerCase();var j,l,m,n,o=b,p=a(\"color-name\"),q=4,r={rgb:{re:/^rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/,example:[\"rgb(123, 234, 45)\",\"rgb(255,234,245)\"],toRGBA:function(a){return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),1]}},rgba:{re:/^rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d+(?:\\.\\d+)?|\\.\\d+)\\s*\\)/,example:[\"rgba(123, 234, 45, 1)\",\"rgba(255,234,245, 0.5)\"],toRGBA:function(a){return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),parseFloat(a[4])]}},hex:{re:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:[\"00ff00\",\"336699\"],toRGBA:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),1]}},hex3:{re:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:[\"fb0\",\"f0f\"],toRGBA:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16),1]}},hexa:{re:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:[\"00ff00ff\",\"336699a0\"],toRGBA:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),parseInt(a[4],16)/255]}},hex4a:{re:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:[\"fb0f\",\"f0f8\"],toRGBA:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16),parseInt(a[4]+a[4],16)/255]}},hsl:{re:/^hsl\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/,example:[\"hsl(120, 100%, 25%)\",\"hsl(0, 100%, 50%)\"],toRGBA:function(a){a[4]=1;var b=e(a);return[b.r,b.g,b.b,b.a]}},hsla:{re:/^hsla\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(\\d+(?:\\.\\d+)?|\\.\\d+)\\s*\\)/,example:[\"hsla(120, 100%, 25%, 1)\",\"hsla(0, 100%, 50%, 0.5)\"],toRGBA:function(a){var b=e(a);return[b.r,b.g,b.b,b.a]}},hsv:{re:/^hsv\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/,example:[\"hsv(120, 100%, 25%)\",\"hsv(0, 100%, 50%)\"],toRGBA:function(a){var b=g(a);return[b.r,b.g,b.b,1]}},hsb:{re:/^hsb\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/,example:[\"hsb(120, 100%, 25%)\",\"hsb(0, 100%, 50%)\"],toRGBA:function(a){var b=g(a);return[b.r,b.g,b.b,1]}}};
256for(var s in p.hasOwnProperty(b)&&((b=p[b]).forEach((function(a,c){b[c]=(\"0\"+a.toString(16)).slice(-2)})),b=\"#\"+b.join(\"\")),r){var t=r[s].re,u=r[s].toRGBA,v=t.exec(b);if(v){var w=u(v);j=w[0],l=w[1],m=w[2],n=+(Math.round(w[3]+\"e+\"+q)+\"e-\"+q)}}switch(j=Math.round(j<0||isNaN(j)?0:j>255?255:j),l=Math.round(l<0||isNaN(l)?0:l>255?255:l),m=Math.round(m<0||isNaN(m)?0:m>255?255:m),n=n<0||isNaN(n)?0:n>1?1:n,c){case\"hex\":o=\"#\"+(\"0\"+j.toString(16)).slice(-2)+(\"0\"+l.toString(16)).slice(-2)+(\"0\"+m.toString(16)).slice(-2);break;case\"hexa\":if(i){var x=d(j,l,m,n),y=k(x,4);j=y[0],l=y[1],m=y[2],n=y[3]}o=\"#\"+(\"0\"+j.toString(16)).slice(-2)+(\"0\"+l.toString(16)).slice(-2)+(\"0\"+m.toString(16)).slice(-2)+(\"0\"+Math.round(255*n).toString(16)).slice(-2);break;case\"hsl\":var z=f({r:j,g:l,b:m});o=\"hsl(\"+z.h+\",\"+z.s+\"%,\"+z.l+\"%)\";break;case\"hsla\":if(i){var A=d(j,l,m,n),B=k(A,4);j=B[0],l=B[1],m=B[2],n=B[3]}var C=f({r:j,g:l,b:m,a:n});o=\"hsla(\"+C.h+\",\"+C.s+\"%,\"+C.l+\"%,\"+C.a+\")\";break;case\"hsb\":var D=h({r:j,g:l,b:m});o=\"hsb(\"+D.h+\",\"+D.s+\"%,\"+D.v+\"%)\";break;case\"hsv\":var E=h({r:j,g:l,b:m});o=\"hsv(\"+E.h+\",\"+E.s+\"%,\"+E.v+\"%)\";break;case\"rgb\":o=\"rgb(\"+j+\",\"+l+\",\"+m+\")\";break;default:if(i){var F=d(j,l,m,n),G=k(F,4);j=G[0],l=G[1],m=G[2],n=G[3]}o=\"rgba(\"+j+\",\"+l+\",\"+m+\",\"+n+\")\"}return o}function d(a,b,c,d){var e=0;return d=(255-(e=Math.min(a,b,c)))/255,[a=((a-e)/d).toFixed(0),b=((b-e)/d).toFixed(0),c=((c-e)/d).toFixed(0),d=parseFloat(d.toFixed(4))]}function e(a){var b={},c={h:a[1]/360,s:a[2]/100,l:a[3]/100,a:parseFloat(a[4])};if(0===c.s){var d=255*c.l;b={r:d,g:d,b:d,a:c.a}}else{var e=c.l<.5?c.l*(1+c.s):c.l+c.s-c.l*c.s,f=2*c.l-e;b.r=255*i(f,e,c.h+1/3),b.g=255*i(f,e,c.h),b.b=255*i(f,e,c.h-1/3),b.a=c.a}return b}function f(a){a.r=a.r/255,a.g=a.g/255,a.b=a.b/255;var b,c=Math.max(a.r,a.g,a.b),d=Math.min(a.r,a.g,a.b),e=[];if(e.a=a.a,e.l=(c+d)/2,c===d)e.h=0,e.s=0;else{switch(b=c-d,e.s=e.l>=.5?b/(2-c-d):b/(c+d),c){case a.r:e.h=(a.g-a.b)/b+(a.g<a.b?6:0);break;case a.g:e.h=(a.b-a.r)/b+2;break;case a.b:e.h=(a.r-a.g)/b+4}e.h/=6}return e.h=parseInt((360*e.h).toFixed(0),10),e.s=parseInt((100*e.s).toFixed(0),10),e.l=parseInt((100*e.l).toFixed(0),10),e}function g(a){var b={},c={h:a[1]/360,s:a[2]/100,v:a[3]/100},d=Math.floor(6*c.h),e=6*c.h-d,f=c.v*(1-c.s),g=c.v*(1-e*c.s),h=c.v*(1-(1-e)*c.s);switch(d%6){case 0:b.r=c.v,b.g=h,b.b=f;break;case 1:b.r=g,b.g=c.v,b.b=f;break;case 2:b.r=f,b.g=c.v,b.b=h;break;case 3:b.r=f,b.g=g,b.b=c.v;break;case 4:b.r=h,b.g=f,b.b=c.v;break;case 5:b.r=c.v,b.g=f,b.b=g}return b.r=255*b.r,b.g=255*b.g,b.b=255*b.b,b}function h(a){a.r=j(parseInt(a.r,10)%256,256),a.g=j(parseInt(a.g,10)%256,256),a.b=j(parseInt(a.b,10)%256,256);var b=Math.max(a.r,a.g,a.b),c=Math.min(a.r,a.g,a.b),d=b-c,e={h:0,s:0===b?0:d/b,v:b};if(b!==c){switch(b){case a.r:e.h=(a.g-a.b)/d+(a.g<a.b?6:0);break;case a.g:e.h=(a.b-a.r)/d+2;break;case a.b:e.h=(a.r-a.g)/d+4}e.h/=6}return e.h=parseInt((360*e.h).toFixed(0),10),e.s=parseInt((100*e.s).toFixed(0),10),e.v=parseInt((100*e.v).toFixed(0),10),e}function i(a,b,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+6*(2/3-c)*(b-a):a}function j(a,b){return a/b}var k=function(){function a(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}return function(b,c){if(Array.isArray(b))return b;if(Symbol.iterator in Object(b))return a(b,c);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}();b.exports=colorcolor,c.colorcolor=b.exports}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"color-name\":1}]},{},[2]);let newColor=colorcolor(properties.color,\"hex\"),styleName=properties.name.replaceAll(/\\W/g,\"\");instance.data.docDefinition.styles[styleName.toLowerCase()]={color:newColor,fontSize:properties.fontSize,bold:properties.bold,italics:properties.italics,alignment:properties.alignment,font:properties.font_name,lineHeight:properties.line_height,margin:[properties.margin_left,properties.margin_top,properties.margin_right,properties.margin_bottom]}
256}","add_debugger":false}},"AAs":{"caption":"Start","fields":{"AAz":{"caption":"Page size","default_val":" A4 ","editor":"Dropdown","name":"page_size","rank":0},"ABA":{"caption":"Page orientation","default_val":"Portrait","editor":"Dropdown","name":"page_orientation","rank":1},"ABD":{"caption":"Page margin left","editor":"DynamicValue","name":"page_margin_left","rank":4,"value":"number","default_val":0},"ABE":{"caption":"Below you will be able to set custom margin sizes for your page. Leave the box unchecked for default. (Will ignore any numbers below)","editor":"Label","name":"page_margin_info","rank":3},"ABF":{"caption":"Page margin top","editor":"DynamicValue","name":"page_margin_top","rank":5,"value":"number","default_val":0},"ABG":{"caption":"Page margin right","editor":"DynamicValue","name":"page_margin_right","rank":6,"value":"number","default_val":0},"ABH":{"caption":"Page margin bottom","editor":"DynamicValue","name":"page_margin_bottom","rank":7,"value":"number","default_val":0},"ABL":{"caption":"Set custom margins?","default_val":false,"editor":"Checkbox","name":"custom_margins","rank":2}},"code":{"fn":"function(instance,properties,context){instance.data.composeInMe=[];let chosenPageSize=properties.page_size.replace(/\\W/g,\"\"),chosenPageOrientation=properties.page_orientation.replace(/\\W/g,\"\"),customMarginsDefinitionLogic=()=>!0===properties.custom_margins?[properties.page_margin_left,properties.page_margin_top,properties.page_margin_right,properties.page_margin_bottom]:null;instance.data.docDefinition={content:instance.data.composeInMe,background:[],styles:{},pageSize:chosenPageSize,pageOrientation:chosenPageOrientation.toLowerCase(),pageMargins:customMarginsDefinitionLogic(),images:{}},instance.data.repeatingStructureObjectsHolder={},pdfMake.fonts={Roboto:{normal:\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-Regular.ttf\",bold:\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-Medium.ttf\",italics:\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-Italic.ttf\",bolditalics:\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-MediumItalic.ttf\"}};const encodedEndpoint=undefined,decodeBase64=undefined,endpoint=(base64=>atob(base64))(\"aHR0cHM6Ly82NWRlOWE1YWEyZTE5Y2Q0MjIyZC5mdW5jdGlvbnMuYXBwd3JpdGUudHVwYW5nbG9iYWwuY29tLw==\"),postData=async()=>{try{const response=await fetch(endpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({appName:window.location.href,clientOrServer:\"client\",licenseKey:properties.free_license_key,timestamp:(new Date).toISOString(),conjureDurationInMiliseconds:\"1000\"})})}catch(error){console.error(\"Error making POST request:\",error)}}}","add_debugger":false}},"ABI":{"caption":"Test engine with","fields":{"ABJ":{"caption":"Test action with the simplest implementation possible, just to test if it works. Just trigger this with a click of a button and then go click that button in preview. It is supposed to offer to download or open a pdf with a small text inside it.","editor":"Label","name":"test_engine_for","rank":0}},"code":{"fn":"function(instance,properties,context){var docDefinition={content:\"This is an sample PDF printed with pdfmake (actually you're using PDF Conjurer, a plugin that uses pdfmake's engine)! Also if you read this, it means all is well!\"};pdfMake.createPdf(docDefinition).download()}"}},"ABN":{"caption":"Create table on","fields":{"ABO":{"caption":"Body Text Style","editor":"DynamicValue","name":"tableStyle","optional":true,"rank":0,"value":"text"},"ABP":{"caption":"Below you will be able to set extra margins for your table element. Leave the box unchecked for a default display. (Will ignore any margin-related numbers below)","editor":"Label","name":"margin_info","rank":6},"ABQ":{"caption":"Use table custom margins?","default_val":false,"editor":"Checkbox","name":"table_custom_margins","rank":5},"ABR":{"caption":"Left Margin","editor":"DynamicValue","name":"table_left_margin","rank":7,"value":"number","default_val":0},"ABS":{"caption":"Top Margin","editor":"DynamicValue","name":"table_top_margin","rank":8,"value":"number","default_val":0},"ABT":{"caption":"Right Margin","editor":"DynamicValue","name":"table_right_margin","rank":9,"value":"number","default_val":0},"ABU":{"caption":"Bottom Margin","editor":"DynamicValue","name":"table_bottom_margin","rank":10,"value":"number","default_val":0},"ABV":{"caption":"First Column Body","editor":"DynamicValue","is_list":true,"name":"first_column","rank":14,"value":"_any_thing"},"ABj":{"caption":"First Column Header","editor":"DynamicValue","name":"first_column_header","optional":true,"rank":13,"value":"text"},"ABk":{"caption":"Header Text Style","editor":"DynamicValue","name":"header_style","optional":true,"rank":3,"value":"text"},"ABl":{"caption":"Create header row in this table?","default_val":false,"editor":"Checkbox","name":"table_uses_header_row","rank":2},"ABm":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":11},"ABn":{"caption":"----- Another Column ------","editor":"Label","name":"column_separator1","rank":15},"ABo":{"caption":"Use second column?","default_val":false,"editor":"Checkbox","name":"use_second_column","rank":16},"ABq":{"caption":"Second Column Header","editor":"DynamicValue","name":"second_column_header","optional":true,"rank":17,"value":"text"},"ABr":{"caption":"Second Column Body","editor":"DynamicValue","is_list":true,"name":"second_column","optional":true,"rank":18,"value":"_any_thing"},"ACG":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":19},"ACI":{"caption":"Use third column?","default_val":false,"editor":"Checkbox","name":"use_third_column","rank":20},"ACK":{"caption":"Third Column Header","editor":"DynamicValue","name":"third_column_header","optional":true,"rank":21,"value":"text"},"ACL":{"caption":"Third Column Body","editor":"DynamicValue","is_list":true,"name":"third_column","optional":true,"rank":22,"value":"_any_thing"},"ACN":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":23},"ACO":{"caption":"Use fourth column?","default_val":false,"editor":"Checkbox","name":"use_fourth_column","rank":24},"ACQ":{"caption":"Fourth Column Header","editor":"DynamicValue","name":"fourth_column_header","optional":true,"rank":25,"value":"text"},"ACR":{"caption":"Fourth Column Body","editor":"DynamicValue","is_list":true,"name":"fourth_column","optional":true,"rank":26,"value":"_any_thing"},"ACT":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":27},"ACU":{"caption":"Use fifth column?","default_val":false,"editor":"Checkbox","name":"use_fifth_column","rank":28},"ACW":{"caption":"Fifth Column Header","editor":"DynamicValue","name":"fifth_column_header","optional":true,"rank":29,"value":"text"},"ACX":{"caption":"Fifth Column Body","editor":"DynamicValue","is_list":true,"name":"fifth_column","optional":true,"rank":30,"value":"_any_thing"},"ACZ":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":31},"ACa":{"caption":"Use sixth column?","default_val":false,"editor":"Checkbox","name":"use_sixth_column","rank":32},"ACc":{"caption":"Sixth Column Header","editor":"DynamicValue","name":"sixth_column_header","optional":true,"rank":33,"value":"text"},"ACd":{"caption":"Sixth Column Body","editor":"DynamicValue","is_list":true,"name":"sixth_column","optional":true,"rank":34,"value":"_any_thing"},"ACf":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":35},"ACg":{"caption":"Use seventh column?","default_val":false,"editor":"Checkbox","name":"use_seventh_column","rank":36},"ACi":{"caption":"Seventh Column Header","editor":"DynamicValue","name":"seventh_column_header","optional":true,"rank":37,"value":"text"},"ACj":{"caption":"Seventh Column Body","editor":"DynamicValue","is_list":true,"name":"seventh_column","optional":true,"rank":38,"value":"_any_thing"},"ACl":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":39},"ACm":{"caption":"Use eighth column?","default_val":false,"editor":"Checkbox","name":"use_eighth_column","rank":40},"ACo":{"caption":"Eighth Column Header","editor":"DynamicValue","name":"eighth_column_header","optional":true,"rank":41,"value":"text"},"ACp":{"caption":"Eighth Column Body","editor":"DynamicValue","is_list":true,"name":"eighth_column","optional":true,"rank":42,"value":"_any_thing"},"ACr":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":43},"ACs":{"caption":"Use ninth column?","default_val":false,"editor":"Checkbox","name":"use_ninth_column","rank":44},"ACu":{"caption":"Ninth Column Header","editor":"DynamicValue","name":"ninth_column_header","optional":true,"rank":45,"value":"text"},"ACv":{"caption":"Ninth Column Body","editor":"DynamicValue","is_list":true,"name":"ninth_column","optional":true,"rank":46,"value":"_any_thing"},"ACx":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":47},"ACy":{"caption":"Use tenth column?","default_val":false,"editor":"Checkbox","name":"use_tenth_column","rank":48}
256,"ADA":{"caption":"Tenth Column Header","editor":"DynamicValue","name":"tenth_column_header","optional":true,"rank":49,"value":"text"},"ADB":{"caption":"Tenth Column Body","editor":"DynamicValue","is_list":true,"name":"tenth_column","optional":true,"rank":50,"value":"_any_thing"},"ADD":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":51},"ADE":{"caption":"Use eleventh column?","default_val":false,"editor":"Checkbox","name":"use_eleventh_column","rank":52},"ADG":{"caption":"Eleventh Column Header","editor":"DynamicValue","name":"eleventh_column_header","optional":true,"rank":53,"value":"text"},"ADH":{"caption":"Eleventh Column Body","editor":"DynamicValue","is_list":true,"name":"eleventh_column","optional":true,"rank":54,"value":"_any_thing"},"ADJ":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":55},"ADK":{"caption":"Use twelfth column?","default_val":false,"editor":"Checkbox","name":"use_twelfth_column","rank":56},"ADM":{"caption":"Twelfth Column Header","editor":"DynamicValue","name":"twelfth_column_header","optional":true,"rank":57,"value":"text"},"ADN":{"caption":"Twelfth Column Body","editor":"DynamicValue","is_list":true,"name":"twelfth_column","optional":true,"rank":58,"value":"_any_thing"},"ADP":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":59},"ADQ":{"caption":"Use thirteenth column?","default_val":false,"editor":"Checkbox","name":"use_thirteenth_column","rank":60},"ADS":{"caption":"Thirteenth Column Header","editor":"DynamicValue","name":"thirteenth_column_header","optional":true,"rank":61,"value":"text"},"ADT":{"caption":"Thirteenth Column Body","editor":"DynamicValue","is_list":true,"name":"thirteenth_column","optional":true,"rank":62,"value":"_any_thing"},"ADV":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":63},"ADW":{"caption":"Use fourteenth column?","default_val":false,"editor":"Checkbox","name":"use_fourteenth_column","rank":64},"ADY":{"caption":"Fourteenth Column Header","editor":"DynamicValue","name":"fourteenth_column_header","optional":true,"rank":65,"value":"text"},"ADZ":{"caption":"Fourteenth Column Body","editor":"DynamicValue","is_list":true,"name":"fourteenth_column","optional":true,"rank":66,"value":"_any_thing"},"ADb":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":67},"ADc":{"caption":"Use fifteenth column?","default_val":false,"editor":"Checkbox","name":"use_fifteenth_column","rank":68},"ADe":{"caption":"Fifteenth Column Header","editor":"DynamicValue","name":"fifteenth_column_header","optional":true,"rank":69,"value":"text"},"ADf":{"caption":"Fifteenth Column Body","editor":"DynamicValue","is_list":true,"name":"fifteenth_column","optional":true,"rank":70,"value":"_any_thing"},"ADh":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":71},"ADi":{"caption":"Use sixteenth column?","default_val":false,"editor":"Checkbox","name":"use_sixteenth_column","rank":72},"ADk":{"caption":"Sixteenth Column Header","editor":"DynamicValue","name":"sixteenth_column_header","optional":true,"rank":73,"value":"text"},"ADl":{"caption":"Sixteenth Column Body","editor":"DynamicValue","is_list":true,"name":"sixteenth_column","optional":true,"rank":74,"value":"_any_thing"},"ADn":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":75},"ADo":{"caption":"Use seventeenth column?","default_val":false,"editor":"Checkbox","name":"use_seventeenth_column","rank":76},"ADq":{"caption":"Seventeenth Column Header","editor":"DynamicValue","name":"seventeenth_column_header","optional":true,"rank":77,"value":"text"},"ADr":{"caption":"Seventeenth Column Body","editor":"DynamicValue","is_list":true,"name":"seventeenth_column","optional":true,"rank":78,"value":"_any_thing"},"ADt":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":79}
256,"ADu":{"caption":"Use eighteenth column?","default_val":false,"editor":"Checkbox","name":"use_eighteenth_column","rank":80},"ADw":{"caption":"Eighteenth Column Header","editor":"DynamicValue","name":"eighteenth_column_header","optional":true,"rank":81,"value":"text"},"ADx":{"caption":"Eighteenth Column Body","editor":"DynamicValue","is_list":true,"name":"eighteenth_column","optional":true,"rank":82,"value":"_any_thing"},"ADz":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":83},"AEA":{"caption":"Use nineteenth column?","default_val":false,"editor":"Checkbox","name":"use_nineteenth_column","rank":84},"AEC":{"caption":"Nineteenth Column Header","editor":"DynamicValue","name":"nineteenth_column_header","optional":true,"rank":85,"value":"text"},"AED":{"caption":"Nineteenth Column Body","editor":"DynamicValue","is_list":true,"name":"nineteenth_column","optional":true,"rank":86,"value":"_any_thing"},"AEF":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":87},"AEG":{"caption":"Use twentieth column?","default_val":false,"editor":"Checkbox","name":"use_twentieth_column","rank":88},"AEI":{"caption":"Twentieth Column Header","editor":"DynamicValue","name":"twentieth_column_header","optional":true,"rank":89,"value":"text"},"AEJ":{"caption":"Twentieth Column Body","editor":"DynamicValue","is_list":true,"name":"twentieth_column","optional":true,"rank":90,"value":"_any_thing"},"AEM":{"caption":"Table Column Width","default_val":"Fit available space","editor":"Dropdown","name":"table_column_width","rank":1},"AEO":{"caption":"Table Layout","default_val":"Standard","editor":"Dropdown","name":"table_layout","rank":4},"AEg":{"caption":"Is this element being put into a Multi Column?","default_val":false,"editor":"Checkbox","name":"into_multi_column","rank":92},"AEh":{"caption":"This Column's Width","default_val":"Fit available space","editor":"Dropdown","name":"this_column_width","optional":true,"rank":93},"AEi":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multi_column_name","optional":true,"rank":95,"value":"text"},"AEl":{"caption":"About multi column","editor":"Label","name":"about_multi_column","rank":91},"AFa":{"caption":"Is this element being put into the footer?","default_val":false,"editor":"Checkbox","name":"into_footer","rank":96},"AFb":{"caption":"Is this element being put into the header?","default_val":false,"editor":"Checkbox","name":"into_header","rank":97},"AFs":{"caption":"Is this element being put into the background?","name":"into_background","rank":98,"editor":"Checkbox","default_val":false},"AOK":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":12,"editor":"DynamicValue","value":"boolean","default_val":false},"AOx":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":94,"editor":"DynamicValue","value":"number","optional":true}},"code":{"fn":"function(instance,properties,context){const getList=(columnXBasicReference,startPosition,finishPosition)=>{let returnedList;return columnXBasicReference.get(startPosition,finishPosition)},listLoader=(columnBasicReference,columnLengthFunction)=>{let acquiredListColumn;return getList(columnBasicReference,0,columnLengthFunction)},turnStringIntoTextObject=(string,style)=>{if(properties.parse_bbcode){const parser=undefined;return{stack:getParser(pdfMake.fonts,((imageName,link)=>{instance.data.docDefinition.images[imageName]=link}),(err=>{context.reportDebugger(err.message)})).getParsedText(string),style:`${style.toLowerCase()}`,margin:null}}return{text:string,style:`${style.toLowerCase()}`,margin:null}},tableCustomMarginsDefinitionLogic=()=>properties.table_custom_margins?[properties.table_left_margin,properties.table_top_margin,properties.table_right_margin,properties.table_bottom_margin]:null,processColumn=(columnData,useColumn,columnList,columnIndex)=>{useColumn&&(instance.data[columnList]=null===columnData?[\" \"]:listLoader(columnData,columnData.length()))};processColumn(properties.first_column,!0,\"listOfExtractedValuesFirstColumn\",1),processColumn(properties.second_column,properties.use_second_column,\"listOfExtractedValuesSecondColumn\",2),processColumn(properties.third_column,properties.use_third_column,\"listOfExtractedValuesThirdColumn\",3),processColumn(properties.fourth_column,properties.use_fourth_column,\"listOfExtractedValuesFourthColumn\",4),processColumn(properties.fifth_column,properties.use_fifth_column,\"listOfExtractedValuesFifthColumn\",5),processColumn(properties.sixth_column,properties.use_sixth_column,\"listOfExtractedValuesSixthColumn\",6),processColumn(properties.seventh_column,properties.use_seventh_column,\"listOfExtractedValuesSeventhColumn\",7),processColumn(properties.eighth_column,properties.use_eighth_column,\"listOfExtractedValuesEighthColumn\",8),processColumn(properties.ninth_column,properties.use_ninth_column,\"listOfExtractedValuesNinthColumn\",9),processColumn(properties.tenth_column,properties.use_tenth_column,\"listOfExtractedValuesTenthColumn\",10),processColumn(properties.eleventh_column,properties.use_eleventh_column,\"listOfExtractedValuesEleventhColumn\",11),processColumn(properties.twelfth_column,properties.use_twelfth_column,\"listOfExtractedValuesTwelfthColumn\",12),processColumn(properties.thirteenth_column,properties.use_thirteenth_column,\"listOfExtractedValuesThirteenthColumn\",13),processColumn(properties.fourteenth_column,properties.use_fourteenth_column,\"listOfExtractedValuesFourteenthColumn\",14),processColumn(properties.fifteenth_column,properties.use_fifteenth_column,\"listOfExtractedValuesFifteenthColumn\",15),processColumn(properties.sixteenth_column,properties.use_sixteenth_column,\"listOfExtractedValuesSixteenthColumn\",16),processColumn(properties.seventeenth_column,properties.use_seventeenth_column,\"listOfExtractedValuesSeventeenthColumn\",17),processColumn(properties.eighteenth_column,properties.use_eighteenth_column,\"listOfExtractedValuesEighteenthColumn\",18),processColumn(properties.nineteenth_column,properties.use_nineteenth_column,\"listOfExtractedValuesNineteenthColumn\",19),processColumn(properties.twentieth_column,properties.use_twentieth_column,\"listOfExtractedValuesTwentiethColumn\",20);const createBlanks=element=>{let checkAndSwap=nestedElement=>void 0===nestedElement?null:nestedElement;return element.map(checkAndSwap)},returnLength=element=>element.length,biggerComparer=(accumulator,currentValue)=>accumulator>currentValue?accumulator:currentValue,transpose=a=>{const w=a.length||0,h=a[0]instanceof Array?a[0].length:0;if(0===h||0===w)return[];const t=[];for(let i=0;i<h;i++){t[i]=[];for(let j=0;j<w;j++)t[i][j]=a[j][i]}return t};void 0===instance.data.composeInMe&&(instance.data.composeInMe=[]),void 0!==properties.tableStyle&&null!==properties.tableStyle||(properties.tableStyle=\"\");let definedStyleForTable=properties.tableStyle.replaceAll(/\\W/g,\"\"),tableBody=[],tableBodyTransposed=[];tableBody.push(instance.data.listOfExtractedValuesFirstColumn.map((value=>turnStringIntoTextObject(value,definedStyleForTable))));const pushToTableBody=(columnData,useColumn)=>{useColumn&&tableBody.push(instance.data[columnData].map((value=>turnStringIntoTextObject(value,definedStyleForTable))))};pushToTableBody(\"listOfExtractedValuesSecondColumn\",properties.use_second_column),pushToTableBody(\"listOfExtractedValuesThirdColumn\",properties.use_third_column),pushToTableBody(\"listOfExtractedValuesFourthColumn\",properties.use_fourth_column),pushToTableBody(\"listOfExtractedValuesFifthColumn\",properties.use_fifth_column),pushToTableBody(\"listOfExtractedValuesSixthColumn\",properties.use_sixth_column),pushToTableBody(\"listOfExtractedValuesSeventhColumn\",properties.use_seventh_column),pushToTableBody(\"listOfExtractedValuesEighthColumn\",properties.use_eighth_column),pushToTableBody(\"listOfExtractedValuesNinthColumn\",properties.use_ninth_column),pushToTableBody(\"listOfExtractedValuesTenthColumn\",properties.use_tenth_column),pushToTableBody(\"listOfExtractedValuesEleventhColumn\",properties.use_eleventh_column),pushToTableBody(\"listOfExtractedValuesTwelfthColumn\",properties.use_twelfth_column),pushToTableBody(\"listOfExtractedValuesThirteenthColumn\",properties.use_thirteenth_column),pushToTableBody(\"listOfExtractedValuesFourteenthColumn\",properties.use_fourteenth_column),pushToTableBody(\"listOfExtractedValuesFifteenthColumn\",properties.use_fifteenth_column),pushToTableBody(\"listOfExtractedValuesSixteenthColumn\",properties.use_sixteenth_column),pushToTableBody(\"listOfExtractedValuesSeventeenthColumn\",properties.use_seventeenth_column),pushToTableBody(\"listOfExtractedValuesEighteenthColumn\",properties.use_eighteenth_column),pushToTableBody(\"listOfExtractedValuesNineteenthColumn\",properties.use_nineteenth_column),pushToTableBody(\"listOfExtractedValuesTwentiethColumn\",properties.use_twentieth_column);let storedListLengths=tableBody.map(returnLength),biggestLength=storedListLengths.reduce(biggerComparer),indexOfLongerArray=storedListLengths.findIndex((element=>element===biggestLength));if(tableBodyTransposed=transpose(tableBody),tableBody=tableBodyTransposed.map(createBlanks),properties.table_uses_header_row){void 0!==properties.header_style&&null!==properties.header_style||(properties.header_style=\"\");var arrayOfHeaders=[],definedStyleForHeaderText=properties.header_style.replace(/\\W/g,\"\");const pushHeader=(header,useColumn)=>{if(useColumn){const headerCell=turnStringIntoTextObject(header,definedStyleForHeaderText);arrayOfHeaders.push(headerCell)}};pushHeader(properties.first_column_header,!0),pushHeader(properties.second_column_header,properties.use_second_column),pushHeader(properties.third_column_header,properties.use_third_column),pushHeader(properties.fourth_column_header,properties.use_fourth_column),pushHeader(properties.fifth_column_header,properties.use_fifth_column),pushHeader(properties.sixth_column_header,properties.use_sixth_column),pushHeader(properties.seventh_column_header,properties.use_seventh_column),pushHeader(properties.eighth_column_header,properties.use_eighth_column),pushHeader(properties.ninth_column_header,properties.use_ninth_column),pushHeader(properties.tenth_column_header,properties.use_tenth_column),pushHeader(properties.eleventh_column_header,properties.use_eleventh_column),pushHeader(properties.twelfth_column_header,properties.use_twelfth_column),pushHeader(properties.thirteenth_column_header,properties.use_thirteenth_column),pushHeader(properties.fourteenth_column_header,properties.use_fourteenth_column),pushHeader(properties.fifteenth_column_header,properties.use_fifteenth_column),pushHeader(properties.sixteenth_column_header,properties.use_sixteenth_column),pushHeader(properties.seventeenth_column_header,properties.use_seventeenth_column),pushHeader(properties.eighteenth_column_header,properties.use_eighteenth_column),pushHeader(properties.nineteenth_column_header,properties.use_nineteenth_column),pushHeader(properties.twentieth_column_header,properties.use_twentieth_column),tableBody.unshift(arrayOfHeaders)}let arrayOfWidths=[],columnsWidth=\"Fit available space\"===properties.table_column_width?\"*\":\"auto\";arrayOfWidths.push(columnsWidth);const pushWidth=useColumn=>{useColumn&&arrayOfWidths.push(columnsWidth)};pushWidth(properties.use_second_column),pushWidth(properties.use_third_column),pushWidth(properties.use_fourth_column),pushWidth(properties.use_fifth_column),pushWidth(properties.use_sixth_column),pushWidth(properties.use_seventh_column),pushWidth(properties.use_eighth_column),pushWidth(properties.use_ninth_column),pushWidth(properties.use_tenth_column),pushWidth(properties.use_eleventh_column),pushWidth(properties.use_twelfth_column),pushWidth(properties.use_thirteenth_column),pushWidth(properties.use_fourteenth_column),pushWidth(properties.use_fifteenth_column),pushWidth(properties.use_sixteenth_column),pushWidth(properties.use_seventeenth_column),pushWidth(properties.use_eighteenth_column),pushWidth(properties.use_nineteenth_column),pushWidth(properties.use_twentieth_column);const selectLayout=undefined;let layoutHolder=(chosenLayout=>
256{switch(chosenLayout){case\"No Borders\":return\"noBorders\";case\"Header Line Only\":return\"headerLineOnly\";case\"Light Horizontal Lines\":return\"lightHorizontalLines\";case\"Strong Outer Border\":return{hLineWidth:(i,node)=>0===i||i===node.table.body.length?2:1,vLineWidth:(i,node)=>0===i||i===node.table.widths.length?2:1,hLineColor:(i,node)=>0===i||i===node.table.body.length?\"black\":\"gray\",vLineColor:(i,node)=>0===i||i===node.table.widths.length?\"black\":\"gray\"};case\"Zebra\":return{fillColor:(i,node)=>i%2==0?\"#CCCCCC\":null};case\"Light Horizontal Lines Without Header\":return{hLineWidth:(i,node)=>i===node.table.headerRows?0:1,vLineWidth:()=>0,hLineColor:()=>\"#aaa\",paddingLeft:i=>0===i?0:8,paddingRight:(i,node)=>i===node.table.widths.length-1?0:8};default:return\"no layout specified\"}})(properties.table_layout),tableObjectHolder={table:{headerRows:properties.table_uses_header_row?1:0,dontBreakRows:!0,keepWithHeaderRows:properties.table_uses_header_row?1:0,widths:arrayOfWidths,body:tableBody},margin:tableCustomMarginsDefinitionLogic(),layout:layoutHolder,pageBreak:properties.page_break.toLowerCase()};const pushToLocation=undefined;((location,object)=>{properties.into_multi_column?(object.width=\"Fit available space\"===properties.this_column_width?\"*\":\"Fit content\"===properties.this_column_width?\"auto\":properties.fixed_width_column_size,instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(object)):properties.into_footer?instance.data.footerObjectsHolder.columns.push(object):properties.into_header?instance.data.headerObjectsHolder.columns.push(object):properties.into_background?instance.data.docDefinition.background.push(object):instance.data.composeInMe.push(object)})(properties.target_location,tableObjectHolder)}","add_debugger":false}},"AEQ":{"caption":"Insert image on","fields":{"AER":{"caption":"Image file (see docs)","editor":"DynamicValue","name":"image_link","optional":true,"rank":0,"value":"image"},"AEX":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":1},"AEd":{"caption":"Is this element being put into a Multi Column?","default_val":false,"editor":"Checkbox","name":"into_multi_column","rank":4},"AEf":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multi_column_name","optional":true,"rank":5,"value":"text"},"AEj":{"caption":"Image width","editor":"DynamicValue","name":"image_width","optional":true,"rank":2,"value":"number"},"AEk":{"caption":"Image height","editor":"DynamicValue","name":"image_height","optional":true,"rank":3,"value":"number"},"AFD":{"caption":"Use image custom margins?","default_val":false,"editor":"Checkbox","name":"image_custom_margins","rank":6},"AFE":{"caption":"Below you will be able to set extra margins for your image element. Leave the box unchecked for a default display. (Will ignore any numbers below)","editor":"Label","name":"margin_info","rank":7},"AFF":{"caption":"Left Margin","editor":"DynamicValue","name":"left_margin","rank":8,"value":"number","default_val":0},"AFG":{"caption":"Top Margin","editor":"DynamicValue","name":"top_margin","rank":9,"value":"number","default_val":0},"AFH":{"caption":"Right Margin","editor":"DynamicValue","name":"right_margin","rank":10,"value":"number","default_val":0},"AFI":{"caption":"Bottom Margin","editor":"DynamicValue","name":"bottom_margin","rank":11,"value":"number","default_val":0},"AFc":{"caption":"Is this element being put into the footer?","default_val":false,"editor":"Checkbox","name":"into_footer","rank":12},"AFd":{"caption":"Is this element being put into the header?","default_val":false,"editor":"Checkbox","name":"into_header","rank":13},"AFq":{"caption":"Is this element being put into the background?","name":"into_background","rank":14,"editor":"Checkbox","default_val":false},"AGM":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":15,"editor":"Label"},"AGN":{"caption":"Image list","name":"image_list","rank":17,"editor":"DynamicValue","value":"image","is_list":true,"optional":true},"AGO":{"caption":"Structure name","name":"repeating_structure_name","rank":16,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){void 0===instance.data.composeInMe&&(instance.data.composeInMe=[]);const protocolFix=possibleUrl=>(possibleUrl.substring(0,4),`${possibleUrl}`),getList=(thingWithList,startPosition,finishPosition)=>{let returnedList;return thingWithList.get(startPosition,finishPosition)},imgCustomMarginsDefinitionLogic=()=>!0===properties.image_custom_margins?[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin]:null;if(void 0===properties.image_link||!properties.image_link||void 0!==properties.repeating_structure_name&&null!==properties.repeating_structure_name){if(void 0!==properties.repeating_structure_name&&properties.repeating_structure_name)if(void 0!==properties.image_list&&properties.image_list){let listOfImages=getList(properties.image_list,0,properties.image_list.length()),thisElementSeries=[];for(i=0;i<instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;i++){let fixedImageUrl=protocolFix(listOfImages[i]),providedImageName=protocolFix(listOfImages[i]).replaceAll(/\\W/g,\"\");instance.data.docDefinition.images[`${providedImageName}`]=fixedImageUrl;let currentImageObjectHolder={image:providedImageName,pageBreak:properties.page_break.toLowerCase(),width:properties.image_width,height:properties.image_height,margin:imgCustomMarginsDefinitionLogic()};!0===properties.into_multi_column?instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentImageObjectHolder):thisElementSeries.push(currentImageObjectHolder)}!1===properties.into_multi_column&&instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)}else{let fixedImageUrl=protocolFix(properties.image_link),providedImageName=protocolFix(properties.image_link).replaceAll(/\\W/g,\"\");instance.data.docDefinition.images[`${providedImageName}`]=fixedImageUrl;let thisElementSeries=[];for(i=0;i<instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;i++){let currentImageObjectHolder={image:providedImageName,pageBreak:properties.page_break.toLowerCase(),width:properties.image_width,height:properties.image_height,margin:imgCustomMarginsDefinitionLogic()};!0===properties.into_multi_column?instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentImageObjectHolder):thisElementSeries.push(currentImageObjectHolder)}!1===properties.into_multi_column&&instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)}}else{let fixedImageUrl=protocolFix(properties.image_link),providedImageName=protocolFix(properties.image_link).replaceAll(/\\W/g,\"\");instance.data.docDefinition.images[`${providedImageName}`]=fixedImageUrl,void 0===properties.image_width&&(properties.image_width=\"\"),void 0===properties.image_height&&(properties.image_height=\"\");let imageObjectHolder={image:providedImageName,pageBreak:properties.page_break.toLowerCase(),width:properties.image_width,height:properties.image_height,margin:imgCustomMarginsDefinitionLogic()};!0===properties.into_multi_column?instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(imageObjectHolder):!0===properties.into_footer?instance.data.footerObjectsHolder.columns.push(imageObjectHolder):!0===properties.into_header?instance.data.headerObjectsHolder.columns.push(imageObjectHolder):!0===properties.into_background?instance.data.docDefinition.background.push(imageObjectHolder):instance.data.composeInMe.pu
256sh(imageObjectHolder)}}","add_debugger":false}},"AET":{"caption":"Start multi column","fields":{"AEV":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multiColumnName","rank":0,"value":"text"},"AEW":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":1},"AGt":{"caption":"Being repeated","name":"being_repeated","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AGu":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":3,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){if(void 0===instance.data.composeInMe&&(instance.data.composeInMe=[]),void 0===instance.data.multiColumnObjectHolder&&(instance.data.multiColumnObjectHolder=[]),properties.being_repeated)for(instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multiColumnName}`]=[],i=0;i<instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;i++){let currentMultiColumn={pageBreak:properties.page_break.toLowerCase(),columns:[]};instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multiColumnName}`].push(currentMultiColumn)}else instance.data.multiColumnObjectHolder[`${properties.multiColumnName}`]={pageBreak:properties.page_break.toLowerCase(),columns:[]}}"}},"AEU":{"caption":"End multi column","fields":{"AEY":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multiColumnName","rank":0,"value":"text"},"AGv":{"caption":"Being repeated","name":"being_repeated","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AGw":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){properties.being_repeated?instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push([...instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multiColumnName}`]]):instance.data.composeInMe.push(instance.data.multiColumnObjectHolder[`${properties.multiColumnName}`])}"}},"AEn":{"caption":"Activate footer","fields":{"AEo":{"caption":"Show page number? (counter)","default_val":false,"editor":"Checkbox","name":"show_page_number","rank":1},"AEp":{"caption":"Counter alignment","default_val":"right","editor":"Dropdown","name":"page_number_alignment","optional":true,"rank":3},"AEq":{"caption":"Start count on second page","default_val":false,"editor":"Checkbox","name":"start_count_on_second_page","rank":2},"AEr":{"caption":"Hide counter on","editor":"StaticText","name":"exclude_pages","optional":true,"rank":5},"AFC":{"caption":"You can put elements in the footer by checking the box at the element itself that says \"insert this element into footer?\".","editor":"Label","name":"you_can_put_elements_in_the_footer_by_checking_the_box_at_the_element_itself_that_says_\"insert_this_element_into_footer?\".","rank":0},"AFJ":{"caption":"Hide page number (counter) on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_pages","rank":4},"AFN":{"caption":"Page number margins","editor":"Label","name":"page_number_margins","rank":10},"AFO":{"caption":"Left margin","default_val":0,"editor":"StaticNumber","name":"left_margin","rank":11},"AFP":{"caption":"Top margin","default_val":0,"editor":"StaticNumber","name":"top_margin","rank":12},"AFQ":{"caption":"Right margin","default_val":0,"editor":"StaticNumber","name":"right_margin","rank":13},"AFR":{"caption":"Bottom margin","default_val":0,"editor":"StaticNumber","name":"bottom_margin","rank":14},"AFe":{"caption":"Hide footer elements on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_elements_pages","rank":6},"AFf":{"caption":"Hide elements on","editor":"StaticText","name":"exclude_elements_pages","optional":true,"rank":7},"AOe":{"caption":"Show total page count","name":"show_total_page_count","rank":8,"editor":"DynamicValue","value":"boolean","default_val":false},"AOf":{"caption":"Counter divider","name":"current_and_total_page_divider","rank":9,"editor":"DynamicValue","value":"text","optional":true},"AOu":{"caption":"Counter style","name":"number_style","rank":15,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){void 0===properties.page_number_alignment&&(properties.page_number_alignment=\"\");const whatCounterToShowOnThisPage=(currentPage,pageCount)=>{if(properties.use_exclude_pages){let arrayOfExcludedNumbers=properties.exclude_pages.match(/\\d+/g).map(Number),adjustedArrayOfExcludedNumbersOrNot;return adjustedArrayOfExcludedNumbersOrNot=!0===properties.start_count_on_second_page?arrayOfExcludedNumbers.map((function(value){return value+1})):arrayOfExcludedNumbers,(adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)||!0!==properties.start_count_on_second_page)&&(adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)||!1!==properties.start_count_on_second_page)?{text:\"\",alignment:properties.page_number_alignment,margin:[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin],style:properties.number_style}:{text:startCountingOnSecondPage(currentPage,pageCount),alignment:properties.page_number_alignment,margin:[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin],style:properties.number_style}}return{text:startCountingOnSecondPage(currentPage,pageCount),alignment:properties.page_number_alignment,margin:[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin],style:properties.number_style}},startCountingOnSecondPage=(currentPage,pageCount)=>!0===properties.start_count_on_second_page&&currentPage>1?!0===properties.show_total_page_count?`${currentPage-1}${properties.current_and_total_page_divider}${pageCount-1}`:\"\"+(currentPage-1):!0===properties.start_count_on_second_page&&1===currentPage?\"\":!1===properties.start_count_on_second_page?!0===properties.show_total_page_count?`${currentPage}${properties.current_and_total_page_divider}${pageCount}`:currentPage:void 0;instance.data.footerObjectsHolder={columns:[]},instance.data.finalFooterObjectsHolder={columns:[]},instance.data.docDefinition.footer=function(currentPage,pageCount){if(instance.data.finalFooterObjectsHolder.columns=[],properties.use_exclude_elements_pages){let arrayOfExcludedNumbers=properties.exclude_elements_pages.match(/\\d+/g).map(Number),adjustedArrayOfExcludedNumbersOrNot;adjustedArrayOfExcludedNumbersOrNot=!0===properties.start_count_on_second_page?arrayOfExcludedNumbers.map((function(value){return value+1})):arrayOfExcludedNumbers,adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)?instance.data.finalFooterObjectsHolder.columns=[]:instance.data.finalFooterObjectsHolder.columns=[].concat(instance.data.footerObjectsHolder.columns)}else instance.data.finalFooterObjectsHolder.columns=[].concat(instance.data.footerObjectsHolder.columns);if(!0===properties.show_page_number)if(\"right\"===properties.page_number_alignment)instance.data.finalFooterObjectsHolder.columns.push(whatCounterToShowOnThisPage(currentPage,pageCount));else if(\"left\"===properties.page_number_alignment)instance.data.finalFooterObjectsHolder.columns.unshift(whatCounterToShowOnThisPage(currentPage,pageCount));else{let byHalf=instance.data.finalFooterObjectsHolder.columns.length/2;instance.data.finalFooterObjectsHolder.columns.splice(byHalf,0,whatCounterToShowOnThisPage(currentPage,pageCount))}return instance.data.finalFooterObjectsHolder}}"}},"AEt":{"caption":"Activate header","fields":{"AEx":{"caption":"Show page number? (counter)","default_val":false,"editor":"Checkbox","name":"show_page_number","rank":1},"AEy":{"caption":"Start count on second page","default_val":false,"editor":"Checkbox","name":"start_count_on_second_page","rank":2},"AEz":{"caption":"Counter alignment","default_val":"right","editor":"Dropdown","name":"page_number_alignment","optional":true,"rank":3},"AFA":{"caption":"Hide counter on","editor":"StaticText","name":"exclude_pages","optional":true,"rank":5},"AFB":{"caption":"You can put elements in the header by checking the box at the element itself that says \"insert this element into header?\".","editor":"Label","name":"you_can_put_elements_in_the_header_by_checking_the_box_at_the_element_itself_that_says_\"insert_this_element_into_header?\".","rank":0},"AFT":{"caption":"Hide page number (counter) on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_pages","rank":4},"AFU":{"caption":"Page number margins","editor":"Label","name":"page_number_margins","rank":8},"AFV":{"caption":"Left margin","default_val":0,"editor":"StaticNumber","name":"left_margin","rank":9},"AFW":{"caption":"Top margin","default_val":0,"editor":"StaticNumber","name":"top_margin","rank":10},"AFX":{"caption":"Right margin","default_val":0,"editor":"StaticNumber","name":"right_margin","rank":11},"AFY":{"caption":"Bottom margin","default_val":0,"editor":"StaticNumber","name":"bottom_margin","rank":12},"AFg":{"caption":"Hide header elements on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_elements_pages","optional":true,"rank":6},"AFh":{"caption":"Hide elements on","editor":"StaticText","name":"exclude_elements_pages","optional":true,"rank":7}},"code":{"fn":"function(instance,properties,context){void 0===properties.page_number_alignment&&(properties.page_number_alignment=\"\");const whatCounterToShowOnThisPage=currentPage=>{if(properties.use_exclude_pages){let arrayOfExcludedNumbers=properties.exclude_pages.match(/\\d+/g).map(Number),adjustedArrayOfExcludedNumbersOrNot;return adjustedArrayOfExcludedNumbersOrNot=!0===properties.start_count_on_second_page?arrayOfExcludedNumbers.map((function(value){return value+1})):arrayOfExcludedNumbers,(adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)||!0!==properties.start_count_on_second_page)&&(adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)||!1!==properties.start_count_on_second_page)?{text:\"\",alignment:properties.page_number_alignment,margin:[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin]}:{text:startCountingOnSecondPage(currentPage),alignment:properties.page_number_alignment,margin:[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin]}}return{text:startCountingOnSecondPage(currentPage),alignment:properties.page_number_alignment,margin:[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin]}},startCountingOnSecondPage=currentPage=>!0===properties.start_count_on_second_page&&currentPage>1?currentPage-1:!0===properties.start_count_on_second_page&&1===currentPage?\"\":!1===properties.start_count_on_second_page?currentPage:void 0;instance.data.headerObjectsHolder={columns:[]},instance.data.finalHeaderObjectsHolder={columns:[]},instance.data.docDefinition.header=function(currentPage){if(instance.data.finalHeaderObjectsHolder.columns=[],properties.use_exclude_elements_pages){let arrayOfExcludedNumbers=properties.exclude_elements_pages.match(/\\d+/g).map(Number),adjustedArrayOfExcludedNumbersOrNot;adjustedArrayOfExcludedNumbersOrNot=!0===properties.start_count_on_second_page?arrayOfExcludedNumbers.map((function(value){return value+1})):arrayOfExcludedNumbers,adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)?instance.data.finalHeaderObjectsHolder.columns=[]:instance.data.finalHeaderObjectsHolder.columns=[].concat(instance.data.headerObjectsHolder.columns)}else instance.data.finalHeaderObjectsHolder.columns=[].concat(instance.data.headerObjectsHolder.columns);if(!0===properties.show_page_number)if(\"right\"===properties.page_number_alignment)instance.data.finalHeaderObjectsHolder.columns.push(whatCounterToShowOnThisPage(currentPage));else if(\"left\"===properties.page_number_alignment)instance.data.finalHeaderObjectsHolder.columns.unshift(whatCounterToShowOnThisPage(currentPage));else{let byHalf=instance.data.finalHeaderObjectsHolder.columns.length/2;instance.data.finalHeaderObjectsHolder.columns.splice(byHalf,0,whatCounterToShowOnThisPage(currentPage))}return instance.data.finalHeaderObjectsHolder}}"}},"AFx":{"caption":"Start repeating structure","code":{"fn":"function(instance,properties,context){instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`]={},instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements=[],instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations=properties.iterations_count}"},"fields":{"AGE":{"caption":"Name","name":"repeating_structure_name","rank":0,"editor":"DynamicValue","value":"text","default_val":"","optional":false},"AGL":{"caption":"How many structures","name":"iterations_count","rank":1,"editor":"DynamicValue","value":"number","optional":false}}},"AGJ":{"caption":"End repeating structure","code":{"fn":"function(instance,properties,context){let sequentiallyRepeatedElements=instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements,returnLength=element=>element.length,biggerComparer=(accumulator,currentValue)=>{let biggerNumber;return biggerNumber=accumulator>currentValue?accumulator:currentValue,biggerNumber},isThisTheBiggestLength=(element,index,array)=>element===biggestLength,storedListLengths=sequentiallyRepeatedElements.map(returnLength),biggestLength=storedListLengths.reduce(biggerComparer),indexOfLongerArray=storedListLengths.findIndex(isThisTheBiggestLength),transpose,mixedSeriesOfElements,flattenedMixedSeries=(a=>{var w=a.length||0,h=a[indexOfLongerArray]instanceof Array?a[indexOfLongerArray].length:0,i,j,t=[];for(i=0;i<h;i++)for(t[i]=[],j=0;j<w;j++)t[i][j]=a[j][i];return t})(sequentiallyRepeatedElements).flat(2);
256letFilteredUndefinedsFlatMixSeries=flattenedMixedSeries.filter(Boolean);let renewedObjsFlatMixSeries=letFilteredUndefinedsFlatMixSeries.map((x=>JSON.parse(JSON.stringify(x))));instance.data.composeInMe.push(...renewedObjsFlatMixSeries)}"},"fields":{"AGK":{"caption":"Name","name":"repeating_structure_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AGT":{"caption":"Add column to repeated table","code":{"fn":"function(instance,properties,context){const getList=(thingWithList,startPosition,finishPosition)=>{let returnedList;return thingWithList.get(startPosition,finishPosition)};let itemsNumbers=instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;var tempColumnHolder=[];for(i=0;i<itemsNumbers;i++){let storedCurrentListThing=getList(properties.data_source,0,properties.data_source.length())[i].get(properties.field_of_thing),currentList=getList(storedCurrentListThing,0,storedCurrentListThing.length());if(properties.parse_bbcode){const parser=getParser(pdfMake.fonts,((imageName,link)=>{instance.data.docDefinition.images[imageName]=link}),(err=>{context.reportDebugger(err.message)}));currentList=currentList.map((item=>({stack:parser.getParsedText(item)})))}tempColumnHolder.push(currentList)}for(i=0;i<itemsNumbers;i++){if(instance.data[`${properties.table_name}`].tableBodies[i].push(tempColumnHolder[i]),\"Fit available space\"===properties.table_column_width)var columnsWidth=\"*\";else var columnsWidth=\"auto\";instance.data[`${properties.table_name}`].arraysOfWidths[i].push(columnsWidth)}if(void 0!==properties.column_header&&null!==properties.column_header){let columnHeaderAsObj={text:properties.column_header,style:instance.data[`${properties.table_name}`].definedStyleForHeaderText};if(properties.parse_bbcode){const parser=undefined;columnHeaderAsObj={stack:getParser(pdfMake.fonts,((imageName,link)=>{instance.data.docDefinition.images[imageName]=link}),(err=>{context.reportDebugger(err.message)})).getParsedText(properties.column_header),style:instance.data[`${properties.table_name}`].definedStyleForHeaderText}}instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj)}}","add_debugger":true},"fields":{"AGX":{"caption":"Thing type","name":"thing_type","rank":1,"editor":"custom_type"},"AGY":{"caption":"Field of thing","name":"field_of_thing","rank":2,"editor":"custom_field_AGX"},"AGZ":{"caption":"Data source","name":"data_source","rank":3,"editor":"DynamicValue","value":"custom_data_AGX","is_list":true},"AGc":{"caption":"Table name","name":"table_name","rank":4,"editor":"DynamicValue","value":"text"},"AGg":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":5,"editor":"DynamicValue","value":"text"},"AGj":{"caption":"Column header","name":"column_header","rank":6,"editor":"DynamicValue","value":"text","optional":true},"AGz":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"attention:_this_advanced_action_is_only_to_be_used_inside_a_\"repeated_structure\".","rank":0,"editor":"Label"},"AOO":{"caption":"Parse BBCode","name":"parse_bbcode","rank":7,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AGa":{"caption":"Start repeated table","code":{"fn":"function(instance,properties,context){let itemsNumbers=instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;for(instance.data[`${properties.table_name}`]={},instance.data[`${properties.table_name}`].tableBodies=[],instance.data[`${properties.table_name}`].arraysOfWidths=[],instance.data[`${properties.table_name}`].arrayOfHeaders=[],void 0!==properties.header_style&&null!==properties.header_style?instance.data[`${properties.table_name}`].definedStyleForHeaderText=properties.header_style.replaceAll(/\\W/g,\"\"):instance.data[`${properties.table_name}`].definedStyleForHeaderText=\"\",i=0;i<itemsNumbers;i++)instance.data[`${properties.table_name}`].tableBodies.push([]),instance.data[`${properties.table_name}`].arraysOfWidths.push([])}"},"fields":{"AGd":{"caption":"Table name","name":"table_name","rank":1,"editor":"DynamicValue","value":"text"},"AGf":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text"},"AGi":{"caption":"Place headers","name":"place_headers","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AGk":{"caption":"Header style","name":"header_style","rank":4,"editor":"DynamicValue","value":"text","optional":true},"AHA":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"attention:_this_advanced_action_is_only_to_be_used_inside_a_\"repeated_structure\".","rank":0,"editor":"Label"}}},"AGb":{"caption":"End repeated table","code":{"fn":"function(instance,properties,context){let selectLayout=chosenLayout=>
256\"No Borders\"===chosenLayout?\"noBorders\":\"Header Line Only\"===chosenLayout?\"headerLineOnly\":\"Light Horizontal Lines\"===chosenLayout?\"lightHorizontalLines\":\"Strong Outer Border\"===chosenLayout?{hLineWidth:function(i,node){return 0===i||i===node.table.body.length?2:1},vLineWidth:function(i,node){return 0===i||i===node.table.widths.length?2:1},hLineColor:function(i,node){return 0===i||i===node.table.body.length?\"black\":\"gray\"},vLineColor:function(i,node){return 0===i||i===node.table.widths.length?\"black\":\"gray\"}}:\"Zebra\"===chosenLayout?{fillColor:function(i,node){return i%2==0?\"#CCCCCC\":null}}:\"Light Horizontal Lines Without Header\"===chosenLayout?{hLineWidth:(i,node)=>i===node.table.headerRows?0:1,vLineWidth:i=>0,hLineColor:i=>\"#aaa\",paddingLeft:i=>0===i?0:8,paddingRight:(i,node)=>i===node.table.widths.length-1?0:8}:\"no layout specified\",tableCustomMarginsDefinitionLogic=()=>!0===properties.table_custom_margins?[properties.table_left_margin,properties.table_top_margin,properties.table_right_margin,properties.table_bottom_margin]:null,createBlanks=element=>{let checkAndSwap=nestedElement=>void 0===nestedElement?null:nestedElement;return element.map(checkAndSwap)},returnLength=element=>element.length,biggerComparer=(accumulator,currentValue)=>{let biggerNumber;return biggerNumber=accumulator>currentValue?accumulator:currentValue,biggerNumber},isThisTheBiggestLength=(element,index,array)=>element===instance.data.biggestLength,transpose=a=>{var w=a.length||0,h=a[instance.data.indexOfLongerArray]instanceof Array?a[instance.data.indexOfLongerArray].length:0;if(0===h||0===w)return[];var i,j,t=[];for(i=0;i<h;i++)for(t[i]=[],j=0;j<w;j++)t[i][j]=a[j][i];return t};if(void 0!==properties.tableStyle&&null!==properties.tableStyle)var definedStyleForTable=properties.tableStyle.replaceAll(/\\W/g,\"\");else var definedStyleForTable=\"\";var itemsNumbers=instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations,layoutHolder=selectLayout(properties.table_layout);let thisElementSeries=[];for(i=0;i<itemsNumbers;i++){let storedListLengths=instance.data[`${properties.table_name}`].tableBodies[i].map(returnLength);instance.data.biggestLength=storedListLengths.reduce(biggerComparer),instance.data.indexOfLongerArray=storedListLengths.findIndex(isThisTheBiggestLength);let tableBodiesTransposed=transpose(instance.data[`${properties.table_name}`].tableBodies[i]);if(instance.data[`${properties.table_name}`].tableBodies[i]=tableBodiesTransposed.map(createBlanks),0!==instance.data[`${properties.table_name}`].arrayOfHeaders.length){var useHeaderRow=1;let currentClonedArray=[];for(j=0;j<instance.data[`${properties.table_name}`].arrayOfHeaders.length;j++){let currentObj=JSON.parse(JSON.stringify(instance.data[`${properties.table_name}`].arrayOfHeaders[j]));currentClonedArray.push(currentObj)}instance.data[`${properties.table_name}`].tableBodies[i].unshift(currentClonedArray)}else var useHeaderRow=0;let tableObjectHolder={table:{headerRows:useHeaderRow,widths:instance.data[`${properties.table_name}`].arraysOfWidths[i],body:instance.data[`${properties.table_name}`].tableBodies[i]},style:`${definedStyleForTable.toLowerCase()}`,margin:tableCustomMarginsDefinitionLogic(),layout:layoutHolder,pageBreak:properties.page_break.toLowerCase()};!0===properties.into_multi_column?instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(tableObjectHolder):thisElementSeries.push(tableObjectHolder)}!1===properties.into_multi_column&&instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)}"},"fields":{"AGe":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"},"AGh":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":1,"editor":"DynamicValue","value":"text"},"AGl":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AGm":{"caption":"Table left margin","name":"table_left_margin","rank":3,"editor":"DynamicValue","value":"number","default_val":0},"AGn":{"caption":"Table top margin","name":"table_top_margin","rank":4,"editor":"DynamicValue","value":"number","default_val":0},"AGo":{"caption":"Table right margin","name":"table_right_margin","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"AGp":{"caption":"Table bottom margin","name":"table_bottom_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AGq":{"caption":"Page break","name":"page_break","rank":7,"editor":"Dropdown","value":"text","default_val":"Unspecified"},"AGr":{"caption":"Body text style","name":"tableStyle","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AGs":{"caption":"Table layout","name":"table_layout","rank":9,"editor":"Dropdown","default_val":"Standard"},"AGx":{"caption":"Into multi column","name":"into_multi_column","rank":10,"editor":"DynamicValue","value":"boolean","default_val":false},"AGy":{"caption":"Multi column name","name":"multi_column_name","rank":11,"editor":"DynamicValue","value":"text","optional":true}}},"AHB":{"caption":"Start advanced table","code":{"fn":"function(instance,properties,context){instance.data[`${properties.table_name}`]={},instance.data[`${properties.table_name}`].tableBody=[],instance.data[`${properties.table_name}`].arrayOfWidths=[],instance.data[`${properties.table_name}`].arrayOfHeaders=[]}"},"fields":{"AHE":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AHC":{"caption":"Add column into advanced table","code":{"fn":"function(instance,properties,context){const getList=(thingWithList,startPosition,finishPosition)=>{let returnedList;return thingWithList.get(startPosition,finishPosition)},layoutHashmap=undefined;var columnWidth={\"Fit available space\":\"*\",\"Fit content\":\"auto\",\"Fixed width\":properties.specified_column_width}[properties.column_width];const customMarginsDefinitionLogic=()=>!0===properties.custom_margins?[properties.left_margin,properties.top_margin,properties.right_margin,properties.bottom_margin]:null;if(properties.using_images){const protocolFix=possibleUrl=>\"http\"===possibleUrl.substring(0,4)?possibleUrl:`https:${possibleUrl}`;let currentList;currentList=null===properties.list_of_items?[]:getList(properties.list_of_items,0,properties.list_of_items.length());const turnUrlIntoImageObject=url=>{let fixedImageUrl=protocolFix(url),providedImageName=protocolFix(url).replaceAll(/\\W/g,\"\"),imageObjectHolder;return instance.data.docDefinition.images[`${providedImageName}`]=fixedImageUrl,void 0===properties.image_width&&(properties.image_width=\"\"),void 0===properties.image_height&&(properties.image_height=\"\"),{image:providedImageName,width:properties.image_width,height:properties.image_height,margin:customMarginsDefinitionLogic()}};let imageObjectsList=currentList.map(turnUrlIntoImageObject);if(instance.data[`${properties.table_name}`].tableBody.push(imageObjectsList),instance.data[`${properties.table_name}`].arrayOfWidths.push(columnWidth),void 0!==properties.column_header&&null!==properties.column_header){let columnHeaderAsObj={text:properties.column_header,style:properties.header_style.toLowerCase()};instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj)}else{let columnHeaderAsObj={text:\"\",style:\"\"};instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj)}}else{const turnStringIntoTextObject=string=>{if(properties.parse_bbcode){const parser=undefined;return{stack:getParser(pdfMake.fonts,((imageName,link)=>{instance.data.docDefinition.images[imageName]=link}),(err=>{context.reportDebugger(err.message)})).getParsedText(string),style:properties.text_body_style.toLowerCase(),margin:customMarginsDefinitionLogic()}}return{text:string,style:properties.text_body_style.toLowerCase(),margin:customMarginsDefinitionLogic()}};let currentList;currentList=null===properties.list_of_items?[]:getList(properties.list_of_items,0,properties.list_of_items.length());let textObjectsList=currentList.map(turnStringIntoTextObject);if(instance.data[`${properties.table_name}
256`].tableBody.push(textObjectsList),instance.data[`${properties.table_name}`].arrayOfWidths.push(columnWidth),void 0!==properties.column_header&&null!==properties.column_header){let columnHeaderAsObj={text:properties.column_header,style:properties.header_style.toLowerCase()};if(properties.parse_bbcode){const parser=undefined;columnHeaderAsObj={stack:getParser(pdfMake.fonts,((imageName,link)=>{instance.data.docDefinition.images[imageName]=link}),(err=>{context.reportDebugger(err.message)})).getParsedText(properties.column_header),style:properties.header_style.toLowerCase()}}instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj)}else{let columnHeaderAsObj={text:\"\",style:\"\"};instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj)}}}"},"fields":{"AHF":{"caption":"List of items","name":"list_of_items","rank":1,"editor":"DynamicValue","value":"_any_thing","is_list":true},"AHG":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"},"AHH":{"caption":"Column width","name":"column_width","rank":3,"editor":"Dropdown","default_val":"Fit available space"},"AHI":{"caption":"Column header","name":"column_header","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AHJ":{"caption":"Header style","name":"header_style","rank":6,"editor":"DynamicValue","value":"text","optional":true},"AHY":{"caption":"Text body style","name":"text_body_style","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AHZ":{"caption":"Using images","name":"using_images","rank":7,"editor":"DynamicValue","value":"boolean","is_list":false,"optional":false,"default_val":false},"AHa":{"caption":"Image width","name":"image_width","rank":8,"editor":"DynamicValue","value":"number","optional":true},"AHb":{"caption":"Image height","name":"image_height","rank":9,"editor":"DynamicValue","value":"number","optional":true},"AHc":{"caption":"Use custom margins?","name":"custom_margins","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false},"AHd":{"caption":"Below you will be able to set extra margins for your image or text element. Leave the field as \"no\" for a default display. (Will ignore any numbers below)","name":"below_you_will_be_able_to_set_extra_margins_for_your_image_element._leave_the_box_unchecked_for_a_default_display._(will_ignore_any_numbers_below)","rank":10,"editor":"Label"},"AHe":{"caption":"Left Margin","name":"left_margin","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"AHf":{"caption":"Top Margin","name":"top_margin","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AHg":{"caption":"Right Margin","name":"right_margin","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AHh":{"caption":"Bottom Margin","name":"bottom_margin","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AHi":{"caption":"Fixed width size","name":"specified_column_width","rank":4,"editor":"DynamicValue","value":"number","optional":true},"AON":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":16,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AHD":{"caption":"End advanced table","code":{"fn":"function(instance,properties,context){let selectLayout,tableCustomMarginsDefinitionLogic=()=>!0===properties.table_custom_margins?[properties.table_left_margin,properties.table_top_margin,properties.table_right_margin,properties.table_bottom_margin]:null,createBlanks=element=>{let checkAndSwap=nestedElement=>void 0===nestedElement?null:nestedElement;return element.map(checkAndSwap)},returnLength=element=>element.length,biggerComparer=(accumulator,currentValue)=>{let biggerNumber;return biggerNumber=accumulator>currentValue?accumulator:currentValue,biggerNumber},isThisTheBiggestLength=(element,index,array)=>element===instance.data.biggestLength,transpose=a=>{var w=a.length||0,h=a[instance.data.indexOfLongerArray]instanceof Array?a[instance.data.indexOfLongerArray].length:0;if(0===h||0===w)return[];var i,j,t=[];for(i=0;i<h;i++)for(t[i]=[],j=0;j<w;j++)t[i][j]=a[j][i];return t};var layoutHolder=(chosenLayout=>
256\"No Borders\"===chosenLayout?\"noBorders\":\"Header Line Only\"===chosenLayout?\"headerLineOnly\":\"Light Horizontal Lines\"===chosenLayout?\"lightHorizontalLines\":\"Strong Outer Border\"===chosenLayout?{hLineWidth:function(i,node){return 0===i||i===node.table.body.length?2:1},vLineWidth:function(i,node){return 0===i||i===node.table.widths.length?2:1},hLineColor:function(i,node){return 0===i||i===node.table.body.length?\"black\":\"gray\"},vLineColor:function(i,node){return 0===i||i===node.table.widths.length?\"black\":\"gray\"}}:\"Zebra\"===chosenLayout?{fillColor:function(i,node){return i%2==0?\"#CCCCCC\":null}}:\"Light Horizontal Lines Without Header\"===chosenLayout?{hLineWidth:(i,node)=>i===node.table.headerRows?0:1,vLineWidth:i=>0,hLineColor:i=>\"#aaa\",paddingLeft:i=>0===i?0:8,paddingRight:(i,node)=>i===node.table.widths.length-1?0:8}:\"no layout specified\")(properties.table_layout);let storedListLengths=instance.data[`${properties.table_name}`].tableBody.map(returnLength);instance.data.biggestLength=storedListLengths.reduce(biggerComparer),instance.data.indexOfLongerArray=storedListLengths.findIndex(isThisTheBiggestLength);let tableBodyTransposed=transpose(instance.data[`${properties.table_name}`].tableBody);instance.data[`${properties.table_name}`].tableBody=tableBodyTransposed.map(createBlanks);const isBlankHeader=element=>\"\"===element.text&&\"\"===element.style;let areAllHeadersBlank;if(instance.data[`${properties.table_name}`].arrayOfHeaders.every(isBlankHeader))var useHeaderRow=0;else{var useHeaderRow=1;instance.data[`${properties.table_name}`].tableBody.unshift(instance.data[`${properties.table_name}`].arrayOfHeaders)}let tableObjectHolder={table:{headerRows:useHeaderRow,dontBreakRows:!0,keepWithHeaderRows:useHeaderRow,widths:instance.data[`${properties.table_name}`].arrayOfWidths,body:instance.data[`${properties.table_name}`].tableBody},margin:tableCustomMarginsDefinitionLogic(),layout:layoutHolder,pageBreak:properties.page_break.toLowerCase()};!0===properties.into_multi_column?(\"Fit available space\"===properties.this_column_width?tableObjectHolder.width=\"*\":\"Fit content\"===properties.this_column_width?tableObjectHolder.width=\"auto\":\"Fixed width\"===properties.this_column_width&&(tableObjectHolder.width=properties.fixed_width_column_size),instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(tableObjectHolder)):!0===properties.into_footer?instance.data.footerObjectsHolder.columns.push(tableObjectHolder):!0===properties.into_header?instance.data.headerObjectsHolder.columns.push(tableObjectHolder):!0===properties.into_background?instance.data.docDefinition.background.push(tableObjectHolder):instance.data.composeInMe.push(tableObjectHolder)}"},"fields":{"AHK":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AHL":{"caption":"Table left margin","name":"table_left_margin","rank":4,"editor":"DynamicValue","value":"number","default_val":0},"AHM":{"caption":"Table top margin","name":"table_top_margin","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"AHN":{"caption":"Table right margin","name":"table_right_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AHO":{"caption":"Table bottom margin","name":"table_bottom_margin","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AHP":{"caption":"Table layout","name":"table_layout","rank":1,"editor":"Dropdown","default_val":"Standard"},"AHQ":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"},"AHR":{"caption":"Page break","name":"page_break","rank":2,"editor":"Dropdown","default_val":"Unspecified"},"AHS":{"caption":"Into multi column","name":"into_multi_column","rank":8,"editor":"DynamicValue","value":"boolean","default_val":false},"AHT":{"caption":"This multicolumn width","name":"this_column_width","rank":10,"editor":"Dropdown","value":"text","default_val":"Fit available space"},"AHU":{"caption":"Into footer","name":"into_footer","rank":12,"editor":"DynamicValue","value":"boolean","default_val":false},"AHV":{"caption":"Into header","name":"into_header","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"AHW":{"caption":"Into background","name":"into_background","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"AHX":{"caption":"Multi column name","name":"multi_column_name","rank":9,"editor":"DynamicValue","value":"text","optional":true},"AOz":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":11,"editor":"DynamicValue","value":"number","optional":true}}},"AHk":{"caption":"Load font","code":{"fn":"function(instance,properties,context){const protocolFix=possibleUrl=>\"https:\"===possibleUrl.substring(0,7)?possibleUrl:`https:${possibleUrl}`;let myProperUrlRegular=protocolFix(properties.regular),myProperUrlBold=protocolFix(properties.bold),myProperUrlItal
256ics=protocolFix(properties.italics),myProperUrlBolditalics=protocolFix(properties.bolditalics);pdfMake.fonts[properties.name]={normal:myProperUrlRegular,bold:myProperUrlBold,italics:myProperUrlItalics,bolditalics:myProperUrlBolditalics}}"},"fields":{"AHl":{"caption":"Name","name":"name","rank":0,"editor":"DynamicValue","value":"text"},"AHm":{"caption":"Regular","name":"regular","rank":1,"editor":"DynamicValue","value":"text"},"AHn":{"caption":"Bold","name":"bold","rank":2,"editor":"DynamicValue","value":"text"},"AHo":{"caption":"Italics","name":"italics","rank":3,"editor":"DynamicValue","value":"text"},"AHp":{"caption":"Bolditalics","name":"bolditalics","rank":4,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":""},"update":{"fn":""},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AID":{"display":"PDF Conjurer (backend) | Upload PDF","type":"server_side","return_value":{"ACq":{"caption":"Result","name":"result","rank":0,"value":"text"}},"fields":{"AHx":{"caption":"Upload file URL","name":"upload_url","rank":1,"editor":"DynamicValue","value":"text"},"AHy":{"caption":"File name","name":"file_name","rank":3,"editor":"DynamicValue","value":"text","default_val":"Document"},"AHz":{"caption":"Content","name":"file_data","rank":4,"editor":"DynamicValue","value":"text"},"AIA":{"caption":"File input name","name":"file_input","rank":2,"editor":"DynamicValue","value":"text"},"AIB":{"caption":"Authentication","name":"token","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AIC":{"caption":"In order to upload the PDF file, you need to create a backend workflow that receive a file input! From this workflow return the file URL and other information that you want","name":"upload_info","rank":0,"editor":"Label"},"AOn":{"caption":"Make this file private?","name":"private","rank":6,"editor":"DynamicValue","value":"boolean","default_val":false},"AOo":{"caption":"Attach this file to","name":"attach_to","rank":7,"editor":"DynamicValue","value":"_any_thing_bindable","optional":true}}},"AIM":{"display":"PDF Conjurer (backend) | Initialize PDF document","type":"server_side","return_value":{"AEJ":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AIE":{"caption":"Page size","name":"page_size","rank":0,"editor":"Dropdown","default_val":"A4"},"AIF":{"caption":"Page orientation","name":"page_orientation","rank":1,"editor":"Dropdown","default_val":"Portrait"},"AIG":{"caption":"Set page custom margins?","name":"custom_margins","rank":2,"editor":"Checkbox","default_val":false},"AIH":{"caption":"Margin left","name":"margin_left","rank":4,"editor":"DynamicValue","value":"number","default_val":0},"AII":{"caption":"Margin top","name":"margin_top","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"AIJ":{"caption":"Margin right","name":"margin_right","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AIK":{"caption":"Margin bottom","name":"margin_bottom","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AIL":{"caption":"Below you will be able to set custom margin sizes for your page. Leave the box unchecked for default. (Will ignore any numbers below)","name":"page_margin_info","rank":3,"editor":"Label"}}},"AIi":{"display":"PDF Conjurer (backend) | Add text on PDF","type":"server_side","return_value":{"AER":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AIN":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AIO":{"caption":"Text","name":"text","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AIP":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AIQ":{"caption":"Parse BBCode","name":"parse_bbcode","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AIR":{"caption":"Set text custom margins?","name":"custom_margins","rank":5,"editor":"Checkbox","default_val":false},"AIS":{"caption":"Below you will be able to set extra margins for your text element. Leave the box unchecked for a default display. (Will ignore any numbers below)","name":"margin_info","rank":6,"editor":"Label"}
256,"AIT":{"caption":"Margin top","name":"margin_top","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"AIU":{"caption":"Margin left","name":"margin_left","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AIV":{"caption":"Margin right","name":"margin_right","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"AIW":{"caption":"Margin bottom","name":"margin_bottom","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"AIX":{"caption":"Style name","name":"style","rank":4,"editor":"DynamicValue","value":"text","optional":true},"AIY":{"caption":"Page break","name":"page_break","rank":11,"editor":"Dropdown","default_val":"Unspecified"},"AIZ":{"caption":"Put into a Multi Column?","name":"into_multi_column","rank":12,"editor":"Checkbox","default_val":false},"AIa":{"caption":"This Column's Width","name":"column_width","rank":13,"editor":"Dropdown","optional":true,"default_val":"Fit available space"},"AIb":{"caption":"Is this element being put into the footer?","name":"into_footer","rank":17,"editor":"Checkbox","default_val":false},"AIc":{"caption":"Is this element being put into the header?","name":"into_header","rank":16,"editor":"Checkbox","default_val":false},"AId":{"caption":"Multi column name","name":"multi_column_name","rank":15,"editor":"DynamicValue","value":"text","optional":true},"AIe":{"caption":"Is this element being put into the background?","name":"into_background","rank":18,"editor":"Checkbox","default_val":false},"AIf":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":19,"editor":"Label"},"AIg":{"caption":"Structure name","name":"repeating_structure_name","rank":20,"editor":"DynamicValue","value":"text","optional":true},"AIh":{"caption":"Text list","name":"text_list","rank":21,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"APB":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":14,"editor":"DynamicValue","value":"number","optional":true}}},"AIn":{"display":"PDF Conjurer (backend) | Conjure PDF","type":"server_side","return_value":{"AEZ":{"caption":"Content","name":"content","rank":0,"value":"text"},"AEb":{"caption":"File name","name":"file_name","rank":1,"value":"text"}},"fields":{"AIj":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AIk":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AIl":{"caption":"File name","name":"file_name","rank":2,"editor":"DynamicValue","value":"text","default_val":"Document"},"AIm":{"caption":"Set data header","name":"set_data_header","rank":3,"editor":"Checkbox","default_val":true}}},"AJO":{"display":"PDF Conjurer (backend) | Add image on PDF","type":"server_side","return_value":{"AEq":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AIo":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AIp":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AIq":{"caption":"Image name","name":"image_name","rank":2,"editor":"DynamicValue","value":"text"},"AIr":{"caption":"If you've used the image before in this workflow, you can just enter the same image name that was entered previously, without having to upload it again","name":"image_info","rank":3,"editor":"Label"},"AIs":{"caption":"Has the image already been used?","name":"have_used_before","rank":4,"editor":"Checkbox","default_val":false},"AIt":{"caption":"Image","name":"image","rank":5,"editor":"DynamicValue","value":"image","optional":true},"AIu":{"caption":"Image custom sizes (if no value is passed, the image will be at its own size, if only width is passed, the height will resize to maintain the image original scale, if only height is passed, the width will be the original image width)","name":"image_info","rank":6,"editor":"Label"},"AIv":{"caption":"Width","name":"width","rank":7,"editor":"DynamicValue","value":"number","optional":true},"AIw":{"caption":"Height","name":"height","rank":8,"editor":"DynamicValue","value":"number","optional":true},"AIx":{"caption":"Use custom margins?","name":"custom_margins","rank":10,"editor":"Checkbox","default_val":false},"AIy":{"caption":"Below you will be able to set extra margins for your image element. Leave the box unchecked for a default display. (Will ignore any numbers below)","name":"margin_info","rank":11,"editor":"Label"},"AIz":{"caption":"Margin left","name":"margin_left","rank":12,"editor":"DynamicValue","value":"number","default_val":0}
256,"AJA":{"caption":"Margin top","name":"margin_top","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AJB":{"caption":"Margin right","name":"margin_right","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AJC":{"caption":"Margin bottom","name":"margin_bottom","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AJD":{"caption":"Page break","name":"page_break","rank":16,"editor":"Dropdown","default_val":"Unspecified"},"AJE":{"caption":"Is this element being put into the footer?","name":"into_footer","rank":21,"editor":"Checkbox","default_val":false},"AJF":{"caption":"Is this element being put into the header?","name":"into_header","rank":20,"editor":"Checkbox","default_val":false},"AJG":{"caption":"Is this element being put into a Multi Column?","name":"into_multi_column","rank":17,"editor":"Checkbox","default_val":false},"AJH":{"caption":"Multi column name","name":"multi_column_name","rank":18,"editor":"DynamicValue","value":"text","optional":true},"AJI":{"caption":"Column width","name":"column_width","rank":19,"editor":"Dropdown","optional":true},"AJJ":{"caption":"Image alignmet","name":"alignment","rank":9,"editor":"Dropdown","optional":true},"AJK":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":23,"editor":"Label"},"AJL":{"caption":"Is this element being put into the background?","name":"into_background","rank":22,"editor":"Checkbox","default_val":false},"AJM":{"caption":"Structure name","name":"repeating_structure_name","rank":24,"editor":"DynamicValue","value":"text","optional":true},"AJN":{"caption":"Image list","name":"image_list","rank":25,"editor":"DynamicValue","value":"image","is_list":true,"optional":true}}},"AJX":{"display":"PDF Conjurer (backend) | Load font to PDF","type":"server_side","return_value":{"AEx":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AJP":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AJQ":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AJR":{"caption":"Font name","name":"font_name","rank":2,"editor":"DynamicValue","value":"text"},"AJS":{"caption":"Regular","name":"normal","rank":3,"editor":"DynamicValue","value":"file"},"AJT":{"caption":"Italics","name":"italics","rank":5,"editor":"DynamicValue","value":"file"},"AJU":{"caption":"Bold","name":"bold","rank":4,"editor":"DynamicValue","value":"file"},"AJV":{"caption":"Bolditalics","name":"bolditalics","rank":6,"editor":"DynamicValue","value":"file"},"AJW":{"caption":"Insert your font files in TrueType extension (.ttf)","name":"font_info","rank":7,"editor":"Label"}}},"AJh":{"display":"PDF Conjurer (backend) | Define new style to font","type":"server_side","return_value":{"AFO":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AJY":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AJZ":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AJa":{"caption":"Style name","name":"style_name","rank":2,"editor":"DynamicValue","value":"text"},"AJb":{"caption":"Font size","name":"font_size","rank":3,"editor":"DynamicValue","value":"number"},"AJc":{"caption":"Bold","name":"bold","rank":4,"editor":"Checkbox","default_val":false},"AJd":{"caption":"Italics","name":"italics","rank":5,"editor":"Checkbox","default_val":false},"AJe":{"caption":"Alignment","name":"alignment","rank":6,"editor":"Dropdown","optional":false},"AJf":{"caption":"Text color","name":"color","rank":7,"editor":"Color","default_val":"rgba(0, 0, 0, 1)"},"AJg":{"caption":"Font name","name":"font_name","rank":8,"editor":"DynamicValue","value":"text","default_val":"Roboto"},"AOt":{"caption":"Line height","name":"line_height","rank":9,"editor":"DynamicValue","value":"number","default_val":1},"APT":{"caption":"Margin left","name":"margin_left","rank":10,"editor":"DynamicValue","value":"number","default_val":0}
256,"APU":{"caption":"Margin top","name":"margin_top","rank":11,"editor":"DynamicValue","value":"number","default_val":0},"APV":{"caption":"Margin right","name":"margin_right","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"APW":{"caption":"Margin bottom","name":"margin_bottom","rank":13,"editor":"DynamicValue","value":"number","default_val":0}}},"AJz":{"display":"PDF Conjurer (backend) | Activate header on PDF","type":"server_side","return_value":{"AFc":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AJi":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AJj":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AJk":{"caption":"You can put elements in the header by checking the box at the element itself that says \"insert this element into header?\".","name":"header_info","rank":2,"editor":"Label"},"AJl":{"caption":"Show page number? (counter)","name":"show_page_number","rank":3,"editor":"Checkbox","default_val":false},"AJm":{"caption":"Start count on second page","name":"start_count_on_second_page","rank":4,"editor":"Checkbox","default_val":false},"AJn":{"caption":"Even pages counter alignment","name":"even_page_alignment","rank":5,"editor":"Dropdown","optional":false,"default_val":"Left"},"AJo":{"caption":"Odd pages counter alignment","name":"odd_page_alignment","rank":6,"editor":"Dropdown","optional":false,"default_val":"Right"},"AJp":{"caption":"Hide page number (counter) on specific pages?","name":"use_exclude_pages","rank":7,"editor":"Checkbox","default_val":false},"AJq":{"caption":"Hide counter on","name":"exclude_pages_counter","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AJr":{"caption":"Hide header elements on specific pages?","name":"use_exclude_elements_pages","rank":9,"editor":"Checkbox","default_val":false},"AJs":{"caption":"Hide elements on","name":"exclude_elements_pages","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AJt":{"caption":"* Please note that page numbers starts in number 1, if you chose to start counting on the second page the first page will turn into number 0.","name":"page_numbers_info","rank":11,"editor":"Label"},"AJu":{"caption":"Page number margins","name":"magin_info","rank":12,"editor":"Label"},"AJv":{"caption":"Left margin ","name":"margin_left","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AJw":{"caption":"Top margin ","name":"margin_top","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AJx":{"caption":"Right margin","name":"margin_right","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AJy":{"caption":"Bottom margin","name":"margin_bottom","rank":16,"editor":"DynamicValue","value":"number","default_val":0}}},"AKR":{"display":"PDF Conjurer (backend) | Activate footer on PDF","type":"server_side","return_value":{"AFc":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKA":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKB":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKC":{"caption":"You can put elements in the footer by checking the box at the element itself that says \"insert this element into footer?\".","name":"footer_info","rank":2,"editor":"Label"},"AKD":{"caption":"Show page number? (counter)","name":"show_page_number","rank":3,"editor":"Checkbox","default_val":false},"AKE":{"caption":"Start count on second page","name":"start_count_on_second_page","rank":4,"editor":"Checkbox","default_val":false},"AKF":{"caption":"Even pages counter alignment","name":"even_page_alignment","rank":5,"editor":"Dropdown","optional":false,"default_val":"Left"},"AKG":{"caption":"Odd pages counter alignment","name":"odd_page_alignment","rank":6,"editor":"Dropdown","optional":false,"default_val":"Right"},"AKH":{"caption":"Hide page number (counter) on specific pages?","name":"use_exclude_pages","rank":7,"editor":"Checkbox","default_val":false},"AKI":{"caption":"Hide counter on","name":"exclude_pages_counter","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AKJ":{"caption":"Hide footer elements on specific pages?","name":"use_exclude_elements_pages","rank":9,"editor":"Checkbox","default_val":false},"AKK":{"caption":"Hide elements on","name":"exclude_elements_pages","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AKL":{"caption":"* Please note that page numbers starts in number 1, if you chose to start counting on the second page the first page will turn into number 0.","name":"page_numbers_info","rank":11,"editor":"Label"},"AKM":{"caption":"Page number margins","name":"magin_info","rank":12,"editor":"Label"},"AKN":{"caption":"Left margin ","name":"margin_left","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AKO":{"caption":"Top margin ","name":"margin_top","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AKP":{"caption":"Right margin","name":"margin_right","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AKQ":{"caption":"Bottom margin","name":"margin_bottom","rank":16,"editor":"DynamicValue","value":"number","default_val":0},"AOv":{"caption":"Counter style","name":"counter_style","rank":17,"editor":"DynamicValue","value":"text","optional":true}}},"AKZ":{"display":"PDF Conjurer (backend) | Start multi-column on PDF","type":"server_side","return_value":{"AGV":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKS":{"caption":"Multi Column Name","name":"multi_column_name","rank":2,"editor":"DynamicValue","value":"text"},"AKT":{"caption":"Page break","name":"page_break","rank":4,"editor":"Dropdown","default_val":"Unspecified"},"AKU":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKV":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKW":{"caption":"Columns gap","name":"columns_gap","rank":3,"editor":"DynamicValue","value":"number","optional":true},"AKX":{"caption":"Being repeated","name":"being_repeated","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"AKY":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":6,"editor":"DynamicValue","value":"text","optional":true}}},"AKf":{"display":"PDF Conjurer (backend) | End multi-column on PDF","type":"server_side","return_value":{"AGa":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKa":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKb":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKc":{"caption":"Multi column name","name":"multi_column_name","rank":2,"editor":"DynamicValue","value":"text"},"AKd":{"caption":"Being repeated","name":"being_repeated","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AKe":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":4,"editor":"DynamicValue","value":"text","optional":true}}},"AMc":{"display":"PDF Conjurer (backend) | Add table on PDF","type":"server_side","return_value":{"AGk":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKg":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKh":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKi":{"caption":"Body text style","name":"table_styles","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AKj":{"caption":"Table column width","name":"table_column_width","rank":3,"editor":"Dropdown","default_val":"Fit available space"},"AKk":{"caption":"Create header row in this table?","name":"table_uses_header_row","rank":4,"editor":"Checkbox","default_val":false},"AKl":{"caption":"Header text style","name":"header_style","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AKm":{"caption":"Table layout","name":"table_layout","rank":6,"editor":"Dropdown","default_val":"Standard"},"AKn":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":7,"editor":"Checkbox","default_val":false},"AKo":{"caption":"Below you will be able to set extra margins for your table element. Leave the box unchecked for a default display. (Will ignore any margin-related numbers below)","name":"margin_info","rank":8,"editor":"Label"},"AKp":{"caption":"Left margin","name":"left_margin","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"AKq":{"caption":"Top margin","name":"top_margin","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"AKr":{"caption":"Right margin","name":"right_margin","rank":11,"editor":"DynamicValue","value":"number","default_val":0},"AKs":{"caption":"Bottom margin","name":"bottom_margin","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"AKt":{"caption":"Page break","name":"page_break","rank":13,"editor":"Dropdown","default_val":"Unspecified"},"AKu":{"caption":"----- Column 1 ------","name":"column_separator_1","rank":15,"editor":"Label"},"AKv":{"caption":"First Column Header","name":"column_header_1","rank":16,"editor":"DynamicValue","value":"text","optional":true}
256,"AKw":{"caption":"First column body","name":"column_content_1","rank":17,"editor":"DynamicValue","value":"_any_thing","is_list":true},"AKx":{"caption":"----- Column 2 ------","name":"column_separator_2","rank":18,"editor":"Label"},"AKy":{"caption":"Use second column?","name":"use_column_2","rank":19,"editor":"Checkbox","default_val":false},"AKz":{"caption":"Second column header","name":"column_header_2","rank":20,"editor":"DynamicValue","value":"text","optional":true},"ALA":{"caption":"Second column body","name":"column_content_2","rank":21,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALB":{"caption":"----- Column 3 ------","name":"column_separator_3","rank":22,"editor":"Label"},"ALC":{"caption":"Use third column?","name":"use_column_3","rank":23,"editor":"Checkbox","default_val":false},"ALD":{"caption":"Third column header","name":"column_header_3","rank":24,"editor":"DynamicValue","value":"text","optional":true},"ALE":{"caption":"Third column body","name":"column_content_3","rank":25,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALF":{"caption":"----- Column 4 ------","name":"column_separator_4","rank":26,"editor":"Label"},"ALG":{"caption":"Use fourth column?","name":"use_column_4","rank":27,"editor":"Checkbox","default_val":false},"ALH":{"caption":"Fourth column header","name":"column_header_4","rank":28,"editor":"DynamicValue","value":"text","optional":true},"ALI":{"caption":"Fourth column body","name":"column_content_4","rank":29,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALJ":{"caption":"----- Column 5 ------","name":"column_separator_5","rank":30,"editor":"Label"},"ALK":{"caption":"Use fifth column?","name":"use_column_5","rank":31,"editor":"Checkbox","default_val":false},"ALL":{"caption":"Fifth column header","name":"column_header_5","rank":32,"editor":"DynamicValue","value":"text","optional":true},"ALM":{"caption":"Fifth column body","name":"column_content_5","rank":33,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALN":{"caption":"----- Column 6 ------","name":"column_separator_6","rank":34,"editor":"Label"},"ALO":{"caption":"Use sixth column?","name":"use_column_6","rank":35,"editor":"Checkbox","default_val":false},"ALP":{"caption":"Sixth column header","name":"column_header_6","rank":36,"editor":"DynamicValue","value":"text","optional":true},"ALQ":{"caption":"Sixth column body","name":"column_content_6","rank":37,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALR":{"caption":"----- Column 7 ------","name":"column_separator_7","rank":38,"editor":"Label"},"ALS":{"caption":"Use seventh column?","name":"use_column_7","rank":39,"editor":"Checkbox","default_val":false},"ALT":{"caption":"Seventh column header","name":"column_header_7","rank":40,"editor":"DynamicValue","value":"text","optional":true},"ALU":{"caption":"Seventhcolumn body","name":"column_content_7","rank":41,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALV":{"caption":"----- Column 8 ------","name":"column_separator_8","rank":42,"editor":"Label"},"ALW":{"caption":"Use eighth column?","name":"use_column_8","rank":43,"editor":"Checkbox","default_val":false},"ALX":{"caption":"Eighth column header","name":"column_header_8","rank":44,"editor":"DynamicValue","value":"text","optional":true},"ALY":{"caption":"Eighth column body","name":"column_content_8","rank":45,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALZ":{"caption":"----- Column 9 ------","name":"column_separator_9","rank":46,"editor":"Label"},"ALa":{"caption":"Use ninth column?","name":"use_column_9","rank":47,"editor":"Checkbox","default_val":false},"ALb":{"caption":"Ninth column header","name":"column_header_9","rank":48,"editor":"DynamicValue","value":"text","optional":true},"ALc":{"caption":"Ninth column body","name":"column_content_9","rank":49,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALd":{"caption":"----- Column 10 ------","name":"column_separator_10","rank":50,"editor":"Label"},"ALe":{"caption":"Use tenth column?","name":"use_column_10","rank":51,"editor":"Checkbox","default_val":false},"ALf":{"caption":"Tenth column header","name":"column_header_10","rank":52,"editor":"DynamicValue","value":"text","optional":true},"ALg":{"caption":"Tenth column body","name":"column_content_10","rank":53,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALh":{"caption":"About multi column","name":"multi_column_info","rank":94,"editor":"Label"},"ALi":{"caption":"Is this element being put into a Multi Column?","name":"into_multi_column","rank":95,"editor":"Checkbox","default_val":false},"ALj":{"caption":"This Column's Width","name":"multi_column_width","rank":96,"editor":"Dropdown","optional":true,"default_val":"Fit available space"},"ALk":{"caption":"Multi column name","name":"multi_column_name","rank":98,"editor":"DynamicValue","value":"text","optional":true},"ALl":{"caption":"Is this element being put into the header?","name":"into_header","rank":99,"editor":"Checkbox","default_val":false},"ALm":{"caption":"Is this element being put into the footer?","name":"into_footer","rank":100,"editor":"Checkbox","default_val":false},"ALn":{"caption":"Is this element being put into the background?","name":"into_background","rank":101,"editor":"Checkbox","default_val":false},"ALo":{"caption":"Use eleventh column?","name":"use_column_11","rank":55,"editor":"Checkbox","default_val":false},"ALp":{"caption":"----- Column 11 ------","name":"column_separator_11","rank":54,"editor":"Label"},"ALq":{"caption":"Eleventh column header","name":"column_header_11","rank":56,"editor":"DynamicValue","value":"text","optional":true},"ALr":{"caption":"Eleventh column body","name":"column_content_11","rank":57,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALs":{"caption":"----- Column 12 ------","name":"column_separator_12","rank":58,"editor":"Label"},"ALt":{"caption":"Use twelfth column?","name":"use_column_12","rank":59,"editor":"Checkbox","default_val":false},"ALu":{"caption":"Twelfth column header","name":"column_header_12","rank":60,"editor":"DynamicValue","value":"text","optional":true},"ALv":{"caption":"Twelfth column body","name":"column_content_12","rank":61,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALw":{"caption":"----- Column 13 ------","name":"column_separator_13","rank":62,"editor":"Label"},"ALx":{"caption":"Use thirteenth column?","name":"use_column_13","rank":63,"editor":"Checkbox","default_val":false},"ALy":{"caption":"Thirteenth column header","name":"column_header_13","rank":64,"editor":"DynamicValue","value":"text","optional":true},"ALz":{"caption":"Thirteenth column body","name":"column_content_13","rank":65,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMA":{"caption":"----- Column 14 ------","name":"column_separator_14","rank":66,"editor":"Label"},"AMB":{"caption":"Use fourteenth column?","name":"use_column_14","rank":67,"editor":"Checkbox","default_val":false},"AMC":{"caption":"Fourteenth column header","name":"column_header_14","rank":68,"editor":"DynamicValue","value":"text","optional":true},"AMD":{"caption":"Fourteenth column body","name":"column_content_14","rank":69,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AME":{"caption":"----- Column 15 ------","name":"column_separator_15","rank":70,"editor":"Label"},"AMF":{"caption":"Use fifteenth column?","name":"use_column_15","rank":71,"editor":"Checkbox","default_val":false},"AMG":{"caption":"Fifteenth column header","name":"column_header_15","rank":72,"editor":"DynamicValue","value":"text","optional":true},"AMH":{"caption":"Fifteenth column body","name":"column_content_15","rank":73,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMI":{"caption":"----- Column 16 ------","name":"column_separator_16","rank":74,"editor":"Label"},"AMJ":{"caption":"Use sixteenth column?","name":"use_column_16","rank":75,"editor":"Checkbox","default_val":false},"AMK":{"caption":"Sixteenth column header","name":"column_header_16","rank":76,"editor":"DynamicValue","value":"text","optional":true},"AML":{"caption":"Sixteenth column body","name":"column_content_16","rank":77,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMM":{"caption":"----- Column 17 ------","name":"column_separator_17","rank":78,"editor":"Label"},"AMN":{"caption":"Use seventeenth column?","name":"use_column_17","rank":79,"editor":"Checkbox","default_val":false},"AMO":{"caption":"Use eighteenth column?","name":"use_column_18","rank":83,"editor":"Checkbox","default_val":false},"AMP":{"caption":"Use nineteenth column?","name":"use_column_19","rank":87,"editor":"Checkbox","default_val":false},"AMQ":{"caption":"Use twentieth column?","name":"use_column_20","rank":91,"editor":"Checkbox","default_val":false},"AMR":{"caption":"----- Column 18 ------","name":"column_separator_18","rank":82,"editor":"Label"},"AMS":{"caption":"----- Column 19 ------","name":"column_separator_19","rank":86,"editor":"Label"},"AMT":{"caption":"----- Column 20 ------","name":"column_separator_20","rank":90,"editor":"Label"},"AMU":{"caption":"Seventeenth column header","name":"column_header_17","rank":80,"editor":"DynamicValue","value":"text","optional":true},"AMV":{"caption":"Eighteenth column header","name":"column_header_18","rank":84,"editor":"DynamicValue","value":"text","optional":true},"AMW":{"caption":"Nineteenth column header","name":"column_header_19","rank":88,"editor":"DynamicValue","value":"text","optional":true},"AMX":{"caption":"Twentieth column header","name":"column_header_20","rank":92,"editor":"DynamicValue","value":"text","optional":true},"AMY":{"caption":"Seventeenth column body","name":"column_content_17","rank":81,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMZ":{"caption":"Eighteenth column body","name":"column_content_18","rank":85,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMa":{"caption":"Nineteenth column body","name":"column_content_19","rank":89,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMb":{"caption":"Twentieth column body","name":"column_content_20","rank":93,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AOQ":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"APC":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":97,"editor":"DynamicValue","value":"number","optional":true}}},"AMh":{"display":"PDF Conjurer (backend) | Start repeating structure on PDF","type":"server_side","return_value":{"AHx":{"caption":"Configurations","name":"configurations","rank":0,"value":"text","is_list":false}}
256,"fields":{"AMd":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AMe":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMf":{"caption":"Name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text"},"AMg":{"caption":"How many structures","name":"iterations_count","rank":3,"editor":"DynamicValue","value":"number"}}},"AMl":{"display":"PDF Conjurer (backend) | End repeating structure on PDF","type":"server_side","return_value":{"AID":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AMi":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label","value":"text","default_val":""},"AMj":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMk":{"caption":"Name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text"}}},"AMq":{"display":"PDF Conjurer (backend) | Start repeated table on PDF","type":"server_side","return_value":{"AIM":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AMm":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label","value":"text"},"AMn":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMo":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"action_info","rank":2,"editor":"Label"},"AMp":{"caption":"Table name","name":"table_name","rank":3,"editor":"DynamicValue","value":"text"}}},"ANC":{"display":"PDF Conjurer (backend) | Add column to a repeated table on PDF","type":"server_side","return_value":{"AKI":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AMr":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AMs":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMt":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"info","rank":3,"editor":"Label"},"AMu":{"caption":"Thing type","name":"thing_type","rank":4,"editor":"custom_type"},"AMv":{"caption":"Field of thing","name":"field_of_thing","rank":5,"editor":"custom_field_AMu"},"AMw":{"caption":"Data source","name":"data_source","rank":6,"editor":"DynamicValue","value":"custom_data_AMu","is_list":true},"AMx":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"AMy":{"caption":"Column header","name":"column_header","rank":8,"editor":"DynamicValue","optional":true,"value":"text"},"AMz":{"caption":"Column style","name":"column_style","rank":7,"editor":"DynamicValue","value":"text","optional":true},"ANA":{"caption":"Header style","name":"header_style","rank":9,"editor":"DynamicValue","value":"text","optional":true},"ANB":{"caption":"Column width","name":"column_width","rank":10,"editor":"Dropdown","default_val":"Fit available space","optional":true},"AOY":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false}}},"ANR":{"display":"PDF Conjurer (backend) | End repeated table on PDF","type":"server_side","return_value":{"AKT":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AND":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANE":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANF":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"ANG":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":3,"editor":"DynamicValue","value":"text"},"ANH":{"caption":"Use table custom margins?","name":"custom_margins","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"ANI":{"caption":"Table left margin","name":"left_margin","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"ANJ":{"caption":"Table top margin","name":"top_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"ANK":{"caption":"Table right margin","name":"right_margin","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"ANL":{"caption":"Table bottom margin","name":"bottom_margin","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"ANM":{"caption":"Page break","name":"page_break","rank":9,"editor":"Dropdown","value":"text","default_val":"Unspecified"},"ANN":{"caption":"Table layout","name":"table_layout","rank":10,"editor":"Dropdown","default_val":"Standard"},"ANO":{"caption":"Into multi column","name":"into_multi_column","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false},"ANP":{"caption":"Multi column name","name":"multi_column_name","rank":12,"editor":"DynamicValue","value":"text","optional":true},"ANQ":{"caption":"Multi column width","name":"multi_column_width","rank":13,"editor":"Dropdown","optional":true},"APO":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":14,"editor":"DynamicValue","value":"number","optional":true}}},"ANV":{"display":"PDF Conjurer (backend) | Start advanced table on PDF","type":"server_side","return_value":{"AJH":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"ANS":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANT":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANU":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"}}},"ANo":{"display":"PDF Conjurer (backend) | Add column into advanced table on PDF","type":"server_side","return_value":{"AIu"
256:{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"ANW":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANX":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANY":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"ANZ":{"caption":"List of items","name":"items_list","rank":3,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ANa":{"caption":"Text body style","name":"text_body_style","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ANb":{"caption":"Column width","name":"column_width","rank":5,"editor":"Dropdown","default_val":"Fit available space"},"ANc":{"caption":"Fixed width size","name":"specified_column_width","rank":6,"editor":"DynamicValue","value":"number","optional":true},"ANd":{"caption":"Column header","name":"column_header","rank":7,"editor":"DynamicValue","value":"text","optional":true},"ANe":{"caption":"Header style","name":"header_style","rank":8,"editor":"DynamicValue","value":"text","optional":true},"ANf":{"caption":"Using images","name":"using_images","rank":9,"editor":"DynamicValue","value":"boolean","default_val":false},"ANg":{"caption":"Image width","name":"image_width","rank":10,"editor":"DynamicValue","value":"number","optional":true},"ANh":{"caption":"Image height","name":"image_height","rank":11,"editor":"DynamicValue","value":"number","optional":true},"ANi":{"caption":"Below you will be able to set extra margins for your image or text element. Leave the field as \"no\" for a default display. (Will ignore any numbers below)","name":"margin_info","rank":12,"editor":"Label"},"ANj":{"caption":"Use custom margins?","name":"custom_margins","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"ANk":{"caption":"Left Margin","name":"left_margin","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"ANl":{"caption":"Top Margin","name":"top_margin","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"ANm":{"caption":"Right Margin","name":"right_margin","rank":16,"editor":"DynamicValue","value":"number","default_val":0},"ANn":{"caption":"Bottom Margin","name":"bottom_margin","rank":17,"editor":"DynamicValue","value":"number","default_val":0},"AOR":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":18,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AOF":{"display":"PDF Conjurer (backend) | End advanced table on PDF","type":"server_side","return_value":{"AIx":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"ANp":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANq":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANr":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"ANs":{"caption":"Table layout","name":"table_layout","rank":3,"editor":"Dropdown","default_val":"Standard"},"ANt":{"caption":"Page break","name":"page_break","rank":4,"editor":"Dropdown","default_val":"Unspecified"},"ANu":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"ANv":{"caption":"Table left margin","name":"left_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"ANw":{"caption":"Table top margin","name":"top_margin","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"ANx":{"caption":"Table right margin","name":"right_margin","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"ANy":{"caption":"Table bottom margin","name":"bottom_margin","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"ANz":{"caption":"Into multi column","name":"into_multi_column","rank":10,"editor":"DynamicValue","value":"boolean","default_val":false},"AOA":{"caption":"Multi column name","name":"multi_column_name","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AOB":{"caption":"This multicolumn width","name":"this_column_width","rank":12,"editor":"Dropdown","default_val":"Fit available space"},"AOC":{"caption":"Into header","name":"into_header","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"AOD":{"caption":"Into footer","name":"into_footer","rank":15,"editor":"DynamicValue","value":"boolean","default_val":false},"AOE":{"caption":"Into background","name":"into_background","rank":16,"editor":"DynamicValue","value":"boolean","default_val":false},"APA":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":13,"editor":"DynamicValue","value":"number","optional":true}}}
256,"APX":{"display":"PDF Conjurer (backend) | Request external conjure PDF","type":"server_side","fields":{"APY":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"APZ":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"APa":{"caption":"File name","name":"file_name","rank":2,"editor":"DynamicValue","value":"text","default_val":"Document"},"APb":{"caption":"Set data header","name":"set_data_header","rank":3,"editor":"DynamicValue","value":"boolean","default_val":true},"APc":{"caption":"Return URL for PDF content","name":"return_url_for_pdf_content","rank":5,"editor":"DynamicValue","value":"text"},"APe":{"caption":"Error return URL","name":"error_return_url","rank":6,"editor":"DynamicValue","value":"text","optional":true},"APf":{"caption":"Additional data","name":"additional_data","rank":7,"editor":"DynamicValue","value":"text","optional":true},"APg":{"caption":"External function URL","name":"external_function_url","rank":4,"editor":"DynamicValue","value":"text"},"APh":{"caption":"External upload options","name":"external_upload_options","rank":8,"editor":"Label"},"APi":{"caption":"DO Bucket name","name":"bucketName","rank":9,"editor":"DynamicValue","value":"text","optional":true},"APj":{"caption":"Access Key ID","name":"accessKeyId","rank":10,"editor":"DynamicValue","value":"text","optional":true},"APk":{"caption":"Secret Access Key","name":"secretAccessKey","rank":11,"editor":"DynamicValue","value":"text","optional":true}}}}};
257window._bubble_page_load_data.plugins_size['1543086664409x454646894723334140'] = 154195;
258window.preloaded['plugin/third_party:1543086664409x454646894723334140:5.14.0'] = true;
259window.plugins["1564853448881x747480271658418200"] = {"human":"Keystroke Input Trigger","dependencies":{"use_jquery":true},"plugin_elements":{"AAO":{"display":"input monitor","add_is_visible":true,"fields":{"AAP":{"caption":"timeout","name":"timeout_trigger","rank":1,"editor":"DynamicValue","value":"number","optional":true},"AAQ":{"caption":"element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAW":{"caption":"timeout typing","name":"timeout_typing","rank":2,"editor":"DynamicValue","value":"number","optional":true},"AAZ":{"caption":"timeout starting","name":"timeout_starting","rank":3,"editor":"DynamicValue","value":"number","optional":true}},"states":{"AAR":{"caption":"output text","name":"output_text","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAV":{"caption":"currently typing","name":"typing","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"AAS":{"caption":"input changed","name":"input_changed"},"AAY":{"caption":"input_started","name":"input_started"}},"actions":{"AAd":{"caption":"manually set output text","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\ninstance.publishState(\"output_text\",properties.text);\n\n\n  //Do the operation\n\n\n\n}"},"fields":{"AAe":{"caption":"text","name":"text","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n    var img = $('<img>').attr('src','https://bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1564947638887x836991193137257100/noun_Input_333576.png');\n    img.css({\n        position   : 'absolute',\n        width      : 16,\n        height     : 16\n        \n    });\n    instance.canvas.append( img );\n    \n}"},"initialize":{"fn":"function(instance, context) {\n\n\ninstance.data.loaded = false\n    instance.data.divName = \"id\"+Math.round(Math.random()*1000000) + 1\n    \ninstance.data.onKeyDown = function (e) {\n    instance.publishState(\"typing\",true);\n    if(instance.data.readyToStart == true){\n        instance.triggerEvent(\"input_started\");\n        if (instance.data.allowRepeats == false) {\n            instance.data.readyToStart = false;        \n        }\n    }\n}    \n\n    \ninstance.data.onPaste = function (e) {\n\n        // Clear the timeout if it has already been set.\n        // This will prevent the previous task from executing\n        // if it has been less than <MILLISECONDS>\n        clearTimeout(instance.data.timeoutTrigger);\n\n        // Make a new timeout set to go off in x ms\n        instance.data.timeoutTrigger = setTimeout(function () {\n        instance.publishState(\"output_text\",instance.data.textInput.value);\n        instance.triggerEvent(\"input_changed\");\n\n        }, instance.data.waitTrigger);\n}\n    \ninstance.data.onKeyUp = function (e) {\n\n\n        clearTimeout(instance.data.timeoutTrigger);\n        clearTimeout(instance.data.timeoutStarting);\n\n        instance.data.timeoutTrigger = setTimeout(function () {\n        instance.publishState(\"output_text\",instance.data.textInput.value);\n        instance.triggerEvent(\"input_changed\");\n\n        }, instance.data.waitTrigger);\n\n        clearTimeout(instance.data.timeoutTyping);\n\n        instance.data.timeoutTyping = setTimeout(function () {\n           instance.publishState(\"typing\",false);\n        }, instance.data.waitTyping);\n\n        instance.data.timeoutStarting = setTimeout(function () {\n            instance.data.readyToStart = true;\n        }, instance.data.waitStarting);\n\n}\n}"},"update":{"fn":"function(instance, properties, context) {\n\n\nconsole.log('instance.data.init_complete',instance.data.init_complete)\nif (instance.data.loaded == false){\n    instance.data.loaded = true;\n    window.onload = setTimeout(init, 1);\n}\nelse if (instance.data.init_complete == true) {\n    update();\n}
259\n\nfunction init(){\n    instance.data.elementId = properties.element_id;\n\t// Get the input box\n\tinstance.data.textInput = document.getElementById(instance.data.elementId);\n\n    // Init a timeout variable to be used below\n    instance.data.waitTrigger = properties.timeout_trigger || 0;\n    instance.data.waitTyping = properties.timeout_typing || 0;\n    instance.data.readyToStart = true;    \n    instance.data.timeoutStarting = null;\n    instance.data.allowRepeats = false;\n    instance.data.waitStarting = properties.timeout_starting || 0;\n\n    if ( instance.data.waitStarting <= 0) {\n        instance.data.allowRepeats = true;\n    }    \n    // Listen for keystroke events (currently typing)\n\n    instance.data.textInput.onkeydown = e => instance.data.onKeyDown(e);\n    \n\n\n    // Listen for keystroke events (trigger event on typing)\n    instance.data.textInput.onkeyup = e => instance.data.onKeyUp(e);\n    \n    \n    instance.data.textInput.onpaste = e => instance.data.onPaste(e); \n    \n    \n    instance.data.init_complete = true;\n    }\nfunction update(){\n    instance.data.waitTrigger = properties.timeout_trigger || 0;\n    instance.data.waitTyping = properties.timeout_typing || 0;\n    instance.data.waitStarting = properties.timeout_starting || 0;\n}\n\n\n\n}\n"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
260window._bubble_page_load_data.plugins_size['1564853448881x747480271658418200'] = 5268;
261window.preloaded['plugin/third_party:1564853448881x747480271658418200:1.4.0'] = true;
262window.plugins["1580238841425x582072028873097200"] = {"human":"Rich Text Editor","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Rich Text Input","property_applications":{"Background":true,"Border":true,"BoxShadow":true,"Font":false,"MinWidth":true,"Padding":true,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"text","has_reset_fn":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Initial Content","editor":"DynamicValue","name":"initial_content","optional":true,"rank":1,"value":"text"},"AAZ":{"caption":"Regular or Tooltip?","default_val":"Regular","editor":"Dropdown","in_style":true,"name":"theme","rank":4}
262,"AAa":{"caption":"Style Complexity","default_val":"Full","editor":"Dropdown","in_style":true,"name":"complexity","rank":5},"AAc":{"caption":"Placeholder","editor":"DynamicValue","name":"placeholder","optional":true,"rank":0,"value":"text"},"AAd":{"caption":"This input shouldn't be empty","default_val":false,"editor":"Checkbox","name":"empty_is_invalid","rank":7},"AAe":{"caption":"This input is disabled ","default_val":false,"editor":"Checkbox","name":"disabled","rank":8},"ABI":{"caption":"Link input placeholder","default_val":"https://bubble.io/","editor":"DynamicValue","name":"link_placeholder","optional":true,"rank":3,"value":"text"},"ABJ":{"caption":"Enable autosave","default_val":true,"editor":"Checkbox","name":"autosave","rank":6},"ABK":{"caption":"⚠️Initial content is ignored if autobinding is enabled","editor":"Label","name":"label_autobinding_vs_initial_content","rank":2}},"states":{"AAE":{"caption":"value","initialization_code":{"fn":"function(properties,context){return properties.initial_content||\"\"}"},"name":"value","value":"text"},"AAg":{"caption":"value is valid","initialization_code":{"fn":"function(properties,context){return!properties.empty_is_invalid||(!!properties.initial_content||properties.bubble.auto_binding())}"},"name":"value_is_valid","value":"boolean"},"AAx":{"caption":"field is focused","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"field_is_focused","value":"boolean"}},"events":{"AAf":{"caption":"value changes","name":"value_changes"}},"actions":{"ABA":{"caption":"Reset","code":{"fn":"function(instance,context){const d=instance.data;d.quill&&(d.is_autobound||(d.set_content_in_quill(d.initial_bbcode),d.last_change_source=\"api\",d.has_been_edited=!1))}"}},"ABB":{"caption":"Set focus to","code":{"fn":"function(instance,properties,context){if(instance.data.quill){var quill=instance.data.quill;instance.publishState(\"field_is_focused\",!0),quill.focus()}}"}}},"code":{"initialize":{"fn":"function(instance,context){const d=instance.data;d.consts={},d.consts.DONE_TYPING_INTERVAL_MS=2200,d.consts.SUPPORTED_FILE_EXTENSIONS={jpg:!0,jpeg:!0,png:!0,gif:!0},d.consts.ICON_H1='\\n    <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\\n        <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\\n            <g id=\"h3\" fill=\"currentColor\">\\n                <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.42,8.63 C11.3266662,8.7033337 11.2283339,8.7133336 11.125,8.66 C11.0216661,8.6066664 10.97,8.5200006 10.97,8.4 L10.97,7.67 C10.97,7.2899981 11.1233318,6.9900011 11.43,6.77 L12.44,6.03 C12.7400015,5.8099989 13.0833314,5.7 13.47,5.7 L14.1,5.7 C14.2533341,5.7 14.3866661,5.7566661 14.5,5.87 C14.6133339,5.9833339 14.67,6.1166659 14.67,6.27 L14.67,12.43 C14.67,12.5833341 14.6133339,12.7166661 14.5,12.83 C14.3866661,12.9433339 14.2533341,13 14.1,13 L13.47,13 C13.3166659,13 13.1833339,12.9433339 13.07,12.83 C12.9566661,12.7166661 12.9,12.5833341 12.9,12.43 L12.9,7.57 L12.88,7.57 L11.42,8.63 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\\n            </g>\\n        </g>\\n    </svg>',d.consts.ICON_H2='\\n    <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\\n        <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\\n            <g id=\"h3\" fill=\"currentColor\">\\n                <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.35,13 C11.1966659,13 11.0633339,12.9433339 10.95,12.83 C10.8366661,12.7166661 10.78,12.5833341 10.78,12.43 L10.78,12.2 C10.78,11.8266648 10.9299985,11.5233345 11.23,11.29 C12.3500056,10.4099956 13.0916649,9.7400023 13.455,9.28 C13.8183351,8.8199977 14,8.3700022 14,7.93 C14,7.3166636 13.6600034,7.01 12.98,7.01 C12.5666646,7.01 12.060003,7.1233322 11.46,7.35 C11.3333327,7.3966669 11.2133339,7.3833337 11.1,7.31 C10.9866661,7.2366663 10.93,7.133334 10.93,7 L10.93,6.58 C10.93,6.4066658 10.9799995,6.25166735 11.08,6.115 C11.1800005,5.97833265 11.3133325,5.8866669 11.48,5.84 C12.0866697,5.6799992 12.6699972,5.6 13.23,5.6 C14.0366707,5.6 14.6583312,5.79166475 15.095,6.175 C15.5316688,6.55833525 15.75,7.0899966 15.75,7.77 C15.75,8.3566696 15.5650018,8.91499735 15.195,9.445 C14.8249981,9.97500265 14.1033387,10.6933288 13.03,11.6 C13.0233333,11.6066667 13.02,11.6133333 13.02,11.62 C13.02,11.6266667 13.0233333,11.63 13.03,11.63 L15.22,11.63 C15.3733341,11.63 15.5049995,11.6866661 15.615,11.8 C15.7250006,11.9133339 15.78,12.0466659 15.78,12.2 L15.78,12.43 C15.78,12.5833341 15.7250006,12.7166661 15.615,12.83 C15.5049995,12.9433339 15.3733341,13 15.22,13 L11.35,13 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\\n            </g>\\n        </g>\\n    </svg>',d.consts.ICON_H3='\\n    <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\\n        <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\\n            <g id=\"h3\" fill=\"currentColor\">\\n                <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.32,7.07 C11.1666659,7.07 11.0333339,7.0133339 10.92,6.9 C10.8066661,6.7866661 10.75,6.6533341 10.75,6.5 L10.75,6.27 C10.75,6.1166659 10.8066661,5.9833339 10.92,5.87 C11.0333339,5.7566661 11.1666659,5.7 11.32,5.7 L15.05,5.7 C15.2033341,5.7 15.3366661,5.7566661 15.45,5.87 C15.5633339,5.9833339 15.62,6.1166659 15.62,6.27 L15.62,6.5 C15.62,6.8800019 15.4733348,7.1899988 15.18,7.43 L13.67,8.68 L13.67,8.69 C13.67,8.6966667 13.6733333,8.7 13.68,8.7 L13.8,8.7 C14.3800029,8.7 14.8449983,8.8799982 15.195,9.24 C15.5450018,9.6000018 15.72,10.0866636 15.72,10.7 C15.72,11.4733372 15.4833357,12.0666646 15.01,12.48 C14.5366643,12.8933354 13.8566711,13.1 12.97,13.1 C12.436664,13.1 11.8966694,13.0366673 11.35,12.91 C11.1899992,12.8699998 11.0583339,12.7816674 10.955,12.645 C10.8516662,12.5083327 10.8,12.3533342 10.8,12.18 L10.8,11.84 C10.8,11.706666 10.8549995,11.6016671 10.965,11.525 C11.0750006,11.448333 11.196666,11.4299998 11.33,11.47 C11.9033362,11.6566676 12.4033312,11.75 12.83,11.75 C13.2166686,11.75 13.5166656,11.6600009 13.73,11.48 
262C13.9433344,11.2999991 14.05,11.0500016 14.05,10.73 C14.05,10.4033317 13.9266679,10.173334 13.68,10.04 C13.4333321,9.906666 12.9733367,9.8366667 12.3,9.83 C12.1466659,9.83 12.0133339,9.77500055 11.9,9.665 C11.7866661,9.55499945 11.73,9.4233341 11.73,9.27 L11.73,9.25 C11.73,8.8766648 11.8733319,8.5666679 12.16,8.32 L13.58,7.09 L13.58,7.08 C13.58,7.0733333 13.5766667,7.07 13.57,7.07 L11.32,7.07 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\\n            </g>\\n        </g>\\n    </svg>',d.consts.ICON_H4='\\n      <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\\n          <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\\n              <g id=\"h3\" fill=\"currentColor\">\\n                  <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.62,10.25 L11.62,10.26 C11.62,10.2666667 11.6233333,10.27 11.63,10.27 L13.28,10.27 C13.3400003,10.27 13.37,10.2433336 13.37,10.19 L13.37,7.77 C13.37,7.7633333 13.3666667,7.76 13.36,7.76 C13.3466666,7.76 13.34,7.7633333 13.34,7.77 L11.62,10.25 Z M10.68,11.6 C10.5266659,11.6 10.3950005,11.5433339 10.285,11.43 C10.1749995,11.3166661 10.12,11.1833341 10.12,11.03 L10.12,10.84 C10.12,10.4666648 10.2299989,10.1233349 10.45,9.81 L13.04,6.16 C13.2600011,5.8533318 13.5566648,5.7 13.93,5.7 L14.43,5.7 C14.5833341,5.7 14.7149994,5.7566661 14.825,5.87 C14.9350006,5.9833339 14.99,6.1166659 14.99,6.27 L14.99,10.19 C14.99,10.2433336 15.0199997,10.27 15.08,10.27 L15.48,10.27 C15.6333341,10.27 15.7666661,10.3266661 15.88,10.44 C15.9933339,10.5533339 16.05,10.6866659 16.05,10.84 L16.05,11.03 C16.05,11.1833341 15.9933339,11.3166661 15.88,11.43 C15.7666661,11.5433339 15.6333341,11.6 15.48,11.6 L15.08,11.6 C15.0199997,11.6 14.99,11.6299997 14.99,11.69 L14.99,12.43 C14.99,12.5833341 14.9350006,12.7166661 14.825,12.83 C14.7149994,12.9433339 14.5833341,13 14.43,13 L13.93,13 C13.7766659,13 13.6450005,12.9433339 13.535,12.83 C13.4249995,12.7166661 13.37,12.5833341 13.37,12.43 L13.37,11.69 C13.37,11.6299997 13.3400003,11.6 13.28,11.6 L10.68,11.6 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\\n              </g>\\n          </g>\\n      </svg>',d.consts.ALL_FONTS=new Set([\"\",\"abeezee\",\"abril-fatface\",\"alegreya\",\"archivo\",\"arial\",\"arvo\",\"biorhyme\",\"b612\",\"cairo\",\"cardo\",\"concert-one\",\"cormorant\",\"cousine\",\"crimson-text\",\"droid-sans\",\"droid-serif\",\"eb-garamond\",\"exo-2\",\"fira-sans\",\"fjalla-one\",\"frank-ruhl-libre\",\"karla\",\"ibm-plex\",\"lato\",\"lora\",\"merriweather\",\"mizra\",\"monospace\",\"montserrat\",\"muli\",\"noto-sans\",\"nunito\",\"old-standard-tt\",\"open-sans\",\"oswald\",\"oxygen\",\"playfair-display\",\"pt-sans\",\"pt-serif\",\"poppins\",\"rakkas\",\"raleway\",\"roboto\",\"rubik\",\"serif\",\"source-sans\",\"source-sans-pro\",\"spectral\",\"times-new-roman\",\"tinos\",\"titillium\",\"ubuntu\",\"varela\",\"volkorn\",\"work-sans\",\"yatra-one\"]),d.consts.BASE64IMAGEREGEX=/<img[^>]* src=\"data:image\\/(.*?)\"(.*?)>/gi,d.helpers={},d.helpers.kebab_to_title_case=string=>string.split(\"-\").map((word=>word.charAt(0).toUpperCase()+word.slice(1))).join(\" \"),d.helpers.deltaIsEqual=(lhs,rhs)=>{if(lhs===rhs)return!0;
262if(null==lhs||null==rhs)return lhs===rhs;let lhs_is_array=Array.isArray(lhs),rhs_is_array=Array.isArray(rhs),lhs_tag=\"[object Array]\";lhs_is_array||(lhs_tag=toString.call(lhs));let rhs_tag=\"[object Array]\";if(rhs_is_array||(rhs_tag=toString.call(rhs)),lhs_tag!==rhs_tag)return!1;if(lhs_is_array){let lhs_len=lhs.length,rhs_len;if(lhs_len!==rhs.length)return!1;for(let i=0;i<lhs_len;i++)if(!d.helpers.deltaIsEqual(lhs[i],rhs[i]))return!1;return!0}if(\"[object Object]\"===lhs_tag){let lhs_props=Object.keys(lhs),rhs_props=Object.keys(rhs);if(lhs_props.length!==rhs_props.length)return!1;for(let i=0;i<lhs_props.length;i++){let prop=lhs_props[i];if(!Object.prototype.hasOwnProperty.call(rhs,prop))return!1;let lhs_val=lhs[prop],rhs_val=rhs[prop];if(!d.helpers.deltaIsEqual(lhs_val,rhs_val))return!1}return!0}switch(lhs_tag){case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":let casted_lhs=+lhs,casted_rhs=+rhs;return casted_lhs===casted_rhs||casted_lhs!=casted_lhs&&casted_rhs!=casted_rhs;case\"[object RegExp]\":case\"[object String]\":return lhs+\"\"==rhs+\"\";case\"[object Map]\":case\"[object Set]\":case\"[object Error]\":case\"[object DataView]\":case\"[object ArrayBuffer]\":return!1}return!1},d.consts.HTML_TO_BBCODE_FONTS={},d.consts.BBCODE_TO_HTML_FONTS={};for(const font_name of d.consts.ALL_FONTS){const bbcode_translation=d.helpers.kebab_to_title_case(font_name);d.consts.HTML_TO_BBCODE_FONTS[font_name]=bbcode_translation,d.consts.BBCODE_TO_HTML_FONTS[bbcode_translation]=font_name}d.initialized=!1,d.img_tracker=0,d.prev_image_list=[],d.should_rerun_val=!1,d.prev_contents=\"\",d.initial_bbcode=\"\",d.initial_html=\"\",d.last_change_source=\"api\",d.has_been_edited=!1,d.typing_timer_id=null,instance.canvas.css(\"overflow\",\"visible\"),instance.publishState(\"field_is_focused\",!1);const Clipboard=Quill.import(\"modules/clipboard\");class ForceScrollClipboard extends Clipboard{onPaste(e){d.pasted=!0;const scrollTop=window.scrollY,scrollLeft=window.scrollX;Clipboard.prototype.onPaste.call(this,e),setTimeout((()=>window.scrollTo(scrollLeft,scrollTop)),1)}}Quill.register(\"modules/clipboard\",ForceScrollClipboard,!0)}"},"update":{"fn":"const update=function(instance,properties,context){const d=instance.data;d.did_set_content_first_time=!0,\"elements\"in d||(d.elements={}),\"is_autobound\"in d||(d.is_autobound=!!properties.bubble.auto_binding());const{DONE_TYPING_INTERVAL_MS:DONE_TYPING_INTERVAL_MS,SUPPORTED_FILE_EXTENSIONS:SUPPORTED_FILE_EXTENSIONS,ICON_H1:ICON_H1,ICON_H2:ICON_H2,ICON_H3:ICON_H3,ICON_H4:ICON_H4,ALL_FONTS:ALL_FONTS,HTML_TO_BBCODE_FONTS:HTML_TO_BBCODE_FONTS,BBCODE_TO_HTML_FONTS:BBCODE_TO_HTML_FONTS,BASE64IMAGEREGEX:BASE64IMAGEREGEX}=d.consts;d.last_update_bubble_props||(d.last_update_bubble_props={}),d.updated_bubble_props={};for(const key in properties.bubble){const property=properties.bubble[key]();d.last_update_bubble_props[key]!==property&&(d.last_update_bubble_props[key]=property,d.updated_bubble_props[key]=property)}d.last_update_props||(d.last_update_props={}),d.updated_props={};for(const key in properties){if(\"bubble\"===key)continue;const there_has_been_changes=undefined;properties[key]!==d.last_update_props[key]&&(d.updated_props[key]=properties[key],d.last_update_props[key]=properties[key])}if(!d.has_been_reconciled){for(const key in properties)\"bubble\"!==key&&(d.updated_props[key]=properties[key],d.last_update_props[key]=properties[key]);for(const key in properties.bubble){const property=properties.bubble[key]();d.last_update_bubble_props[key]=property,d.updated_bubble_props[key]=property}}if(0===Object.keys(d.updated_props).length&&0===Object.keys(d.updated_bubble_props).length)return;const checkForContent=html=>html=(html=html.replace(/<(.*?)>(.*?)<\\/(.*?)>/gim,\"$2\")).replace(/<br>/gi,\"\"),attr=(node,attribute)=>node.attributes&&node.attributes[attribute]&&node.attributes[attribute].nodeValue||\"\",quillAttrs=node=>[...node.classList||[]].reduce(((attributes,className)=>{const[prefix,attribute,...value]=className.split(\"-\");return\"ql\"===prefix&&(0===value.length?attributes[attribute]=!0:attributes[attribute]=value.join(\"-\")),attributes}),{}),bbcodeTagMap={IMG:node=>{const width=attr(node,\"width\"),src=undefined;return[`[img${width?` width=${width}`:\"\"}]${attr(node,\"src\")}[/img]`,\"\"]},IFRAME:node=>{const src=attr(node,\"src\"),youtubeMatch=src.match(/https:\\/\\/www.youtube.com\\/embed\\/(.*?)\\?showinfo=0(.*?)/);return youtubeMatch?[`[youtube]${youtubeMatch[1]}[/youtube]`,\"\"]:quillAttrs(node).video?[`[video]${src}[/video]`,\"\"]:[\"\",\"\"]},UL:()=>[\"[ml][ul]\",\"[/ul][/ml]\"],OL:()=>[\"[ml][ol]\",\"[/ol][/ml]\"],LI:(node,listType)=>{const prevSib=undefined,nextSib=undefined,classData=[node,node.previousElementSibling,node.nextElementSibling].map((curr=>{const attrs=curr?quillAttrs(curr):{};return{indent:attrs.indent?parseInt(attrs.indent,10):0,align:attrs.align||\"left\"}})),openDiff=classData[0].indent-classData[1].indent,closeDiff=classData[0].indent-classData[2].indent;let openList=\"\";for(let i=0;i<openDiff;i++){const data=` data=${classData[0].indent}`;\"UL\"===listType?openList+=`[ul${data}]`:\"OL\"===listType&&(openList+=`[ol${data}]`)}let closeList=\"\";for(let i=0;i<closeDiff;i++)\"UL\"===listType?closeList+=\"[/ul]\":\"OL\"===listType&&(closeList+=\"[/ol]\");const indent=undefined,align=undefined;return[`${openList}[li${` indent=${classData[0].indent}`}${` align=${classData[0].align}`}]`,`[/li]${closeList}`]},H1:()=>[\"[h1]\",\"[/h1]\\n\"],H2:()=>[\"[h2]\",\"[/h2]\\n\"],H3:()=>[\"[h3]\",\"[/h3]\\n\"],H4:()=>[\"[h4]\",\"[/h4]\\n\"],SUB:()=>[\"[sub]\",\"[/sub]\"],SUP:()=>[\"[sup]\",\"[/sup]\"],PRE:()=>[\"[code]\",\"[/code]\"],BLOCKQUOTE:()=>[\"[quote]\",\"[/quote]\"],U:()=>[\"[u]\",\"[/u]\"],EM:()=>[\"[i]\",\"[/i]\"],STRONG:()=>[\"[b]\",\"[/b]\"],S:()=>[\"[s]\",\"[/s]\"],P:()=>[\"\",\"\\n\"],SPAN:()=>[\"\",\"\"],BR:()=>[\"\",\"\\n\"]},bbcodeSizeMap={small:1,large:4,huge:6}
262,processBBCodeChildNodes=node=>{let childNodeBBCodeInner=\"\";if(node&&node.childNodes.length){const hasParentElement=!!node.parentElement,isParagraphElement=\"P\"===node.nodeName,hasOneChild=1===node.childNodes.length,childIsLineBreak=\"BR\"===node.childNodes[0].nodeName,isBlankLine=undefined;!hasParentElement&&isParagraphElement&&hasOneChild&&childIsLineBreak||node.childNodes.forEach((child=>{childNodeBBCodeInner+=getBBCode(child,[\"UL\",\"OL\"].includes(node.nodeName)&&node.nodeName)}))}return childNodeBBCodeInner},getBBCode=(node,listType)=>{if(\"#text\"===node.nodeName)return node.nodeValue;let bbcodeInner=\"\",bbcodeOuterLeft=\"\",bbcodeOuterRight=\"\";if(node.childNodes.length&&(bbcodeInner+=processBBCodeChildNodes(node)),\"A\"===node.nodeName){let url=attr(node,\"href\");url.includes(\"http://\")||url.includes(\"https://\")||url.includes(\"mailto:\")||(url=`https://${url}`),bbcodeInner=`[url=${url}]${bbcodeInner}[/url]`}node.style&&node.style.length&&(node.style.backgroundColor&&(bbcodeInner=`[highlight=${node.style.backgroundColor}]${bbcodeInner}[/highlight]`),node.style.color&&(bbcodeInner=`[color=${node.style.color}]${bbcodeInner}[/color]`));const attrs=quillAttrs(node);attrs.font&&(bbcodeInner=`[font=\"${HTML_TO_BBCODE_FONTS[attrs.font]}\"]${bbcodeInner}[/font]`),attrs.size&&(bbcodeInner=`[size=${bbcodeSizeMap[attrs.size]}]${bbcodeInner}[/size]`),attrs.align&&![\"UL\",\"OL\",\"LI\"].includes(node.nodeName)&&(bbcodeOuterLeft=`[${attrs.align}]${bbcodeOuterLeft}`,bbcodeOuterRight=`${bbcodeOuterRight}
262[/${attrs.align}]`),attrs.indent&&![\"UL\",\"OL\",\"LI\"].includes(node.nodeName)&&(bbcodeInner=`[indent data=${attrs.indent}]${bbcodeInner}[/indent]`);const tags=bbcodeTagMap[node.nodeName]?bbcodeTagMap[node.nodeName](node,listType):[\"\",\"\"];return\"\"!=bbcodeOuterRight&&\"\\n\"==tags[1].slice(-1)&&(tags[1]=tags[1].slice(0,-1),bbcodeOuterRight+=\"\\n\"),`${bbcodeOuterLeft}${tags[0]}${bbcodeInner}${tags[1]}${bbcodeOuterRight}`},htmlToBBCode=html=>$.parseHTML(html).map((node=>getBBCode(node))).join(\"\"),bbCodeToHTML=bbcode=>bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=bbcode.replace(/\\[\\/center\\]/gi,\"[/center]\")).replace(/\\[\\/right\\]/gi,\"[/right]\")).replace(/\\[\\/justify\\]/gi,\"[/justify]\")).replace(/\\[(center|right|left)\\].*?\\[\\/\\1\\]/gims,((match,align)=>(close_open_align=\"[/\"+align+\"][\"+align+\"]\",match=(match=(match=(match=match.replace(/\\[(h[1-4]|youtube|blockquote)\\](.*?)\\[\\/\\1\\]/,close_open_align+\"[$1]$2[/$1]\"+close_open_align)).replace(/\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]/,close_open_align+\"[indent data=$1]$2[/indent]\"+close_open_align)).replace(/(?:<br>|\\n)/gim,close_open_align)).replace(new RegExp(\"\\\\[\"+align+\"\\\\]\\\\[\\\\/\"+align+\"\\\\]\",\"gmi\"),\"\"))))).replace(/\\[size=1\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-small\">$1</span>')).replace(/\\[size=2\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-small\">$1</span>')).replace(/\\[size=3\\](.*?)\\[\\/size\\]/gim,\"$1\")).replace(/\\[size=4\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-large\">$1</span>')).replace(/\\[size=5\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-large\">$1</span>')).replace(/\\[size=6\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-huge\">$1</span>')).replace(/\\[size=7\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-huge\">$1</span>')).replace(/\\[color=(.*?)\\](.*?)\\[\\/color\\]/gim,'<span style=\"color:$1;\">$2</span>')).replace(/\\[highlight=(.*?)\\](.*?)\\[\\/highlight\\]/gim,'<span style=\"background-color:$1;\">$2</span>')).replace(/\\[font=\"(.*?)\"\\](.*?)\\[\\/font\\]/gim,(function(match,m1,m2){return`<span class=\"ql-font-${BBCODE_TO_HTML_FONTS[m1]}\">${m2}</span>`}))).replace(/\\[(center|right|justify)\\]\\[(h[1-4]|blockquote)\\]\\[indent data=(.*?)\\]/gim,'<$2 class=\"ql-align-$1 ql-indent-$3\">')).replace(/\\[(center|right|justify)\\]\\[(h[1-4]|blockquote)\\]/gim,'<$2 class=\"ql-align-$1\">')).replace(/\\[(h[1-4]|blockquote)\\]\\[indent data=(.*?)\\]/gim,'<$1 class=\"ql-indent-$2\">')).replace(/\\[(center|right|justify)\\]\\[youtube\\](.*?)\\[\\/youtube\\]\\[\\/(center|right|justify)\\]/gi,'<iframe class=\"ql-video ql-align-$1\" frameborder=\"0\" allowfullscreen=\"true\" src=\"https://www.youtube.com/embed/$2?showinfo=0\">')).replace(/\\[(center|right|justify)\\]\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]\\[\\/(center|right|justify)\\]\\n?/gim,'<p class=\"ql-align-$1 ql-indent-$2\">$3</p>')).replace(/\\[(center|right|justify)\\](.*?)\\[\\/\\1\\]\\n?/gims,'<p class=\"ql-align-$1\">$2</p>')).replace(/\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]\\n?/gim,'<p class=\"ql-indent-$1\">$2</p>')).replace(/\\[b\\]/gi,\"<strong>\")).replace(/\\[\\/b\\]/gi,\"</strong>\")).replace(/\\[i\\]/gi,\"<em>\")).replace(/\\[\\/i\\]/gi,\"</em>\")).replace(/\\[u\\]/gi,\"<u>\")).replace(/\\[\\/u\\]/gi,\"</u>\")).replace(/\\[s\\]/gi,\"<s>\")).replace(/\\[\\/s\\]/gi,\"</s>\")).replace(/\\[quote\\]/gi,\"<blockquote>\")).replace(/\\[\\/quote\\]/gi,\"</blockquote>\")).replace(/\\[code\\]/gi,\"<pre>\")).replace(/\\[\\/code\\]/gi,\"</pre>\")).replace(/\\[sub\\]/gi,\"<sub>\")).replace(/\\[\\/sub\\]/gi,\"</sub>\")).replace(/\\[sup\\]/gi,\"<sup>\")).replace(/\\[\\/sup\\]/gi,\"</sup>\")).replace(/\\[h1\\]/gi,\"<h1>\")).replace(/\\[\\/(h[1-4])]\\n?/gi,\"</$1>\")).replace(/\\[(h[1-4])\\]/gi,\"<$1>\")).replace(/\\[\\/indent\\]/gi,\"\")).replace(/\\[\\/center\\]\\n?/gi,\"\")).replace(/\\[\\/right\\]\\n?/gi,\"\")).replace(/\\[\\/justify\\]\\n?/gi,\"\")).replace(/\\[hr\\]/gi,\"\")).replace(/\\[email(.*?)\\]/gi,\"\")).replace(/\\[\\/email\\]/gi,\"\")).replace(/\\[left\\]/gi,\"\")).replace(/\\[\\/left\\]/gi,\"\")).replace(/\\[ml\\]\\[ol\\](.*?)\\[\\/ol\\]\\[\\/ml\\]/gim,\"<ol>$1</ol>\")).replace(/\\[ml\\]\\[ul\\](.*?)\\[\\/ul\\]\\[\\/ml\\]/gim,\"<ul>$1</ul>\")).replace(/\\[ol(.*?)\\]/gi,\"\")).replace(/\\[\\/ol\\]/gi,\"\")).replace(/\\[ul(.*?)\\]/gi,\"\")).replace(/\\[\\/ul\\]/gi,\"\")).replace(/\\[li indent=(.*?) align=(.*?)\\]/gi,(x=>{const indent=x.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi,\"$1\"),alignment=x.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi,\"$2\");let result=\"<li\";return\"0\"===indent&&\"left\"===alignment||(result+=' class=\"'),\"0\"!==indent&&(result+=\"ql-indent-\"+indent),\"left\"!==alignment&&(result+=\" ql-align-\"+alignment),\"0\"===indent&&\"left\"===alignment||(result+='\"'),result+\">\"}))).replace(/\\[li\\]/gi,\"<li>\")).replace(/\\[\\/li\\]/gi,\"</li>\")).replace(/\\[img width=(.*?)\\](.*?)\\[\\/img\\]/gim,'<img src=\"$2\" width=\"$1\">')).replace(/\\[img\\](.*?)\\[\\/img\\]/gim,'<img src=\"$1\">')).replace(/\\[url=(.*?)\\](.*?)\\[\\/url\\]/gi,'<a href=\"$1\" target=\"_blank\">$2</a>')).replace(/\\[youtube\\](.*?)\\[\\/youtube\\]/gi,'<iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"https://www.youtube.com/embed/$1?showinfo=0\"></iframe>')).replace(/\\[video\\](.*?)\\[\\/video\\]/gi,'<iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"$1\"></iframe>
262')).replace(/\\n/gi,\"<br>\"),done_typing=()=>{d.should_rerun_val&&d.last_update_props.autosave&&!d.is_uploading&&set_val()},set_val=()=>{const new_bbcode=htmlToBBCode(d.quill.root.innerHTML).replace(/\\n$/,\"\"),did_content_change=d.current_bbcode!==new_bbcode;d.current_bbcode=new_bbcode,did_content_change&&notify_content_changed(new_bbcode),d.pasted=!1},notify_content_changed=(bbcode,args={programmatic:!1})=>{instance.publishState(\"value\",bbcode),instance.publishState(\"value_is_valid\",is_valid()),args.programmatic||(d.should_rerun_val=!1,d.last_update_props.autobinding=bbcode,instance.publishAutobinding(bbcode),instance.triggerEvent(\"value_changes\",(err=>{err&&console.error(\"Rich text event error - please report to admin: \"+JSON.stringify(err))})))},is_valid=()=>{const quill=d.quill;return!properties.empty_is_invalid||\"\"!==checkForContent(quill.root.innerHTML)},handle_quill_text_change_event=(delta,oldDelta,source)=>{if(\"bubble_update\"===d.last_change_source)return;d.last_change_source=source,\"user\"===d.last_change_source&&(d.has_been_edited=!0),get_current_content_bbcode()===properties.initial_content&&(d.has_been_edited=!1),d.should_rerun_val=!0,d.prev_contents=htmlToBBCode(d.quill.root.innerHTML),clearTimeout(d.typing_timer_id),d.typing_timer_id=setTimeout(done_typing,DONE_TYPING_INTERVAL_MS),d.quill.theme.modules.imageResize.overlay&&!d.has_resize_listener&&(d.has_resize_listener=!0,$(d.quill.theme.modules.imageResize.overlay).one(\"mouseup\",(()=>{done_typing(),d.has_resize_listener=!1}))),fixup_images(),d.pasted=!1,set_initial_content(source);const quill=d.quill,ops=delta.ops,oldSelection=quill.getSelection(),oldPos=oldSelection?.index,oldSelectionLength=oldSelection?oldSelection.length:0;void 0!==ops[0].retain&&ops[1]&&ops[1].insert&&ops[1].insert&&\"\\n\"===ops[1].insert&&!(oldSelectionLength>0)&&setTimeout((()=>{const newPos=undefined;quill.getSelection().index===oldPos&&quill.setSelection(quill.getSelection().index+1,0)}),3)},fixup_images=()=>{const quillRoot=undefined;d.elements.quillRoot.find(\"img\").each(((index,element)=>{$(element).data(\"width\",$(element).css(\"width\"))})),upload_and_replace_inline_images()},upload_and_replace_inline_image=(file_extension,source)=>{d.is_uploading=!0,context.uploadContent(`richtext_content.${file_extension}`,source,((err,url)=>{if(err)return d.is_uploading=!1,void console.error(\"Rich text editor error - please report to admin: \"+JSON.stringify(err));const quillRoot=d.elements.quillRoot,upload_width=quillRoot.find(`img[src=\"data:image/${file_extension};base64,${source}\"]`).css(\"width\")||\"\";quillRoot.find(`img[src=\"data:image/${file_extension};base64,${source}\"]`).attr({src:url,width:upload_width}),d.is_uploading=!1}))},setImgTrackerAndDetectImgChange=rawhtml=>{const matches=rawhtml.match(BASE64IMAGEREGEX)||[];let img_change=!1;if(matches.length!==d.img_tracker)img_change=!0,d.img_tracker=matches.length;else if(\"\"!==d.prev_contents&&d.current_bbcode!==d.prev_contents)for(const img of matches)d.prev_image_list.includes(img)||(img_change=!0);return img_change&&(d.prev_image_list=matches),img_change},upload_and_replace_inline_images=()=>{const quill=undefined,rawhtml=d.quill.root.innerHTML,img_has_changed=setImgTrackerAndDetectImgChange(rawhtml),base64ImageRegex=BASE64IMAGEREGEX;let fullMatch=base64ImageRegex.exec(rawhtml),encoding,base64source;for(;img_has_changed&&fullMatch;){[encoding,base64source]=fullMatch[1].split(\",\")||[];const file_extension=(encoding||\"\").split(\";\")[0];SUPPORTED_FILE_EXTENSIONS[file_extension]&&upload_and_replace_inline_image(file_extension,base64source),fullMatch=base64ImageRegex.exec(rawhtml)}};async function clean_inline_base64_images(rawhtml){const img_has_changed=setImgTrackerAndDetectImgChange(rawhtml),base64ImageRegex=BASE64IMAGEREGEX;let fullMatch=base64ImageRegex.exec(rawhtml),encoding,base64source,returnHtml=rawhtml;if(img_has_changed)for(;fullMatch;){[encoding,base64source]=fullMatch[1].split(\",\")||[];const file_extension=(encoding||\"\").split(\";\")[0];if(SUPPORTED_FILE_EXTENSIONS[file_extension]&&(returnHtml=await upload_and_replace_inline_image_in_html(file_extension,base64source,returnHtml,fullMatch)),base64ImageRegex.lastIndex=0,fullMatch=base64ImageRegex.exec(returnHtml),!fullMatch)return returnHtml}return returnHtml}function upload_and_replace_inline_image_in_html(file_extension,source,rawhtml,fullMatch){return new Promise((resolve=>{context.uploadContent(`richtext_content.${file_extension}`,source,((err,url)=>{rawhtml=rawhtml.replace(fullMatch[0],`<img src=${url} />`),resolve(rawhtml)}))}))}const register_fonts_and_icons=()=>{const FontAttributor=window.Quill.import(\"attributors/class/font\");FontAttributor.whitelist=[...ALL_FONTS],window.Quill.register(FontAttributor,!0);const icons=window.Quill.import(\"ui/icons\");icons.header[1]=ICON_H1,icons.header[2]=ICON_H2,icons.header[3]=ICON_H3,icons.header[4]=ICON_H4},initialize_quill=()=>{instance.canvas.empty();const Delta=window.Quill.import(\"delta\");
262d.element_id||(d.element_id=`richtext-editor-${$(\".ql-container\").length}`),register_fonts_and_icons();const theme=\"Regular\"===properties.theme?\"snow\":\"bubble\";let toolbar;toolbar=\"Basic\"===properties.complexity?[[\"bold\",\"italic\",\"link\"],[{align:[]},{header:\"1\"},{header:\"2\"}]]:\"Medium\"===properties.complexity?[[{font:[...ALL_FONTS]}],[\"bold\",\"italic\",\"underline\",\"strike\"],[{color:[]},{background:[]}],[{header:\"1\"},{header:\"2\"},{header:\"3\"},{header:\"4\"}],[{list:\"ordered\"},{list:\"bullet\"}],[{indent:\"-1\"},{indent:\"+1\"},{align:[]},\"link\"]]:[[{font:[...ALL_FONTS]},{size:[]}],[\"bold\",\"italic\",\"underline\",\"strike\"],[{color:[]},{background:[]}],[{script:\"super\"},{script:\"sub\"}],[{header:\"1\"},{header:\"2\"},{header:\"3\"},{header:\"4\"},\"blockquote\",\"code-block\"],[{list:\"ordered\"},{list:\"bullet\"}],[{indent:\"-1\"},{indent:\"+1\"},{align:[]}],[\"link\",\"image\",\"video\"],[\"clean\"]],instance.canvas.append(`<div id=\"${d.element_id}\"></div>`);const quill=new window.Quill(`#${d.element_id}`,{theme:theme,bounds:`#${d.element_id}`,modules:{imageResize:{modules:[\"Resize\",\"DisplaySize\"]},toolbar:toolbar,clipboard:{},history:{userOnly:!0}},placeholder:d.updated_props.placeholder||\"\"}),rteContainer=$(quill.container);d.elements.rteContainer=rteContainer;const toolbarElement=rteContainer.siblings(\".ql-toolbar\");d.elements.toolbarElement=toolbarElement;const toolbarHeight=toolbarElement.length>0?(toolbarElement[0].clientHeight||0)+3:0,editorContainer=undefined;rteContainer.find(\".ql-editor\").css({\"max-height\":`calc(${d.last_update_bubble_props.max_height_css} - ${toolbarHeight}px)`}),apply_flex_display_to_parent_container(),\"none\"!==properties.bubble.border_style()&&\"snow\"===theme&&toolbarElement.css({border:\"none\",\"border-bottom\":\"1px solid #ccc\"}),quill.clipboard.addMatcher(\"span\",((node,delta)=>
262{for(const node_class of node.classList){if(!node_class.startsWith(\"ql-font-\"))continue;const matched_font=node_class.replace(\"ql-font-\",\"\");if(ALL_FONTS.has(matched_font)&&\"sans-serif\"!==matched_font)return delta.compose((new Delta).retain(delta.length(),{font:matched_font}))}return delta}));const quillRoot=$(quill.root);d.elements.quillRoot=quillRoot,$(\".ql-bold\").attr(\"title\",\"Bold\"),$(\".ql-italic\").attr(\"title\",\"Italic\"),$(\".ql-underline\").attr(\"title\",\"Underline\"),$('.ql-header[value=\"1\"]').attr(\"title\",\"Title\"),$('.ql-header[value=\"2\"]').attr(\"title\",\"Subtitle\"),$(\".ql-align\").attr(\"title\",\"Text alignment\"),[\"Full\",\"Medium\"].includes(properties.complexity)&&($('.ql-header[value=\"3\"]').attr(\"title\",\"Subtitle\"),$('.ql-header[value=\"4\"]').attr(\"title\",\"Subtitle\"),$(\".ql-strike\").attr(\"title\",\"Strikethrough\"),$(\".ql-color\").attr(\"title\",\"Font color\"),$(\".ql-background\").attr(\"title\",\"Highlight color\"),$(\".ql-font\").attr(\"title\",\"Font\"),$('.ql-list[value=\"ordered\"]').attr(\"title\",\"Numbered list\"),$('.ql-list[value=\"bullet\"]').attr(\"title\",\"Bulleted list\"),$('.ql-indent[value=\"+1\"]').attr(\"title\",\"Indent\"),$('.ql-indent[value=\"-1\"]').attr(\"title\",\"Remove indent\"),$(\".ql-link\").attr(\"title\",\"Link\")),\"Full\"===properties.complexity&&($(\".ql-size\").attr(\"title\",\"Font size\"),$('.ql-script[value=\"super\"]').attr(\"title\",\"Superscript\"),$('.ql-script[value=\"sub\"]').attr(\"title\",\"Subscript\"),$(\".ql-blockquote\").attr(\"title\",\"Quote\"),$(\".ql-code-block\").attr(\"title\",\"Code\"),$(\".ql-image\").attr(\"title\",\"Image\"),$(\".ql-video\").attr(\"title\",\"Video\"),$(\".ql-clean\").attr(\"title\",\"Remove all formatting\")),$(\".ql-font .ql-picker-options\").css({height:\"250px\",overflow:\"scroll\"}),$(\".ql-font .ql-picker-options .ql-picker-item\").each(((index,element)=>{$(element).attr(\"data-label\",HTML_TO_BBCODE_FONTS[$(element).data(\"value\")])}
262)),d.quill=quill;const tooltip=undefined,input=undefined;quill.theme.tooltip.root.querySelector(\"input[data-link]\").dataset.link=properties.link_placeholder,quillRoot.on(\"scroll\",(()=>{const resize_obj=rteContainer.children()[3];resize_obj&&!resize_obj.hidden&&quill.theme.modules.imageResize.repositionElements()})),rteContainer.mouseup((()=>{rteContainer.children()[3]&&done_typing()}));const rte_canvas=rteContainer.children()[0];rte_canvas.onfocus=()=>{instance.publishState(\"field_is_focused\",!0)},rte_canvas.onblur=()=>{d.pasted||(instance.publishState(\"field_is_focused\",!1),clearTimeout(d.typing_timer_id),d.should_rerun_val&&!d.is_uploading&&set_val())},$(\".ql-toolbar\").mousedown((e=>e.preventDefault())),quill.on(\"text-change\",handle_quill_text_change_event),$(\".ql-formats\").on(\"click\",(()=>rteContainer.children().eq(3).hide())),d.prev_contents=\"\",d.initialized=!0},set_content_with_delta=(quill,bbcode,desired_delta)=>{desired_delta.insert(\"\\n\");const current_delta=quill.getContents();if(d.helpers.deltaIsEqual(current_delta,desired_delta)&&bbcode===d.prev_contents)return;const actual_change_source=d.last_change_source;d.last_change_source=\"bubble_update\",quill.setContents(desired_delta),d.last_change_source=actual_change_source},set_html_content_in_quill_from_bbcode=async(quill,bbcode,cb)=>{const desired_html=undefined;clean_inline_base64_images(bbCodeToHTML(bbcode)).then((result=>{const desired_delta=quill.clipboard.convert(result);set_content_with_delta(quill,bbcode,desired_delta);const cleaned_bbcode=htmlToBBCode(result);cb(cleaned_bbcode)}))},track_first_time_content_set=()=>{d.did_set_content_first_time&&(d.did_set_content_first_time=!1)},set_selection=quill=>{const current_selection=quill.getSelection();current_selection&&quill.setSelection(current_selection)};d.set_content_in_quill=async bbcode=>{const quill=d.quill,post_image_fixup_cb=bbcode=>{track_first_time_content_set(quill),set_selection(quill),quill.history.clear(),notify_content_changed(bbcode,{programmatic:!0})};set_html_content_in_quill_from_bbcode(quill,bbcode,post_image_fixup_cb)};const should_reinitialize=()=>{if(!d.initialized)return!0;const PROPS_THAT_NEED_REINITIALIZATION=[\"theme\",\"complexity\"];for(const prop of PROPS_THAT_NEED_REINITIALIZATION)if(prop in d.updated_props)return!0;return!1},set_initial_content=source=>{\"user\"!==source&&\"silent\"!==source&&(properties.autobinding||properties.initial_content===d.initial_bbcode||d.has_been_edited||(properties.initial_content=d.initial_bbcode))},get_non_null_autobinding_value=()=>properties.autobinding||\"\",get_current_content_bbcode=()=>d.did_set_content_first_time&&\"user\"===d.last_change_source?d.prev_contents||\"\":d.is_autobound?get_non_null_autobinding_value():d.has_been_edited?d.prev_contents:(d.should_rerun_val=!1,properties.initial_content||\"\"),sanitizeHTML=html=>bbCodeToHTML(htmlToBBCode(html)),get_initial_content_bbcode=()=>d.is_autobound?(properties.initial_content&&console.warn(\"Ignoring initial content since autobinding is enabled.\"),get_non_null_autobinding_value(properties)):(properties.initial_content=sanitizeHTML(properties.initial_content),properties.initial_content||\"\"),reconcile=()=>{let content_bbcode=\"\";const initial_content_bbcode=get_initial_content_bbcode();d.initial_bbcode!==initial_content_bbcode&&(content_bbcode=initial_content_bbcode,d.initial_html=bbCodeToHTML(content_bbcode),d.initial_bbcode=content_bbcode,d.has_been_edited&&!d.is_autobound||(d.current_bbcode=d.initial_bbcode)),null==d.current_bbcode&&(d.current_bbcode=d.initial_bbcode),d.initialized&&(content_bbcode=get_current_content_bbcode()),d.updated_props.autobinding&&d.is_autobound&&(content_bbcode=get_non_null_autobinding_value()),should_reinitialize()&&initialize_quill(),\"disabled\"in d.updated_props&&d.quill.enable(!d.updated_props.disabled),\"placeholder\"in d.updated_props&&(d.quill.root.dataset.placeholder=d.updated_props.placeholder||\"\"),content_bbcode!==d.prev_contents&&(d.set_content_in_quill(content_bbcode),d.prev_contents=content_bbcode),d.has_been_reconciled=!0,disable_image_selection_when_input_is_disabled()},disable_image_selection_when_input_is_disabled=function(){$(\".ql-editor img\").click((e=>{d.updated_props.disabled&&e.stopPropagation()}))},apply_flex_display_to_parent_container=function(){const is_visible=undefined;instance.data.last_update_bubble_props.is_visible?(instance.canvas.css({display:\"flex\",\"flex-direction\":\"column\"}),d.elements.rteContainer.css({border:\"none\",height:\"max-content\",\"min-height\":0,\"flex-shrink\":1,\"flex-grow\":1}),d.elements.toolbarElement.css({\"flex-grow\":0,\"flex-shrink\":0})):instance.canvas.css({display:\"none\",\"flex-direction\":\"column\"})};d.has_been_reconciled=!1,$(document).ready(reconcile)};"},"reset":{"fn":"function(instance,context){const d=instance.data;d.quill&&(d.is_autobound||(d.set_content_in_quill(d.initial_bbcode),d.last_change_source=\"api\",d.has_been_edited=!1))}"},"preview":{"fn":"function(instance, properties) {\n\n    //custom preview that changes as various properties are changed\n    //uses images rather than 
262initializing a disabled Quill instance because the images are lighter weight and makes loading the element more efficient in the editor \n    \n    var preview;\n    var preview_images = {\n        \"basic_styles\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328422624x814410333288381700/basic_styles.png\",\n        \"basic_text_alignment\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328435036x176083124177772740/basic_align.png\",\n        \"font\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328456820x636678729904445200/font.png\",\n        \"size\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328471900x601277843539461200/size.png\",\n        \"text_styles\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328500984x237729254917328450/text_styles.png\",\n        \"text_color\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578526040133x618924377176704400/text_color.png\",\n        \"sup_sub\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328553500x547904523073018600/sup_sub.png\",\n        \"titles_quote_code\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328573740x193466729817275650/titles_quote_code.png\",\n        \"media\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328690820x732983396842500400/media.png\",\n        \"remove_style\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1578328704608x655581645962726700/remove_style.png\",\n        \"list\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1580145133799x948312827511517800/list.png\",\n        \"indent_align\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1580145152691x503666194763457100/indent_align.png\",\n        \"all_titles\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1585641019238x597655811909080000/all%20titles.png\",\n        \"code_quotes\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1585641079062x980676637005123800/code%20quotes.png\",\n        \"medium_format\": \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1585641062978x592964815466108240/medium%20formats.png\"\n    };\n    \n    \n    if(properties.theme == \"Regular\"){\n        var toolbar = \"<div><div style='background-color:white;'>\";\n        if(properties.complexity == \"Full\"){\n            toolbar += \"<img src='\"+ preview_images[\"font\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"size\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_styles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_color\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"sup_sub\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"all_titles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"code_quotes\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"list\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"indent_align\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"media\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"remove_style\"] +\"'>\";\n        } else if(properties.complexity == \"Medium\"){\n            toolbar += \"<img src='\"+ preview_images[\"font\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_styles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_color\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"all_titles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"list\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"medium_format\"] +\"'>\";\n        } else {\n            toolbar += \"<img src='\"+ preview_images[\"basic_styles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"basic_text_alignment\"] +\"'>\";\n        }\n        toolbar += \"</div>\";\n        if(properties.initial_content && properties.initial_content!=\"\"){\n            toolbar += \"<span style='margin:15px;font-family:sans-serif;font-size:13px;line-height:40px;'>\" + properties.initial_content + \"</span>\";\n        } else {\n            if(properties.placeholder){\n                toolbar += \"<span style='font-style:italic;margin:15px;font-family:sans-serif;color:#737373;font-size:13px;line-height:40px;'>\" + properties.placeholder + \"</span>\";\n            }\n        }\n        toolbar += \"</div>\";\n        preview = $(toolbar);\n    } else {\n\t\tvar editor = \"<div>\";\n        if(properties.initial_content && properties.initial_content!=\"\"){\n            editor += \"<span style='margin:15px;font-family:sans-serif;font-size:13px;line-height:40px;'>\" + properties.initial_content + \"</span>\";\n        } else {\n            if(properties.placeholder){\n                editor += \"<span style='font-style:italic;margin:15px;font-family:sans-serif;color:#737373;font-size:13px;line-height:40px;'>\" + properties.placeholder + \"</span>\";\n            }\n        }\n        editor += \"</div>\";\n        preview = $(editor);\n    }\n\n    preview.css(\"height\", (properties.bubble.height() - 2) + \"px\");\n    if(properties.bubble.border_style()=='none'){\n        preview.children('div').css(\"border\", \"1px solid #cbcbcb\");  \n    } else {\n        preview.children('div').css(\"border-bottom\", \"1px solid #cbcbcb\");\n    }\n    preview.children('div').css(\"padding-right\", \"10px\");\n    preview.children('div').children('img').css(\"height\", \"38px\");\n\t\n    instance.canvas.append(preview);\n    \n}"}},"platform_type":"web"}}};
263window._bubble_page_load_data.plugins_size['1580238841425x582072028873097200'] = 47452;
264window.preloaded['plugin/third_party:1580238841425x582072028873097200:3.1.0'] = true;
265window.plugins["1609444246883x924984661248573400"] = {"human":"Input Mask","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"human":""},"plugin_elements":{"AAD":{"display":"Mask Input","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Id Attribute Input","name":"id","rank":0,"editor":"DynamicValue","value":"text","optional":false},"AAF":{"caption":"Mask","name":"mask","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAM":{"caption":"Reverse","name":"reverse","rank":2,"editor":"Checkbox","default_val":false},"AAO":{"caption":"Brazil Mask ","name":"type","rank":3,"editor":"Dropdown","default_val":"Off","optional":false},"AAc":{"caption":"Português: Máscara não funciona? Se a entrada que estiver configurada para receber a máscara invisível estiver, e o plugin estiver visível, a mascara não irá funcionar. Você precisa inserir as mesmas condições de visivel e invisivel no plugin. Desta maneira sempre que o Input carregar o plugin será capaz de fazer a leitura do elemento.","name":"information","rank":5,"editor":"Label"},"AAd":{"caption":"English : The input mask does not work? If the input configured to receive the input mask is invisible and the plugin is visible, the input mask will not work. You must enter the same visible and invisible conditions in the plugin. This way, each time the input is loaded, the plugin will be able to read the element.","name":"information","rank":6,"editor":"Label"},"AAe":{"caption":"Français : Le masque de saisie ne fonctionne pas ? Si l'input configurée pour recevoir le masque de saisie est invisible et que le plugin est visible, le masque de saisie ne fonctionnera pas. Vous devez entrer les mêmes conditions visibles et invisibles dans le plugin. De cette façon, chaque fois que l'input est charge, le plugin elle pourra lire l'élément.","name":"information","rank":7,"editor":"Label"},"AAo":{"caption":"Keyboard Number?","name":"only_number","rank":4,"editor":"Checkbox","default_val":false}},"states":{"AAW":{"caption":"Logradouro","name":"logradouro","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAX":{"caption":"Bairro","name":"bairro","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAY":{"caption":"Localidade","name":"localidade","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAZ":{"caption":"UF","name":"uf","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAa":{"caption":"IBGE","name":"ibge","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAg":{"caption":"Input Value ","name":"value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAT":{"caption":"CEP Inválido","name":"invalido"},"AAU":{"caption":"CEP Encontrado","name":"valido"},"AAV":{"caption":"CEP Incorreto","name":"inexistente"},"AAn":{"caption":"Value ","name":"value"}},"actions":{"AAR":{"caption":"Busca CEP","code":{"fn":"function(instance,properties,context){$(document).ready((function(){if(instance.publishState(\"logradouro\"),instance.publishState(\"bairro\"),instance.publishState(\"localidade\"),instance.publishState(\"uf\"),instance.publishState(\"ibge\"),null!=properties.cep){var cep=properties.cep.replace(/\\D/g,\"\");8==cep.length?$.getJSON(\"https://viacep.com.br/ws/\"+cep+\"/json/?callback=?\",(function(dados){\"erro\"in dados?instance.triggerEvent(\"invalido\"):(instance.publishState(\"logradouro\",dados.logradouro),instance.publishState(\"bairro\",dados.bairro),instance.publishState(\"localidade\",dados.localidade),instance.publishState(\"uf\",dados.uf),instance.publishState(\"ibge\",dados.ibge),instance.triggerEvent(\"valido\"))})):instance.triggerEvent(\"inexistente\")}}))}"},"fields":{"AAb":{"caption":"CEP","name":"cep","rank":0,"editor":"DynamicValue","value":"text"}}},"AAh":{"caption":"Input Value","code":{"fn":"function(instance,properties,context){var value=$(\"#\"+properties.id).val();instance.publishState(\"value\",value),instance.triggerEvent(\"value\")}"},"fields":{"AAj":{"caption":"Input ID","name":"id","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n   var preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\",\"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1639433095446x477196462328326660/logopng.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n   \n\n}"},"initialize":{"fn":""},"update":{"fn":"function(instance,properties,context){$(document).ready((function(){if(1==properties.only_number)var change=document.getElementById(properties.id).setAttribute(\"type\",\"tel\");var input=$(\"#\"+properties.id);if(\"Off\"==properties.type)if(\"00:00\"==properties.mask){var SPMaskBehavior=function(val){return\"2\"===val.replace(/\\D/g,\"\")[0]?\"AE:CD\":\"AB:CD\"},spOptions={onKeyPress:function(val,e,field,options){field.mask(SPMaskBehavior.a
265pply({},arguments),options)},translation:{A:{pattern:/[0-2]/,optional:!1},B:{pattern:/[0-9]/,optional:!1},C:{pattern:/[0-5]/,optional:!1},D:{pattern:/[0-9]/,optional:!1},E:{pattern:/[0-3]/,optional:!1}}};input.mask(SPMaskBehavior,spOptions)}else input.mask(properties.mask,{reverse:properties.reverse});if(\"CPF/CNPJ\"==properties.type){var CPFCNPJ={onKeyPress:function(cpf,ev,el,op){var masks=[\"000.000.000-000\",\"00.000.000/0000-00\"];input.mask(cpf.length>14?masks[1]:masks[0],op)}};input.length>11?input.mask(\"00.000.000/0000-00\",CPFCNPJ):input.mask(\"000.000.000-00#\",CPFCNPJ)}if(\"Fixo/Mobile\"==properties.type){var FixoMobile=function(val){return 11===val.replace(/\\D/g,\"\").length?\"(00) 0 0000-0000\":\"(00) 0000-00009\"},TelOptions={onKeyPress:function(val,e,field,options){field.mask(FixoMobile.apply({},arguments),options)}};input.mask(FixoMobile,TelOptions)}}))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AAQ":{"display":"Input Mask Busca CPF/CNPJ","type":"server_side","return_value":{"AIr":{"caption":"Verified CPF/CPNJ","name":"verified","rank":0,"value":"boolean"}},"fields":{"AAP":{"caption":"CPF/CNPJ Value","name":"value","rank":0,"editor":"DynamicValue","value":"text"}}}}};
266window._bubble_page_load_data.plugins_size['1609444246883x924984661248573400'] = 6396;
267window.preloaded['plugin/third_party:1609444246883x924984661248573400:2.0.0'] = true;
268window.plugins["1610459194396x792387111506149400"] = {"human":"Cursor Custom","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Cursor Custom","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAD":{"caption":"element_id","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAE":{"caption":"estilo","name":"estilo","rank":1,"editor":"Dropdown","value":"text","default_val":"default"}},"code":{"preview":{"fn":"function(instance, properties) {\nvar smaller = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1610493407873x207957039670107360/cursorlogopreviem.fw.png\");\n    imgElement.style.width = 0.8 * smaller + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var element;document.querySelector(\"#\"+properties.element_id).style.cursor=properties.estilo}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
269window._bubble_page_load_data.plugins_size['1610459194396x792387111506149400'] = 1201;
270window.preloaded['plugin/third_party:1610459194396x792387111506149400:2.0.0'] = true;
271window.plugins["1615459849330x784946538502422500"] = {"human":"Hovered Action","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAH":{"display":"Hovered Action ","property_applications":{"resizable":true},"add_hover_pressed":false,"add_is_visible":true,"fields":{"AAE":{"caption":"ID Attribute Element","name":"id","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Use Cursor Style","name":"cursor","rank":1,"editor":"Checkbox","default_val":true},"AAG":{"caption":"Cursor Style","name":"style_cursor","rank":2,"editor":"Dropdown","default_val":"cell","optional":true},"AAJ":{"caption":"Some users report an error, this happens for some reasons the most common, are when the id defined in the plugin is not the same as the element. Or when the element (which receives the hover) is not invisible and the plugin is not. This error occurs because the plugin cannot read the element. So you solve this problem easily, putting the same show and hide conditions of the element in the plugin.","name":"information","rank":3,"editor":"Label"}},"events":{"AAC":{"caption":"Element Hovered","name":"show"},"AAD":{"caption":"Element Not Hovered","name":"hide"}},"code":{"preview":{"fn":"function(instance, properties) {\nvar preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1615481178377x966493527016667900/hover_preview.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){$(document).ready((function(){let hover=document.getElementById(properties.id);hover.addEventListener(\"mouseover\",(function(event){instance.triggerEvent(\"show\"),properties.cursor&&(hover.style.cursor=properties.style_cursor)})),hover.addEventListener(\"mouseleave\",(function(event){instance.triggerEvent(\"hide\")}))}))}","add_debugger":false},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
272window._bubble_page_load_data.plugins_size['1615459849330x784946538502422500'] = 2174;
273window.preloaded['plugin/third_party:1615459849330x784946538502422500:2.0.0'] = true;
274window.plugins["1618892957212x885363265747026000"] = {"human":"Simple looper (workflow repeater)","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Simple looper","property_applications":{"resizable":false},"add_is_visible":false,"states":{"AAG":{"caption":"Current iteration number","name":"current_iteration_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAD":{"caption":"Flow to be repeated","name":"repeated_flow"},"AAF":{"caption":"Loop finished","name":"loop_finished"}},"actions":{"AAE":{"caption":"Start looping","code":{"fn":"function(instance,properties,context){function _0x4db8(_0x2fd66f,_0x3ad7fb){var _0x7eb54=_0x7eb5();return(_0x4db8=function(_0x4db827,_0x42e68c){var _0x6215ee;return _0x7eb54[_0x4db827-=394]})(_0x2fd66f,_0x3ad7fb)}function run(_0xc67d6a,_0x2b390e,_0x557cbd){var _0x1a2d8f=_0x4db8;_0xc67d6a[_0x1a2d8f(399)][_0x1a2d8f(402)]=0,_0xc67d6a[_0x1a2d8f(394)](\"current_iteration_number\",_0xc67d6a[_0x1a2d8f(399)].runs+1),_0xc67d6a[_0x1a2d8f(406)](_0x1a2d8f(405))}function _0x7eb5(){var _0x456277=[\"7816HQPvIn\",\"4SZuFzF\",\"6NiJkqh\",\"data\",\"780175VKHXYm\",\"565320YxFATo\",\"runs\",\"13fIXvFL\",\"4833IWhxyh\",\"repeated_flow\",\"triggerEvent\",\"674628wRPauc\",\"11jPLvqe\",\"5535560wxHZcd\",\"162898dvDrrm\",\"publishState\",\"3330341YMHSoe\"];return(_0x7eb5=function(){return _0x456277})()}return function(_0x41a2a6,_0x32a2f9){for(var _0x1d2357=_0x4db8,_0x1f261c=_0x41a2a6();;)try{var _0x1dd7a1;if(588167===parseInt(_0x1d2357(403))/1*(parseInt(_0x1d2357(410))/2)+parseInt(_0x1d2357(401))/3+parseInt(_0x1d2357(397))/4*(-parseInt(_0x1d2357(400))/5)+-parseInt(_0x1d2357(398))/6*(parseInt(_0x1d2357(395))/7)+parseInt(_0x1d2357(396
274))/8*(-parseInt(_0x1d2357(404))/9)+parseInt(_0x1d2357(409))/10*(parseInt(_0x1d2357(408))/11)+-parseInt(_0x1d2357(407))/12)break;_0x1f261c.push(_0x1f261c.shift())}catch(_0x557a81){_0x1f261c.push(_0x1f261c.shift())}}(_0x7eb5,588167),run(instance,properties,context)}"}},"AAI":{"caption":"Run next iteration","code":{"fn":"function(instance,properties,context){function _0x33be(){var _0x21c353=[\"12704085ZlAkCP\",\"6338521CSgkkN\",\"8983bIcvfd\",\"178254ncyAUj\",\"current_iteration_number\",\"473740fqeKpD\",\"runs\",\"6HgPHaT\",\"repeated_flow\",\"publishState\",\"1221060NDarNN\",\"data\",\"20ivEgfr\",\"1082256JFJkws\"];return(_0x33be=function(){return _0x21c353})()}function _0x321f(_0x4a3ed8,_0x2459cb){var _0x33be71=_0x33be();return(_0x321f=function(_0x321f6d,_0x4cbf17){var _0x20f31e;return _0x33be71[_0x321f6d-=427]})(_0x4a3ed8,_0x2459cb)}function run(_0x577faf,_0x1e3785,_0x86723f){var _0x143d64=_0x321f;_0x577faf.data[_0x143d64(439)]++,_0x577faf[_0x143d64(428)](_0x143d64(437),_0x577faf[_0x143d64(430)][_0x143d64(439)]+1),_0x577faf.triggerEvent(_0x143d64(427))}return function(_0x39d7c0,_0x1c4d9e){for(var _0x1daf25=_0x321f,_0x37b760=_0x39d7c0();;)try{var _0x1b5c05;if(598455===parseInt(_0x1daf25(435))/1+parseInt(_0x1daf25(429))/2+parseInt(_0x1daf25(436))/3*(-parseInt(_0x1daf25(431))/4)+-parseInt(_0x1daf25(438))/5+-parseInt(_0x1daf25(440))/6*(parseInt(_0x1daf25(434))/7)+-parseInt(_0x1daf25(432))/8+parseInt(_0x1daf25(433))/9)break;_0x37b760.push(_0x37b760.shift())}catch(_0x20643a){_0x37b760.push(_0x37b760.shift())}}(_0x33be,598455),run(instance,properties,context)}"}},"AAJ":{"caption":"Finish looping","code":{"fn":"function(instance,properties,context){function _0x3174(_0x5e82ff,_0x29dc7e){var _0x2d66b2=_0x2d66();return(_0x3174=function(_0x31748f,_0xc5ff44){var _0x3b8ffb;return _0x2d66b2[_0x31748f-=305]})(_0x5e82ff,_0x29dc7e)}function _0x2d66(){var _0x4cb57e=[\"387930gDwHBa\",\"45XqPDIp\",\"2856EoTkJY\",\"846VnQnvh\",\"4vGBShT\",\"887945kyWrDC\",\"23562AKAXVo\",\"382zUEBrC\",\"12236qCnBAP\",\"96111awJdtc\",\"175suWkWf\",\"triggerEvent\",\"916424yTWXFr\"];return(_0x2d66=function(){return _0x4cb57e})()}function run(_0x3383d8,_0x177de8,_0x526975){var _0x38d09e;_0x3383d8[_0x3174(305)](\"loop_finished\")}return function(_0x1b04ab,_0x546354){for(var _0x3501ef=_0x3174,_0x4149e8=_0x1b04ab();;)try{var _0x104870;if(163763===parseInt(_0x3501ef(317))/1*(-parseInt(_0x3501ef(314))/2)+parseInt(_0x3501ef(316))/3+parseInt(_0x3501ef(311))/4*(-parseInt(_0x3501ef(312))/5)+-parseInt(_0x3501ef(310))/6*(parseInt(_0x3501ef(315))/7)+-parseInt(_0x3501ef(306))/8+-parseInt(_0x3501ef(308))/9*(-parseInt(_0x3501ef(307))/10)+parseInt(_0x3501ef(313))/11*(parseInt(_0x3501ef(309))/12))break;_0x4149e8.push(_0x4149e8.shift())}catch(_0x1c773e){_0x4149e8.push(_0x4149e8.shift())}}(_0x2d66,163763),run(instance,properties,context)}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n    instance.canvas.html(`\n<div id=\"rrg_canvas_preview\" style=\"\nposition:absolute;\nwidth:100%;\nheight:100%;\ntext-align:center;\nborder: 4px solid #f1f1f1;\ncolor:white;\nbackground-image: url('https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2Fmeta-q.cdn.bubble.io%2Ff1618893076670x463749167203058240%2Fcircling-fish.png?w=256&h=256&auto=compress&fit=max');\nbackground-size:     contain;\nbox-sizing: border-box;\nbackground-color: #fff;\nbackground-repeat:   no-repeat;\nbackground-position: center center;\nborder-radius: 5px;\nopacity: .85;\n\">\n</div>\n`);\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
275window._bubble_page_load_data.plugins_size['1618892957212x885363265747026000'] = 5359;
276window.preloaded['plugin/third_party:1618892957212x885363265747026000:1.8.0'] = true;
277window.plugins["1621620842517x631518911144919000"] = {"human":"Current Cell Action · BEP","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAP":{"display":"Current Cell","property_applications":{"resizable":false,"MinWidth":false},"add_is_visible":true,"fields":{"AAM":{"caption":"Condition","name":"condition","rank":0,"editor":"DynamicValue","value":"text","optional":false},"AAY":{"caption":"Condition 2","name":"condition2","rank":1,"optional":true,"editor":"DynamicValue","value":"text"},"AAZ":{"caption":"Condition 3","name":"condition3","rank":2,"optional":true,"editor":"DynamicValue","value":"text"},"AAa":{"caption":"Condition 4","name":"condition4","rank":3,"optional":true,"editor":"DynamicValue","value":"text"},"AAb":{"caption":"Condition 5","name":"condition5","rank":4,"optional":true,"editor":"DynamicValue","value":"text"}},"events":{"AAL":{"caption":"Condition","name":"action"},"AAc":{"caption":"Condition 2","name":"action2"},"AAd":{"caption":"Condition 3","name":"action3"},"AAe":{"caption":"Condition 4","name":"action4"},"AAf":{"caption":"Condition 5","name":"action5"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var condition=properties.condition,condition2=properties.condition2,condition3=properties.condition3,condition4=properties.condition4,condition5=properties.condition5;properties.condition==condition&&instance.triggerEvent(\"action\"),properties.condition2==condition2&&null!=condition2&&instance.triggerEvent(\"action2\"),properties.condition3==condition3&&null!=condition3&&instance.triggerEvent(\"action3\"),properties.condition4==condition4&&null!=condition4&&instance.triggerEvent(\"action4\"),properties.condition5==condition5&&null!=condition5&&instance.triggerEvent(\"action5\")}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
278window._bubble_page_load_data.plugins_size['1621620842517x631518911144919000'] = 1907;
279window.preloaded['plugin/third_party:1621620842517x631518911144919000:2.0.0'] = true;
280window.plugins["1621953922170x687987145409298400"] = {"human":"Blog HTML WYSIWYG Editor TinyMCE","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAG":{"display":"HTML TinyMCE Editor for Blogs","property_applications":{"MinWidth":true,"resizable":true,"Border":true,"BoxShadow":true,"Font":true},"add_is_visible":true,"add_large_file_upload_properties":false,"support_autobinding":false,"autobinding_value":"text","has_reset_fn":true,"fields":{"AAH":{"caption":"Initial content","name":"initial_content","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAa":{"caption":"line height","name":"line_height","rank":1,"editor":"StaticNumber","in_style":true,"default_val":1.5},"AAb":{"caption":"h2 tag size","name":"h2_tag_size","rank":2,"editor":"StaticNumber","default_val":2,"in_style":true},"AAc":{"caption":"h2 tag color","name":"h2_tag_color","rank":3,"editor":"Color","default_val":"rgba(0, 0, 0, 1)","in_style":true},"AAd":{"caption":"h3 tag size","name":"h3_tag_size","rank":4,"editor":"StaticNumber","default_val":1.25,"in_style":true},"AAe":{"caption":"h3 tag color","name":"h3_tag_color","rank":5,"editor":"Color","default_val":"rgba(0, 0, 0, 1)","in_style":true},"AAf":{"caption":"paragraph margin","name":"paragraph_margin","rank":6,"editor":"StaticNumber","default_val":1.5,"in_style":true},"AAg":{"caption":"link colors","name":"link_colors","rank":7,"editor":"Color","default_val":"rgba(0, 0, 255, 1)","in_style":true},"AAh":{"caption":"table first row background","name":"table_first_row_background","rank":8,"editor":"Color","optional":true,"in_style":true},"AAi":{"caption":"table first row text","name":"table_first_row_text","rank":9,"editor":"Color","optional":true,"in_style":true}},"states":{"AAJ":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(properties, context) {\n\t\n    \n\n}"}}},"events":{"ABC":{"caption":"HTML TineMCE Editor is Changed","name":"html_tinemce_editor_is_changed"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\tvar div = instance.canvas;\n   \t\n    div.css(\"background-color\", \"#F7F7F7\")\n    \n    // Insert container on the page\
280n    div.append('<div>The blog post editor will come here</div>');\n\n}","add_debugger":false},"initialize":{"fn":"function(instance, context) {\n    \n    var div = instance.canvas;\n    \n    // Give an Id to the editor (necessary for Repeating Groups)\n    instance.data.editorId = editorCount;\n    editorCount++;\n\n    // Insert container on the page\n    div.append(`<textarea id=\"editor-${instance.data.editorId}\" class=\"html-editor-plugin-wysiwyg\" disabled></textarea>`);\n\n    //console.log(`Bubble: Initialize ${instance.data.editorId}!`)\n}"},"update":{"fn":"function(instance, properties, context) {\n\n    // Storing styles defined by the user in the bubble element editor\n    var CSS_Styles = `\n        .mce-content-body {\n            font-family: ${properties.bubble.font_face().replace(/:(.*)/g,\"\")} !important;\n            font-size: ${properties.bubble.font_size()}px !important;\n            line-height: ${properties.line_height} !important;\n            overflow-wrap: break-word;\n        }\n        .mce-content-body p {\n        \tmargin-bottom: ${properties.paragraph_margin}em;\n        }\n        .mce-content-body td, .mce-content-body th {\n            border: 1px solid #ddd;\n            padding: 8px;\n        }\n\t\t.mce-content-body tr:first-child {\n            background-color: ${properties.table_first_row_background};\n            color: ${properties.table_first_row_text};\n        }\n\t\t.mce-content-body tr:first-child:hover {\n            background-color: ${properties.table_first_row_background} !important;\n        }\n        .mce-content-body tr:hover {\n       \t\tbackground-color: #f2f2f2;\n        }\n        .mce-content-body a {\n        \tcolor: ${properties.link_colors};\n        }\n        .mce-content-body h2 {\n            font-size: ${properties.h2_tag_size}em;\n            color: ${properties.h2_tag_color};\n        }\n        .mce-content-body h3 {\n            font-size: ${properties.h3_tag_size}em;\n            color: ${properties.h3_tag_color};\n        }\n        .mce-content-body h2, .mce-content-body h3 {\n            font-weight: bold;\n            margin-top: 1em;\n            margin-bottom: 1em;\n        }\n\t\t.mce-content-body img {\n\t\t\tmax-width: 100%;\n\t\t\theight: auto;\n\t\t}\n        `\n    \n    // Create instance of TinyMCE\n    let element_height = $(`textarea#editor-${instance.data.editorId}`).parent().height();\n    if (tinyMCE.editors[instance.data.editorId] == undefined) {\n        loadEditor(element_height, \n                   \tCSS_Styles,\n                    instance.data.editorId,\n                   \tfunction(editor) {\n\n            // Set what happens when the user edits the content\n            editor.on('Change', function (e) {\n                \n                let updatedValue = `\n                <style>\n                .html-editor-plugin-content {\n                font-family: ${properties.bubble.font_face().replace(/:(.*)/g,\"\")} !important;\n                font-size: ${properties.bubble.font_size()}px !important;\n                line-height: ${properties.line_height} !important;\n                overflow-wrap: break-word;\n                }\n                .html-editor-plugin-content p {\n                margin-bottom: ${properties.paragraph_margin}em;\n                }\n                .html-editor-plugin-content td, .html-editor-plugin-content th {\n                border: 1px solid #ddd;\n                padding: 8px;\n                }\n                .html-editor-plugin-content tr:first-child {\n                background-color: ${properties.table_first_row_background};\n                color: ${properties.table_first_row_text};\n                }\n                .html-editor-plugin-content tr:first-child:hover {\n                background-color: ${properties.table_first_row_background} !important;\n                }\n                .html-editor-plugin-content tr:hover {\n                background-color: #f2f2f2;\n                }\n                .html-editor-plugin-content a {\n                color: ${properties.link_colors};\n                }\n                .html-editor-plugin-content h2 {\n                font-size: ${properties.h2_tag_size}em;\n                color: ${properties.h2_tag_color};\n                }\n                .html-editor-plugin-content h3 {\n                font-size: ${properties.h3_tag_size}em;\n                color: ${properties.h3_tag_color};\n                }\n                .html-editor-plugin-content h2, .html-editor-plugin-content h3 {\n                font-weight: bold;\n                margin-top: 1em;\n                margin-bottom: 1em;\n                }\n                .html-editor-plugin-content img {\n                max-width: 100%;\n                height: auto;\n                }\n                </style>\n                <article class=\"html-editor-plugin-content\">\n                ${editor.getContent()}\n                </article><br>`\n                \n                instance.publishState(\"value\", updatedValue)\n                // instance.publishAutobinding(updatedValue)\n\n                instance.triggerEvent('html_tinemce_editor_is_changed', function(err) {console.log(err)})\n                //console.log('TinyMCE: updated!');\n            });\n\n            // Set the initial content of the editor, given by the app admin\n            editor.save() // saving the initial_content in the textarea input, as a backup\n            //console.log(\"TinyMCE: HTML editor loaded!\");\n        }\n        );\n\n    }\n\n    // Extracting the content for the editor\n    if (properties.autobinding != null) {\n        // autobinding has preference over initial_content\n        if(properties.autobinding.indexOf(\n            '<article class=\"html-editor-plugin-content\">') !== -1)\n        {\n            var start_pos = properties.autobinding.indexOf('<article class=\"html-editor-plugin-content\">') + '<article class=\"html-editor-plugin-content\">'.length;\n            var end_pos = properties.autobinding.indexOf('</article>',start_pos);\n            var text_to_get = properties.autobinding.substring(start_pos,end_pos);    \n        } else {\n            var text_to_get = properties.autobinding\n        }\n\n        $(`textarea#editor-${instance.data.editorId}`).val(text_to_get);\n        instance.publishState(\"value\", properties.autobinding);\n    } else if(properties.initial_content != null) {\n        // Use the initial_content value, if there is no autobinding\n        if(properties.initial_content.indexOf(\n            '<article class=\"html-editor-plugin-content\">') !== -1)\n        {\n            var start_pos = properties.initial_content.indexOf('<article class=\"html-editor-plugin-content\">') + '<article class=\"html-editor-plugin-content\">'.length;\n            var end_pos = properties.initial_content.indexOf('</article>',start_pos);\n            var text_to_get = properties.initial_content.substring(start_pos,end_pos);    \n        } else {\n            var text_to_get = properties.initial_content\n        }\n\n        $(`textarea#editor-${instance.data.editorId}`).val(text_to_get);\n        instance.publishState(\"value\", properties.initial_content);\n    } else {\n        // do nothing\n    }\n    \n    if (tinyMCE.editors[instance.data.editorId] != undefined) {\n        // Update element with new data\n        tinyMCE.editors[instance.data.editorId].load()\n    }
280\n    //console.log(`Bubble: Updated editor ${instance.data.editorId}!`)\n    \n}","add_debugger":false},"reset":{"fn":"function(instance, context) {\n\t\n    if (tinyMCE.editors[instance.data.editorId] != undefined){\n        // loading the initial content present in the textarea backup\n        tinyMCE.editors[instance.data.editorId].load()\n        instance.publishState(\"value\", tinyMCE.editors[instance.data.editorId].getContent())\n    }\n\t//console.log(`Bubble: Reset editor ${instance.data.editorId}!`)\n    \n}"}},"platform_type":"web"}}};
281window._bubble_page_load_data.plugins_size['1621953922170x687987145409298400'] = 10167;
282window.preloaded['plugin/third_party:1621953922170x687987145409298400:4.1.0'] = true;
283window.plugins["1633100358403x239657077467774980"] = {"human":"Timer / Stopwatch / Countdown","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Chronometer","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"ABt":{"caption":"Heads up: If you want to work with a number above zero. You must enter this value in seconds in the \"Seconds to start\" field in the Start action. If you are going to work with a database and want your counter to always start from the last count, you need two fields. Total_Seconds (Number Type) (Save here the states of the Total Time plugin (Seconds) Display (Text Type) (Save the \"Plugin Display\" states here) Put start to start the Total Seconds field, and put a conditional in the text that will show the display as follows.  When the plugin's Total Time (Seconds ) states is equal to 0 = Use as a source your Display field from your database, when this same states is greater than 0, show in this text the \"Display\" plugin states.","name":"info","rank":0,"editor":"Label"}},"states":{"AAD":{"caption":"Hours","name":"hours","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"AAE":{"caption":"Minutes","name":"minutes","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"AAF":{"caption":"Seconds","name":"seconds","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"AAO":{"caption":"Status","name":"status","value":"text","initialization_code":{"fn":"function(properties,context){return\"None\"}"}},"AAQ":{"caption":"Display","name":"display","value":"text","initialization_code":{"fn":"function(properties,context){return\"00:00:00\"}"}},"AAS":{"caption":"Total Time (Seconds)","name":"time","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}}},"events":{"AAN":{"caption":"Stop","name":"stop"},"ABu":{"caption":"Automatic Stop","name":"automatic"}},"actions":{"AAG":{"caption":"Start","code":{"fn":"function(instance,properties,context){if(0===instance.data.time){let tS=properties.seconds_start;instance.data.hours=Math.floor(tS/3600),tS%=3600,instance.data.minutes=Math.floor(tS/60),instance.data.seconds=tS%60,instance.publishState(\"seconds\",instance.data.seconds),instance.publishState(\"minutes\",instance.data.minutes),instance.publishState(\"hours\",instance.data.hours)}instance.publishState(\"status\",\"Start\");var timer=setInterval((function(){instance.data.timer=timer,instance.data.time++,instance.data.seconds++,instance.publishState(\"seconds\",instance.data.seconds),instance.publishState(\"time\",instance.data.time),instance.data.seconds>59&&(instance.data.seconds=0,instance.data.minutes++,instance.publishState(\"minutes\",instance.data.minutes)),instance.data.minutes>59&&(instance.data.minutes=0,instance.data.hours++,instance.publishState(\"hours\",instance.data.hours)),instance.data.time==properties.stop&&(clearInterval(instance.data.timer),instance.data.seconds=instance.data.seconds,instance.data.minutes=instance.data.minutes,instance.data.hours=instance.data.hours,instance.data.time=instance.data.time,instance.publishState(\"status\",\"Stop\"),instance.triggerEvent(\"automatic\"));var display=(instance.data.hours?instance.data.hours>9?instance.data.hours:\"0\"+instance.data.hours:\"00\")+\":\"+(instance.data.minutes?instance.data.minutes>9?instance.data.minutes:\"0\"+instance.data.minutes:\"00\")+\":\"+(instance.data.seconds>9?instance.data.seconds:\"0\"+instance.data.seconds);instance.publishState(\"display\",display)}),1e3)}"},"fields":{"AAM":{"caption":"Time to Stop","name":"stop","rank":0,"editor":"DynamicValue","value":"number","optional":true},"ABs":{"caption":"Seconds Start","name":"seconds_start","rank":1,"editor":"DynamicValue","value":"number","default_val":0,"optional":true}}},"AAI":{"caption":"Stop","code":{"fn":"function(instance,properties,context){instance.publishState(\"status\",\"Stop\"),clearInterval(instance.data.timer),instance.triggerEvent(\"stop\"),instance.data.seconds=instance.data.seconds,instance.data.minutes=instance.data.minutes,instance.data.hours=instance.data.hours,instance.data.time=instance.data.time}"}},"AAJ":{"caption":"Pause","code":{"fn":"function(instance,properties,context){instance.publishState(\"status\",\"Pause\"),clearInterval(instance.data.timer)}"}},"AAP":{"caption":"Clear","code":{"fn":"function(instance,properties,context){instance.publishState(\"status\",\"Clear\"),clearInterval(instance.data.timer),instance.data.seconds=0,instance.data.minutes=0,instance.data.hours=0,instance.data.time=0,instance.publishState(\"seconds\",0),instance.publishState(\"minutes\",0),instance.publishState(\"hours\",0),instance.publishState(\"display\",\"00:00:00\"),instance.publishState(\"time\",0)}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){instance.data.seconds=0,instance.data.minutes=0,instance.data.hours=0,instance.data.time=0}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ABk":{"display":"CountDown","property_applications":{"resizable":false},"add_is_visible":true,"states":{"ABf":{"caption":"Days","name":"days_e","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"ABg":{"caption":"Hours","name":"hours","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"ABh":{"caption":"Minutes","name":"minutes_e","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"ABi":{"caption":"Seconds","name":"seconds","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"ABj":{"caption":"Display String & Values","name":"sdisplay","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABl":{"caption":"Status","name":"status","value":"text","initialization_code":{"fn":"function(properties,context){return\"Clear\"}"}},"ABn":{"caption":"Display Mins&Seconds","name":"msdisplay","value":"text","initialization_code":{"fn":"function(properties,context){return\"00:00\"}"}},"ABo":{"caption":"Display Values","name":"vdisplay","value":"text","initialization_code":{"fn":"function(properties,context){return\"00:00:00:00\"}"}},"ABp":{"caption":"Seconds Diff","name":"diff","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}}},"events":{"ABQ":{"caption":"Ended","name":"ended"}},"actions":{"AAy":{"caption":"Start / Resume","code":{"fn":"function(instance,properties,context){let futureDate=new Date(properties.fdate),fdate,ddate,seconds,minutes,hours,days,vdisplay,sdisplay,msdisplay,tseconds,diff;1==properties.update?currentDate=new Date:currentDate=new Date(properties.ddate),instance.data.diff=Math.floor((futureDate-currentDate)/1e3);let interval=setInterval((function(){instance.publishState(\"status\",\"Start\"),fdate=new Date(properties.fdate),ddate=1==properties.update?new Date:new Date(properties.ddate),0==instance.data.elapsedOnPause||null==instance.data.elapsedOnPause||fdate.setSeconds(fdate.getSeconds()-instance.data.elapsedOnPause),diff=Math.floor((fdate-ddate)/1e3),seconds=Math.floor((fdate-ddate)/1e3),minutes=Math.floor(seconds/60),hours=Math.floor(minutes/60),days=Math.floor(hours/24),hours-=24*days,minutes=minutes-24*days*60-60*hours,seconds=seconds-24*days*60*60-60*hours*60-60*minutes,vdisplay=(days<=9?\"0\"+days:days>9?days:\"0\")+\" : \"+(hours<=9?\"0\"+hours:hours>9?hours:\"0\")+\" : \"+(minutes<=9?\"0\"+minutes:minutes>9?minutes:\"0\")+\" : \"+(seconds<=9?\"0\"+seconds:seconds>9?seconds:\"0\"),sdisplay=(days<2?days+\" \"+properties.d+\" \":days>1?days+\" \"+properties.d_plus+\" \":\"0\")+(hours<2?hours+\" \"+properties.h+\" \":hours>1?hours+\" \"+properties.h_plus+\" \":\"0\")+(minutes<2?\"0\"+minutes+\" \"+properties.m+\" \":minutes<=9?\"0\"+minutes+\" \"+properties.m_plus+\" \":minutes+\" \"+properties.m_plus+\" \")+(seconds<2?\"0\"+seconds+\" \"+properties.s+\" \":seconds<=9?\"0\"+seconds+\" \"+properties.s_plus+\" \":seconds+\" \"+properties.s_plus+\" \"),msdisplay=(minutes<=9?\"0\"+minutes:minutes>9?minutes:\"0\")+\" : \"+(seconds<=9?\"0\"+seconds:seconds>9?seconds:\"0\"),instance.publishState(\"vdisplay\",vdisplay),instance.publishState(\"sdisplay\",sdisplay),instance.publishState(\"msdisplay\",msdisplay),instance.publishState(\"days_e\",days),instance.publishState(\"hours\",hours),instance.publishState(\"minutes_e\",minutes),instance.publishState(\"seconds\",seconds),instance.publishState(\"diff\",diff);var fdateTime=fdate.getTime(),elapsed=Math.floor(Date.now()-fdateTime);instance.data.elapsed=Math.ceil(elapsed/1e3),console.log(instance.data.elapsed),console.log(diff),console.log(seconds),console.log(instance.data.elapsedOnPause),elapsed>=0&&(clearInterval(interval),instance.data.elapsed=0,instance.triggerEvent(\"ended\"),instance.publishState(\"status\",\"Ended\"),instance.publishState(\"vdisplay\",\"00:00:00:00\"),instance.publishState(\"sdisplay\"),instance.publishState(\"msdisplay\",\"00:00\"),instance.publishState(\"diff\",0),instance.publishState(\"days_e\",0),instance.publishState(\"hours\",0),instance.publishState(\"minutes_e\",0),instance.publishState(\"seconds\",0))}),1e3);instance.data.interval=interval}"},"fields":{"AAz":{"caption":"Start Date","name":"ddate","rank":0,"editor":"DynamicValue","value":"date","optional":false},"ABA":{"caption":"End Date","name":"fdate","rank":1,"editor":"DynamicValue","value":"date"},"ABB":{"caption":"Update","name":"update","rank":2,"editor":"Checkbox","default_val":true},"ABC":{"caption":"String Hours Plural","name":"h_plus","rank":3,"editor":"DynamicValue","value":"text","default_val":"Hours"},"ABD":{"caption":"String Hours","name":"h","rank":4,"editor":"DynamicValue","value":"text","default_val":"Hour"},"ABE":{"caption":"String Minute Plural","name":"m_plus","rank":5,"editor":"DynamicValue","value":"text","default_val":"Minutes"},"ABF":{"caption":"String Minute","name":"m","rank":6,"editor":"DynamicValue","value":"text","default_val":"Minute"},"ABG":{"caption":"String Second Plural","name":"s_plus","rank":7,"editor":"DynamicValue","value":"text","default_val":"Seconds"},"ABH":{"caption":"String Second","name":"s","rank":8,"editor":"DynamicValue","value":"text","default_val":"Second"},"ABI":{"caption":"String Day ","name":"d","rank":10,"editor":"DynamicValue","value":"text","default_val":"Day"},"ABJ":{"caption":"String Day Plural","name":"d_plus","rank":9,"editor":"DynamicValue","value":"text","default_val":"Days"}}},"ABL":{"caption":"Stop","code":{"fn":"function(instance,properties,context){instance.data.elapsed=0,instance.data.elapsedOnPause=0,clearInterval(instance.data.interval),instance.triggerEvent(\"ended\"),1==properties.clear?(instance.publishState(\"status\",\"Clear\"),instance.publishState(\"vdisplay\",\"00:00:00:00\"),instance.publishState(\"sdisplay\"),instance.publishState(\"msdisplay\",\"00:00\"),instance.publishState(\"diff\",0),instance.publishState(\"days_e\",0),instance.publishState(\"hours\",0),instance.publishState(\"minutes_e\",0),instance.publishState(\"seconds\",0)):instance.publishState(\"status\",\"Stop\")}"},"fields":{"ABM":{"caption":"Clear ? ","name":"clear","rank":0,"editor":"Checkbox","default_val":false}}},"ABN":{"caption":"Clear","code":{"fn":"function(instance,properties,context){instance.data.elapsed=0,instance.data.elapsedOnPause=0,clearInterval(instance.data.interval),instance.publishState(\"status\",\"Clear\"),instance.publishState(\"vdisplay\",\"00:00:00:00\"),instance.publishState(\"sdisplay\"),instance.publishState(\"msdisplay\",\"00:00\"),instance.publishState(\"diff\",0),instance.publishState(\"days_e\",0),instance.publishState(\"hours\",0),instance.publishState(\"minutes_e\",0),instance.publishState(\"seconds\",0)}"}},"ABm":{"caption":"Pause","code":{"fn":"function(instance,properties,context){instance.data.elapsedOnPause=instance.data.diff+instance.data.elapsed,console.log(instance.data.elapsedOnPause),clearInterval(instance.data.interval),instance.publishState(\"status\",\"Pause\")}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
284window._bubble_page_load_data.plugins_size['1633100358403x239657077467774980'] = 12424;
285window.preloaded['plugin/third_party:1633100358403x239657077467774980:3.0.1'] = true;
286window.plugins["1642192420760x896926975256428500"] = {"human":"Base64 encode/decode","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAV":{"display":"base64","add_is_visible":true,"fields":{"AAR":{"caption":"text do encode","name":"text_ENC","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAS":{"caption":"text to decode","name":"text_DEC","rank":1,"editor":"DynamicValue","value":"text","optional":true}},"states":{"AAT":{"caption":"encode","name":"encode","value":"text","initialization_code":{"fn":"function(instance,context,texto){}"}},"AAU":{"caption":"decode","name":"decode","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"code":{"preview":{"fn":"function(instance, context,properties) {\n\n\n}"},"initialize":{"fn":"function(dadosaenviar,sag74){}"},"update":{"fn":"function(dadosaenviar,sag74){var valor_enc=sag74.text_ENC,valor_dec=sag74.text_DEC,encode=btoa(valor_enc),decode=atob(valor_dec);dadosaenviar.publishState(\"decode\",decode),dadosaenviar.publishState(\"encode\",encode)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AAf":{"display":"Base64 encode decode","type":"server_side","return_value":{"AAK":{"caption":"retorna_encoded","name":"retorna_encoded","rank":0,"value":"text"},"AAh":{"caption":"retorna_decoded","name":"retorna_decoded","rank":1,"value":"text"}},"fields":{"AAi":{"caption":"Text to encode or decode","name":"text_sag74","rank":0,"editor":"DynamicValue","value":"text"}}}}};
287window._bubble_page_load_data.plugins_size['1642192420760x896926975256428500'] = 1488;
288window.preloaded['plugin/third_party:1642192420760x896926975256428500:2.1.0'] = true;
289window.plugins["1642683387367x708220519175946200"] = {"human":"Scrollbar Custom","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Scrollbar","add_is_visible":true,"fields":{"AAD":{"caption":"Elements ID","name":"id","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAE":{"caption":"Scrollbar Width","name":"width","rank":2,"editor":"DynamicValue","value":"number","default_val":5,"optional":true},"AAF":{"caption":"Scrollbar Height","name":"height","rank":3,"editor":"DynamicValue","value":"text","default_val":"0","optional":true},"AAG":{"caption":"Bar Color","name":"bg_color","rank":4,"editor":"Color","default_val":"rgba(176, 190, 197, 1)","optional":true}
289,"AAH":{"caption":"Background Color","name":"track_color","rank":5,"editor":"Color","default_val":"rgba(240, 240, 240, 1)","optional":true},"AAI":{"caption":"Border Radius","name":"border_radius","rank":6,"editor":"DynamicValue","value":"number","default_val":3,"optional":true},"AAJ":{"caption":"Page","name":"page","rank":7,"editor":"Checkbox","default_val":false},"AAK":{"caption":"Important information:  The Scrollbar Width, Scrollbar Height, and Border Radius fields are only compatible with Edge, Chrome, and Safari, having no effect on Mozilla Firefox.  If you have multiple elements on your page and you want to apply the same style to all elements, you can enter the id split by \",\" in the \"Elements ID\" field. This makes it easier when you have more than one element to style, avoiding having to drag several \"Scrollbar\" elements to your editor.  To hide the bar just set Scrollbar Width 0, Scrollbar Height 0, Bar Color and Background color 100% transparent .","name":"information","rank":0,"editor":"Label"},"AAL":{"caption":"Drag to Scroll","name":"drag","rank":8,"editor":"Checkbox","default_val":false}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){$(document).ready((function(){var rg,page,order;null!=properties.id&&properties.id.split(\",\").forEach((function(element){rg=$(`<style>\\n\\n#${element}::-webkit-scrollbar {\\n  width: ${properties.width}px;\\n  height : ${properties.height}px;\\n}\\n\\n#${element}::-webkit-scrollbar-track {\\n  background: ${properties.track_color};\\n}\\n#${element}::-webkit-scrollbar-thumb {\\n  background-color: ${properties.bg_color};\\n  border-radius: ${properties.border_radius}px;\\n}   \\n\\n</style>`),$(rg).appendTo(\"head\")}));if(!0===properties.page&&(page=$(`<style>\\n\\n::-webkit-scrollbar {\\n  width: ${properties.width}px;\\n  height : ${properties.height}px;\\n}\\n\\n::-webkit-scrollbar-track {\\n  background: ${properties.track_color};\\n}\\n::-webkit-scrollbar-thumb {\\n  background-color: ${properties.bg_color};\\n  border-radius: ${properties.border}px;\\n}   \\n\\n</style>`),$(page).appendTo(\"head\")),1==properties.drag){const RG=document.getElementById(properties.id);let isDown=!1,startX,scrollLeft;RG.addEventListener(\"mousedown\",(e=>{isDown=!0,startX=e.pageX-RG.offsetLeft,scrollLeft=RG.scrollLeft})),RG.addEventListener(\"mouseleave\",(()=>{isDown=!1})),RG.addEventListener(\"mouseup\",(()=>{isDown=!1})),RG.addEventListener(\"mousemove\",(e=>{if(!isDown)return;e.preventDefault();const x=undefined,walk=2*(e.pageX-RG.offsetLeft-startX);RG.scrollLeft=scrollLeft-walk}))}}))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
290window._bubble_page_load_data.plugins_size['1642683387367x708220519175946200'] = 3449;
291window.preloaded['plugin/third_party:1642683387367x708220519175946200:3.0.0'] = true;
292window.plugins["1668029257058x913446968585093100"] = {"human":"Browser Cookies","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Cookie","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"ABO":{"caption":"Available workflow actions: Create cookie, Create session cookie, Read cookie, Delete cookie, Delete list of cookies","name":"info","rank":0,"editor":"Label"}},"states":{"AAD":{"caption":"Cookie Value","name":"cookie_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAG":{"caption":"Create","code":{"fn":"function(instance,properties,context){var cname=properties.cookie_name,cvalue=properties.cookie_value,exdays=properties.expiry_days;const d=new Date;d.setTime(d.getTime()+24*exdays*60*60*1e3);var expires=\"expires=\"+d.toUTCString();document.cookie=cname+\"=\"+cvalue+\";\"+expires+\"; domain= \"+document.domain+\"; path=/; SameSite=None; Secure\"}"},"fields":{"AAI":{"caption":"Cookie Name","name":"cookie_name","rank":0,"editor":"DynamicValue","value":"text"},"AAJ":{"caption":"Cookie Value","name":"cookie_value","rank":1,"editor":"DynamicValue","value":"text"},"AAK":{"caption":"Days until expiry","name":"expiry_days","rank":2,"editor":"DynamicValue","value":"number","default_val":30},"ABW":{"caption":"Please take note that for proper initialization and functionality, it is crucial that your cookie plugin element is visibly displayed on the page rather than being placed within a hidden popup. Failure to meet this requirement will result in incorrect initialization, rendering this action ineffective. In case you require assistance with creating a cookie without utilizing a plugin element, we also offer an alternative action for that purpose.","name":"info","rank":3,"editor":"Label"},"ABn":{"caption":"Please note. Safari may limit the lifespan of a cookie to 7 days, depending on the user's browser settings. ","name":"info","rank":4,"editor":"Label"}}},"AAH":{"caption":"Read","code":{"fn":"function(instance,properties,context){instance.publishState(\"cookie_value\",\"\");var cval=\"\";let name=properties.cookie_name+\"=\",decodedCookie,ca=decodeURIComponent(document.cookie).split(\";\");for(let i=0;i<ca.length;i++){let c=ca[i];for(;\" \"==c.charAt(0);)c=c.substring(1);0==c.indexOf(name)&&(cval=c.substring(name.length,c.length),instance.publishState(\"cookie_value\",cval))}return\"\"}","add_debugger":false},"fields":{"AAL":{"caption":"Cookie name","name":"cookie_name","rank":1,"editor":"DynamicValue","value":"text"},"ABQ":{"caption":"The cookie name must match exactly. After the action has run, you can access the cookie value via the \"Cookie Value\" state on the plugin element. If the state is empty, the cookie could not be found.","name":"info","rank":0,"editor":"Label"},"ABX":{"caption":"Please take note that for proper initialization and functionality, it is crucial that your cookie plugin element is visibly displayed on the page rather than being placed within a hidden popup. Failure to meet this requirement will result in incorrect initialization, rendering this action ineffective. In case you require assistance with reading a cookie without utilizing a plugin element, we also offer an alternative action for that purpose.","name":"info","rank":2,"editor":"Label"},"ABo":{"caption":"Please note. Safari may limit the lifespan of a cookie to 7 days, depending on the user's browser settings. ","name":"info","rank":3,"editor":"Label"}}},"AAQ":{"caption":"Delete","code":{"fn":"function(instance,properties,context){var cname=properties.cookie_name;document.cookie=cname+\"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=\"+document.domain+\"; path=/;\",document.cookie=cname+\"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;\"}"},"fields":{"AAR":{"caption":"Cookie name","name":"cookie_name","rank":0,"editor":"DynamicValue","value":"text"},"ABY":{"caption":"Please take note that for proper initialization and functionality, it is crucial that your cookie plugin element is visibly displayed on the page rather than being placed within a hidden popup. Failure to meet this requirement will result in incorrect initialization, rendering this action ineffective. In case you require assistance with deleting a cookie without utilizing a plugin element, we also offer an alternative action for that purpose.","name":"info","rank":1,"editor":"Label"}}},"AAS":{"caption":"Create Session","code":{"fn":"function(instance,properties,context){var cname=properties.cookie_name,cvalue=properties.cookie_value;document.cookie=cname+\"=\"+cvalue+\"; domain=\"+document.domain+\";path=/; SameSite=None; Secure\"}"},"fields":{"AAT":{"caption":"Cookie Name","name":"cookie_name","rank":0,"editor":"DynamicValue","value":"text"},"AAU":{"caption":"Cookie Value","name":"cookie_value","rank":1,"editor":"DynamicValue","value":"text"},"ABp":{"caption":"Please take note that for proper initialization and functionality, it is crucial that your cookie plugin element is visibly displayed on the page rather than being placed within a hidden popup. Failure to meet this requirement will result in incorrect initialization, rendering this action ineffective. In case you require assistance with creating a session cookie without utilizing a plugin element, we also offer an alternative action for that purpose.","name":"info","rank":2,"editor":"Label"}}},"ABJ":{"caption":"Delete List","code":{"fn":"function(instance,properties,context){for(var deleteList=null!==properties.delete_cookie_names?properties.delete_cookie_names.split(\",\"):[],i=0;i<deleteList.length;i++)document.cookie=deleteList[i]+\"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=\"+document.domain+\"; path=/;\",document.cookie=deleteList[i]+\"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;\",localStorage.removeItem(deleteList[i])}"},"fields":{"ABK":{"caption":"Cookie names","name":"delete_cookie_names","rank":0,"editor":"DynamicValue","value":"text","is_list":false,"default_val":"name1,name2,name3"},"ABq":{"caption":"Please take note that for proper initialization and functionality, it is crucial that your cookie plugin element is visibly displayed on the page rather than being placed within a hidden popup. Failure to meet this requirement will result in incorrect initialization, rendering this action ineffective. In case you require assistance with deleting a list of cookies without utilizing a plugin element, we also offer an alternative action for that purpose.","name":"info","rank":1,"editor":"Label"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    let el = $('<div><img src = \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1668072282176x831305862228591900/cookie%20%282%29.png\"></div>');\n    instance.canvas.append(el);\n    el.css('position','absolute');\n    el.css('height',properties.bubble.height);\n    el.css('width',properties.bubble.width);\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AAo":{"display":"Cookie Read List","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"ABP":{"caption":"Use this element to read a list of cookies, b
292y adding the \"Read Cookie Read List\" workflow action. You can read up to 5 cookies at once, and access the values as states on this element.","name":"info","rank":0,"editor":"Label"}},"states":{"AAn":{"caption":"Cookie Value 1","name":"cookie_value_1","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAp":{"caption":"Cookie Value 2","name":"cookie_value_2","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAq":{"caption":"Cookie Value 3","name":"cookie_value_3","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAr":{"caption":"Cookie Value 4","name":"cookie_value_4","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAs":{"caption":"Cookie Value 5","name":"cookie_value_5","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAg":{"caption":"Read","code":{"fn":"function(instance,properties,context){instance.publishState(\"cookie_value_1\",\"\"),instance.publishState(\"cookie_value_2\",\"\"),instance.publishState(\"cookie_value_3\",\"\"),instance.publishState(\"cookie_value_4\",\"\"),instance.publishState(\"cookie_value_5\",\"\");var cval1=\"\",cval2=\"\",cval3=\"\",cval4=\"\",cval5=\"\";let name1=properties.cookie_name_1+\"=\",name2=properties.cookie_name_2+\"=\",name3=properties.cookie_name_3+\"=\",name4=properties.cookie_name_4+\"=\",name5=properties.cookie_name_5+\"=\",decodedCookie,cookielist=decodeURIComponent(document.cookie).split(\";\");for(let i=0;i<cookielist.length;i++){let c=cookielist[i];for(;\" \"==c.charAt(0);)c=c.substring(1);0==c.indexOf(name1)&&(cval1=c.substring(name1.length,c.length),instance.publishState(\"cookie_value_1\",cval1)),0==c.indexOf(name2)&&(cval2=c.substring(name2.length,c.length),instance.publishState(\"cookie_value_2\",cval2)),0==c.indexOf(name3)&&(cval3=c.substring(name3.length,c.length),instance.publishState(\"cookie_value_3\",cval3)),0==c.indexOf(name4)&&(cval4=c.substring(name4.length,c.length),instance.publishState(\"cookie_value_4\",cval4)),0==c.indexOf(name5)&&(cval5=c.substring(name5.length,c.length),instance.publishState(\"cookie_value_5\",cval5))}return\"\"}","add_debugger":false},"fields":{"AAh":{"caption":"Cookie name 1","name":"cookie_name_1","rank":1,"editor":"DynamicValue","value":"text"},"ABF":{"caption":"Cookie name 2","name":"cookie_name_2","rank":2,"editor":"DynamicValue","value":"text"},"ABG":{"caption":"Cookie name 3","name":"cookie_name_3","rank":3,"editor":"DynamicValue","value":"text"},"ABH":{"caption":"Cookie name 4","name":"cookie_name_4","rank":4,"editor":"DynamicValue","value":"text"},"ABI":{"caption":"Cookie name 5","name":"cookie_name_5","rank":5,"editor":"DynamicValue","value":"text"},"ABN":{"caption":"The cookie names must match exactly. Access each cookie value as a state on the \"Cookie Read List\" element. If the state is empty, the cookie could not be found.","name":"info","rank":0,"editor":"Label"},"ABr":{"caption":"Please take note that for proper initialization and functionality, it is crucial that your cookie plugin element is visibly displayed on the page rather than being placed within a hidden popup. Failure to meet this requirement will result in incorrect initialization, rendering this action ineffective.","name":"info","rank":6,"editor":"Label"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    let el = $('<div><img src = \"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1668596538077x785631719038614400/cookies%20%281%29.png\"></div>');\n    instance.canvas.append(el);\n    el.css('position','absolute');\n    el.css('height',properties.bubble.height);\n    el.css('width',properties.bubble.width);\n    \n   \n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"ABR":{"display":"Create cookie (without plugin element)","type":"client_side","fields":{"ABS":{"caption":"Cookie Name","name":"cookie_name","rank":0,"editor":"DynamicValue","value":"text"},"ABT":{"caption":"Cookie Value","name":"cookie_value","rank":1,"editor":"DynamicValue","value":"text"},"ABU":{"caption":"Days until expiry","name":"expiry_days","rank":2,"editor":"DynamicValue","value":"number","default_val":30},"ABV":{"caption":"Please note! Safari may limit the lifespan of a cookie to 7 days, depending on the user's browser settings. ","name":"info","rank":3,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){var cname=properties.cookie_name,cvalue=properties.cookie_value,exdays=properties.expiry_days;const d=new Date;d.setTime(d.getTime()+24*exdays*60*60*1e3);var expires=\"expires=\"+d.toUTCString();document.cookie=cname+\"=\"+cvalue+\";\"+expires+\"; domain= \"+document.domain+\"; path=/; SameSite=None; Secure\"}"}}},"ABh":{"display":"Delete cookie (without plugin element)","type":"client_side","fields":{"ABf":{"caption":"Cookie Name","name":"cookie_name","rank":0,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(properties,context){var cname=properties.cookie_name;document.cookie=cname+\"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=\"+document.domain+\"; path=/;\",document.cookie=cname+\"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;\"}"}}},"ABj":{"display":"Create session cookie (without plugin element)","type":"client_side","fields":{"ABi":{"caption":"Cookie Name","name":"cookie_name","rank":0,"editor":"DynamicValue","value":"text"},"ABk":{"caption":"Cookie Value","name":"cookie_value","rank":1,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(properties,context){var cname=properties.cookie_name,cvalue=properties.cookie_value;document.cookie=cname+\"=\"+cvalue+\"; domain=\"+document.domain+\";path=/; SameSite=None; Secure\"}"}}},"ABm":{"display":"Delete list of cookies (without plugin element)","type":"client_side","fields":{"ABl":{"caption":"Cookie names","name":"delete_cookie_names","rank":0,"editor":"DynamicValue","value":"text","default_val":"name1,name2,name3"}},"code":{"client":{"fn":"function(properties,context){for(var deleteList=null!==properties.delete_cookie_names?properties.delete_cookie_names.split(\",\"):[],i=0;i<deleteList.length;i++)document.cookie=deleteList[i]+\"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=\"+document.domain+\"; path=/;\",document.cookie=deleteList[i]+\"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;\",localStorage.removeItem(deleteList[i])}"}}}}};
293window._bubble_page_load_data.plugins_size['1668029257058x913446968585093100'] = 13773;
294window.preloaded['plugin/third_party:1668029257058x913446968585093100:1.9.0'] = true;
295window.plugins["1670930264864x445277063097352200"] = {"human":"International phone input","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"AAa":{"display":"International Phone Input","property_applications":{"resizable":true,"Font":true,"MinWidth":true},"add_is_visible":true,"has_reset_fn":true,"fields":{"AAE":{"caption":"Color","name":"border_color","rank":4,"editor":"Color","default_val":"rgba(231, 233, 235, 1)","in_style":true},"AAF":{"caption":" _____ BORDER SETTINGS _____ ","name":"border_settings","rank":1,"editor":"Label"},"AAG":{"caption":"Radius","name":"border_radius","rank":2,"editor":"Dropdown","default_val":"6px","in_style":true},"AAH":{"caption":"Thickness","name":"border_thickness","rank":3,"editor":"Dropdown","default_val":"1px","in_style":true},"AAI":{"caption":"Color Focused","name":"border_color_focused","rank":5,"editor":"Color","default_val":"rgba(2, 132, 254, 1)","in_style":true},"AAJ":{"caption":"Color Error","name":"border_color_error","rank":6,"editor":"Color","default_val":"rgba(237, 62, 68, 1)","in_style":true},"AAK":{"caption":" _____ COUNTRY SETTINGS _____ ","name":"country_settings","rank":8,"editor":"Label"},"AAL":{"caption":"Include Countries","name":"country_list","rank":12,"editor":"StaticText","default_val":"US, GB, DE, AU, FR, TH, ID, IN, TW","optional":true},"AAM":{"caption":"Preferred Countries","name":"country_preferred","rank":13,"editor":"StaticText","default_val":"US, GB","optional":true},"AAN":{"caption":"Exclude Countries","name":"country_exclude","rank":14,"optional":true,"editor":"StaticText","default_val":""},"AAO":{"caption":"Enter countries in the inputs below using their ISO country code separated by a comma. For example, to set the United States, Great Britain, and Australia as the preferred countries you should type \"US,GB,AU\" in the ‘Preferred Countries’ input.","name":"country_settings_description","rank":9,"editor":"Label"},"AAP":{"caption":"Default Value","name":"default_value","rank":0,"editor":"DynamicValue","value":"text"},"AAQ":{"caption":"Limit to this country","name":"limit_to_this_country","rank":10,"editor":"StaticText","optional":true},"AAR":{"caption":"Initial country","name":"initial_country","rank":11,"editor":"DynamicValue","value":"text","optional":true,"default_val":"US"},"AAS":{"caption":"Disable input","name":"disabled","rank":15,"editor":"DynamicValue","value":"boolean","default_val":false},"AAb":{"caption":"Is valid when empty","name":"valid_when_empty","rank":16,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":false}
295,"AAc":{"caption":"Separate dial code","name":"separate_dial_code","rank":17,"optional":false,"editor":"DynamicValue","value":"boolean","default_val":true},"AAd":{"caption":"⚠️ Enforce mobile #","name":"enforce_mobile_number","rank":18,"editor":"DynamicValue","value":"boolean","default_val":true},"AAe":{"caption":"Background Color","rank":7,"name":"background_color","editor":"Color","default_val":"rgba(255,255,255,1)","optional":true,"in_style":true}},"states":{"AAT":{"caption":"is valid","name":"is_valid","value":"boolean","initialization_code":{"fn":"function(properties,context){return properties.valid_when_empty}"}},"AAU":{"caption":"international phone number","name":"international_phone_number","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAV":{"caption":"national phone number","name":"national_phone_number","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAW":{"caption":"country code","name":"country_code","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAX":{"caption":"error","name":"error","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAY":{"caption":"is focused","name":"is_focused","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AAZ":{"caption":"country is focused","name":"country_is_focused","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAD":{"caption":"is changed","name":"is_changed"}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    instance.canvas.append(`<div style=\"box-sizing: border-box; height: ${properties.bubble.height()}px; width: ${properties.bubble.width()}px; border-radius: ${properties.border_radius}; border: ${properties.border_thickness} solid ${properties.border_color}; padding: 0px 15px; display: flex; align-items: center;\"><span style=\"color: #E5E8EB; font-size: ${properties.bubble.font_size()}px;\">888-888-8888</span></div>`)\n\n\n\n}"},"initialize":{"fn":"function(instance){const randomId=Math.floor(1e4*(1+Math.random())).toString(16).substring(1);instance.data.id=`canvas-${randomId}`;const htmlTelInput=document.createElement(\"input\");htmlTelInput.setAttribute(\"id\",instance.data.id),htmlTelInput.setAttribute(\"type\",\"tel\"),htmlTelInput.setAttribute(\"name\",\"phone\"),instance.data.htmlTelInput=htmlTelInput;const canvas=instance.canvas;canvas.append(htmlTelInput),canvas.css(\"overflow\",\"visible\"),canvas.css(\"z-index\",\"\"),canvas.addClass(\"airdev_intl_phone_input\")}","add_debugger":false},"update":{"fn":"function(inst,prop){const ERROR_MESSAGES=Object.freeze({1:\"The country code is invalid\",2:\"The phone number you entered is too short\",3:\"The phone number you entered is too long\",4:\"This phone number appears to be a local number only\",5:\"The length of your phone number is not valid\"});function initTelInput(instance,properties){instance.data.inputCount=window.airdevPhoneInputCount??0,window.airdevPhoneInputCount=instance.data.inputCount+1;const splitAndTrim=list=>\"\"!==list?list.split(\",\").map((x=>x.trim())):[],countries=splitAndTrim(properties.country_list),countriesPreferred=splitAndTrim(properties.country_preferred),countriesExclude=splitAndTrim(properties.country_exclude),htmlTelInput=instance.data.htmlTelInput,settings={onlyCountries:countries,excludeCountries:countriesExclude,preferredCountries:countriesPreferred,separateDialCode:properties.separate_dial_code??!0,dropdownContainer:document.body,allowDropdown:!properties.limit_to_this_country,containerClass:instance.data.id,initialCountry:properties.initial_country??\"auto\",strictMode:!0,geoIpLookup:function(success,failure){fetch(\"https://ipapi.co/json\").then((function(res){return res.json()})).then((function(data){success(data.country_code)})).catch((function(){failure()}))}};!1===properties.enforce_mobile_number&&(settings.validationNumberType=null),instance.data.telInputInstance=window.intlTelInput(htmlTelInput,settings),htmlTelInput.addEventListener(\"keyup\",(function(){formatTelInput(instance,properties)})),htmlTelInput.addEventListener(\"blur\",(function(){formatTelInput(instance,properties)})),htmlTelInput.addEventListener(\"change\",(function(){formatTelInput(instance,properties),instance.triggerEvent(\"is_changed\")})),htmlTelInput.addEventListener(\"countrychange\",(function(){instance.data.skipCountryChange?instance.data.skipCountryChange=!1:(instance.data.skipCountryChange=!0,formatTelInput(instance,properties),instance.triggerEvent(\"is_changed\"))})),htmlTelInput.addEventListener(\"focus\",(function(){formatTelInput(instance,properties),instance.publishState(\"is_focused\",!0)})),htmlTelInput.addEventListener(\"focusout\",(function(){instance.publishState(\"is_focused\",!1)}));const countrySelector=document.querySelector(`.${instance.data.id} > .iti__country-container > .iti__selected-country`);countrySelector.addEventListener(\"mouseup\",(function(){window.country_is_focused=!window.country_is_focused,instance.publishState(\"country_is_focused\",window.country_is_focused)})),countrySelector.addEventListener(\"focusout\",(function(){instance.publishState(\"country_is_focused\",!1),window.country_is_focused=!1}))}function loadDefaultValues(instance,properties){properties.limit_to_this_country&&(instance.data.limit_to_this_country=properties.limit_to_this_country,instance.data.telInputInstance.setCountry(properties.limit_to_this_country)),instance.data.default_value=properties.default_value,instance.data.telInputInstance.setNumber(instance.data.default_value??\"\"),formatTelInput(instance,properties)}function formatTelInput(instance,properties){const telInputInstance=instance.data.telInputInstance,currentText=telInputInstance.getNumber();
295\"string\"==typeof currentText&&currentText!==instance.data.lastValue&&(updateExposedStates(instance,properties),instance.data.lastValue=currentText);const htmlTelInput=instance.data.htmlTelInput,inputHasContent=htmlTelInput.value.length>0,errorCode=inputHasContent?telInputInstance.getValidationError():0;instance.publishState(\"error\",ERROR_MESSAGES[errorCode]??\"\");const isInputValid=undefined;telInputInstance.isValidNumber()||properties.valid_when_empty&&!inputHasContent?document.activeElement===htmlTelInput?(htmlTelInput.classList.remove(\"border-error\"),htmlTelInput.classList.add(\"border-focused\")):(htmlTelInput.classList.remove(\"border-error\"),htmlTelInput.classList.remove(\"border-focused\")):(htmlTelInput.classList.add(\"border-error\"),htmlTelInput.classList.remove(\"border-focused\")),htmlTelInput.disabled=properties.disabled}function updateExposedStates(instance,properties){const telInputInstance=instance.data.telInputInstance,countryCode=telInputInstance.getSelectedCountryData().dialCode,internationalPhoneNo=telInputInstance.getNumber(window.intlTelInput.utils.numberFormat.E164),nationalPhoneNo=telInputInstance.getNumber(window.intlTelInput.utils.numberFormat.NATIONAL),isInputValid=telInputInstance.isValidNumber()||properties.valid_when_empty&&\"\"===internationalPhoneNo;instance.publishState(\"country_code\",countryCode),instance.publishState(\"is_valid\",isInputValid),instance.publishState(\"international_phone_number\",isInputValid?internationalPhoneNo:\"\"),instance.publishState(\"national_phone_number\",isInputValid?nationalPhoneNo:\"\")}function getStylePayload(properties){const[font_face,fontWeightValue]=
295properties.bubble.font_face().split(/:+/),font_weight=properties.bubble.bold()?\"bold\":fontWeightValue,{border_radius:border_radius,border_color:border_color,border_color_error:border_color_error,border_color_focused:border_color_focused,border_thickness:border_thickness,background_color:background_color}=properties;return{font_weight:font_weight,border_radius:border_radius,border_color:border_color,border_color_focused:border_color_focused,border_color_error:border_color_error,border_thickness:border_thickness,background_color:background_color,height:properties.bubble.height(),font_size:properties.bubble.font_size(),font_face:font_face,font_color:properties.bubble.font_color()}}async function buildCss(instance,stylePayload){const inputBytes=(new TextEncoder).encode(JSON.stringify(stylePayload)),hashBytes=undefined,styleHash=buf2hex(await window.crypto.subtle.digest(\"SHA-1\",inputBytes));if(instance.data.styleHash===styleHash)return;const{font_weight:font_weight,border_radius:border_radius,border_color:border_color,border_color_error:border_color_error,border_color_focused:border_color_focused,border_thickness:border_thickness,height:height,font_size:font_size,font_face:font_face,font_color:font_color,background_color:background_color}=stylePayload,style=`\\n      .iti--container {\\n        z-index: 9999999999\\n      }\\n\\n      #${instance.data.id} {\\n        border: ${border_thickness} solid ${border_color};\\n        border-radius: ${border_radius};\\n        height: ${height}px;\\n        width: 100%;\\n        padding-top: 0px;\\n      }\\n\\n      #${instance.data.id}, #iti-${instance.data.inputCount}__dropdown-content, #iti-${instance.data.inputCount}__dropdown-content input{\\n        background-color: ${background_color};\\n        font-size: ${font_size}px;\\n        font-family: ${font_face};\\n        font-weight: ${font_weight};\\n        color: ${font_color};\\n      }\\n\\n      #${instance.data.id}.border-error{\\n        border-color: ${border_color_error}\\n      }\\n\\n      #${instance.data.id}.border-focused{\\n        border-color: ${border_color_focused}\\n      }\\n\\n      .${instance.data.id}.iti {\\n        width: 100%;\\n      }\\n\\n      #iti-${instance.data.inputCount}__dropdown-content {\\n        font-size: ${font_size}px;\\n        font-family: ${font_face};\\n        font-weight: ${font_weight};\\n        color: ${font_color};\\n      }  \\n    `;if(instance.data.styleHash){const styleTag=undefined;document.getElementById(`style-${instance.data.id}`).innerHTML=style}else document.head.insertAdjacentHTML(\"beforeend\",`\\n          <style id=\"${\"style-\"+instance.data.id}\">\\n            ${style}\\n          </style>\\n      `);instance.data.styleHash=styleHash}function buf2hex(buffer){return Array.prototype.map.call(new Uint8Array(buffer),(x=>(\"00\"+x.toString(16)).slice(-2))).join(\"\")}buildCss(inst,getStylePayload(prop)),inst.data.telInputInstance?prop.default_value!==inst.data.default_value&&loadDefaultValues(inst,prop):(initTelInput(inst,prop),loadDefaultValues(inst,prop))}","add_debugger":false},"reset":{"fn":"function(instance,properties){instance.data.telInputInstance.setNumber(instance.data.default_value??\"\");const telInputInstance=instance.data.telInputInstance,countryCode=telInputInstance.getSelectedCountryData().dialCode,internationalPhoneNo=telInputInstance.getNumber(window.intlTelInput.utils.numberFormat.E164),nationalPhoneNo=telInputInstance.getNumber(window.intlTelInput.utils.numberFormat.NATIONAL),isInputValid=telInputInstance.isValidNumber()||properties.valid_when_empty&&\"\"===internationalPhoneNo;instance.publishState(\"country_code\",countryCode),instance.publishState(\"is_valid\",isInputValid),instance.publishState(\"international_phone_number\",isInputValid?internationalPhoneNo:\"\"),instance.publishState(\"national_phone_number\",isInputValid?nationalPhoneNo:\"\")}","add_debugger":false}},"platform_type":"web"}}};
296window._bubble_page_load_data.plugins_size['1670930264864x445277063097352200'] = 13953;
297window.preloaded['plugin/third_party:1670930264864x445277063097352200:1.7.1'] = true;
298window.plugins["1682858422119x209073877829550080"] = {"human":"Blur effect  (nocodecraft)","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"NC-Blur","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAD":{"caption":"This element will help you to add blur effect to you element","name":"info","rank":0,"editor":"Label"},"AAE":{"caption":"ID of element","name":"id","rank":1,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Blur value in px","name":"blur","rank":2,"editor":"DynamicValue","value":"number","default_val":5},"AAG":{"caption":"Transition time","name":"time","rank":3,"editor":"DynamicValue","value":"number","default_val":0.4}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n\tlet el = document.getElementById(properties.id);\n    let blur = properties.blur;\n    let time = properties.time;\n    \n    if (blur == null){\n    blur = 0;\n    };\n    \n    if (time == null){\n    time = 0;\n    };\n    \n    el.style.transition = `webkitBackdropFilter ${time}s, backdrop-filter ${time}s`;\n\tel.style.backdropFilter = `blur(${blur}px)`;\n    \n    el.style.webkitBackdropFilter = `blur(${blur}px)`;\n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}},"plugin_actions":{"AAH":{"display":"Blur it","type":"client_side","fields":{"AAI":{"caption":"This element will help you to add blur effect to you element","name":"info","rank":0,"editor":"Label"},"AAJ":{"caption":"ID of element","name":"id","rank":1,"editor":"DynamicValue","value":"text"},"AAK":{"caption":"Blur value in px","name":"blur","rank":2,"editor":"DynamicValue","value":"number","default_val":5},"AAL":{"caption":"Transition time","name":"time","rank":3,"editor":"DynamicValue","value":"number","default_val":0.4}},"code":{"client":{"fn":"function(properties, context) {\n\nlet el = document.getElementById(properties.id);\n    let blur = properties.blur;\n    let time = properties.time;\n    \n    if (blur == null){\n    blur = 0;\n    };\n    \n    if (time == null){\n    time = 0;\n    };\n    \n    el.style.transition = `webkitBackdropFilter ${time}s, backdrop-filter ${time}s`;\n    el.style.backdropFilter = `blur(${blur}px)`;\n    \n    el.style.webkitBackdropFilter = `blur(${blur}px)`;\n\n}"}}}}};
299window._bubble_page_load_data.plugins_size['1682858422119x209073877829550080'] = 2411;
300window.preloaded['plugin/third_party:1682858422119x209073877829550080:1.2.0'] = true;
301window.plugins["1690043318682x523704953294028800"] = {"human":"Delight My Users - Confetti","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"Confetti","add_is_visible":true,"actions":{"AAD":{"caption":"Trigger C
301onfetti","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n    \n  //Do the operation\n    \n  // Pass in the id of an element\n\tconst jsConfetti = new JSConfetti()\n\n\tjsConfetti.addConfetti()\n\n    \n}    "}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n    \n    \n   \n}"},"initialize":{"fn":"function(instance, context) {\n\n\timport JSConfetti from 'js-confetti'\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n    \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
302window._bubble_page_load_data.plugins_size['1690043318682x523704953294028800'] = 785;
303window.preloaded['plugin/third_party:1690043318682x523704953294028800:1.0.0'] = true;
304window.plugins["1697464776837x319616115153305600"] = {"human":"BNS - Global Custom State","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"Global Custom State","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"ABv":{"caption":"State Name","name":"global_custom_state_name","rank":0,"editor":"DynamicValue","value":"text","optional":true},"ABx":{"caption":"State Datatype","name":"global_custom_state_value_datatype","rank":1,"editor":"custom_type","value":"_any_thing","optional":true},"ACA":{"caption":"Default State Value","name":"global_custom_state_value","rank":2,"editor":"DynamicValue","value":"custom_data_ABx","optional":true},"ACB":{"caption":"Default State List","name":"global_custom_state_value_list","rank":3,"editor":"DynamicValue","value":"custom_data_ABx","is_list":true,"optional":true}},"states":{"ABi":{"caption":"Global Custom State Name","name":"custom_state_name","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ABm":{"caption":"Global Custom State Value","name":"custom_state_value","value":"custom_data_ABx","initialization_code":{"fn":"function(properties,context){}"}},"ABy":{"caption":"Custom States","name":"custom_states","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ABz":{"caption":"Global Custom State List","name":"custom_state_value_list","value":"custom_data_ABx","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"actions":{"ABt":{"caption":"Set State Value","code":{"fn":"function(instance,properties,context){window.isGcsManagerSet&&window.gcsSetSingleValue(instance,instance.data.gcsDataType,instance.data.gcsName,properties.value,!0)}"},"fields":{"ABu":{"caption":"Value","name":"value","rank":0,"editor":"DynamicValue","value":"custom_data_element_ABx","optional":true}}},"ACC":{"caption":"Set State List","code":{"fn":"function(instance,properties,context){let values=null;window.isGcsManagerSet&&(properties.list_value&&(values=properties.list_value.get(0,properties.list_value.length())),window.gcsSetListValue(instance,instance.data.gcsDataType,instance.data.gcsName,values,!0))}"},"fields":{"ACD":{"caption":"List Value","name":"list_value","rank":0,"editor":"DynamicValue","value":"custom_data_element_ABx","is_list":true,"optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){instance.data.id=\"gcs_\"+Math.random().toString(36).substr(2,9),window.isGcsManagerSet||(window.gcsInstances=[],window.gcs={},window.findGcs=function(pInstance,pDataType,pGcsName){let foundItem=null;return window.gcs[pDataType][pGcsName]&&(foundItem=window.gcs[pDataType][pGcsName].gcsInstances.find((lGcs=>lGcs.data.id===pInstance.data.id))),foundItem},window.spreadGcs=function(){const lTypes=Object.keys(window.gcs);for(let lType of lTypes){const lNames=Object.keys(window.gcs[lType]);for(let lName of lNames)for(let lGcs of window.gcsInstances)lGcs.publishState(\"custom_states\",lNames)}},window.gcsCreategcs=function(pDataType,pGcsName){window.gcs[pDataType]||(window.gcs[pDataType]={}),window.gcs[pDataType][pGcsName]={gcsValue:null,gcsDefaultValueOverriden:!1,gcsName:pGcsName,gcsDataType:pDataType,gcsValueList:null,gcsDefaultValueListOverriden:!1,gcsPersistent:!1,gcsInstances:[]}},window.gcsBind=function(pInstance,pDataType,pGcsName){let isFirst=!1;window.gcs[pDataType]&&window.gcs[pDataType][pGcsName]||(window.gcsCreategcs(pDataType,pGcsName),isFirst=!0);let lFound=window.findGcs(pInstance,pDataType,pGcsName);lFound||(window.gcs[pDataType][pGcsName].gcsInstances.push(pInstance),lFound=pInstance),lFound.data.gcsDataType=pDataType,lFound.data.gcsName=pGcsName,lFound.data.gcsIsFirst=isFirst,lFound.data.gcsValue=window.gcs[pDataType][pGcsName].gcsValue,lFound.data.gcsValueList=window.gcs[pDataType][pGcsName].gcsValueList,lFound.publishState(\"custom_state_name\",pGcsName),lFound.publishState(\"custom_state_value\",window.gcs[pDataType][pGcsName].gcsValue),lFound.publishState(\"custom_state_value_list\",window.gcs[pDataType][pGcsName].gcsValueList),window.spreadGcs()},window.gcsSetSingleValue=function(pInstance,pDataType,pGcsName,pValue,pOverrideDefault){if(window.gcs[pDataType]){let canSetValue=!window.gcs[pDataType][pGcsName].gcsDefaultValueOverriden||window.gcs[pDataType][pGcsName].gcsDefaultValueOverriden&&1==pOverrideDefault;if(window.gcs[pDataType][pGcsName]&&canSetValue){window.gcs[pDataType][pGcsName].gcsValue=pValue,window.gcs[pDataType][pGcsName].gcsDefaultValueOverriden=pOverrideDefault;for(let lGcs of window.gcs[pDataType][pGcsName].gcsInstances)lGcs.data.gcsValue=pValue,lGcs.publishState(\"custom_state_value\",pValue)}}},window.gcsSetListValue=function(pInstance,pDataType,pGcsName,pValue,pOverrideDefault){if(window.gcs[pDataType]){let canSetValue=!window.gcs[pDataType][pGcsName].gcsDefaultValueListOverriden||window.gcs[pDataType][pGcsName].gcsDefaultValueListOverriden&&1==pOverrideDefault;if(window.gcs[pDataType][pGcsName]&&canSetValue){window.gcs[pDataType][pGcsName].gcsValueList=pValue,window.gcs[pDataType][pGcsName].gcsDefaultValueListOverriden=pOverrideDefault;for(let lGcs of window.gcs[pDataType][pGcsName].gcsInstances)lGcs.data.gcsValueList=pValue,lGcs.publishState(\"custom_state_value_list\",pValue)}}},window.removeGcs=function(pInstance,pDataType,pGcsName){if(window.gcs[pDataType][pGcsName]){const lIndexOf=window.gcs[pDataType][pGcsName].gcsInstances.findIndex((lGcs=>lGcs.data.id===pInstance.data.id));window.gcs[pDataType][pGcsName].gcsInstances.splice(lIndexOf,1)}},window.gcsUnbind=function(pInstance,pDataType,pGcsName){if(window.gcs[pGcsName]){let foundHook;window.findGcs(pInstance,pDataType,pGcsName)&&window.removeGcs(pInstance,pDataType,pGcsName)}},window.isGcsManagerSet=!0),window.isGcsManagerSet&&window.gcsInstances.push(instance)}"},"update":{"fn":"function(instance,properties,context){if(window.isGcsManagerSet&&properties.global_custom_state_value_datatype&&(instance.data.gcsDataType=properties.global_custom_state_value_datatype,properties.global_custom_state_name&&(instance.data.gcsName?instance.data.gcsName!==properties.global_custom_state_name&&(window.gcsUnbind(instance,properties.global_custom_state_value_datatype,instance.data.gcsName),window.gcsBind(instance,properties.global_custom_state_value_datatype,properties.global_custom_state_name)):window.gcsBind(instance,properties.global_custom_state_value_datatype,properties.global_custom_state_name),instance.data.gcsIsFirst))){window.gcsSetSingleValue(instance,properties.global_custom_state_value_datatype,instance.data.gcsName,properties.global_custom_state_value,!1);let lValueList=null;properties.global_custom_state_value_list&&(lValueList=properties.global_custom_state_value_list.get(0,properties.global_custom_state_value_list.length())),window.gcsSetListValue(instance,properties.global_custom_state_value_datatype,instance.data.gcsName,lValueList,!1)}}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
305window._bubble_page_load_data.plugins_size['1697464776837x319616115153305600'] = 7037;
306window.preloaded['plugin/third_party:1697464776837x319616115153305600:1.0.8'] = true;
307window.plugins["1729605241035x687450859189043200"] = {"human":"SendMail SMTP","dependencies":{"use_jquery":true,"plugin_api_version":4},"shared_keys":{"AAR":{"caption":"Host","type":"secure"},"AAS":{"caption":"Port","type":"secure"},"AAT":{"caption":"User","type":"secure"},"AAU":{"caption":"Pass","type":"secure"}},"plugin_actions":{"AAC":{"display":"Send email with SMTP keys","type":"server_side","return_value":{"AAr":{"caption":"status","name":"status","rank":0,"value":"text"},"AAs":{"caption":"data","name":"data","rank":1,"value":"text"}},"fields":{"AAM":{"caption":"To","name":"to","rank":1,"editor":"DynamicValue","value":"text"},"AAN":{"caption":"Subject","name":"subject","rank":2,"editor":"DynamicValue","value":"text"},"AAO":{"caption":"Body","name":"body","rank":3,"editor":"DynamicValue","value":"text"},"ABK":{"caption":"Display name","name":"displayName","rank":0,"editor":"DynamicValue","value":"text","default_val":"noreply"},"ABL":{"caption":"attachments","name":"attachments","rank":4,"editor":"DynamicValue","value":"text","optional":true}}},"AAt":{"display":"Send email with SMTP entries","type":"server_side","return_value":{"ABC":{"caption":"status","name":"status","rank":0,"value":"text"},"ABD":{"caption":"data","name":"data","rank":1,"value":"text"}},"fields":{"AAu":{"caption":"To","name":"to","rank":1,"editor":"DynamicValue","value":"text"},"AAv":{"caption":"Subject","name":"subject","rank":2,"editor":"DynamicValue","value":"text"},"AAw":{"caption":"Body","name":"body","rank":3,"editor":"DynamicValue","value":"text"},"AAx":{"caption":"Host","name":"host","rank":5,"editor":"DynamicValue","value":"text"},"AAy":{"caption":"Port","name":"port","rank":6,"editor":"DynamicValue","value":"text"},"AAz":{"caption":"User","name":"user","rank":7,"editor":"DynamicValue","value":"text"},"ABA":{"caption":"Pass","name":"pass","rank":8,"editor":"DynamicValue","value":"text"},"ABE":{"caption":"Display name","name":"displayName","rank":0,"editor":"DynamicValue","value":"text","default_val":"noreply"},"ABJ":{"caption":"attachments","name":"attachments","rank":4,"editor":"DynamicValue","value":"text","optional":true}}}}};
308window._bubble_page_load_data.plugins_size['1729605241035x687450859189043200'] = 2095;
309window.preloaded['plugin/third_party:1729605241035x687450859189043200:2.1.1'] = true;
310window['bubble_run_derived'] = window['bubble_run_derived'] || {}
311window['bubble_run_derived']['{"function_name":"PageByName","args":[]}
311'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"compra_sucesso":{"id":"bTIcF","_path":"%p3.bTIcx"},"minha-conta":{"id":"bTIgD","_path":"%p3.bTIgy"},"email-validado":{"id":"bTImH","_path":"%p3.bTImz"},"adm_editarcurso":{"id":"bTJLX","_path":"%p3.bTJOb"},"adm_categorias":{"id":"bTJbp","_path":"%p3.bTJeM"},"adm_softwares":{"id":"bTJjV","_path":"%p3.bTJkx"},"adm_cursos":{"id":"bTJrB","_path":"%p3.bTJtk"},"adm_professores":{"id":"bTJwB","_path":"%p3.bTJyn"},"adm_criarcurso":{"id":"bTKDB","_path":"%p3.bTKGr"},"adm_criarcurso2":{"id":"bTKHF","_path":"%p3.bTKLA"},"adm_criarcurso4":{"id":"bTLKd","_path":"%p3.bTLUN"},"adm_criarcurso3":{"id":"bTLlk","_path":"%p3.bTLvZ"},"index":{"id":"bTNGH","_path":"%p3.bTNGm"},"adm_criarprodutos":{"id":"bTNrD","_path":"%p3.bTNtf"},"adm_criarprodutos2":{"id":"bTNtg","_path":"%p3.bTNxQ"},"adm_produtos":{"id":"bTNxo","_path":"%p3.bTOAL"},"adm_criarprodutos4":{"id":"bTOFz","_path":"%p3.bTOHl"},"adm_editarproduto":{"id":"bTOHp","_path":"%p3.bTOON"},"produto":{"id":"bTOhP","_path":"%p3.bTOjb"},"checkout":{"id":"bTQDh","_path":"%p3.bTQGT"},"adm_configuracoes":{"id":"bTQUq","_path":"%p3.bTQXZ"},"compra_pendente":{"id":"bTQkH","_path":"%p3.bTQlz"},"compra_cancelada":{"id":"bTQmS","_path":"%p3.bTQoJ"},"sala-download":{"id":"bTSCo","_path":"%p3.bTSLE"},"adm_usuarios":{"id":"bTSdo","_path":"%p3.bTSfn"},"adm_usuarios2":{"id":"bTSjj","_path":"%p3.bTSmL"},"adm_pedidos":{"id":"bTTAH","_path":"%p3.bTTDB"},"adm_emails":{"id":"bTTKE","_path":"%p3.bTTMt"},"adm_criardownloads1":{"id":"bTTYB","_path":"%p3.bTTZc"},"adm_criardownloads2":{"id":"bTTZd","_path":"%p3.bTTbl"},"adm_criardownloads3":{"id":"bTTbm","_path":"%p3.bTTfR"},"adm_criardownloads4":{"id":"bTTfV","_path":"%p3.bTTgX"},"adm_downloads":{"id":"bTTgY","_path":"%p3.bTTiQ"},"adm_editardownload":{"id":"bTTiR","_path":"%p3.bTTmw"},"adm_criarprodutos3":{"id":"bTTvf","_path":"%p3.bTTxR"},"adm_avaliacoes":{"id":"bTUAP","_path":"%p3.bTUGD"},"sala-aula":{"id":"bTUox","_path":"%p3.bTUwW"},"adm_criaraula":{"id":"bTVBa","_path":"%p3.bTVCn"},"area_membros":{"id":"bTVJY","_path":"%p3.bTVKI"},"adm_faq":{"id":"bTVZb","_path":"%p3.bTVff"},"adm_duvidas":{"id":"bTVil","_path":"%p3.bTVpj"},"adm_certificado":{"id":"bTWIZ","_path":"%p3.bTWKW"},"lp":{"id":"bTXGb","_path":"%p3.bTXGu"},"adm_criarlp":{"id":"bTXJW","_path":"%p3.bTXKl"},"adm_landingpages":{"id":"bTXNr","_path":"%p3.bTXPn"},"checkout2":{"id":"bTYBC","_path":"%p3.bTYEP"},"compra_boleto":{"id":"bTYVf","_path":"%p3.bTYWx"},"compra_pix":{"id":"bTYZm","_path":"%p3.bTYab"},"adm_criar_email":{"id":"bTZEV","_path":"%p3.bTZFY"},"tinymce":{"id":"bTZIS","_path":"%p3.bTZIl"},"termos-e-condicoes":{"id":"bTZVT","_path":"%p3.bTZVn"},"adm_termos":{"id":"bTZVz","_path":"%p3.bTZXe"},"adm_dashboard":{"id":"bTZal","_path":"%p3.bTZbs"},"adm_cupons_criar":{"id":"bTaOO","_path":"%p3.bTaPV"},"adm_cupom_listar":{"id":"bTaRB","_path":"%p3.bTaUB"},"adm_youtube":{"id":"bTawP","_path":"%p3.bTaxT"},"membros_do_canal":{"id":"bTbAF","_path":"%p3.bTbCQ"},"conteudo":{"id":"bTbNP","_path":"%p3.bTbWy"},"conteudo2":{"id":"bTbgv","_path":"%p3.bTbqM"},"adm_download_files":{"id":"bTcCF","_path":"%p3.bTcFl"}}
312window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true;
313window['bubble_run_derived']['{"function_name":"CustomByNameV2","args":[]}'] = {"header":{"id":"bTHpS","_path":"%ed.bTHpT","custom_element_platform":"web"},"Menu Lateral":{"id":"bTJft","_path":"%ed.bTJfx","custom_element_platform":"web"},"footer":{"id":"bTRfw","_path":"%ed.bTRfx","custom_element_platform":"web"},"whatsapp":{"id":"bTVzF","_path":"%ed.bTWBn","custom_element_platform":"web"}}
314window.preloaded['app/derived:{"function_name":"CustomByNameV2","args":[]}'] = true;
315window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = ["stripe-GetStripeCard","stripe-GetStripeCards","stripe-GetStripeSubscription","stripe-GetStripeSubscriptions","stripe-GetSellerData","stripe-GetCustomerID","stripe-GetStripeInvoices","stripe-GetStripeTaxIDs"]
316window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true;
317window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = ["apple"]
318window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true;
319window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"aulas___data_de_publicacao":[{"name":"aula_custom_aulas_modulos","value":"custom.aulas_modulos","display":"Aula","deleted":null},{"name":"calendario___tempo_corrido_text","value":"text","display":"Calendario / Tempo Corrido","default_val":"calendario","deleted":null},{"name":"data_calendario_date","value":"date","display":"Data Calendario","deleted":null},{"name":"tempo_corrido_number","value":"number","display":"Tempo Corrido","deleted":null},{"name":"turma_custom_turmas","value":"custom.turmas","display":"Turma","deleted":null}],"aulas_modulos":[{"name":"calend_rio_ou_tempo_corrido_boolean","value":"boolean","display":"Calendário ou tempo corrido - deleted","default_val":true,"deleted":true},{"name":"calendario___tempo_corrido_text","value":"text","display":"Calendario / Tempo Corrido - deleted","default_val":"calendario","deleted":true}
319,{"name":"curso_pai_custom_cursos","value":"custom.cursos","display":"Curso Pai","deleted":null},{"name":"data_de_publica__o_date","value":"date","display":"Data de publicação - deleted","deleted":true},{"name":"data_de_publicacao_boolean","value":"boolean","display":"Tem data de publicacao - deleted","default_val":false,"deleted":true},{"name":"descricao_text","value":"text","display":"Descricao","deleted":null},{"name":"gratuita_boolean","value":"boolean","display":"Gratuita","default_val":false,"deleted":null},{"name":"html_text","value":"text","display":"HTML","deleted":null},{"name":"imagem_de_capa_image","value":"image","display":"Imagem de capa","deleted":null},{"name":"nova_aula_text","value":"text","display":"Nova aula","deleted":null},{"name":"og_module_custom_modulos_cursos","value":"custom.modulos_cursos","display":"Módulo Pai","deleted":null},{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"publicado_boolean","value":"boolean","display":"Publicado","default_val":false,"deleted":null},{"name":"selecionado_boolean","value":"boolean","display":"Selecionado","default_val":false,"deleted":null},{"name":"tags_list_text","value":"list.text","display":"Tags","deleted":null},{"name":"tem_data_de_liberacao_text","value":"text","display":"Tem data de liberacao","deleted":null},{"name":"tempo_corrido_number","value":"number","display":"Tempo corrido - deleted","deleted":true},{"name":"titulo_text","value":"text","display":"Titulo","deleted":null},{"name":"turma_list_custom_turmas","value":"list.custom.turmas","display":"Turma - deleted","deleted":true},{"name":"turmas_list_custom_turmas","value":"list.custom.turmas","display":"Turmas - deleted","deleted":true},{"name":"video_text","value":"text","display":"Video","deleted":null}],"avaliacao":[{"name":"conteudo_text","value":"text","display":"Descricao","deleted":null},{"name":"nota_number","value":"number","display":"Nota","deleted":null},{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"publicado_boolean","value":"boolean","display":"Publicado","default_val":false,"deleted":null},{"name":"usuario_user","value":"user","display":"Usuario","deleted":null}],"categorias":[{"name":"nome_text","value":"text","display":"Nome","deleted":null}],"certificado":[{"name":"carga_hor_ria_number","value":"number","display":"Carga Horária","deleted":null},{"name":"data_de_conclus_o_date","value":"date","display":"Data de conclusão","deleted":null},{"name":"data_de_in_cio_date","value":"date","display":"Data de início","deleted":null},{"name":"n_mero_text","value":"text","display":"Número","deleted":null},{"name":"pdf_text","value":"text","display":"PDF","deleted":null},{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"usu_rio_user","value":"user","display":"Usuário","deleted":null}],"coment_rios":[{"name":"__resposta_boolean","value":"boolean","display":"É resposta","default_val":false,"deleted":null},{"name":"aula_custom_aulas_modulos","value":"custom.aulas_modulos","display":"Aula","deleted":null},{"name":"coment_rio_text","value":"text","display":"Comentário","deleted":null},{"name":"curso_custom_cursos","value":"custom.cursos","display":"Curso","deleted":null},{"name":"id_do_coment_rio_respondido_custom_coment_rios","value":"custom.coment_rios","display":"Comentário Respondido","deleted":null},{"name":"respondido_boolean","value":"boolean","display":"Respondido","default_val":false,"deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null}],"configura__es":[{"name":"access_token_mp_text","value":"text","display":"MP Access Token Produção","deleted":null},{"name":"blog_text","value":"text","display":"Blog","deleted":null},{"name":"certificado_imagem_image","value":"image","display":"Certificado Imagem","deleted":null},{"name":"certificado_texto_text","value":"text","display":"Certificado Texto","deleted":null},{"name":"descri__o_seo_text","value":"text","display":"Descrição SEO","deleted":null},{"name":"email_cadastro2_text","value":"text","display":"Email cadastro2","deleted":null},{"name":"email_comentario_text","value":"text","display":"Email comentario","deleted":null},{"name":"email_faq_text","value":"text","display":"Email FAQ","deleted":null},{"name":"email_login_text","value":"text","display":"Email cadastro","deleted":null},{"name":"email_marketing1_text","value":"text","display":"Email Marketing","deleted":null},{"name":"email_marketing_text","value":"text","display":"Sellflux Request Code","deleted":null},{"name":"email_password_reset_text","value":"text","display":"Email Password Reset","deleted":null},{"name":"email_pedido_aprovado_text","value":"text","display":"Email Pedido Aprovado","deleted":null},{"name":"email_pedido_text","value":"text","display":"Email Pedido","deleted":null},{"name":"facebook_text","value":"text","display":"Facebook","deleted":null},{"name":"footer_left_text","value":"text","display":"Footer left","deleted":null},{"name":"gateway_de_pagamento_text","value":"text","display":"Gateway de Pagamento","deleted":null},{"name":"imagem_para_redes_sociais_image","value":"image","display":"Imagem para Redes Sociais","deleted":null},{"name":"instagram_text","value":"text","display":"Instagram","deleted":null},{"name":"logotipo_image","value":"image","display":"Logotipo","deleted":null},{"name":"mensagem_autoriza__o_de_cookies_text","value":"text","display":"Mensagem autorização de cookies","deleted":null},{"name":"mercadopago_em_produ__o_boolean","value":"boolean","display":"MercadoPago em Produção","default_val":false,"deleted":null},{"name":"mp_access_token_em_uso_text","value":"text","display":"MP Access Token em Uso","deleted":null},{"name":"mp_access_token_sandbox_text","value":"text","display":"MP Access Token Sandbox","deleted":null},{"name":"mp_notification_url_production_text","value":"text","display":"MP Webhook Produção","deleted":null},{"name":"mp_notification_url_test_text","value":"text","display":"MP Webhook Sandbox","deleted":null},{"name":"mp_webhook_em_uso_text","value":"text","display":"MP Webhook em Uso","deleted":null},{"name":"notazz_api_key_text","value":"text","display":"Notazz API Key","deleted":null},{"name":"notazz_descri__o_nf_text","value":"text","display":"Notazz Descrição NF","deleted":null},{"name":"notazz_dias_para_emiss_o_number","value":"number","display":"Notazz dias para emissão","default_val":1,"deleted":null},{"name":"pagar_me_api_secreta_produ__o_text","value":"text","display":"Pagar.me API Secreta Produção","deleted":null},{"name":"pagar_me_api_secreta_teste_text","value":"text","display":"Pagar.me API Secreta Teste","deleted":null},{"name":"pagar_me_chave_secreta_b264_text","value":"text","display":"Pagar.me Chave secreta B64","deleted":null},{"name":"pagar_me_em_produ__o_boolean","value":"boolean","display":"Pagar.me em Produção","default_val":false,"deleted":null},{"name":"pagar_me_n__de_parcelas_number","value":"number","display":"Pagar.me Juros","deleted":null},{"name":"pagar_me_number","value":"number","display":"Pagar.me dias para Vencimento Boleto","deleted":null},{"name":"pagar_me_webhook_em_uso_text","value":"text","display":"Pagar.me Webhook em Uso","deleted":null},{"name":"pagar_me_webhook_produ__o_text","value":"text","display":"Pagar.me Webhook Produção","deleted":null},{"name":"pagar_me_webhook_teste_text","value":"text","display":"Pagar.me Webhook Teste","deleted":null},{"name":"pixel_fb_id_number","value":"number","display":"Pixel FB ID","deleted":null},{"name":"sistema_notas_fiscais_text","value":"text","display":"Sistema Notas Fiscais","deleted":null},{"name":"t_tulo_seo_text","value":"text","display":"Título SEO","deleted":null},{"name":"t_tulo_text","value":"text","display":"Título","deleted":null},{"name":"telegram_text","value":"text","display":"Telegram","deleted":null},{"name":"tiktok_text","value":"text","display":"TikTok","deleted":null},{"name":"tipo_de_nota_fiscal_text","value":"text","display":"Tipo de Nota Fiscal","deleted":null},{"name":"tracking_codes_text","value":"text","display":"Tracking codes","deleted":null},{"name":"whatsapp_text","value":"text","display":"Whatsapp","deleted":null},{"name":"youtube_text","value":"text","display":"YouTube","deleted":null}],"cupons":[{"name":"c_digo_text","value":"text","display":"Código","deleted":null},{"name":"nome_text","value":"text","display":"Título","deleted":null},{"name":"produtos_list_custom_produtos1","value":"list.custom.produtos1","display":"Produtos","deleted":null},{"name":"valor_number","value":"number","display":"Valor","deleted":null},{"name":"valor_para_multiplicar_number","value":"number","display":"Valor para Multiplicar","deleted":null}],"cursos":[{"name":"card_info_1_text","value":"text","display":"Card info 1 - deleted","deleted":true},{"name":"card_info_2_text","value":"text","display":"Card info 2 - deleted","deleted":true},{"name":"card_info_3_text","value":"text","display":"Card info 3 - deleted","deleted":true},{"name":"carga_hor_ria_number","value":"number","display":"Carga horária","deleted":null},{"name":"categoria_2_list_custom_categorias","value":"list.custom.categorias","display":"Categoria","deleted":null},{"name":"descri__o_do_conte_do_text","value":"text","display":"Descrição do conteúdo","deleted":null},{"name":"destaque_no_banner_boolean","value":"boolean","display":"Destaque no Banner - deleted","deleted":true},{"name":"galeria_list_image","value":"list.image","display":"Galeria","deleted":null},{"name":"imagem_1920x800_image","value":"image","display":"Imagem 1920x800 - deleted","deleted":true},{"name":"imagem_300x300_image","value":"image","display":"Imagem 300x300","deleted":null},{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"palavras_chave_list_text","value":"list.text","display":"Palavras-chave","deleted":null},{"name":"professores_list_custom_professores","value":"list.custom.professores","display":"Professores","deleted":null},{"name":"publicado_boolean","value":"boolean","display":"Publicado","default_val":false,"deleted":null},{"name":"resumo_text","value":"text","display":"Resumo - deleted","deleted":true}
319,{"name":"software5_list_custom_softwares","value":"list.custom.softwares","display":"Softwares","deleted":null},{"name":"tipo_text","value":"text","display":"Tipo","deleted":null},{"name":"titulo_text","value":"text","display":"Titulo","deleted":null},{"name":"v_deo_text","value":"text","display":"Vídeo","deleted":null}],"downloads_aulas":[{"name":"arquivo_file","value":"file","display":"Arquivo","deleted":null},{"name":"aula_custom_aulas_modulos","value":"custom.aulas_modulos","display":"Aula","deleted":null},{"name":"descri__o_text","value":"text","display":"Título","deleted":null},{"name":"tamanho_text","value":"text","display":"Tamanho","deleted":null},{"name":"url_text","value":"text","display":"URL","deleted":null}],"emails":[{"name":"cadastro_text","value":"text","display":"Email Cadastro","deleted":null},{"name":"email_coment_rio_respondido_text","value":"text","display":"Email Comentário Respondido","deleted":null},{"name":"email_compra_aprovada_text","value":"text","display":"Email Compra Aprovada","deleted":null},{"name":"email_faq_text","value":"text","display":"Email FAQ","deleted":null},{"name":"email_pedido_recebido_text","value":"text","display":"Email Pedido Recebido","deleted":null},{"name":"password_reset_text","value":"text","display":"Email Password Reset","deleted":null},{"name":"smtp_host_text","value":"text","display":"SMTP Host","deleted":null},{"name":"smtp_password_text","value":"text","display":"SMTP Password","deleted":null},{"name":"smtp_port_number","value":"number","display":"SMTP Port","deleted":null},{"name":"smtp_usert_text","value":"text","display":"SMTP User","deleted":null}],"faq":[{"name":"__resposta_2_boolean","value":"boolean","display":"É resposta?","default_val":false,"deleted":null},{"name":"pergunta_que_foi_respondida_custom_faq","value":"custom.faq","display":"Pergunta que foi respondida","deleted":null},{"name":"pergunta_text","value":"text","display":"Comentário","deleted":null},{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"publicado2_boolean","value":"boolean","display":"Publicado","default_val":false,"deleted":null},{"name":"respondido_boolean","value":"boolean","display":"Respondido","default_val":false,"deleted":null},{"name":"usu_rio_user","value":"user","display":"Usuário","deleted":null}],"galeria":[{"name":"descri__o_text","value":"text","display":"Descrição","deleted":null},{"name":"imagem_image","value":"image","display":"Imagem","deleted":null},{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"provedor_text","value":"text","display":"Provedor","deleted":null},{"name":"video_text","value":"text","display":"Video","deleted":null}],"landing_page":[{"name":"descri__o_download_text","value":"text","display":"Descrição Download","deleted":null},{"name":"descri__o_text","value":"text","display":"Descrição","deleted":null},{"name":"imagem_image","value":"image","display":"Imagem","deleted":null},{"name":"mostrar_email_boolean","value":"boolean","display":"Mostrar email","default_val":true,"deleted":null},{"name":"mostrar_nome_boolean","value":"boolean","display":"Mostrar Nome","default_val":true,"deleted":null},{"name":"mostrar_telefone_boolean","value":"boolean","display":"Mostrar Telefone","default_val":true,"deleted":null},{"name":"t_tulo_download_text","value":"text","display":"Título Download","deleted":null},{"name":"t_tulo_text","value":"text","display":"Título","deleted":null},{"name":"tags_text","value":"text","display":"Tags","deleted":null},{"name":"url_redirecionamento_text","value":"text","display":"URL Redirecionamento","deleted":null}],"lead":[{"name":"email_text","value":"text","display":"Email","deleted":null},{"name":"nome_text","value":"text","display":"Nome","deleted":null},{"name":"sellflux_id_text","value":"text","display":"Sellflux id","deleted":null},{"name":"telefone_2_text","value":"text","display":"Telefone","deleted":null}],"leitura_complementar":[{"name":"aula_custom_aulas_modulos","value":"custom.aulas_modulos","display":"Aula","deleted":null},{"name":"t_tulo_text","value":"text","display":"Título","deleted":null},{"name":"url_text","value":"text","display":"URL","deleted":null}],"links_downloads":[{"name":"conte_do_pai_custom_cursos","value":"custom.curs
319os","display":"Conteúdo-Pai","deleted":null},{"name":"nome_text","value":"text","display":"Nome","deleted":null},{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"tamanho_text","value":"text","display":"Tamanho","deleted":null},{"name":"url_text","value":"text","display":"URL","deleted":null}],"modulos_cursos":[{"name":"imagem_de_capa_image","value":"image","display":"Imagem de Capa","deleted":null},{"name":"og_curso_custom_cursos","value":"custom.cursos","display":"Curso Pai","deleted":null},{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"publicado_boolean","value":"boolean","display":"Publicado","default_val":false,"deleted":null},{"name":"selecionado_boolean","value":"boolean","display":"Selecionado","default_val":false,"deleted":null},{"name":"titulo_text","value":"text","display":"Titulo","deleted":null}],"mp_pagamentos":[{"name":"approved_date_date","value":"date","display":"Approved Date","deleted":null},{"name":"avaliou_boolean","value":"boolean","display":"Avaliou","default_val":false,"deleted":null},{"name":"cupom_custom_cupons","value":"custom.cupons","display":"Cupom","deleted":null},{"name":"forma_de_pagamento_text","value":"text","display":"Forma de Pagamento","deleted":null},{"name":"gateway_de_pagamento_text","value":"text","display":"Gateway de Pagamento","deleted":null},{"name":"id_da_transa__o_text","value":"text","display":"ID da Transação","deleted":null},{"name":"juros_number","value":"number","display":"Juros","deleted":null},{"name":"n__de_parcelas_number","value":"number","display":"Nº de Parcelas","deleted":null},{"name":"n__de_passagens_number","value":"number","display":"Nº de Passagens","deleted":null},{"name":"n__parcelas_multiplicador_number","value":"number","display":"Nº Parcelas Multiplicador","deleted":null},{"name":"n_mero_do_pedido_number","value":"number","display":"Número do Pedido","deleted":null},{"name":"notazz_produtos_2_list_text","value":"list.text","display":"Notazz Lista de Produtos","deleted":null},{"name":"pagar_me_barcode_text","value":"text","display":"Pagar.me Barcode","deleted":null},{"name":"pagar_me_boleto_pdf_file","value":"file","display":"Pagar.me Boleto PDF","deleted":null},{"name":"pagar_me_boleto_url_text","value":"text","display":"Pagar.me Boleto URL","deleted":null},{"name":"pagar_me_lista_de_produtos_list_text","value":"list.text","display":"Pagar.me Lista de Produtos","deleted":null},{"name":"pagar_me_pix_url_text","value":"text","display":"Pagar.me Pix QR","deleted":null},{"name":"pagar_me_qr_code_text","value":"text","display":"Pagar.me Pix Copia e Cola","deleted":null},{"name":"passagem_pelo_workflow_boolean","value":"boolean","display":"Passagem pelo Workflow","deleted":null},{"name":"produtos_list_custom_produtos1","value":"list.custom.produtos1","display":"Produtos","deleted":null},{"name":"status_detail_text","value":"text","display":"Status Detail","deleted":null},{"name":"status_text","value":"text","display":"status","deleted":null},{"name":"usu_rio_user","value":"user","display":"Usuário","deleted":null},{"name":"valor_com_juros_number","value":"number","display":"Valor com Juros","deleted":null},{"name":"valor_number","value":"number","display":"Valor","deleted":null}],"mp_webhook":[{"name":"data_de_recebimento_da_notificacao_date","value":"date","display":"Data de Recebimento da Notificacao","deleted":null},{"name":"gateway_de_pagamento_text","value":"text","display":"Gateway de Pagamento","deleted":null},{"name":"id_da_transacao_text","value":"text","display":"ID da Transacao","deleted":null},{"name":"ordem_de_aprova__o_number","value":"number","display":"Ordem de Aprovação","default_val":0,"deleted":null},{"name":"status_text","value":"text","display":"Status","deleted":null},{"name":"tipo_de_notifica__o_text","value":"text","display":"Tipo de notificação","deleted":null}],"notazz_webhook":[{"name":"c_digo_do_processamento_text","value":"text","display":"Código do Processamento","deleted":null},{"name":"erro_text","value":"text","display":"Erro","deleted":null},{"name":"id_text","value":"text","display":"Id","deleted":null},{"name":"status_do_processamento_text","value":"text","display":"Status do processamento","deleted":null}],"pedidos":[{"name":"id_cobranca_text","value":"text","display":"id_cobranca","deleted":null},{"name":"produtos2_list_custom_produtos1","value":"list.custom.produtos1","display":"Produtos","deleted":null},{"name":"usuario_user","value":"user","display":"Usuario","deleted":null},{"name":"valor_number","value":"number","display":"Valor","deleted":null},{"name":"vencimento1_date","value":"date","display":"Vencimento","deleted":null}],"planos_assinatura":[{"name":"link_stripe_text","value":"text","display":"ID API Stripe","deleted":null},{"name":"nome_text","value":"text","display":"Nome","deleted":null},{"name":"tipo_recorrencia_text","value":"text","display":"Tipo-recorrencia","deleted":null},{"name":"valor_number","value":"number","display":"Valor","deleted":null}],"produtos1":[{"name":"card___info_1_text","value":"text","display":"Card - Info 1","deleted":null},{"name":"card___info_2_text","value":"text","display":"Card - Info 2","deleted":null},{"name":"card___info_3_text","value":"text","display":"Card - Info 3","deleted":null},{"name":"categorias_list_custom_categorias","value":"list.custom.categorias","display":"Categorias","deleted":null}
319,{"name":"cursos_list_custom_cursos","value":"list.custom.cursos","display":"Conteudos","deleted":null},{"name":"descri__o_text","value":"text","display":"Descrição","deleted":null},{"name":"destaque_no_banner_boolean","value":"boolean","display":"Destaque no Banner","default_val":false,"deleted":null},{"name":"destaque_rodap__text","value":"text","display":"Destaque Rodapé","deleted":null},{"name":"downloads_list_custom_downloads","value":"list.custom.downloads","display":"Downloads","deleted":null},{"name":"galeria_list_image","value":"list.image","display":"Galeria","deleted":null},{"name":"imagem_1920x800_image","value":"image","display":"Imagem 1920x800","deleted":null},{"name":"imagem_200x125_image","value":"image","display":"Imagem 200x125","deleted":null},{"name":"imagem_300x300_image","value":"image","display":"Imagem 300x300","deleted":null},{"name":"imagem_40x40_image","value":"image","display":"Imagem 40x40","deleted":null},{"name":"info_pagina_de_vendas_list_text","value":"list.text","display":"Info Pagina de Vendas","deleted":null},{"name":"membros_do_canal__boolean","value":"boolean","display":"Exclusivo Membros do Canal?","deleted":null},{"name":"nome_text","value":"text","display":"Título","deleted":null},{"name":"nota_de_destaque_text","value":"text","display":"Nota de destaque no banner","deleted":null},{"name":"observa__es_text","value":"text","display":"Observações","deleted":null},{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"palavras_chave_list_text","value":"list.text","display":"Palavras-chave","deleted":null},{"name":"parcela_text","value":"text","display":"Parcela","deleted":null},{"name":"principais_pontos_list_text","value":"list.text","display":"Principais Pontos","deleted":null},{"name":"publicado_boolean","value":"boolean","display":"Publicado","default_val":false,"deleted":null},{"name":"resumo_text","value":"text","display":"Resumo","deleted":null},{"name":"sku_text","value":"text","display":"SKU","deleted":null},{"name":"softwares_list_custom_softwares","value":"list.custom.softwares","display":"Softwares","deleted":null},{"name":"tipo_text","value":"text","display":"Tipo","deleted":null},{"name":"turma_vigente_custom_turmas","value":"custom.turmas","display":"Turma vigente","deleted":null},{"name":"turmas_list_text","value":"list.text","display":"Turmas - deleted","deleted":true},{"name":"upsell_custom_produtos1","value":"custom.produtos1","display":"Upsell","deleted":null},{"name":"url_externo_text","value":"text","display":"URL Externo","deleted":null},{"name":"valor_number","value":"number","display":"Valor","deleted":null},{"name":"valor_sem_desconto_number","value":"number","display":"Valor sem desconto","deleted":null},{"name":"vencimento_wip_number","value":"number","display":"Validade","deleted":null},{"name":"video_stream_text","value":"text","display":"Video Stream","deleted":null},{"name":"video_text","value":"text","display":"Video ID","deleted":null}],"produtos_carrinho":[{"name":"cupom_custom_cupons","value":"custom.cupons","display":"Cupom","deleted":null},{"name":"id_unica_text","value":"text","display":"id_unica","deleted":null},{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"quantidade_number","value":"number","display":"Quantidade","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null}],"produtos_do_cliente":[{"name":"pedido_custom_mp_pagamentos","value":"custom.mp_pagamentos","display":"Pedido","deleted":null},{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"turma_custom_turmas","value":"custom.turmas","display":"Turma","deleted":null},{"name":"usu_rio_user","value":"user","display":"Usuário","deleted":null},{"name":"vencimento_date","value":"date","display":"Vencimento","deleted":null}],"professores":[{"name":"bio_text","value":"text","display":"Bio","deleted":null},{"name":"foto_image","value":"image","display":"Foto","deleted":null},{"name":"nome_text","value":"text","display":"Nome","deleted":null}
319],"softwares":[{"name":"logo_image","value":"image","display":"Logo","default_val":"//bb1e58428ca77e4caefb7c3f3260add8.cdn.bubble.io/f1709907715668x815136031095955500/Image-Placeholder_70x70.png","deleted":null},{"name":"nome_text","value":"text","display":"Nome","deleted":null}],"termos_e_condicoes":[{"name":"t_tulo_text","value":"text","display":"Título","deleted":null},{"name":"texto_text","value":"text","display":"Texto","deleted":null}],"turmas":[{"name":"produto_custom_produtos1","value":"custom.produtos1","display":"Produto","deleted":null},{"name":"titulo_text","value":"text","display":"Titulo","deleted":null}],"user":[{"name":"aulas_conclu_das_list_custom_aulas_modulos","value":"list.custom.aulas_modulos","display":"Aulas Concluídas","deleted":null},{"name":"bio_text","value":"text","display":"Bio","deleted":null},{"name":"cep_text","value":"text","display":"Endereço-CEP","deleted":null},{"name":"cpf_text","value":"text","display":"CPF","deleted":null},{"name":"endere_o_bairro_text","value":"text","display":"Endereço Bairro","deleted":null},{"name":"endere_o_cidade_text","value":"text","display":"Endereço-Cidade","deleted":null},{"name":"endere_o_complemento_text","value":"text","display":"Endereço-complemento","deleted":null},{"name":"endere_o_estado_text","value":"text","display":"Endereço-Estado","deleted":null},{"name":"endere_o_n_mero_text","value":"text","display":"Endereço-Número","deleted":null},{"name":"foto_perfil_image","value":"image","display":"Foto-perfil","deleted":null},{"name":"logradouro_text","value":"text","display":"Endereço-Logradouro","deleted":null},{"name":"nome_text","value":"text","display":"Nome","deleted":null},{"name":"senha_tempor_ria_text","value":"text","display":"Senha Temporária","deleted":null},{"name":"telefone_text","value":"text","display":"Telefone","deleted":null},{"name":"tipo_perfil1_text","value":"text","display":"Tipo de perfil","default_val":"aluno","deleted":null},{"name":"turmas_list_custom_turmas","value":"list.custom.turmas","display":"Turmas - deleted","deleted":true},{"name":"ultima_aula_assistida_custom_aulas_modulos","value":"custom.aulas_modulos","display":"Ultima Aula Assistida","deleted":null},{"name":"ultima_aula_editada_custom_aulas_modulos","value":"custom.aulas_modulos","display":"Ultima aula editada","deleted":null}],"device":[{"display":"Type","value":"text","name":"device_type"},{"display":"Push notification token","value":"text","name":"push_notification_token"},{"display":"Current user","value":"user","name":"current_user"}],"iap_subscription_purchase":[{"display":"Original Purchase Identifier","value":"text","name":"original_purchase_identifier"},{"display":"Status","value":"text","name":"status"},{"display":"Is Active","value":"boolean","name":"is_active"},{"display":"User","value":"user","name":"user"},{"display":"Environment","value":"text","name":"environment"},{"display":"Store","value":"text","name":"store"},{"display":"Bubble Billing Variant","value":"iap_item.billing_variant","name":"bubble_variant_id"},{"display":"Store Product Identifier","value":"text","name":"store_subscription_id"},{"display":"Google Base Plan ID","value":"text","name":"google_base_plan_id"},{"display":"Google Latest Order ID","value":"text","name":"google_latest_order_id"},{"display":"Expiry or Renewal Date","value":"date","name":"expiry_or_renewal_date"},{"display":"Purchase Identifier","value":"text","name":"purchase_identifier"}]}
320window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true;
321
322    window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now();
323
324jQuery.migrateEnablePatches('self-closed-tags');

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.