New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

squared

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squared - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

dist/squared.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).squared={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e){this.wrapped=e}function r(e){var t,r;function a(t,r){try{var o=e[t](r),l=o.value,u=l instanceof n;Promise.resolve(u?l.wrapped:l).then(function(e){u?a("next",e):i(o.done?"return":"normal",e)},function(e){a("throw",e)})}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?a(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise(function(i,o){var l={key:e,arg:n,resolve:i,reject:o,next:null};r?r=r.next=l:(t=r=l,a(e,n))})},"function"!=typeof e.return&&(this.return=void 0)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}"function"==typeof Symbol&&Symbol.asyncIterator&&(r.prototype[Symbol.asyncIterator]=function(){return this}),r.prototype.next=function(e){return this._invoke("next",e)},r.prototype.throw=function(e){return this._invoke("throw",e)},r.prototype.return=function(e){return this._invoke("return",e)};function i(e,t){return l(e)||function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||c()}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(e){if(Array.isArray(e))return e}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var s="ABCDEFGHIJKLMNOPQRSTUVWXYZ",f=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function v(e,t,n,r){for(var a=n.split("."),i=e,o=t,l=Array.isArray(c=a),u=0,c=l?c:c[Symbol.iterator]();;){var s;if(l){if(u>=c.length)break;s=c[u++]}else{if((u=c.next()).done)break;s=u.value}if(void 0===i[s]||void 0===o[s])return(void 0!==i[s]||void 0!==o[s])&&(void 0!==i[s]?[1,0]:[0,1]);i=i[s],o=o[s]}if(r){var f=parseInt(i),v=parseInt(o);if(!isNaN(f)&&!isNaN(v))return[f,v];if(!isNaN(f))return[1,0];if(!isNaN(v))return[0,1]}return[i,o]}var h={URL:/url\("?(.*?)"?\)/,URI:/^[A-Za-z]+:\/\//,UNIT:/^(?:\s*(-?[\d.]+)(px|em|ch|pc|pt|vw|vh|vmin|vmax|mm|cm|in))+$/,ATTRIBUTE:/([^\s]+)="([^"]+)"/};function d(e){return""!==e?!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?e.charAt(0).toUpperCase()+e.substring(1).toLowerCase():e.charAt(0).toLowerCase()+e.substring(1):e}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n=e.replace(RegExp("^".concat(t,"+")),"").match(RegExp("(".concat(t,"[a-z])"),"g"));return n&&n.forEach(function(t){return e=e.replace(t,t[1].toUpperCase())}),e}function p(e){return e&&parseFloat(e)||0}function m(e,t,n){if(e){if(E(e))return"".concat(e,"px");if((e=e.trim()).endsWith("px")||e.endsWith("%")||"auto"===e)return e;var r=e.match(h.UNIT);if(r){var a=parseFloat(r[1]);switch(r[2]){case"em":case"ch":a*=n||16;break;case"pc":a*=12;case"pt":a*=4/3;break;case"vw":a*=window.innerWidth/100;break;case"vh":a*=window.innerHeight/100;break;case"vmin":a*=Math.min(window.innerWidth,window.innerHeight)/100;break;case"vmax":a*=Math.max(window.innerWidth,window.innerHeight)/100;break;case"mm":a/=10;case"cm":a/=2.54;case"in":a*=t||96}return"".concat(a,"px")}}return"0px"}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e<1?"".concat(0===t?Math.round(100*e):parseFloat((100*e).toFixed(t)),"%"):"100%"}function F(e){return"string"==typeof e&&(e=parseFloat(e)),isNaN(e)?"0px":"".concat(Math.round(e),"px")}function A(e){return"string"==typeof e&&(e=parseFloat(e)),isNaN(e)?"0%":e<1?y(e):"".concat(Math.round(e),"%")}function b(e,t){return(e&t)===t}function E(e){return"number"==typeof e||/^-?\d+(\.\d+)?$/.test(e.trim())}function x(e){return"string"==typeof e&&""!==e}function C(e){return/^\d+(\.\d+)?%$/.test(e)}function B(e,n,r){var a,i=!1;if(e&&"object"===t(e)){a=e;var o=n.split("."),l=0;do{a=a[o[l]]}while(null!=a&&++l<o.length&&"string"!=typeof a&&"number"!=typeof a&&"boolean"!=typeof a);i=null!=a&&l===o.length}switch(r){case"object":return i?a:null;case"number":return i&&!isNaN(parseInt(a))?parseInt(a):0;case"boolean":return i&&!0===a;default:return i?""+a:""}}function D(e){if(!h.URI.test(e)){var t=location.pathname.split("/");if(t.pop(),"/"===e.charAt(0))e=location.origin+e;else if(e.startsWith("../")){var n,r=[],a=0;e.split("/").forEach(function(e){".."===e?a++:r.push(e)}),(n=t=t.slice(0,Math.max(t.length-a,0))).push.apply(n,r),e=location.origin+t.join("/")}else e="".concat(location.origin+t.join("/"),"/").concat(e)}return e}function w(e,t){return e?e.replace(RegExp("^".concat(t,"+"),"g"),""):""}function k(e,t){return e?e.replace(RegExp("".concat(t,"+$"),"g"),""):""}function S(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"\t").repeat(e)}function I(e){return null!=e&&""!==(""+e).trim()}function R(e,t){return e===t||Math.floor(e)===Math.floor(t)||Math.ceil(e)===Math.ceil(t)||Math.ceil(e)===Math.floor(t)||Math.floor(e)===Math.ceil(t)}function M(e){return e.length?Math.min.apply(null,e):1/0}function O(e){return e.length?Math.max.apply(null,e):-1/0}function N(e,t){for(var n=[],r=[],a=0;a<e.length;a++){var i=e[a];t(i,a)?n.push(i):r.push(i)}return[n,r]}function T(e,t,n){for(var r=0;r<e.length;r++)t(e[r],r)&&(n&&n(e[r]),e.splice(r--,1));return e}function L(e,t){return e.map(function(e,n){return t(e,n)}).filter(function(e){return I(e)})}var _=Object.freeze({REGEXP_PATTERN:h,capitalize:d,convertUnderscore:function(e){var t=(e=e.charAt(0).toLowerCase()+e.substring(1)).match(/([a-z][A-Z])/g);return t&&t.forEach(function(t){return e=e.replace(t,"".concat(t[0],"_").concat(t[1].toLowerCase()))}),e},convertCamelCase:g,convertWord:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?(e=e.replace(/[^\w]/g,"_").trim(),t&&(e=e.replace(/-/g,"_")),e):""},convertInt:function(e){return e&&parseInt(e)||0},convertFloat:p,convertPX:m,convertPercent:y,convertAlpha:function e(t){for(var n="";t>=s.length;){var r=Math.floor(t/s.length);r>1&&r<=s.length?(n+=s.charAt(r-1),t-=r*s.length):r>s.length&&(n+=e(r*s.length),t-=r*s.length);var a=t%s.length;n+=s.charAt(a),t-=a+s.length}return n=s.charAt(t)+n},convertRoman:function(e){for(var t=(""+e).split(""),n="",r=3;r--;)n=(f[parseInt(t.pop()||"")+10*r]||"")+n;return"M".repeat(parseInt(t.join("")))+n},convertEnum:function(e,t,n){for(var r=Object.keys(t),a=0;a<r.length;a++){var i=r[a];if(e===t[i])return n[i]}return""},formatPX:F,formatPercent:A,formatString:function(e){for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++)e=e.replace("{".concat(t,"}"),t+1<1||arguments.length<=t+1?void 0:arguments[t+1]);return e},hasBit:b,isNumber:E,isString:x,isArray:function(e){return Array.isArray(e)&&e.length>0},isUnit:function(e){return h.UNIT.test(e)},isPercent:C,includes:function(e,t){return!!e&&e.split(arguments.length>2&&void 0!==arguments[2]?arguments[2]:",").map(function(e){return e.trim()}).includes(t)},cloneObject:function e(n){var r={};for(var a in n)n.hasOwnProperty(a)&&(r[a]=n&&"object"===t(n[a])?e(n[a]):n[a]);return r},optional:B,optionalAsObject:function(e,t){return B(e,t,"object")},optionalAsString:function(e,t){return B(e,t,"string")},optionalAsNumber:function(e,t){return B(e,t,"number")},optionalAsBoolean:function(e,t){return B(e,t,"boolean")},resolvePath:D,trimNull:function(e){return e?e.trim():""},trimString:function(e,t){return e?w(k(e,t),t):""},trimStart:w,trimEnd:k,repeat:S,indexOf:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var a=0;a<n.length;a++){var i=e.indexOf(n[a]);if(-1!==i)return i}return-1},lastIndexOf:function(e){return e.substring(e.lastIndexOf(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/")+1)},searchObject:function(e,n){var r,a=[];if("object"===t(n))for(var i in n){var o=n[i];I(e[o])&&a.push([o,e[o]])}else for(var l in r=/^\*.+\*$/.test(n)?function(e){return-1!==e.indexOf(n.replace(/\*/g,""))}:/^\*/.test(n)?function(e){return e.endsWith(n.replace(/\*/,""))}:/\*$/.test(n)?function(e){return e.startsWith(n.replace(/\*/,""))}:function(e){return e===n},e)r(l)&&a.push([l,e[l]]);return a},hasValue:I,withinRange:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t>=e-n&&t<=e+n},withinFraction:R,assignWhenNull:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])},defaultWhenNull:function(e){for(var n=e,r=0;r<(arguments.length<=1?0:arguments.length-1)-1;r++){var a=r+1<1||arguments.length<=r+1?void 0:arguments[r+1];if(r===(arguments.length<=1?0:arguments.length-1)-2)I(n[a])||(n[a]=r+1+1<1||arguments.length<=r+1+1?void 0:arguments[r+1+1]);else{if(!x(a))break;if("object"===t(n[a]))n=n[a];else{if(void 0!==n[a])break;n[a]={},n=n[a]}}}},minArray:M,maxArray:O,partitionArray:N,retainArray:function(e,t){var n=e.filter(t);e.length=0,e.push.apply(e,o(n))},spliceArray:T,sortArray:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return e.sort(function(e,n){for(var a=0;a<r.length;a++){var i=v(e,n,r[a],!0);if(i&&i[0]!==i[1])return t?i[0]>i[1]?1:-1:i[0]<i[1]?1:-1}return 0})},flatArray:function(e){for(var t=e;t.some(function(e){return Array.isArray(e)});)t=[].concat.apply([],t.filter(function(e){return e}));return t},flatMap:L}),G=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._children=[],Array.isArray(t)&&this.retain(t)}var t,n,r;return t=e,(n=[{key:Symbol.iterator,value:function(){var e=this._children,t=0;return{next:function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0,value:void 0}}}}},{key:"item",value:function(e,t){return void 0===e||void 0===t?void 0===e?this._children[this._children.length-1]:this._children[e]:e>=0&&e<this._children.length?(this._children[e]=t,t):void 0}},{key:"append",value:function(e){return this._children.push(e),this}},{key:"remove",value:function(e){for(var t=0;t<this._children.length;t++)if(e===this._children[t])return this._children.splice(t,1);return[]}},{key:"contains",value:function(e){return-1!==this._children.indexOf(e)}},{key:"retain",value:function(e){return this._children=e,this}},{key:"duplicate",value:function(){return this._children.slice(0)}},{key:"clear",value:function(){return this._children.length=0,this}},{key:"each",value:function(e){for(var t=0;t<this._children.length;t++)e(this._children[t],t);return this}},{key:"find",value:function(e,t){return this._children.find("string"==typeof e?function(n){return n[e]===t}:e)}},{key:"filter",value:function(e){return this._children.filter(e)}},{key:"map",value:function(e){return this._children.map(e)}},{key:"flatMap",value:function(e){return this._children.map(e).filter(function(e){return e})}},{key:"partition",value:function(e){return N(this._children,e)}},{key:"splice",value:function(e,t){return T(this._children,e,t)}},{key:"sort",value:function(e){return this._children.sort(e),this}},{key:"every",value:function(e){return this.length>0&&this._children.every(e)}},{key:"some",value:function(e){return this._children.some(e)}},{key:"cascade",value:function(){function t(n){for(var r=[],a=Array.isArray(l=n.children),i=0,l=a?l:l[Symbol.iterator]();;){var u;if(a){if(i>=l.length)break;u=l[i++]}else{if((i=l.next()).done)break;u=i.value}var c=u;r.push(c),c instanceof e&&c.length&&r.push.apply(r,o(t(c)))}return r}return t(this)}},{key:"children",get:function(){return this._children}},{key:"length",get:function(){return this._children.length}}])&&a(t.prototype,n),r&&a(t,r),e}(),P="0123456789ABCDEF",j={Pink:{value:"#FFC0CB"},LightPink:{value:"#FFB6C1"},HotPink:{value:"#FF69B4"},DeepPink:{value:"#FF1493"},PaleVioletRed:{value:"#DB7093"},MediumVioletRed:{value:"#C71585"},LightSalmon:{value:"#FFA07A"},Salmon:{value:"#FA8072"},DarkSalmon:{value:"#E9967A"},LightCoral:{value:"#F08080"},IndianRed:{value:"#CD5C5C"},Crimson:{value:"#DC143C"},Firebrick:{value:"#B22222"},DarkRed:{value:"#8B0000"},Red:{value:"#FF0000"},OrangeRed:{value:"#FF4500"},Tomato:{value:"#FF6347"},Coral:{value:"#FF7F50"},Orange:{value:"#FFA500"},DarkOrange:{value:"#FF8C00"},Yellow:{value:"#FFFF00"},LightYellow:{value:"#FFFFE0"},LemonChiffon:{value:"#FFFACD"},LightGoldenrodYellow:{value:"#FAFAD2"},PapayaWhip:{value:"#FFEFD5"},Moccasin:{value:"#FFE4B5"},PeachPuff:{value:"#FFDAB9"},PaleGoldenrod:{value:"#EEE8AA"},Khaki:{value:"#F0E68C"},DarkKhaki:{value:"#BDB76B"},Gold:{value:"#FFD700"},Cornsilk:{value:"#FFF8DC"},BlanchedAlmond:{value:"#FFEBCD"},Bisque:{value:"#FFE4C4"},NavajoWhite:{value:"#FFDEAD"},Wheat:{value:"#F5DEB3"},Burlywood:{value:"#DEB887"},Tan:{value:"#D2B48C"},RosyBrown:{value:"#BC8F8F"},SandyBrown:{value:"#F4A460"},Goldenrod:{value:"#DAA520"},DarkGoldenrod:{value:"#B8860B"},Peru:{value:"#CD853F"},Chocolate:{value:"#D2691E"},SaddleBrown:{value:"#8B4513"},Sienna:{value:"#A0522D"},Brown:{value:"#A52A2A"},Maroon:{value:"#800000"},DarkOliveGreen:{value:"#556B2F"},Olive:{value:"#808000"},OliveDrab:{value:"#6B8E23"},YellowGreen:{value:"#9ACD32"},LimeGreen:{value:"#32CD32"},Lime:{value:"#00FF00"},LawnGreen:{value:"#7CFC00"},Chartreuse:{value:"#7FFF00"},GreenYellow:{value:"#ADFF2F"},SpringGreen:{value:"#00FF7F"},MediumSpringGreen:{value:"#00FA9A"},LightGreen:{value:"#90EE90"},PaleGreen:{value:"#98FB98"},DarkSeaGreen:{value:"#8FBC8F"},MediumAquamarine:{value:"#66CDAA"},MediumSeaGreen:{value:"#3CB371"},SeaGreen:{value:"#2E8B57"},ForestGreen:{value:"#228B22"},Green:{value:"#008000"},DarkGreen:{value:"#006400"},Aqua:{value:"#00FFFF"},Cyan:{value:"#00FFFF"},LightCyan:{value:"#E0FFFF"},PaleTurquoise:{value:"#AFEEEE"},Aquamarine:{value:"#7FFFD4"},Turquoise:{value:"#40E0D0"},DarkTurquoise:{value:"#00CED1"},MediumTurquoise:{value:"#48D1CC"},LightSeaGreen:{value:"#20B2AA"},CadetBlue:{value:"#5F9EA0"},DarkCyan:{value:"#008B8B"},Teal:{value:"#008080"},LightSteelBlue:{value:"#B0C4DE"},PowderBlue:{value:"#B0E0E6"},LightBlue:{value:"#ADD8E6"},SkyBlue:{value:"#87CEEB"},LightSkyBlue:{value:"#87CEFA"},DeepSkyBlue:{value:"#00BFFF"},DodgerBlue:{value:"#1E90FF"},Cornflower:{value:"#6495ED"},SteelBlue:{value:"#4682B4"},RoyalBlue:{value:"#4169E1"},Blue:{value:"#0000FF"},MediumBlue:{value:"#0000CD"},DarkBlue:{value:"#00008B"},Navy:{value:"#000080"},MidnightBlue:{value:"#191970"},Lavender:{value:"#E6E6FA"},Thistle:{value:"#D8BFD8"},Plum:{value:"#DDA0DD"},Violet:{value:"#EE82EE"},Orchid:{value:"#DA70D6"},Fuchsia:{value:"#FF00FF"},Magenta:{value:"#FF00FF"},MediumOrchid:{value:"#BA55D3"},MediumPurple:{value:"#9370DB"},BlueViolet:{value:"#8A2BE2"},DarkViolet:{value:"#9400D3"},DarkOrchid:{value:"#9932CC"},DarkMagenta:{value:"#8B008B"},Purple:{value:"#800080"},RebeccaPurple:{value:"#663399"},Indigo:{value:"#4B0082"},DarkSlateBlue:{value:"#483D8B"},SlateBlue:{value:"#6A5ACD"},MediumSlateBlue:{value:"#7B68EE"},White:{value:"#FFFFFF"},Snow:{value:"#FFFAFA"},Honeydew:{value:"#F0FFF0"},MintCream:{value:"#F5FFFA"},Azure:{value:"#F0FFFF"},AliceBlue:{value:"#F0F8FF"},GhostWhite:{value:"#F8F8FF"},WhiteSmoke:{value:"#F5F5F5"},Seashell:{value:"#FFF5EE"},Beige:{value:"#F5F5DC"},OldLace:{value:"#FDF5E6"},FloralWhite:{value:"#FFFAF0"},Ivory:{value:"#FFFFF0"},AntiqueWhite:{value:"#FAEBD7"},Linen:{value:"#FAF0E6"},LavenderBlush:{value:"#FFF0F5"},MistyRose:{value:"#FFE4E1"},Gainsboro:{value:"#DCDCDC"},LightGray:{value:"#D3D3D3"},Silver:{value:"#C0C0C0"},DarkGray:{value:"#A9A9A9"},Gray:{value:"#808080"},DimGray:{value:"#696969"},LightSlateGray:{value:"#778899"},SlateGray:{value:"#708090"},DarkSlateGray:{value:"#2F4F4F"},LightGrey:{value:"#D3D3D3"},DarkGrey:{value:"#A9A9A9"},Grey:{value:"#808080"},DimGrey:{value:"#696969"},LightSlateGrey:{value:"#778899"},SlateGrey:{value:"#708090"},DarkSlateGrey:{value:"#2F4F4F"},Black:{value:"#000000"}},W=/[A-Za-z\d]{3,}/,z=/rgba?\((\d+), (\d+), (\d+)(?:, ([\d.]+))?\)/,U=[];for(var X in j){var V=j[X];V.name=X;var q=J(V.value);q&&(V.rgba=q,V.hsl=H(V.rgba),U.push(V))}function H(e){var t=e.r,n=void 0===t?0:t,r=e.g,a=void 0===r?0:r,i=e.b,o=void 0===i?0:i,l=Math.min(n/=255,a/=255,o/=255),u=Math.max(n,a,o),c=(u+l)/2,s=c,f=c;if(u===l)c=0,s=0;else{var v=u-l;switch(s=f>.5?v/(2-u-l):v/(u+l),u){case n:c=(a-o)/v+(a<o?6:0);break;case a:c=(o-n)/v+2;break;case o:c=(n-a)/v+4}c/=6}return{h:360*c,s:100*s,l:100*f}}function Y(e,t){if(e.hsl&&t.hsl){var n=e.hsl.h,r=t.hsl.h;return n===r&&(n=e.hsl.s)===(r=t.hsl.s)&&(n=e.hsl.l,r=t.hsl.l),n>=r?1:-1}return 0}function $(e){return"rgb".concat(e.a<255?"a":"","(").concat(e.r,", ").concat(e.g,", ").concat(e.b).concat(e.a<255?", ".concat((e.a/255).toFixed(2)):"",")")}function K(e){return parseFloat(e)<1?Q(255*parseFloat(e)):"FF"}function Z(e){for(var t in j)if(t.toLowerCase()===e.trim().toLowerCase())return j[t]}function Q(){for(var e="",t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var a=0;a<n.length;a++){var i=n[a],o="string"==typeof i?parseInt(i):i;if(isNaN(o))return"00";e+=P.charAt(((o=Math.max(0,Math.min(o,255)))-o%16)/16)+P.charAt(o%16)}return e}function J(e){if(e=e.replace(/#/g,"").trim(),W.test(e)){var t=255;switch(e.length){case 4:t=parseInt(e.charAt(3).repeat(2),16);case 3:e=e.charAt(0).repeat(2)+e.charAt(1).repeat(2)+e.charAt(2).repeat(2);break;case 5:e+=e.charAt(4);break;default:e.length>=8&&(t=parseInt(e.substring(6,8),16)),e=e.substring(0,6)}if(6===e.length)return{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4),16),a:t}}}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1";if(e&&"initial"!==e&&"transparent"!==e){if(""===t.trim()&&(t="1"),"#"===e.charAt(0)){var n=J(e);n&&(e=$(n))}else if(!e.startsWith("rgb")){var r=Z(e);r&&r.rgba&&(r.rgba.a=parseFloat(K(t)),e=$(r.rgba))}var a=e.match(z);if(a&&a.length>=4&&(void 0===a[4]||parseFloat(a[4])>0)){void 0===a[4]&&(a[4]=parseFloat(t).toFixed(2));var i=Q(a[1])+Q(a[2])+Q(a[3]),o=K(a[4]),l="#".concat(i+o),u=parseFloat(a[4]);return{valueRGB:"#".concat(i),valueRGBA:l,valueARGB:"#".concat(o+i),alpha:u,rgba:J(l),opaque:u<1,visible:u>0}}}}U.sort(Y);var te=Object.freeze({getColorByName:Z,getColorByShade:function(e){var t=U.slice(0),n=t.findIndex(function(t){return t.value===e});if(-1!==n)return t[n];var r=J(e);if(r){var a=H(r);if(a)return t.push({name:"",value:"",hsl:a,rgba:{r:-1,g:-1,b:-1,a:1}}),t.sort(Y),n=t.findIndex(function(e){return""===e.name}),t[Math.min(n+1,t.length-1)]}},convertHex:Q,convertRGBA:J,parseRGBA:ee,reduceRGBA:function(e,t){var n=J(e);if(n){var r=t<0?0:255;return n.r=Math.round((r-n.r)*(t=Math.abs(t)))+n.r,n.g=Math.round((r-n.g)*t)+n.g,n.b=Math.round((r-n.b)*t)+n.b,ee($(n))}}});function ne(){return{top:0,left:0,right:0,bottom:0}}function re(){return Object.assign({width:0,height:0},{top:0,left:0,right:0,bottom:0})}function ae(e,t,n,r){return arguments.length>4&&void 0!==arguments[4]&&arguments[4]?C(e)?p(e)/100:parseFloat(m(e,n,r))/t:C(e)?Math.round(t*(p(e)/100)):parseFloat(m(e,n,r))}function ie(e){return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function oe(e){if(e){if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var t=de(e,"style");if(t)return t;var n=ge(e);if(n&&n.plainText)return n.unsafe("styleMap")}if(fe(e)){var r=getComputedStyle(e);return he(e,"style",r),r}}return{display:"none"}}function le(e,t){if(e){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];if("#"!==e.nodeName.charAt(0)&&r.includes(oe(e)[t]))return!0;if(e.parentElement)return r.includes(oe(e.parentElement)[t])}return!1}function ue(e,n){var r="";if("object"===t(e.style)&&(r=e.style[n]),!r){var a=de(e,"styleMap");a&&(r=a[n])}return r||""}function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t),a=ge(e),i=a&&a.cssInitial(r)||ue(e,r);if(!i){var o=e.attributes.getNamedItem(t);o&&(i=o.value.trim())}return i||n&&oe(e)[r]||""}function se(e){if(e&&"#text"===e.nodeName&&e.textContent){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){for(var t=e.textContent,n=!1,r=0;r<t.length;r++)switch(t.charCodeAt(r)){case 9:case 10:case 13:case 32:continue;default:n=!0}return n&&""!==t}return""!==e.textContent.trim()}return!1}function fe(e){return!!e&&"object"===t(e.style)}function ve(e){return!(e.left<0&&e.top<0&&Math.abs(e.left)>=e.width&&Math.abs(e.top)>=e.height)}function he(e,t,n){e["__".concat(t)]=n}function de(e,t){return e["__".concat(t)]||void 0}function ge(e){return x(e.className)&&e.className.startsWith("squared")?void 0:de(e,"node")}var pe=Object.freeze({ELEMENT_BLOCK:["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","CANVAS","DD","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","LI","MAIN","NAV","OL","OUTPUT","P","PRE","SECTION","TFOOT","TH","THEAD","TR","UL","VIDEO"],ELEMENT_INLINE:["A","ABBR","ACRONYM","B","BDO","BIG","BR","BUTTON","CITE","CODE","DFN","EM","I","IFRAME","IMG","INPUT","KBD","LABEL","MAP","OBJECT","Q","S","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRIKE","STRONG","SUB","SUP","TEXTAREA","TIME","TT","U","VAR","PLAINTEXT"],isUserAgent:function(e){if("string"==typeof e){var t=e.toUpperCase();e=0,-1!==t.indexOf("CHROME")&&(e|=2),-1!==t.indexOf("SAFARI")&&(e|=4),-1!==t.indexOf("FIREFOX")&&(e|=16),-1!==t.indexOf("EDGE")&&(e|=8)}return b(e,-1!==navigator.userAgent.indexOf("Edge")?8:-1!==navigator.userAgent.indexOf("Firefox")?16:-1===navigator.userAgent.indexOf("Chrome")&&-1!==navigator.userAgent.indexOf("Safari")?4:2)},getKeyframeRules:function(){for(var e=new Map,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules)for(var r=0;r<n.cssRules.length;r++){var a=n.cssRules[r];try{a instanceof CSSKeyframesRule&&function(){var t={};Array.from(a.cssRules).forEach(function(e){var n=/((?:\d+%\s*,?\s*)+|from|to)\s*{\s*(.*?)\s*}/.exec(e.cssText);if(n)for(var r=(e.keyText||n[1].trim()).split(",").map(function(e){return e.trim()}),a=L(n[2].split(";"),function(e){return e.trim()}),o=Array.isArray(u=r),l=0,u=o?u:u[Symbol.iterator]();;){var c;if(o){if(l>=u.length)break;c=u[l++]}else{if((l=u.next()).done)break;c=l.value}var s=c;switch(s){case"from":s="0%";break;case"to":s="100%"}t[s]={};for(var f=Array.isArray(h=a),v=0,h=f?h:h[Symbol.iterator]();;){var d;if(f){if(v>=h.length)break;d=h[v++]}else{if((v=h.next()).done)break;d=v.value}var g=i(d.split(":").map(function(e){return e.trim()}),2),p=g[0],m=g[1];""!==p&&""!==m&&(t[s][p]=m)}}}),e.set(a.name,t)}()}catch(e){}}}return e},getDataSet:function(e,t){var n={};if(fe(e))for(var r in t=g(t,"\\."),e.dataset)r.length>t.length&&r.startsWith(t)&&(n[d(r.substring(t.length),!1)]=e.dataset[r]);return n},newBoxRect:ne,newRectDimension:re,newBoxModel:function(){return{marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0}},getDOMRect:function(e){var t=e.getBoundingClientRect();return t.x=t.left,t.y=t.top,t},createElement:function(e){var t=document.createElement(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"div":"span"),n=t.style;return n.position="static",n.margin="0px",n.padding="0px",n.border="none",n.cssFloat="none",n.clear="none",n.display="none",t.className="__css.placeholder",e&&e.appendChild(t),t},removeElementsByClassName:function(e){Array.from(document.getElementsByClassName(e)).forEach(function(e){return e.parentElement&&e.parentElement.removeChild(e)})},convertClientUnit:ae,getRangeClientRect:function(e){var t=document.createRange();t.selectNodeContents(e);var n=Array.from(t.getClientRects()).filter(function(e){return!(0===Math.round(e.width)&&R(e.left,e.right))}),r=re(),a=0;if(n.length){r=ie(n[0]);for(var i=new Set([r.top]),o=new Set([r.bottom]),l=1;l<n.length;l++){var u=n[l];i.add(u.top),o.add(u.bottom),r.width+=u.width,r.right=Math.max(u.right,r.right),r.height=Math.max(u.height,r.height)}i.size>1&&o.size>1&&(r.top=M(Array.from(i)),r.bottom=O(Array.from(o)),n[n.length-1].top>=n[0].bottom&&e.textContent&&(""!==e.textContent.trim()||/^\s*\n/.test(e.textContent))&&(a=n.length-1))}return Object.assign({},r,{multiline:a})},assignBounds:ie,getStyle:oe,cssResolveUrl:function(e){var t=e.match(h.URL);return t?D(t[1]):""},cssInherit:function(e,t,n,r){var a="";if(e)for(var i=e.parentElement;i&&(void 0===r||!r.includes(i.tagName))&&(("inherit"===(a=oe(i)[t]||"")||n&&n.some(function(e){return-1!==a.indexOf(e)}))&&(a=""),i!==document.body&&!a);)i=i.parentElement;return a},cssParent:le,cssFromParent:function(e,t){if(fe(e)&&e.parentElement){var n=ge(e),r=oe(e);if(n&&r)return r[t]===oe(e.parentElement)[t]&&!n.cssInitial(t)}return!1},cssInline:ue,cssAttribute:ce,cssInheritAttribute:function(e,t){for(var n=e,r="";n&&(""===(r=ce(n,t))||"inherit"===r);)n=n.parentElement;return r},getBackgroundPosition:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o={top:0,left:0,right:0,bottom:0,horizontal:"left",vertical:"top",originalX:"",originalY:""},l="center"===e?["center","center"]:e.split(" ");return 4===l.length?l.forEach(function(e,l){switch(l){case 0:o.horizontal=e;break;case 2:o.vertical=e;break;case 1:case 3:var u=ae(e,1===l?t.width:t.height,n,r,i);1===l?a?"right"===o.horizontal?(o.originalX=C(e)?A(100-parseInt(e)):F(t.width-parseInt(m(e,n,r))),o.right=u,o.left=i?1-u:t.width-u):(o.left=u,o.originalX=e):"center"!==o.horizontal&&(o[o.horizontal]=u):a?"bottom"===o.vertical?(o.originalY=C(e)?A(100-parseInt(e)):F(t.height-parseInt(m(e,n,r))),o.bottom=u,o.top=i?1-u:t.height-u):(o.top=u,o.originalY=e):"center"!==o.vertical&&(o[o.vertical]=u)}}):2===l.length&&l.forEach(function(e,l){var u=0===l?t.width:t.height,c=0===l?"left":"top",s=0===l?"originalX":"originalY",f=ae(e,u,n,r,i);if(C(e))o[c]=f,o[s]=e;else if(/^[a-z]+$/.test(e)){if(o[0===l?"horizontal":"vertical"]=e,a)switch(e){case"left":case"top":o[s]="0%";break;case"right":case"bottom":o[c]=i?1:u,o[s]="100%";break;case"center":o[c]=i?.5:Math.round(u/2),o[s]="50%"}}else o[c]=f,o[s]=e}),o},getFirstChildElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)for(var n=0;n<e.childNodes.length;n++){var r=ge(e.childNodes[n]);if(r&&(!r.excluded||t&&r.lineBreak))return r.element}return null},getLastChildElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)for(var n=e.childNodes.length-1;n>=0;n--){var r=ge(e.childNodes[n]);if(r&&r.naturalElement&&(!r.excluded||t&&r.lineBreak))return r.element}return null},hasFreeFormText:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];function n(e){return e.some(function(e){if("#text"===e.nodeName){if(se(e,t)||le(e,"whiteSpace","pre","pre-wrap")&&e.textContent&&""!==e.textContent)return!0}else if(n(Array.from(e.childNodes)))return!0;return!1})}return n("#text"===e.nodeName?[e]:Array.from(e.childNodes))},isPlainText:se,hasLineBreak:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=e.textContent||"";if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&(n=n.trim()),e.children&&Array.from(e.children).some(function(e){return"BR"===e.tagName}))return!0;if(!t&&/\n/.test(n)){var r=ge(e),a=r?r.css("whiteSpace"):oe(e).whiteSpace||"";return["pre","pre-wrap"].includes(a)||"#text"===e.nodeName&&le(e,"whiteSpace","pre","pre-wrap")}}return!1},isLineBreak:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=ge(e);return!!n&&("BR"===n.tagName||t&&n.excluded&&n.blockStatic)},getElementsBetween:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||e.parentElement===t.parentElement){var a=t.parentElement;if(a){var i=Array.from(a.childNodes),o=e?i.findIndex(function(t){return t===e}):0,l=i.findIndex(function(e){return e===t});if(-1!==o&&-1!==l&&o!==l){var u=i.slice(Math.min(o,l)+1,Math.max(o,l));return u=u.filter(n?function(e){return"#comment"!==e.nodeName}:function(e){return"#"!==e.nodeName.charAt(0)||se(e)}),r&&(u=u.filter(function(e){return ge(e)})),u}}}return[]},getPreviousElementSibling:function(e){if(e)for(e=e.previousSibling;e;){var t=ge(e);if(t&&(!t.excluded||t.lineBreak))return t.element;e=e.previousSibling}return null},getNextElementSibling:function(e){if(e)for(e=e.nextSibling;e;){var t=ge(e);if(t&&(!t.excluded||t.lineBreak))return t.element;e=e.nextSibling}return null},hasComputedStyle:fe,hasVisibleRect:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getBoundingClientRect();return 0!==n.width&&0!==n.height&&(!t||ve(n))},withinViewportOrigin:ve,setElementCache:he,getElementCache:de,deleteElementCache:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var a=0;a<n.length;a++)delete e["__".concat(n[a])]},getElementAsNode:ge,getElementAsNodeAttribute:function(e,t){var n=ge(e);return n&&void 0!==n[t]?n[t]:void 0}});function me(e,t){for(var n in e)t=t.replace(RegExp("\\t*<<".concat(n,">>[\\w\\W]*<<").concat(n,">>")),"{%".concat(n,"}"));return t}function ye(e){return"{".concat((arguments.length>1&&void 0!==arguments[1]?arguments[1]:":")+""+e,"}")}function Fe(e){for(var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\t",a=[],i=/\s*(<(\/)?([?\w]+)[^>]*>)\n?([^<]*)/g;null!==(t=i.exec(e));)a.push({tag:t[1],closing:!!t[2],tagName:t[3],value:""===t[4].trim()?"":t[4]});for(var o=/\/>\n*$/,l="",u=-1,c=function(e){var t=a[e],i=u;if(e>0){if(t.closing)u--;else if(i++,!o.exec(t.tag))if(n&&""===t.value.trim()){var c=a[e+1];c&&c.closing&&c.tagName===t.tagName?(t.tag=t.tag.replace(/\s*>$/," />"),e++):u++}else u++;t.tag.trim().split("\n").forEach(function(e,t){var n=i+(t>0?1:0);l+=(n>0?S(n,r):"")+e.trim()+"\n"})}else l+=t.tag+"\n";l+=t.value,s=e},s=0;s<a.length;s++)c(s);return l.trim()}var Ae,be,Ee=Object.freeze({formatPlaceholder:ye,replacePlaceholder:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a="number"==typeof t?ye(t):t;return e.replace(a,(r?a:"")+n+(r?"":a))},replaceIndent:function(e,t,n){if(t>=0){var r=-1;return e.split("\n").map(function(e){var a=n.exec(e);return a?(-1===r&&(r=a[2].length),a[1]+S(t+(a[2].length-r))+a[3]):e}).join("\n")}return e},replaceTab:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return t>0&&(e=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?e.split("\n").map(function(e){var n=e.match(/^(\t+)(.*)$/);return n?" ".repeat(t*n[1].length)+n[2]:e}).join("\n"):e.replace(/\t/g," ".repeat(t))),e},replaceEntity:function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t))}).replace(/\u00A0/g,"&#160;").replace(/\u2002/g,"&#8194;").replace(/\u2003/g,"&#8195;").replace(/\u2009/g,"&#8201;").replace(/\u200C/g,"&#8204;").replace(/\u200D/g,"&#8205;").replace(/\u200E/g,"&#8206;").replace(/\u200F/g,"&#8207;")},replaceCharacter:function(e){return e.replace(/&nbsp;/g,"&#160;").replace(/&(?!#?[A-Za-z0-9]{2,};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&apos;").replace(/"/g,"&quot;")},parseTemplate:function(e){var t={};return t.__ROOT__=me(function e(n){for(var r,a={},i=/(\t*<<(\w+)>>)\n*[\w\W]*\n*\1/g;null!==(r=i.exec(n));){var o=r[0].replace(RegExp("^".concat(r[1],"\\n")),"").replace(RegExp("".concat(r[1],"$")),"");a[r[2]]=me(e(o),o)}return Object.assign(t,a),a}(e),e),t},createTemplate:function e(n,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,o=void 0===i?n.__ROOT__:n[i],l=function(l){var u=r[l],c="",s="";if(null==u)return"continue";if(Array.isArray(u))if(s="%",Array.isArray(u[0])){var f=function(e){return"(\\t*##".concat(l,"-").concat(e,"##\\s*\\n)([\\w\\W]*?\\s*\\n)(\\t*##").concat(l,"-").concat(e,"##\\s*\\n)")},v=RegExp(f("start")+"([\\w\\W]*?)"+f("end")).exec(o);if(v){for(var h="",d="",g=u[0].length,p=Object.assign({},n),m=0;m<g;m++){var y="".concat(i,"_").concat(l,"_").concat(m);p[y]=v[2],h+=e(p,u[0][m],a,y),d=v[6]+d}o=o.replace(v[2],h).replace(v[6],d).replace(v[1],"").replace(v[3],"").replace(RegExp("\\t*".concat(v[5])),"").replace(RegExp("\\t*".concat(v[7])),"")}else c=!1}else if(0===u.length||"object"!==t(u[0]))c=!1;else{for(var F=0;F<u.length;F++)c+=e(n,u[F],a,""+l);c=""!==c&&k(c,"\n")}else s="[&~]",c="boolean"==typeof u?"":""+u;if(c)""!==c&&(o=o.replace(RegExp("{".concat(s+l,"}")),c));else{if(RegExp("{&".concat(l,"}")).test(o))return{v:""};"%"===s&&(o=o.replace(RegExp("[ \\t]*{%".concat(l,"}\\n*")),""))}};for(var u in r){var c=l(u);switch(c){case"continue":continue;default:if("object"===t(c))return c.v}}return void 0===i&&(o=o.replace(/\n*\t*{%\w+}\n+/g,"\n").replace(/\n\n/g,"\n").trim(),a&&(o=Fe(o))),o.replace(/\s*((\w+:)?\w+="[^"]*)?{~\w+}"?/g,"")},formatTemplate:Fe});e.settings={},e.system={};var xe=new Set,Ce=new Map;function Be(e){if(Ae){if(e instanceof squared.base.Extension)return Ae.extensionManager.include(e);if("string"==typeof e){e=e.trim();var t=Ae.builtInExtensions[e]||we(e);if(t)return Ae.extensionManager.include(t)}}return!1}function De(n,r){if("object"===t(r)){if(n instanceof squared.base.Extension)return Object.assign(n.options,r),!0;if("string"==typeof n&&Ae){n=n.trim();var a=Ae.extensionManager.retrieve(n)||Array.from(xe).find(function(e){return e.name===n});if(a)return Object.assign(a.options,r),!0;if(Ce.set(n,r),e.settings.handleExtensionsAsync)return!0}}return!1}function we(e){return Ae&&Ae.extensionManager.retrieve(e)}function ke(){Ae&&Ae.reset()}var Se={base:{Container:G},color:te,dom:pe,util:_,xml:Ee};e.setFramework=function(t){if(be!==t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.cached():t.create();if(void 0===be&&Object.assign(n.userSettings,e.settings),e.settings=n.userSettings,(Ae=n.application).userSettings=e.settings,Array.isArray(e.settings.builtInExtensions)){for(var r=new Set,a=Array.isArray(o=e.settings.builtInExtensions),i=0,o=a?o:o[Symbol.iterator]();;){var l;if(a){if(i>=o.length)break;l=o[i++]}else{if((i=o.next()).done)break;l=i.value}var u=l;if(u=u.trim(),Ae.builtInExtensions[u])r.add(Ae.builtInExtensions[u]);else for(var c in Ae.builtInExtensions)c.startsWith("".concat(u,"."))&&r.add(Ae.builtInExtensions[c])}for(var s=Array.isArray(v=r),f=0,v=s?v:v[Symbol.iterator]();;){var h;if(s){if(f>=v.length)break;h=v[f++]}else{if((f=v.next()).done)break;h=f.value}Ae.extensionManager.include(h)}}be=t,e.system=t.system}ke()},e.parseDocument=function t(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];if(Ae&&!Ae.closed){var o;if(e.settings.handleExtensionsAsync){for(var l=Array.isArray(c=xe),u=0,c=l?c:c[Symbol.iterator]();;){var s;if(l){if(u>=c.length)break;s=c[u++]}else{if((u=c.next()).done)break;s=u.value}Ae.extensionManager.include(s)}var f=Ce.entries(),v=Array.isArray(f),h=0;for(f=v?f:f[Symbol.iterator]();;){var d;if(v){if(h>=f.length)break;d=f[h++]}else{if((h=f.next()).done)break;d=h.value}var g=i(d,2);De(g[0],g[1])}xe.clear(),Ce.clear()}return(o=Ae).parseDocument.apply(o,r)}return{then:function(e){Ae?Ae.closed&&confirm("ERROR: Document is closed. Reset and rerun?")&&(Ae.reset(),t.call.apply(t,[null].concat(r)).then(e)):alert("ERROR: Framework not installed.")}}},e.include=Be,e.includeAsync=function(t){return!!Be(t)||!!(t instanceof squared.base.Extension&&(xe.add(t),e.settings.handleExtensionsAsync))},e.exclude=function(e){if(Ae){if(e instanceof squared.base.Extension)return xe.has(e)?(xe.delete(e),Ae.extensionManager.exclude(e),!0):Ae.extensionManager.exclude(e);if("string"==typeof e){e=e.trim();var t=Ae.extensionManager.retrieve(e);if(t)return Ae.extensionManager.exclude(t)}}return!1},e.configure=De,e.apply=function(e,n){return e instanceof squared.base.Extension?Be(e):"string"==typeof e&&(e=e.trim(),"object"===t(n)?De(e,n):we(e))},e.retrieve=we,e.ready=function(){return!!Ae&&!Ae.initialized&&!Ae.closed},e.close=function(){Ae&&!Ae.initialized&&Ae.size&&Ae.finalize()},e.reset=ke,e.saveAllToDisk=function(){Ae&&!Ae.initialized&&Ae.size&&(Ae.closed||Ae.finalize(),Ae.saveAllToDisk())},e.toString=function(){return Ae?""+Ae:""},e.lib=Se,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).squared={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e){this.wrapped=e}function r(e){var t,r;function a(t,r){try{var o=e[t](r),l=o.value,u=l instanceof n;Promise.resolve(u?l.wrapped:l).then(function(e){u?a("next",e):i(o.done?"return":"normal",e)},function(e){a("throw",e)})}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?a(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise(function(i,o){var l={key:e,arg:n,resolve:i,reject:o,next:null};r?r=r.next=l:(t=r=l,a(e,n))})},"function"!=typeof e.return&&(this.return=void 0)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}"function"==typeof Symbol&&Symbol.asyncIterator&&(r.prototype[Symbol.asyncIterator]=function(){return this}),r.prototype.next=function(e){return this._invoke("next",e)},r.prototype.throw=function(e){return this._invoke("throw",e)},r.prototype.return=function(e){return this._invoke("return",e)};function i(e,t){return l(e)||function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||c()}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(e){if(Array.isArray(e))return e}function u(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var s="ABCDEFGHIJKLMNOPQRSTUVWXYZ",f=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function v(e,t,n,r){for(var a=n.split("."),i=e,o=t,l=Array.isArray(c=a),u=0,c=l?c:c[Symbol.iterator]();;){var s;if(l){if(u>=c.length)break;s=c[u++]}else{if((u=c.next()).done)break;s=u.value}if(void 0===i[s]||void 0===o[s])return(void 0!==i[s]||void 0!==o[s])&&(void 0!==i[s]?[1,0]:[0,1]);i=i[s],o=o[s]}if(r){var f=parseInt(i),v=parseInt(o);if(!isNaN(f)&&!isNaN(v))return[f,v];if(!isNaN(f))return[1,0];if(!isNaN(v))return[0,1]}return[i,o]}var h={URL:/url\("?(.*?)"?\)/,URI:/^[A-Za-z]+:\/\//,UNIT:/^(?:\s*(-?[\d.]+)(px|em|ch|pc|pt|vw|vh|vmin|vmax|mm|cm|in))+$/,ATTRIBUTE:/([^\s]+)="([^"]+)"/};function d(e){return""!==e?!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?e.charAt(0).toUpperCase()+e.substring(1).toLowerCase():e.charAt(0).toLowerCase()+e.substring(1):e}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n=e.replace(RegExp("^".concat(t,"+")),"").match(RegExp("(".concat(t,"[a-z])"),"g"));return n&&n.forEach(function(t){return e=e.replace(t,t[1].toUpperCase())}),e}function p(e){return e&&parseFloat(e)||0}function m(e,t,n){if(e){if(E(e))return"".concat(e,"px");if((e=e.trim()).endsWith("px")||e.endsWith("%")||"auto"===e)return e;var r=e.match(h.UNIT);if(r){var a=parseFloat(r[1]);switch(r[2]){case"em":case"ch":a*=n||16;break;case"pc":a*=12;case"pt":a*=4/3;break;case"vw":a*=window.innerWidth/100;break;case"vh":a*=window.innerHeight/100;break;case"vmin":a*=Math.min(window.innerWidth,window.innerHeight)/100;break;case"vmax":a*=Math.max(window.innerWidth,window.innerHeight)/100;break;case"mm":a/=10;case"cm":a/=2.54;case"in":a*=t||96}return"".concat(a,"px")}}return"0px"}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e<1?"".concat(0===t?Math.round(100*e):parseFloat((100*e).toFixed(t)),"%"):"100%"}function y(e){return"string"==typeof e&&(e=parseFloat(e)),isNaN(e)?"0px":"".concat(Math.round(e),"px")}function A(e){return"string"==typeof e&&(e=parseFloat(e)),isNaN(e)?"0%":e<1?F(e):"".concat(Math.round(e),"%")}function b(e,t){return(e&t)===t}function E(e){return"number"==typeof e||/^-?\d+(\.\d+)?$/.test(e.trim())}function x(e){return"string"==typeof e&&""!==e}function C(e){return/^\d+(\.\d+)?%$/.test(e)}function B(e,n,r){var a,i=!1;if(e&&"object"===t(e)){a=e;var o=n.split("."),l=0;do{a=a[o[l]]}while(null!=a&&++l<o.length&&"string"!=typeof a&&"number"!=typeof a&&"boolean"!=typeof a);i=null!=a&&l===o.length}switch(r){case"object":return i?a:null;case"number":return i&&!isNaN(parseInt(a))?parseInt(a):0;case"boolean":return i&&!0===a;default:return i?""+a:""}}function D(e){if(!h.URI.test(e)){var t=location.pathname.split("/");if(t.pop(),"/"===e.charAt(0))e=location.origin+e;else if(e.startsWith("../")){var n,r=[],a=0;e.split("/").forEach(function(e){".."===e?a++:r.push(e)}),(n=t=t.slice(0,Math.max(t.length-a,0))).push.apply(n,r),e=location.origin+t.join("/")}else e="".concat(location.origin+t.join("/"),"/").concat(e)}return e}function k(e,t){return e?e.replace(RegExp("^".concat(t,"+"),"g"),""):""}function w(e,t){return e?e.replace(RegExp("".concat(t,"+$"),"g"),""):""}function S(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"\t").repeat(e)}function I(e){return null!=e&&""!==(""+e).trim()}function R(e,t){return e===t||Math.floor(e)===Math.floor(t)||Math.ceil(e)===Math.ceil(t)||Math.ceil(e)===Math.floor(t)||Math.floor(e)===Math.ceil(t)}function M(e){return e.length?Math.min.apply(null,e):1/0}function N(e){return e.length?Math.max.apply(null,e):-1/0}function O(e,t){for(var n=[],r=[],a=0;a<e.length;a++){var i=e[a];t(i,a)?n.push(i):r.push(i)}return[n,r]}function T(e,t,n){for(var r=0;r<e.length;r++)t(e[r],r,e)&&(n&&n(e[r],r,e),e.splice(r--,1));return e}function L(e,t){return e.map(function(e,n){return t(e,n)}).filter(function(e){return I(e)})}var _=Object.freeze({REGEXP_PATTERN:h,capitalize:d,convertUnderscore:function(e){var t=(e=e.charAt(0).toLowerCase()+e.substring(1)).match(/([a-z][A-Z])/g);return t&&t.forEach(function(t){return e=e.replace(t,"".concat(t[0],"_").concat(t[1].toLowerCase()))}),e},convertCamelCase:g,convertWord:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?(e=e.replace(/[^\w]/g,"_").trim(),t&&(e=e.replace(/-/g,"_")),e):""},convertInt:function(e){return e&&parseInt(e)||0},convertFloat:p,convertPX:m,convertPercent:F,convertAlpha:function e(t){for(var n="";t>=s.length;){var r=Math.floor(t/s.length);r>1&&r<=s.length?(n+=s.charAt(r-1),t-=r*s.length):r>s.length&&(n+=e(r*s.length),t-=r*s.length);var a=t%s.length;n+=s.charAt(a),t-=a+s.length}return n=s.charAt(t)+n},convertRoman:function(e){for(var t=(""+e).split(""),n="",r=3;r--;)n=(f[parseInt(t.pop()||"")+10*r]||"")+n;return"M".repeat(parseInt(t.join("")))+n},convertEnum:function(e,t,n){for(var r=Object.keys(t),a=0;a<r.length;a++){var i=r[a];if(e===t[i])return n[i]}return""},formatPX:y,formatPercent:A,formatString:function(e){for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++)e=e.replace("{".concat(t,"}"),t+1<1||arguments.length<=t+1?void 0:arguments[t+1]);return e},hasBit:b,isNumber:E,isString:x,isArray:function(e){return Array.isArray(e)&&e.length>0},isUnit:function(e){return h.UNIT.test(e)},isPercent:C,includes:function(e,t){return!!e&&e.split(arguments.length>2&&void 0!==arguments[2]?arguments[2]:",").map(function(e){return e.trim()}).includes(t)},cloneObject:function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var a in n)r[a]=n&&"object"===t(n[a])?e(n[a]):n[a];return r},optional:B,optionalAsObject:function(e,t){return B(e,t,"object")},optionalAsString:function(e,t){return B(e,t,"string")},optionalAsNumber:function(e,t){return B(e,t,"number")},optionalAsBoolean:function(e,t){return B(e,t,"boolean")},resolvePath:D,trimNull:function(e){return e?e.trim():""},trimString:function(e,t){return e?k(w(e,t),t):""},trimStart:k,trimEnd:w,repeat:S,indexOf:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var a=0;a<n.length;a++){var i=e.indexOf(n[a]);if(-1!==i)return i}return-1},lastIndexOf:function(e){return e.substring(e.lastIndexOf(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/")+1)},searchObject:function(e,n){var r,a=[];if("object"===t(n))for(var i in n){var o=n[i];I(e[o])&&a.push([o,e[o]])}else for(var l in r=/^\*.+\*$/.test(n)?function(e){return-1!==e.indexOf(n.replace(/\*/g,""))}:/^\*/.test(n)?function(e){return e.endsWith(n.replace(/\*/,""))}:/\*$/.test(n)?function(e){return e.startsWith(n.replace(/\*/,""))}:function(e){return e===n},e)r(l)&&a.push([l,e[l]]);return a},hasValue:I,withinRange:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t>=e-n&&t<=e+n},withinFraction:R,assignWhenNull:function(e,t){for(var n in t)I(e[n])||(e[n]=t[n])},defaultWhenNull:function(e){for(var n=e,r=0;r<(arguments.length<=1?0:arguments.length-1)-1;r++){var a=r+1<1||arguments.length<=r+1?void 0:arguments[r+1];if(r===(arguments.length<=1?0:arguments.length-1)-2)I(n[a])||(n[a]=r+1+1<1||arguments.length<=r+1+1?void 0:arguments[r+1+1]);else{if(!x(a))break;if("object"===t(n[a]))n=n[a];else{if(void 0!==n[a])break;n[a]={},n=n[a]}}}},minArray:M,maxArray:N,partitionArray:O,retainArray:function(e,t){var n=e.filter(t);e.length=0,e.push.apply(e,o(n))},spliceArray:T,sortArray:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return e.sort(function(e,n){for(var a=0;a<r.length;a++){var i=v(e,n,r[a],!0);if(i&&i[0]!==i[1])return t?i[0]>i[1]?1:-1:i[0]<i[1]?1:-1}return 0})},flatArray:function(e){for(var t=e;t.some(function(e){return Array.isArray(e)});)t=[].concat.apply([],t.filter(function(e){return e}));return t},flatMap:L}),G=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._children=[],Array.isArray(t)&&this.retain(t)}var t,n,r;return t=e,(n=[{key:Symbol.iterator,value:function(){var e=this._children,t=0;return{next:function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0,value:void 0}}}}},{key:"item",value:function(e,t){return void 0===e||void 0===t?void 0===e?this._children[this._children.length-1]:this._children[e]:e>=0&&e<this._children.length?(this._children[e]=t,t):void 0}},{key:"append",value:function(e){return this._children.push(e),this}},{key:"remove",value:function(e){for(var t=0;t<this._children.length;t++)if(e===this._children[t])return this._children.splice(t,1);return[]}},{key:"contains",value:function(e){return-1!==this._children.indexOf(e)}},{key:"retain",value:function(e){return this._children=e,this}},{key:"duplicate",value:function(){return this._children.slice(0)}},{key:"clear",value:function(){return this._children.length=0,this}},{key:"each",value:function(e){for(var t=0;t<this._children.length;t++)e(this._children[t],t);return this}},{key:"find",value:function(e,t){return this._children.find("string"==typeof e?function(n){return n[e]===t}:e)}},{key:"filter",value:function(e){return this._children.filter(e)}},{key:"map",value:function(e){return this._children.map(e)}},{key:"flatMap",value:function(e){return this._children.map(e).filter(function(e){return e})}},{key:"partition",value:function(e){return O(this._children,e)}},{key:"splice",value:function(e,t){return T(this._children,e,t)}},{key:"sort",value:function(e){return this._children.sort(e),this}},{key:"every",value:function(e){return this.length>0&&this._children.every(e)}},{key:"some",value:function(e){return this._children.some(e)}},{key:"cascade",value:function(){function t(n){for(var r=[],a=Array.isArray(l=n.children),i=0,l=a?l:l[Symbol.iterator]();;){var u;if(a){if(i>=l.length)break;u=l[i++]}else{if((i=l.next()).done)break;u=i.value}var c=u;r.push(c),c instanceof e&&c.length&&r.push.apply(r,o(t(c)))}return r}return t(this)}},{key:"children",get:function(){return this._children}},{key:"length",get:function(){return this._children.length}}])&&a(t.prototype,n),r&&a(t,r),e}(),P="0123456789ABCDEF",j={Pink:{value:"#FFC0CB"},LightPink:{value:"#FFB6C1"},HotPink:{value:"#FF69B4"},DeepPink:{value:"#FF1493"},PaleVioletRed:{value:"#DB7093"},MediumVioletRed:{value:"#C71585"},LightSalmon:{value:"#FFA07A"},Salmon:{value:"#FA8072"},DarkSalmon:{value:"#E9967A"},LightCoral:{value:"#F08080"},IndianRed:{value:"#CD5C5C"},Crimson:{value:"#DC143C"},Firebrick:{value:"#B22222"},DarkRed:{value:"#8B0000"},Red:{value:"#FF0000"},OrangeRed:{value:"#FF4500"},Tomato:{value:"#FF6347"},Coral:{value:"#FF7F50"},Orange:{value:"#FFA500"},DarkOrange:{value:"#FF8C00"},Yellow:{value:"#FFFF00"},LightYellow:{value:"#FFFFE0"},LemonChiffon:{value:"#FFFACD"},LightGoldenrodYellow:{value:"#FAFAD2"},PapayaWhip:{value:"#FFEFD5"},Moccasin:{value:"#FFE4B5"},PeachPuff:{value:"#FFDAB9"},PaleGoldenrod:{value:"#EEE8AA"},Khaki:{value:"#F0E68C"},DarkKhaki:{value:"#BDB76B"},Gold:{value:"#FFD700"},Cornsilk:{value:"#FFF8DC"},BlanchedAlmond:{value:"#FFEBCD"},Bisque:{value:"#FFE4C4"},NavajoWhite:{value:"#FFDEAD"},Wheat:{value:"#F5DEB3"},Burlywood:{value:"#DEB887"},Tan:{value:"#D2B48C"},RosyBrown:{value:"#BC8F8F"},SandyBrown:{value:"#F4A460"},Goldenrod:{value:"#DAA520"},DarkGoldenrod:{value:"#B8860B"},Peru:{value:"#CD853F"},Chocolate:{value:"#D2691E"},SaddleBrown:{value:"#8B4513"},Sienna:{value:"#A0522D"},Brown:{value:"#A52A2A"},Maroon:{value:"#800000"},DarkOliveGreen:{value:"#556B2F"},Olive:{value:"#808000"},OliveDrab:{value:"#6B8E23"},YellowGreen:{value:"#9ACD32"},LimeGreen:{value:"#32CD32"},Lime:{value:"#00FF00"},LawnGreen:{value:"#7CFC00"},Chartreuse:{value:"#7FFF00"},GreenYellow:{value:"#ADFF2F"},SpringGreen:{value:"#00FF7F"},MediumSpringGreen:{value:"#00FA9A"},LightGreen:{value:"#90EE90"},PaleGreen:{value:"#98FB98"},DarkSeaGreen:{value:"#8FBC8F"},MediumAquamarine:{value:"#66CDAA"},MediumSeaGreen:{value:"#3CB371"},SeaGreen:{value:"#2E8B57"},ForestGreen:{value:"#228B22"},Green:{value:"#008000"},DarkGreen:{value:"#006400"},Aqua:{value:"#00FFFF"},Cyan:{value:"#00FFFF"},LightCyan:{value:"#E0FFFF"},PaleTurquoise:{value:"#AFEEEE"},Aquamarine:{value:"#7FFFD4"},Turquoise:{value:"#40E0D0"},DarkTurquoise:{value:"#00CED1"},MediumTurquoise:{value:"#48D1CC"},LightSeaGreen:{value:"#20B2AA"},CadetBlue:{value:"#5F9EA0"},DarkCyan:{value:"#008B8B"},Teal:{value:"#008080"},LightSteelBlue:{value:"#B0C4DE"},PowderBlue:{value:"#B0E0E6"},LightBlue:{value:"#ADD8E6"},SkyBlue:{value:"#87CEEB"},LightSkyBlue:{value:"#87CEFA"},DeepSkyBlue:{value:"#00BFFF"},DodgerBlue:{value:"#1E90FF"},Cornflower:{value:"#6495ED"},SteelBlue:{value:"#4682B4"},RoyalBlue:{value:"#4169E1"},Blue:{value:"#0000FF"},MediumBlue:{value:"#0000CD"},DarkBlue:{value:"#00008B"},Navy:{value:"#000080"},MidnightBlue:{value:"#191970"},Lavender:{value:"#E6E6FA"},Thistle:{value:"#D8BFD8"},Plum:{value:"#DDA0DD"},Violet:{value:"#EE82EE"},Orchid:{value:"#DA70D6"},Fuchsia:{value:"#FF00FF"},Magenta:{value:"#FF00FF"},MediumOrchid:{value:"#BA55D3"},MediumPurple:{value:"#9370DB"},BlueViolet:{value:"#8A2BE2"},DarkViolet:{value:"#9400D3"},DarkOrchid:{value:"#9932CC"},DarkMagenta:{value:"#8B008B"},Purple:{value:"#800080"},RebeccaPurple:{value:"#663399"},Indigo:{value:"#4B0082"},DarkSlateBlue:{value:"#483D8B"},SlateBlue:{value:"#6A5ACD"},MediumSlateBlue:{value:"#7B68EE"},White:{value:"#FFFFFF"},Snow:{value:"#FFFAFA"},Honeydew:{value:"#F0FFF0"},MintCream:{value:"#F5FFFA"},Azure:{value:"#F0FFFF"},AliceBlue:{value:"#F0F8FF"},GhostWhite:{value:"#F8F8FF"},WhiteSmoke:{value:"#F5F5F5"},Seashell:{value:"#FFF5EE"},Beige:{value:"#F5F5DC"},OldLace:{value:"#FDF5E6"},FloralWhite:{value:"#FFFAF0"},Ivory:{value:"#FFFFF0"},AntiqueWhite:{value:"#FAEBD7"},Linen:{value:"#FAF0E6"},LavenderBlush:{value:"#FFF0F5"},MistyRose:{value:"#FFE4E1"},Gainsboro:{value:"#DCDCDC"},LightGray:{value:"#D3D3D3"},Silver:{value:"#C0C0C0"},DarkGray:{value:"#A9A9A9"},Gray:{value:"#808080"},DimGray:{value:"#696969"},LightSlateGray:{value:"#778899"},SlateGray:{value:"#708090"},DarkSlateGray:{value:"#2F4F4F"},LightGrey:{value:"#D3D3D3"},DarkGrey:{value:"#A9A9A9"},Grey:{value:"#808080"},DimGrey:{value:"#696969"},LightSlateGrey:{value:"#778899"},SlateGrey:{value:"#708090"},DarkSlateGrey:{value:"#2F4F4F"},Black:{value:"#000000"}},W=/[A-Za-z\d]{3,}/,z=/rgba?\((\d+), (\d+), (\d+)(?:, ([\d.]+))?\)/,U=[];for(var X in j){var V=j[X];V.name=X;var q=J(V.value);q&&(V.rgba=q,V.hsl=H(V.rgba),U.push(V))}function H(e){var t=e.r,n=void 0===t?0:t,r=e.g,a=void 0===r?0:r,i=e.b,o=void 0===i?0:i,l=Math.min(n/=255,a/=255,o/=255),u=Math.max(n,a,o),c=(u+l)/2,s=c,f=c;if(u===l)c=0,s=0;else{var v=u-l;switch(s=f>.5?v/(2-u-l):v/(u+l),u){case n:c=(a-o)/v+(a<o?6:0);break;case a:c=(o-n)/v+2;break;case o:c=(n-a)/v+4}c/=6}return{h:360*c,s:100*s,l:100*f}}function Y(e,t){if(e.hsl&&t.hsl){var n=e.hsl.h,r=t.hsl.h;return n===r&&(n=e.hsl.s)===(r=t.hsl.s)&&(n=e.hsl.l,r=t.hsl.l),n>=r?1:-1}return 0}function $(e){return"rgb".concat(e.a<255?"a":"","(").concat(e.r,", ").concat(e.g,", ").concat(e.b).concat(e.a<255?", ".concat((e.a/255).toFixed(2)):"",")")}function K(e){return parseFloat(e)<1?Q(255*parseFloat(e)):"FF"}function Z(e){for(var t in j)if(t.toLowerCase()===e.trim().toLowerCase())return j[t]}function Q(){for(var e="",t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var a=0;a<n.length;a++){var i=n[a],o="string"==typeof i?parseInt(i):i;if(isNaN(o))return"00";e+=P.charAt(((o=Math.max(0,Math.min(o,255)))-o%16)/16)+P.charAt(o%16)}return e}function J(e){if(e=e.replace(/#/g,"").trim(),W.test(e)){var t=255;switch(e.length){case 4:t=parseInt(e.charAt(3).repeat(2),16);case 3:e=e.charAt(0).repeat(2)+e.charAt(1).repeat(2)+e.charAt(2).repeat(2);break;case 5:e+=e.charAt(4);break;default:e.length>=8&&(t=parseInt(e.substring(6,8),16)),e=e.substring(0,6)}if(6===e.length)return{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4),16),a:t}}}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1";if(e&&"initial"!==e&&"transparent"!==e){if(""===t.trim()&&(t="1"),"#"===e.charAt(0)){var n=J(e);n&&(e=$(n))}else if(!e.startsWith("rgb")){var r=Z(e);r&&r.rgba&&(r.rgba.a=parseFloat(K(t)),e=$(r.rgba))}var a=e.match(z);if(a&&a.length>=4&&(void 0===a[4]||parseFloat(a[4])>0)){void 0===a[4]&&(a[4]=parseFloat(t).toFixed(2));var i=Q(a[1])+Q(a[2])+Q(a[3]),o=K(a[4]),l="#".concat(i+o),u=parseFloat(a[4]);return{valueRGB:"#".concat(i),valueRGBA:l,valueARGB:"#".concat(o+i),alpha:u,rgba:J(l),opaque:u<1,visible:u>0}}}}U.sort(Y);var te=Object.freeze({getColorByName:Z,getColorByShade:function(e){var t=U.slice(0),n=t.findIndex(function(t){return t.value===e});if(-1!==n)return t[n];var r=J(e);if(r){var a=H(r);if(a)return t.push({name:"",value:"",hsl:a,rgba:{r:-1,g:-1,b:-1,a:1}}),t.sort(Y),n=t.findIndex(function(e){return""===e.name}),t[Math.min(n+1,t.length-1)]}},convertHex:Q,convertRGBA:J,parseRGBA:ee,reduceRGBA:function(e,t){var n=J(e);if(n){var r=t<0?0:255;return n.r=Math.round((r-n.r)*(t=Math.abs(t)))+n.r,n.g=Math.round((r-n.g)*t)+n.g,n.b=Math.round((r-n.b)*t)+n.b,ee($(n))}}});function ne(){return{top:0,left:0,right:0,bottom:0}}function re(){return Object.assign({width:0,height:0},{top:0,left:0,right:0,bottom:0})}function ae(e,t,n,r){return arguments.length>4&&void 0!==arguments[4]&&arguments[4]?C(e)?p(e)/100:parseFloat(m(e,n,r))/t:C(e)?Math.round(t*(p(e)/100)):parseFloat(m(e,n,r))}function ie(e){return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function oe(e){if(e){if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var t=de(e,"style");if(t)return t;var n=ge(e);if(n&&n.plainText)return n.unsafe("styleMap")}if(fe(e)){var r=getComputedStyle(e);return he(e,"style",r),r}}return{display:"none"}}function le(e,t){if(e){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];if("#"!==e.nodeName.charAt(0)&&r.includes(oe(e)[t]))return!0;if(e.parentElement)return r.includes(oe(e.parentElement)[t])}return!1}function ue(e,n){var r="";if("object"===t(e.style)&&(r=e.style[n]),!r){var a=de(e,"styleMap");a&&(r=a[n])}return r||""}function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t),a=ge(e),i=a&&a.cssInitial(r)||ue(e,r);if(!i){var o=e.attributes.getNamedItem(t);o&&(i=o.value.trim())}return i||n&&oe(e)[r]||""}function se(e){if(e&&"#text"===e.nodeName&&e.textContent){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){for(var t=e.textContent,n=!1,r=0;r<t.length;r++)switch(t.charCodeAt(r)){case 9:case 10:case 13:case 32:continue;default:n=!0}return n&&""!==t}return""!==e.textContent.trim()}return!1}function fe(e){return!!e&&"object"===t(e.style)}function ve(e){return!(e.left<0&&e.top<0&&Math.abs(e.left)>=e.width&&Math.abs(e.top)>=e.height)}function he(e,t,n){e["__".concat(t)]=n}function de(e,t){return e["__".concat(t)]||void 0}function ge(e){return x(e.className)&&e.className.startsWith("squared")?void 0:de(e,"node")}var pe=Object.freeze({ELEMENT_BLOCK:["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","CANVAS","DD","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","LI","MAIN","NAV","OL","OUTPUT","P","PRE","SECTION","TFOOT","TH","THEAD","TR","UL","VIDEO"],ELEMENT_INLINE:["A","ABBR","ACRONYM","B","BDO","BIG","BR","BUTTON","CITE","CODE","DFN","EM","I","IFRAME","IMG","INPUT","KBD","LABEL","MAP","OBJECT","Q","S","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRIKE","STRONG","SUB","SUP","TEXTAREA","TIME","TT","U","VAR","PLAINTEXT"],isUserAgent:function(e){if("string"==typeof e){var t=e.toUpperCase();e=0,-1!==t.indexOf("CHROME")&&(e|=2),-1!==t.indexOf("SAFARI")&&(e|=4),-1!==t.indexOf("FIREFOX")&&(e|=16),-1!==t.indexOf("EDGE")&&(e|=8)}return b(e,-1!==navigator.userAgent.indexOf("Edge")?8:-1!==navigator.userAgent.indexOf("Firefox")?16:-1===navigator.userAgent.indexOf("Chrome")&&-1!==navigator.userAgent.indexOf("Safari")?4:2)},getKeyframeRules:function(){for(var e=new Map,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules)for(var r=0;r<n.cssRules.length;r++){var a=n.cssRules[r];try{a instanceof CSSKeyframesRule&&function(){var t={};Array.from(a.cssRules).forEach(function(e){var n=/((?:\d+%\s*,?\s*)+|from|to)\s*{\s*(.*?)\s*}/.exec(e.cssText);if(n)for(var r=(e.keyText||n[1].trim()).split(",").map(function(e){return e.trim()}),a=L(n[2].split(";"),function(e){return e.trim()}),o=Array.isArray(u=r),l=0,u=o?u:u[Symbol.iterator]();;){var c;if(o){if(l>=u.length)break;c=u[l++]}else{if((l=u.next()).done)break;c=l.value}var s=c;switch(s){case"from":s="0%";break;case"to":s="100%"}t[s]={};for(var f=Array.isArray(h=a),v=0,h=f?h:h[Symbol.iterator]();;){var d;if(f){if(v>=h.length)break;d=h[v++]}else{if((v=h.next()).done)break;d=v.value}var g=i(d.split(":").map(function(e){return e.trim()}),2),p=g[0],m=g[1];""!==p&&""!==m&&(t[s][p]=m)}}}),e.set(a.name,t)}()}catch(e){}}}return e},getDataSet:function(e,t){var n={};if(fe(e))for(var r in t=g(t,"\\."),e.dataset)r.length>t.length&&r.startsWith(t)&&(n[d(r.substring(t.length),!1)]=e.dataset[r]);return n},newBoxRect:ne,newRectDimension:re,newBoxModel:function(){return{marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0}},getDOMRect:function(e){var t=e.getBoundingClientRect();return t.x=t.left,t.y=t.top,t},createElement:function(e){var t=document.createElement(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"div":"span"),n=t.style;return n.position="static",n.margin="0px",n.padding="0px",n.border="none",n.cssFloat="none",n.clear="none",n.display="none",t.className="__css.placeholder",e&&e.appendChild(t),t},removeElementsByClassName:function(e){Array.from(document.getElementsByClassName(e)).forEach(function(e){return e.parentElement&&e.parentElement.removeChild(e)})},convertClientUnit:ae,getRangeClientRect:function(e){var t=document.createRange();t.selectNodeContents(e);var n=Array.from(t.getClientRects()).filter(function(e){return!(0===Math.round(e.width)&&R(e.left,e.right))}),r=re(),a=0;if(n.length){r=ie(n[0]);for(var i=new Set([r.top]),o=new Set([r.bottom]),l=1;l<n.length;l++){var u=n[l];i.add(u.top),o.add(u.bottom),r.width+=u.width,r.right=Math.max(u.right,r.right),r.height=Math.max(u.height,r.height)}i.size>1&&o.size>1&&(r.top=M(Array.from(i)),r.bottom=N(Array.from(o)),n[n.length-1].top>=n[0].bottom&&e.textContent&&(""!==e.textContent.trim()||/^\s*\n/.test(e.textContent))&&(a=n.length-1))}return Object.assign({},r,{multiline:a})},assignBounds:ie,getStyle:oe,cssResolveUrl:function(e){var t=e.match(h.URL);return t?D(t[1]):""},cssInherit:function(e,t,n,r){var a="";if(e)for(var i=e.parentElement;i&&(void 0===r||!r.includes(i.tagName))&&(("inherit"===(a=oe(i)[t]||"")||n&&n.some(function(e){return-1!==a.indexOf(e)}))&&(a=""),i!==document.body&&!a);)i=i.parentElement;return a},cssParent:le,cssFromParent:function(e,t){if(fe(e)&&e.parentElement){var n=ge(e),r=oe(e);if(n&&r)return r[t]===oe(e.parentElement)[t]&&!n.cssInitial(t)}return!1},cssInline:ue,cssAttribute:ce,cssInheritAttribute:function(e,t){for(var n=e,r="";n&&(""===(r=ce(n,t))||"inherit"===r);)n=n.parentElement;return r},getBackgroundPosition:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o={top:0,left:0,right:0,bottom:0,horizontal:"left",vertical:"top",originalX:"",originalY:""},l="center"===e?["center","center"]:e.split(" ");return 4===l.length?l.forEach(function(e,l){switch(l){case 0:o.horizontal=e;break;case 2:o.vertical=e;break;case 1:case 3:var u=ae(e,1===l?t.width:t.height,n,r,i);1===l?a?"right"===o.horizontal?(o.originalX=C(e)?A(100-parseInt(e)):y(t.width-parseInt(m(e,n,r))),o.right=u,o.left=i?1-u:t.width-u):(o.left=u,o.originalX=e):"center"!==o.horizontal&&(o[o.horizontal]=u):a?"bottom"===o.vertical?(o.originalY=C(e)?A(100-parseInt(e)):y(t.height-parseInt(m(e,n,r))),o.bottom=u,o.top=i?1-u:t.height-u):(o.top=u,o.originalY=e):"center"!==o.vertical&&(o[o.vertical]=u)}}):2===l.length&&l.forEach(function(e,l){var u=0===l?t.width:t.height,c=0===l?"left":"top",s=0===l?"originalX":"originalY",f=ae(e,u,n,r,i);if(C(e))o[c]=f,o[s]=e;else if(/^[a-z]+$/.test(e)){if(o[0===l?"horizontal":"vertical"]=e,a)switch(e){case"left":case"top":o[s]="0%";break;case"right":case"bottom":o[c]=i?1:u,o[s]="100%";break;case"center":o[c]=i?.5:Math.round(u/2),o[s]="50%"}}else o[c]=f,o[s]=e}),o},getFirstChildElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)for(var n=0;n<e.childNodes.length;n++){var r=ge(e.childNodes[n]);if(r&&(!r.excluded||t&&r.lineBreak))return r.element}return null},getLastChildElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)for(var n=e.childNodes.length-1;n>=0;n--){var r=ge(e.childNodes[n]);if(r&&r.naturalElement&&(!r.excluded||t&&r.lineBreak))return r.element}return null},hasFreeFormText:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];function n(e){return e.some(function(e){if("#text"===e.nodeName){if(se(e,t)||le(e,"whiteSpace","pre","pre-wrap")&&e.textContent&&""!==e.textContent)return!0}else if(n(Array.from(e.childNodes)))return!0;return!1})}return n("#text"===e.nodeName?[e]:Array.from(e.childNodes))},isPlainText:se,hasLineBreak:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=e.textContent||"";if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&(n=n.trim()),e.children&&Array.from(e.children).some(function(e){return"BR"===e.tagName}))return!0;if(!t&&/\n/.test(n)){var r=ge(e),a=r?r.css("whiteSpace"):oe(e).whiteSpace||"";return["pre","pre-wrap"].includes(a)||"#text"===e.nodeName&&le(e,"whiteSpace","pre","pre-wrap")}}return!1},isLineBreak:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=ge(e);return!!n&&("BR"===n.tagName||t&&n.excluded&&n.blockStatic)},getElementsBetween:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||e.parentElement===t.parentElement){var a=t.parentElement;if(a){var i=Array.from(a.childNodes),o=e?i.findIndex(function(t){return t===e}):0,l=i.findIndex(function(e){return e===t});if(-1!==o&&-1!==l&&o!==l){var u=i.slice(Math.min(o,l)+1,Math.max(o,l));return u=u.filter(n?function(e){return"#comment"!==e.nodeName}:function(e){return"#"!==e.nodeName.charAt(0)||se(e)}),r&&(u=u.filter(function(e){return ge(e)})),u}}}return[]},getPreviousElementSibling:function(e){if(e)for(e=e.previousSibling;e;){var t=ge(e);if(t&&(!t.excluded||t.lineBreak))return t.element;e=e.previousSibling}return null},getNextElementSibling:function(e){if(e)for(e=e.nextSibling;e;){var t=ge(e);if(t&&(!t.excluded||t.lineBreak))return t.element;e=e.nextSibling}return null},hasComputedStyle:fe,hasVisibleRect:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getBoundingClientRect();return 0!==n.width&&0!==n.height&&(!t||ve(n))},withinViewportOrigin:ve,setElementCache:he,getElementCache:de,deleteElementCache:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var a=0;a<n.length;a++)delete e["__".concat(n[a])]},getElementAsNode:ge,getElementAsNodeAttribute:function(e,t){var n=ge(e);return n&&void 0!==n[t]?n[t]:void 0}});function me(e,t){for(var n in e)t=t.replace(RegExp("\\t*<<".concat(n,">>[\\w\\W]*<<").concat(n,">>")),"{%".concat(n,"}"));return t}function Fe(e){return"{".concat((arguments.length>1&&void 0!==arguments[1]?arguments[1]:":")+""+e,"}")}function ye(e){for(var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\t",a=[],i=/\s*(<(\/)?([?\w]+)[^>]*>)\n?([^<]*)/g;null!==(t=i.exec(e));)a.push({tag:t[1],closing:!!t[2],tagName:t[3],value:""===t[4].trim()?"":t[4]});for(var o=/\/>\n*$/,l="",u=-1,c=function(e){var t=a[e],i=u;if(e>0){if(t.closing)u--;else if(i++,!o.exec(t.tag))if(n&&""===t.value.trim()){var c=a[e+1];c&&c.closing&&c.tagName===t.tagName?(t.tag=t.tag.replace(/\s*>$/," />"),e++):u++}else u++;t.tag.trim().split("\n").forEach(function(e,t){var n=i+(t>0?1:0);l+=(n>0?S(n,r):"")+e.trim()+"\n"})}else l+=t.tag+"\n";l+=t.value,s=e},s=0;s<a.length;s++)c(s);return l.trim()}var Ae,be,Ee=Object.freeze({formatPlaceholder:Fe,replacePlaceholder:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a="number"==typeof t?Fe(t):t;return e.replace(a,(r?a:"")+n+(r?"":a))},replaceIndent:function(e,t,n){if(t>=0){var r=-1;return e.split("\n").map(function(e){var a=n.exec(e);return a?(-1===r&&(r=a[2].length),a[1]+S(t+(a[2].length-r))+a[3]):e}).join("\n")}return e},replaceTab:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return t>0&&(e=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?e.split("\n").map(function(e){var n=e.match(/^(\t+)(.*)$/);return n?" ".repeat(t*n[1].length)+n[2]:e}).join("\n"):e.replace(/\t/g," ".repeat(t))),e},replaceEntity:function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t))}).replace(/\u00A0/g,"&#160;").replace(/\u2002/g,"&#8194;").replace(/\u2003/g,"&#8195;").replace(/\u2009/g,"&#8201;").replace(/\u200C/g,"&#8204;").replace(/\u200D/g,"&#8205;").replace(/\u200E/g,"&#8206;").replace(/\u200F/g,"&#8207;")},replaceCharacter:function(e){return e.replace(/&nbsp;/g,"&#160;").replace(/&(?!#?[A-Za-z0-9]{2,};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&apos;").replace(/"/g,"&quot;")},parseTemplate:function(e){var t={};return t.__ROOT__=me(function e(n){for(var r,a={},i=/(\t*<<(\w+)>>)\n*[\w\W]*\n*\1/g;null!==(r=i.exec(n));){var o=r[0].replace(RegExp("^".concat(r[1],"\\n")),"").replace(RegExp("".concat(r[1],"$")),"");a[r[2]]=me(e(o),o)}return Object.assign(t,a),a}(e),e),t},createTemplate:function e(n,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,o=void 0===i?n.__ROOT__:n[i],l=function(l){var u=r[l],c="",s="";if(null==u)return"continue";if(Array.isArray(u))if(s="%",Array.isArray(u[0])){var f=function(e){return"(\\t*##".concat(l,"-").concat(e,"##\\s*\\n)([\\w\\W]*?\\s*\\n)(\\t*##").concat(l,"-").concat(e,"##\\s*\\n)")},v=RegExp(f("start")+"([\\w\\W]*?)"+f("end")).exec(o);if(v){for(var h="",d="",g=u[0].length,p=Object.assign({},n),m=0;m<g;m++){var F="".concat(i,"_").concat(l,"_").concat(m);p[F]=v[2],h+=e(p,u[0][m],a,F),d=v[6]+d}o=o.replace(v[2],h).replace(v[6],d).replace(v[1],"").replace(v[3],"").replace(RegExp("\\t*".concat(v[5])),"").replace(RegExp("\\t*".concat(v[7])),"")}else c=!1}else if(0===u.length||"object"!==t(u[0]))c=!1;else{for(var y=0;y<u.length;y++)c+=e(n,u[y],a,""+l);c=""!==c&&w(c,"\n")}else s="[&~]",c="boolean"==typeof u?"":""+u;if(c)""!==c&&(o=o.replace(RegExp("{".concat(s+l,"}")),c));else{if(RegExp("{&".concat(l,"}")).test(o))return{v:""};"%"===s&&(o=o.replace(RegExp("[ \\t]*{%".concat(l,"}\\n*")),""))}};for(var u in r){var c=l(u);switch(c){case"continue":continue;default:if("object"===t(c))return c.v}}return void 0===i&&(o=o.replace(/\n*\t*{%\w+}\n+/g,"\n").replace(/\n\n/g,"\n").trim(),a&&(o=ye(o))),o.replace(/\s*((\w+:)?\w+="[^"]*)?{~\w+}"?/g,"")},formatTemplate:ye});e.settings={},e.system={};var xe=new Set,Ce=new Map;function Be(e){if(Ae){if(e instanceof squared.base.Extension)return Ae.extensionManager.include(e);if("string"==typeof e){e=e.trim();var t=Ae.builtInExtensions[e]||ke(e);if(t)return Ae.extensionManager.include(t)}}return!1}function De(n,r){if("object"===t(r)){if(n instanceof squared.base.Extension)return Object.assign(n.options,r),!0;if("string"==typeof n&&Ae){n=n.trim();var a=Ae.extensionManager.retrieve(n)||Array.from(xe).find(function(e){return e.name===n});if(a)return Object.assign(a.options,r),!0;if(Ce.set(n,r),e.settings.handleExtensionsAsync)return!0}}return!1}function ke(e){return Ae&&Ae.extensionManager.retrieve(e)}function we(){Ae&&Ae.reset()}var Se={base:{Container:G},color:te,dom:pe,util:_,xml:Ee};e.setFramework=function(t){if(be!==t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.cached():t.create();if(void 0===be&&Object.assign(n.userSettings,e.settings),e.settings=n.userSettings,(Ae=n.application).userSettings=e.settings,Array.isArray(e.settings.builtInExtensions)){for(var r=new Set,a=Array.isArray(o=e.settings.builtInExtensions),i=0,o=a?o:o[Symbol.iterator]();;){var l;if(a){if(i>=o.length)break;l=o[i++]}else{if((i=o.next()).done)break;l=i.value}var u=l;if(u=u.trim(),Ae.builtInExtensions[u])r.add(Ae.builtInExtensions[u]);else for(var c in Ae.builtInExtensions)c.startsWith("".concat(u,"."))&&r.add(Ae.builtInExtensions[c])}for(var s=Array.isArray(v=r),f=0,v=s?v:v[Symbol.iterator]();;){var h;if(s){if(f>=v.length)break;h=v[f++]}else{if((f=v.next()).done)break;h=f.value}Ae.extensionManager.include(h)}}be=t,e.system=t.system}we()},e.parseDocument=function t(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];if(Ae&&!Ae.closed){var o;if(e.settings.handleExtensionsAsync){for(var l=Array.isArray(c=xe),u=0,c=l?c:c[Symbol.iterator]();;){var s;if(l){if(u>=c.length)break;s=c[u++]}else{if((u=c.next()).done)break;s=u.value}Ae.extensionManager.include(s)}var f=Ce.entries(),v=Array.isArray(f),h=0;for(f=v?f:f[Symbol.iterator]();;){var d;if(v){if(h>=f.length)break;d=f[h++]}else{if((h=f.next()).done)break;d=h.value}var g=i(d,2);De(g[0],g[1])}xe.clear(),Ce.clear()}return(o=Ae).parseDocument.apply(o,r)}return{then:function(e){Ae?Ae.closed&&confirm("ERROR: Document is closed. Reset and rerun?")&&(Ae.reset(),t.call.apply(t,[null].concat(r)).then(e)):alert("ERROR: Framework not installed.")}}},e.include=Be,e.includeAsync=function(t){return!!Be(t)||!!(t instanceof squared.base.Extension&&(xe.add(t),e.settings.handleExtensionsAsync))},e.exclude=function(e){if(Ae){if(e instanceof squared.base.Extension)return xe.has(e)?(xe.delete(e),Ae.extensionManager.exclude(e),!0):Ae.extensionManager.exclude(e);if("string"==typeof e){e=e.trim();var t=Ae.extensionManager.retrieve(e);if(t)return Ae.extensionManager.exclude(t)}}return!1},e.configure=De,e.apply=function(e,n){return e instanceof squared.base.Extension?Be(e):"string"==typeof e&&(e=e.trim(),"object"===t(n)?De(e,n):ke(e))},e.retrieve=ke,e.ready=function(){return!!Ae&&!Ae.initialized&&!Ae.closed},e.close=function(){Ae&&!Ae.initialized&&Ae.size&&Ae.finalize()},e.reset=we,e.saveAllToDisk=function(){Ae&&!Ae.initialized&&Ae.size&&(Ae.closed||Ae.finalize(),Ae.saveAllToDisk())},e.toString=function(){return Ae?""+Ae:""},e.lib=Se,Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "squared",
"version": "0.6.0",
"version": "0.6.1",
"description": "Converts and optimizes HTML and SVG using JavaScript into the various standard Android layouts in XML with support for CSS/SMIL animations. Easiest to use and also most accurate. Compatible with Chrome and Safari.",

@@ -63,3 +63,3 @@ "main": "dist/squared.js",

"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-terser": "^4.0.3",
"rollup-plugin-terser": "^4.0.4",
"systemjs": "^0.21.6",

@@ -69,4 +69,4 @@ "systemjs-plugin-babel": "0.0.25",

"tslint": "^5.12.1",
"typescript": "^3.3.1"
"typescript": "^3.3.3"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc