@hulkapps/app-manager-vue 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  var AppManagerVue=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function i(t,e,n,o,r,a,i){try{var s=t[a](i),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(o,r)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var a=t.apply(e,n);function s(t){i(a,o,r,s,l,"next",t)}function l(t){i(a,o,r,s,l,"throw",t)}s(void 0)}))}}function l(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var o,r,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(o=n.next()).done)&&(a.push(o.value),!e||a.length!==e);i=!0);}catch(t){s=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(s)throw r}}return a}(t,e)||f(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||f(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){if(t){if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=f(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0,r=function(){};return{s:r,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}function g(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter(Boolean).join(" ")}function m(t,e){return"".concat(t).concat(e.charAt(0).toUpperCase()).concat(e.slice(1))}function y(t,e,n,o,r,a,i,s,l,u){"boolean"!=typeof i&&(l=s,s=i,i=!1);const c="function"==typeof n?n.options:n;let h;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,r&&(c.functional=!0)),o&&(c._scopeId=o),a?(h=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=h):e&&(h=i?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),h)if(c.functional){const t=c.render;c.render=function(e,n){return h.call(n),t(e,n)}}else{const t=c.beforeCreate;c.beforeCreate=t?[].concat(t,h):[h]}return n}var w={name:"PLayoutSection",props:{secondary:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},oneHalf:{type:Boolean,default:!1},oneThird:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-Layout__Section",this.secondary&&"Polaris-Layout__Section--secondary",this.fullWidth&&"Polaris-Layout__Section--fullWidth",this.oneHalf&&"Polaris-Layout__Section--oneHalf",this.oneThird&&"Polaris-Layout__Section--oneThird")}}},b=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,w,undefined,false,undefined,!1,void 0,void 0,void 0),_=b,M=Object.freeze({__proto__:null,AccessibilityMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 18C2.334 18 .061 10.352.038 10.274a1 1 0 0 1 0-.548C.061 9.648 2.334 2 10 2c7.633 0 9.927 6.617 9.948 6.684a1 1 0 1 1-1.895.635A8.348 8.348 0 0 0 10 4c-5.467 0-7.513 4.772-7.948 6 .434 1.225 2.479 6 7.948 6a1 1 0 0 1 0 2zm0-4c-2.206 0-4-1.794-4-4s1.794-4 4-4 4 1.794 4 4a1 1 0 1 1-2 0c0-1.103-.897-2-2-2s-2 .897-2 2 .897 2 2 2a1 1 0 0 1 0 2zm5 4a.997.997 0 0 1-.707-.293l-2-2a1 1 0 0 1 1.414-1.414L15 15.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-4 4A.995.995 0 0 1 15 18z"/></svg>',ActivitiesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18.111.221a3.04 3.04 0 0 1 1.002.66h-.003a2.992 2.992 0 0 1 .89 2.18c-.224 14.324-4.22 16.692-16.931 16.94h-.06c-.797 0-1.548-.31-2.12-.88A2.989 2.989 0 0 1 0 16.937C.226 2.615 4.22.248 16.932 0c.404-.005.805.07 1.179.221zM7.879 7.88a1 1 0 0 1 1.414 0l.708.707 1.414-1.414-.707-.707a1 1 0 0 1 1.414-1.414l.707.707 1.464-1.465a1 1 0 1 1 1.415 1.414l-1.465 1.465.707.707a1 1 0 0 1-1.414 1.414l-.707-.707L11.415 10l.707.707a1 1 0 1 1-1.414 1.415L10 11.415l-1.415 1.414.707.707A1 1 0 1 1 7.88 14.95l-.707-.707-1.464 1.464a1 1 0 0 1-1.415-1.414l1.465-1.464-.707-.707a1 1 0 1 1 1.414-1.415l.707.707L8.586 10l-.707-.707a1 1 0 0 1 0-1.414z"/></svg>',AbandonedCartMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.707 1.293a1 1 0 0 0-1.414 1.414L9.586 4 8.293 5.293a1 1 0 0 0 1.414 1.414L11 5.414l1.293 1.293a1 1 0 1 0 1.414-1.414L12.414 4l1.293-1.293a1 1 0 0 0-1.414-1.414L11 2.586 9.707 1.293z"/><path fill-rule="evenodd" d="M1 1a1 1 0 0 1 1-1h1.5A1.5 1.5 0 0 1 5 1.5V10h11.133l.877-6.141a1 1 0 1 1 1.98.282l-.939 6.571A1.5 1.5 0 0 1 16.566 12H5v2h10a3 3 0 1 1-2.83 2H6.83A3 3 0 1 1 3 14.17V2H2a1 1 0 0 1-1-1zm13 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM3 17a1 1 0 1 1 2 0 1 1 0 0 1-2 0z"/></svg>',AddCodeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 9c0 .266-.105.52-.293.707L2.414 10l.293.293A.996.996 0 0 1 3 11v4a1 1 0 0 0 1 1 1 1 0 0 1 0 2c-1.654 0-3-1.346-3-3v-3.586l-.707-.707a1 1 0 0 1 0-1.414L1 8.586V5c0-1.654 1.346-3 3-3a1 1 0 0 1 0 2 1 1 0 0 0-1 1v4zm16.707.293a1.001 1.001 0 0 1 0 1.414l-.707.707V15c0 1.654-1.346 3-3 3a1 1 0 1 1 0-2 1 1 0 0 0 1-1v-4c0-.266.105-.52.293-.707l.293-.293-.293-.293A.996.996 0 0 1 17 9V5a1 1 0 0 0-1-1 1 1 0 1 1 0-2c1.654 0 3 1.346 3 3v3.586l.707.707zM13 9a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H7a1 1 0 0 1 0-2h2V7a1 1 0 1 1 2 0v2h2z"/></svg>',AddImageMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 2.5A1.5 1.5 0 0 0 17.5 1h-15A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19H10v-2H3.497c-.41 0-.64-.46-.4-.79l3.553-4.051c.19-.21.52-.21.72-.01L9 14l3.06-4.781a.5.5 0 0 1 .84.02l.72 1.251A5.98 5.98 0 0 1 16 10h3V2.5zm-11.5 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm12.207 10.793A1 1 0 0 0 19 15h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 0 0 .707-1.707z"/></svg>',AddMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h1V1H2.5A1.5 1.5 0 0 0 1 2.5V4h2V3zm3 0h3V1H6v2zm5 0h3V1h-3v2zM9 19H6v-2h3v2zm2 0h3v-2h-3v2zm6-15V3h-1V1h1.5A1.5 1.5 0 0 1 19 2.5V4h-2zM3 17v-1H1v1.5A1.5 1.5 0 0 0 2.5 19H4v-2H3zm13 0h1v-1h2v1.5a1.5 1.5 0 0 1-1.5 1.5H16v-2zM10 6a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2H7a1 1 0 1 1 0-2h2V7a1 1 0 0 1 1-1zM1 9V6h2v3H1zm0 2v3h2v-3H1zm16-2V6h2v3h-2zm0 2v3h2v-3h-2z"/></svg>',AddNoteMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.379 0a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 16 5.622V10a6 6 0 0 0-6 6v4H3.5A1.5 1.5 0 0 1 2 18.5v-17A1.5 1.5 0 0 1 3.5 0h6.879zM5 5h8v2H5V5zm5 4H5v2h5V9zm-5 4h3v2H5v-2zm14.707 2.293A1 1 0 0 0 19 15h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 .707-1.707z" fill-rule="evenodd"/></svg>',AddProductMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 1h7a1 1 0 0 1 1 1v7a.999.999 0 0 1-.29.71l-.29.29H16a6 6 0 0 0-6 6v2.42l-.29.29a1 1 0 0 1-1.42 0l-7-7a.999.999 0 0 1 0-1.42l9-9A1.001 1.001 0 0 1 11 1zm3.667 4.747a1.5 1.5 0 1 0 1.666-2.494 1.5 1.5 0 0 0-1.666 2.494zm5.04 9.546A1 1 0 0 0 19 15h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 .707-1.707z"/></svg>',AffiliateMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.116 5.407a2.5 2.5 0 1 0-1.916.575l.788 2.624a5.5 5.5 0 1 0 7.406 7.406l2.624.787a2.5 2.5 0 1 0 .575-1.915l-2.625-.788a5.474 5.474 0 0 0-.936-3.714l4.554-4.554a2.5 2.5 0 1 0-1.414-1.414L9.618 8.968a5.475 5.475 0 0 0-3.714-.936l-.788-2.625zM10 13.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/></svg>',AlertMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zM9 9a1 1 0 0 0 2 0V7a1 1 0 1 0-2 0v2zm0 4a1 1 0 1 0 2 0 1 1 0 0 0-2 0z"/></svg>',AnalyticsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 3A1.5 1.5 0 0 0 14 4.5v12a1.5 1.5 0 0 0 1.5 1.5h1a1.5 1.5 0 0 0 1.5-1.5v-12A1.5 1.5 0 0 0 16.5 3h-1zM8 8.5A1.5 1.5 0 0 1 9.5 7h1A1.5 1.5 0 0 1 12 8.5v8a1.5 1.5 0 0 1-1.5 1.5h-1A1.5 1.5 0 0 1 8 16.5v-8zm-6 4A1.5 1.5 0 0 1 3.5 11h1A1.5 1.5 0 0 1 6 12.5v4A1.5 1.5 0 0 1 4.5 18h-1A1.5 1.5 0 0 1 2 16.5v-4z"/></svg>',AppExtensionMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 17H4.5A1.5 1.5 0 0 1 3 15.5V11h6v6zm8-6v4.5a1.5 1.5 0 0 1-1.5 1.5H11v-6h6zM9 9H3V4.5A1.5 1.5 0 0 1 4.5 3H9v6zm10-7v5c0 .55-.45 1-1 1s-1-.45-1-1V4.42l-4.29 4.29c-.2.19-.45.29-.71.29-.26 0-.51-.1-.71-.29-.39-.39-.39-1.03 0-1.42L15.58 3H13c-.55 0-1-.45-1-1s.45-1 1-1h5c.08 0 .17.01.25.04.05 0 .09.02.14.04.12.05.23.12.32.21s.16.2.21.32c.02.05.04.09.04.14.03.08.04.17.04.25z"/></svg>',AppsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 9H1V2.5A1.5 1.5 0 0 1 2.5 1H9v8zm0 2v8H2.5A1.5 1.5 0 0 1 1 17.5V11h8zm2 0v8h6.5a1.5 1.5 0 0 0 1.5-1.5V11h-8zm4-10a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0V6h-2a1 1 0 1 1 0-2h2V2a1 1 0 0 1 1-1z"/></svg>',ArchiveMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1A1.5 1.5 0 0 0 1 2.5V4h18V2.5A1.5 1.5 0 0 0 17.5 1h-15zM2 17.5A1.5 1.5 0 0 0 3.5 19h13a1.5 1.5 0 0 0 1.5-1.5V6H2v11.5zM7 9h6v2H7V9z"/></svg>',ArrowLeftMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 9H5.414l3.293-3.293a.999.999 0 1 0-1.414-1.414l-5 5a.999.999 0 0 0 0 1.414l5 5a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L5.414 11H17a1 1 0 1 0 0-2z"/></svg>',ArchiveMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 3A1.5 1.5 0 0 0 3 4.5V6h14V4.5A1.5 1.5 0 0 0 15.5 3h-11zM4 15.5A1.5 1.5 0 0 0 5.5 17h9a1.5 1.5 0 0 0 1.5-1.5V8H4v7.5zM7 11h6v2H7v-2z"/></svg>',ArrowDownMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m10.707 17.707 5-5a.999.999 0 1 0-1.414-1.414L11 14.586V3a1 1 0 1 0-2 0v11.586l-3.293-3.293a.999.999 0 1 0-1.414 1.414l5 5a.999.999 0 0 0 1.414 0z"/></svg>',ArrowRightMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m17.707 9.293-5-5a.999.999 0 1 0-1.414 1.414L14.586 9H3a1 1 0 1 0 0 2h11.586l-3.293 3.293a.999.999 0 1 0 1.414 1.414l5-5a.999.999 0 0 0 0-1.414z"/></svg>',ArrowUpMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 17V5.414l3.293 3.293a.999.999 0 1 0 1.414-1.414l-5-5a.999.999 0 0 0-1.414 0l-5 5a.997.997 0 0 0 0 1.414.999.999 0 0 0 1.414 0L9 5.414V17a1 1 0 1 0 2 0z"/></svg>',AttachmentMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.243 20a5.228 5.228 0 0 1-3.707-1.533A5.213 5.213 0 0 1 0 14.759c0-1.402.546-2.719 1.536-3.708l9.515-9.519a5.25 5.25 0 0 1 8.553 1.7A5.21 5.21 0 0 1 20 5.24a5.208 5.208 0 0 1-1.535 3.708l-4.258 4.26a3.124 3.124 0 0 1-5.092-1.012A3.098 3.098 0 0 1 8.879 11c0-.835.324-1.619.914-2.208l4.5-4.501a1 1 0 1 1 1.414 1.414l-4.5 4.501a1.112 1.112 0 0 0-.328.794A1.114 1.114 0 0 0 12 12.12c.297 0 .582-.118.793-.327l4.258-4.26A3.223 3.223 0 0 0 18 5.24c0-.866-.337-1.681-.949-2.293a3.248 3.248 0 0 0-4.586 0L2.95 12.465A3.224 3.224 0 0 0 2 14.76c0 .866.338 1.68.95 2.293a3.248 3.248 0 0 0 4.586 0l1.757-1.758a1 1 0 1 1 1.414 1.414L8.95 18.467A5.236 5.236 0 0 1 5.243 20z"/></svg>',AutomationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8.038.859A1 1 0 0 1 9.028 0h2.265a1 1 0 0 1 .99.859l.371 2.598c.703.268 1.35.646 1.924 1.113l2.438-.979a1 1 0 0 1 1.238.428l1.133 1.962a1 1 0 0 1-.249 1.287l-2.065 1.621a7.034 7.034 0 0 1 0 2.222l2.065 1.621a1 1 0 0 1 .249 1.287l-1.133 1.962a1 1 0 0 1-1.239.428l-2.437-.978a6.995 6.995 0 0 1-1.924 1.112l-.371 2.598a1 1 0 0 1-.99.859H9.027a1 1 0 0 1-.99-.859l-.37-2.598a6.995 6.995 0 0 1-1.924-1.113l-2.438.979a1 1 0 0 1-1.239-.428L.934 14.019a1 1 0 0 1 .248-1.287l2.066-1.621a7.06 7.06 0 0 1 0-2.222L1.182 7.268A1 1 0 0 1 .934 5.98l1.132-1.962a1 1 0 0 1 1.239-.428l2.438.979a6.993 6.993 0 0 1 1.923-1.113L8.038.86zm.74 5.66 4.598 3.065a.5.5 0 0 1 0 .832l-4.599 3.066A.5.5 0 0 1 8 13.066V6.934a.5.5 0 0 1 .777-.416z"/></svg>',BackspaceMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 15.5v-11A1.5 1.5 0 0 0 18.5 3H7.622a1.5 1.5 0 0 0-1.061.44L.439 8.94a1.5 1.5 0 0 0 0 2.121l6.122 5.5a1.5 1.5 0 0 0 1.06.439h10.88a1.5 1.5 0 0 0 1.5-1.5zm-3.292-9.307a1 1 0 0 1 0 1.414L14.415 9.9l2.293 2.293a1 1 0 0 1-1.415 1.414l-2.292-2.293-2.293 2.293a1 1 0 1 1-1.415-1.414L11.586 9.9 9.293 7.607a1 1 0 1 1 1.415-1.414L13 8.486l2.292-2.293a1 1 0 0 1 1.415 0z"/></svg>',BarcodeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h1V1H2.5A1.5 1.5 0 0 0 1 2.5V4h2V3zm14 0v1h2V2.5A1.5 1.5 0 0 0 17.5 1H16v2h1zm-1 14h1v-1h2v1.5a1.5 1.5 0 0 1-1.5 1.5H16v-2zM3 17v-1H1v1.5A1.5 1.5 0 0 0 2.5 19H4v-2H3zm-1-3h3V6H2v8zm12 0h-3V6h3v8zm-7 0h2V6H7v8zm9 0h2V6h-2v8z"/></svg>',BehaviorMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.37 8.07 10 4a1 1 0 0 1 .08 1.82l-3.7 1.86-1.85 3.7a1 1 0 0 1-.9.55h-.04a1 1 0 0 1-.89-.63l-4-10a1 1 0 0 1 1.3-1.3zm.337-3.363A1 1 0 0 1 8 4V1a1 1 0 0 1 2 0v3a1 1 0 0 1-.293.707zm-5 3.586A1 1 0 0 1 4 10H1a1 1 0 0 1 0-2h3a1 1 0 0 1 .707.293zm-1-6a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414-1.414l-2-2zm12 0a1 1 0 0 0-1.414 0l-2 2a1 1 0 0 0 1.414 1.414l2-2a1 1 0 0 0 0-1.414zm-13.414 12 2-2a1 1 0 0 1 1.414 1.414l-2 2a1 1 0 0 1-1.414-1.414z"/></svg>',BalanceMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4 1c-.493 0-1.211.14-1.834.588C1.492 2.074 1 2.874 1 4v13.5A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5V15h-3c-.493 0-1.211-.14-1.834-.588C13.49 13.925 13 13.126 13 12s.492-1.926 1.166-2.412A3.233 3.233 0 0 1 16 9h3V6.5c0-.824-.665-1.5-1.498-1.5H17V2.5A1.5 1.5 0 0 0 15.5 1H4zm12 10h3v2h-3c-.173 0-.456-.06-.666-.211-.159-.115-.334-.315-.334-.789 0-.474.175-.674.334-.789.21-.15.493-.211.666-.211zM4 3a1 1 0 0 0-1 1v1h12V3H4z"/></svg>',BillingStatementDollarMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.5 0h11A1.5 1.5 0 0 1 17 1.5v18.223a.2.2 0 0 1-.335.148l-1.662-1.513a.5.5 0 0 0-.673 0l-1.66 1.51a.5.5 0 0 1-.673 0l-1.66-1.51a.5.5 0 0 0-.674 0l-1.66 1.51a.5.5 0 0 1-.673 0l-1.66-1.51a.5.5 0 0 0-.673 0L3.335 19.87A.2.2 0 0 1 3 19.723V1.5A1.5 1.5 0 0 1 4.5 0zm4.207 11.293c.667.667 1.29.706 1.316.707.528 0 .977-.448.977-1 0-.646-.128-.751-1.243-1.03h-.001C8.725 9.712 7 9.28 7 7a2.993 2.993 0 0 1 2-2.815V4a1 1 0 0 1 2 0v.2a4.51 4.51 0 0 1 1.707 1.093 1 1 0 0 1-1.414 1.414c-.667-.667-1.291-.706-1.317-.707C9.448 6 9 6.448 9 7c0 .646.127.751 1.242 1.03h.002C11.274 8.288 13 8.72 13 11a2.995 2.995 0 0 1-2 2.815V14a1 1 0 0 1-2 0v-.2a4.49 4.49 0 0 1-1.707-1.093 1 1 0 1 1 1.414-1.414z"/></svg>',BillingStatementEuroMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 0h11c.828 0 1.5.677 1.5 1.512v18.21a.2.2 0 0 1-.334.149l-1.664-1.515a.497.497 0 0 0-.67 0l-1.664 1.514a.497.497 0 0 1-.67 0l-1.663-1.514a.497.497 0 0 0-.67 0L8.002 19.87a.497.497 0 0 1-.67 0l-1.664-1.514a.497.497 0 0 0-.67 0l-1.664 1.515a.2.2 0 0 1-.334-.15V1.512C3 .677 3.672 0 4.5 0zm2.543 8.865c-.02.324-.025.65-.014.974h-.268a.778.778 0 0 0-.538.214.716.716 0 0 0-.223.517c0 .194.08.38.223.517a.778.778 0 0 0 .538.214h.433C7.612 13.424 8.774 15 10.392 15h.052c1.178.001 1.838-.227 2.401-1.207a.94.94 0 0 0-.095-1.07.999.999 0 0 0-.3-.244 1.038 1.038 0 0 0-1.115.091.977.977 0 0 0-.254.29.48.48 0 0 1-.11.152c-.072.056-.188.055-.525.055h-.054c-.375 0-.86-.692-1.136-1.766h1.058a.778.778 0 0 0 .538-.214.716.716 0 0 0 .223-.517c0-.194-.08-.38-.223-.517a.778.778 0 0 0-.538-.214h-1.27a7.719 7.719 0 0 1 .02-.974h1.249a.778.778 0 0 0 .538-.214.716.716 0 0 0 .223-.517c0-.194-.08-.38-.223-.517a.778.778 0 0 0-.538-.214H9.34c.283-.903.711-1.47 1.051-1.47.487 0 .569.034.731.325.13.216.344.376.595.445.25.068.52.04.75-.077a.978.978 0 0 0 .484-.554.931.931 0 0 0-.053-.722C12.331 4.325 11.55 4 10.391 4 8.85 4 7.721 5.43 7.26 7.403h-.5a.778.778 0 0 0-.538.214.716.716 0 0 0-.223.517c0 .194.08.38.223.517a.778.778 0 0 0 .538.214h.282z"/></svg>',BillingStatementPoundMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 0h11c.828 0 1.5.677 1.5 1.512v18.21a.2.2 0 0 1-.334.149l-1.664-1.515a.497.497 0 0 0-.67 0l-1.664 1.514a.497.497 0 0 1-.67 0l-1.663-1.514a.497.497 0 0 0-.67 0L8.002 19.87a.497.497 0 0 1-.67 0l-1.664-1.514a.497.497 0 0 0-.67 0l-1.664 1.515a.2.2 0 0 1-.334-.15V1.512C3 .677 3.672 0 4.5 0zm2.511 9.827h.247c-.16.943-.39 1.863-.696 2.76-.04.12-.06.244-.056.37 0 .276.106.542.296.737.19.196.447.306.715.306h4.472c.268 0 .525-.11.715-.306a1.06 1.06 0 0 0 .296-.737 1.06 1.06 0 0 0-.296-.738.996.996 0 0 0-.715-.305H8.88c.18-.687.322-1.384.427-2.087h1.75c.268 0 .525-.11.714-.305a1.06 1.06 0 0 0 .297-.738 1.06 1.06 0 0 0-.297-.738.996.996 0 0 0-.715-.305H9.513c.017-.355.026-.712.026-1.072 0-.985.385-1.492.877-1.573.35-.057.561.107.561.444 0 .276.107.542.297.737.19.196.447.306.715.306.268 0 .525-.11.715-.306A1.06 1.06 0 0 0 13 5.54c0-1.685-1.378-2.753-2.9-2.504-1.514.247-2.583 1.659-2.583 3.633 0 .36-.01.717-.028 1.072H7.01a.996.996 0 0 0-.715.305A1.06 1.06 0 0 0 6 8.784c0 .277.107.542.296.738.19.195.447.305.715.305z"/></svg>',BillingStatementRupeeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 0h11c.828 0 1.5.677 1.5 1.512v18.21a.2.2 0 0 1-.334.149l-1.664-1.515a.497.497 0 0 0-.67 0l-1.664 1.514a.497.497 0 0 1-.67 0l-1.663-1.514a.497.497 0 0 0-.67 0L8.002 19.87a.497.497 0 0 1-.67 0l-1.664-1.514a.497.497 0 0 0-.67 0l-1.664 1.515a.2.2 0 0 1-.334-.15V1.512C3 .677 3.672 0 4.5 0zm6.808 13.4-1.96-2.63c1.342-.21 2.254-1.288 2.552-2.694h.85a.75.75 0 1 0 0-1.499h-.763a4.427 4.427 0 0 0-.432-1.579h.945A1 1 0 1 0 12.5 3h-5a1 1 0 1 0 0 1.998h2.135c.449.297.754.86.844 1.58H7.25a.75.75 0 1 0 0 1.498h3.1c-.252.756-.791 1.234-1.493 1.234-.285 0-.543-.02-.777-.056a1 1 0 0 0-1.258 1.489l2.89 3.86a1 1 0 0 0 1.596-1.204z"/></svg>',BillingStatementYenMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 0h11c.828 0 1.5.677 1.5 1.512v18.21a.2.2 0 0 1-.334.149l-1.664-1.515a.497.497 0 0 0-.67 0l-1.664 1.514a.497.497 0 0 1-.67 0l-1.663-1.514a.497.497 0 0 0-.67 0L8.002 19.87a.497.497 0 0 1-.67 0l-1.664-1.514a.497.497 0 0 0-.67 0l-1.664 1.515a.2.2 0 0 1-.334-.15V1.512C3 .677 3.672 0 4.5 0zm7.744 10.523h-1.25v-.75h1.25a.75.75 0 1 0 0-1.5h-.847l1.85-3.204a1 1 0 0 0-1.732-1L10 6.693 8.485 4.069a1 1 0 0 0-1.732 1l1.85 3.204h-.859a.75.75 0 0 0 0 1.5h1.25v.75h-1.25a.75.75 0 1 0 0 1.5h1.25v1a1 1 0 0 0 2 0v-1h1.25a.75.75 0 0 0 0-1.5z"/></svg>',BlockMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.6A1.6 1.6 0 0 1 3.6 2H7a1 1 0 0 1 0 2H4v3a1 1 0 0 1-2 0V3.6zM16.4 2A1.6 1.6 0 0 1 18 3.6V7a1 1 0 1 1-2 0V4h-3a1 1 0 1 1 0-2h3.4zm0 16H13a1 1 0 1 1 0-2h3v-3a1 1 0 1 1 2 0v3.4a1.6 1.6 0 0 1-1.6 1.6zM3.6 18A1.6 1.6 0 0 1 2 16.4V13a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2H3.6z"/></svg>',BlockquoteMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3.5a1 1 0 0 0-1 1V5h.5A1.5 1.5 0 0 1 4 6.5v1A1.5 1.5 0 0 1 2.5 9h-1A1.5 1.5 0 0 1 0 7.5v-3a3 3 0 0 1 3-3v2zM8.5 5H8v-.5a1 1 0 0 1 1-1v-2a3 3 0 0 0-3 3v3A1.5 1.5 0 0 0 7.5 9h1A1.5 1.5 0 0 0 10 7.5v-1A1.5 1.5 0 0 0 8.5 5zM12 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2h-6a1 1 0 0 1-1-1zm-8 3a1 1 0 1 0 0 2h15a1 1 0 1 0 0-2H4zm-1 5a1 1 0 0 1 1-1h15a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1zM13 3a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6z"/></svg>',BlogMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16 2a2 2 0 0 1 4 0v1h-4V2zM8.379 1a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 14 6.622V17.5a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h5.879zM4 5h4v2H4V5zm7 4v2H4V9h7zm-7 6v-2h5v2H4zM16 5h4v11l-2 4-2-4V5z"/></svg>',BugMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 2a1 1 0 1 0-2 0v.228a7.166 7.166 0 0 0 3.187 5.96c-.056.338-.1.685-.131 1.039a11.254 11.254 0 0 0-3.357-1.124l-.534-.09a1 1 0 1 0-.329 1.973l.534.09a9.254 9.254 0 0 1 3.648 1.452c.012.347.03.687.057 1.02l-.607.729a11 11 0 0 0-2.4 5.233l-.054.326a1 1 0 1 0 1.973.328l.054-.325a9 9 0 0 1 1.473-3.636C6.153 17.492 7.482 19 10 19s3.848-1.508 4.487-3.797a8.999 8.999 0 0 1 1.473 3.636l.054.325a1 1 0 1 0 1.973-.328l-.055-.326a11 11 0 0 0-2.4-5.233l-.607-.729c.027-.337.046-.683.058-1.035l.4-.3a5.236 5.236 0 0 1 2.282-.977l1.5-.25a1 1 0 1 0-.329-1.972l-1.5.25a7.236 7.236 0 0 0-2.401.855 13.69 13.69 0 0 0-.122-.932A7.166 7.166 0 0 0 18 2.228V2a1 1 0 1 0-2 0v.228c0 1.502-.65 2.894-1.727 3.855C13.395 3.635 11.81 2 10 2 8.19 2 6.605 3.635 5.728 6.083A5.165 5.165 0 0 1 4 2.228V2z"/></svg>',ButtonCornerPillMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.28 2.79c-7.45 0-13.49 6.04-13.49 13.49V20H0v-3.72C0 7.287 7.288 0 16.28 0H20v2.79h-3.72z"/></svg>',ButtonCornerRoundedMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.837 2.79a6.047 6.047 0 0 0-6.046 6.047V20H0V8.837A8.837 8.837 0 0 1 8.837 0H20v2.79H8.837z"/></svg>',ButtonCornerSquareMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h20v2.79H2.79V20H0V0z"/></svg>',ButtonMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 5.5A1.5 1.5 0 0 1 3.5 4h13A1.5 1.5 0 0 1 18 5.5v4.95l-4.014-2.59c-1.71-1.104-3.953.19-3.853 2.224L10.278 13H3.5A1.5 1.5 0 0 1 2 11.5v-6z"/><path d="M12.131 9.999a.5.5 0 0 1 .77-.445l4.869 3.142a.5.5 0 0 1-.021.853l-1.425.823 1.229 2.128a1 1 0 1 1-1.732 1l-1.23-2.128-1.424.822a.5.5 0 0 1-.75-.408L12.131 10z"/></svg>',BuyButtonButtonLayoutMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h1V1H2.5A1.5 1.5 0 0 0 1 2.5V4h2V3zm-2 7a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H5a4 4 0 0 1-4-4zm16-6V3h-1V1h1.5A1.5 1.5 0 0 1 19 2.5V4h-2zm0 13h-1v2h1.5a1.5 1.5 0 0 0 1.5-1.5V16h-2v1zM3 16v1h1v2H2.5A1.5 1.5 0 0 1 1 17.5V16h2zm6 3H6v-2h3v2zm2 0h3v-2h-3v2zM9 3H6V1h3v2zm2 0h3V1h-3v2z"/></svg>',BuyButtonHorizontalLayoutMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h1V1H2.5A1.5 1.5 0 0 0 1 2.5V4h2V3zm14 0v1h2V2.5A1.5 1.5 0 0 0 17.5 1H16v2h1zM3 16v1h1v2H2.5A1.5 1.5 0 0 1 1 17.5V16h2zm14 1h-1v2h1.5a1.5 1.5 0 0 0 1.5-1.5V16h-2v1zm-8-3V6H3v8h6zm0 5H6v-2h3v2zM6 3h3V1H6v2zm8 16h-3v-2h3v2zM11 3h3V1h-3v2zm6 5h-6V6h6v2zm-6 4h4v-2h-4v2z"/></svg>',BuyButtonMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 1.5A1.5 1.5 0 0 1 1.5 0h17A1.5 1.5 0 0 1 20 1.5v6A1.5 1.5 0 0 1 18.5 9h-5.889a1.5 1.5 0 0 1-1.5-1.5V5.111a1.111 1.111 0 1 0-2.222 0V7.5a1.5 1.5 0 0 1-1.5 1.5H1.5A1.5 1.5 0 0 1 0 7.5v-6z"/><path d="M7 5a3 3 0 0 1 6 0v4.384a.5.5 0 0 0 .356.479l2.695.808a2.5 2.5 0 0 1 1.756 2.748l-.633 4.435A2.5 2.5 0 0 1 14.699 20H6.96a2.5 2.5 0 0 1-2.27-1.452l-2.06-4.464a2.417 2.417 0 0 1-.106-1.777c.21-.607.719-1.16 1.516-1.273 1.035-.148 2.016.191 2.961.82V5zm3-1a1 1 0 0 0-1 1v7.793c0 1.39-1.609 1.921-2.527 1.16-.947-.784-1.59-.987-2.069-.948a.486.486 0 0 0 .042.241l2.06 4.463A.5.5 0 0 0 6.96 18h7.74a.5.5 0 0 0 .494-.43l.633-4.434a.5.5 0 0 0-.35-.55l-2.695-.808A2.5 2.5 0 0 1 11 9.384V5a1 1 0 0 0-1-1z"/></svg>',BuyButtonVerticalLayoutMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h1V1H2.5A1.5 1.5 0 0 0 1 2.5V4h2V3zm14 0v1h2V2.5A1.5 1.5 0 0 0 17.5 1H16v2h1zM3 16v1h1v2H2.5A1.5 1.5 0 0 1 1 17.5V16h2zm14 1h-1v2h1.5a1.5 1.5 0 0 0 1.5-1.5V16h-2v1zM1 6v3h2V6H1zm0 8v-3h2v3H1zm16-8v3h2V6h-2zm0 8v-3h2v3h-2zm-3-5V3H6v6h8zm-2 8H6v-2h6v2zm-6-4h8v-2H6v2z"/></svg>',CalendarMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17.5 2H15V1a1 1 0 1 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2.5C1.7 2 1 2.7 1 3.5v15c0 .8.7 1.5 1.5 1.5h15c.8 0 1.5-.7 1.5-1.5v-15c0-.8-.7-1.5-1.5-1.5zM3 18h14V8H3v10z"/></svg>',CalendarMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16.5 4A1.5 1.5 0 0 1 18 5.5v11a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 2 16.5v-11A1.5 1.5 0 0 1 3.5 4H5V3a1 1 0 1 1 2 0v1h6V3a1 1 0 1 1 2 0v1h1.5zM4 8h12v8H4V8z"/></svg>',CalendarTickMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M15 2h2.5c.8 0 1.5.7 1.5 1.5v15c0 .8-.7 1.5-1.5 1.5h-15c-.8 0-1.5-.7-1.5-1.5v-15C1 2.7 1.7 2 2.5 2H4V1a1 1 0 0 1 2 0v1h7V1a1 1 0 1 1 2 0v1zm2 16H3V8h14v10zm-4.707-7.707L9 13.586l-1.293-1.293A1.001 1.001 0 0 0 6 13a1 1 0 0 0 .293.707l2 2a.997.997 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414z"/></svg>',CameraMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.74 1.786A1.5 1.5 0 0 1 7.059 1h5.855a1.5 1.5 0 0 1 1.315.777l.55 1c.04.074.073.148.1.223H18.5A1.5 1.5 0 0 1 20 4.5v11a1.5 1.5 0 0 1-1.5 1.5h-17A1.5 1.5 0 0 1 0 15.5v-11A1.5 1.5 0 0 1 1.5 3h3.603c.025-.072.057-.144.095-.214l.542-1zM2 5h3v2H2V5zm12 5a4 4 0 1 1-8 0 4 4 0 0 1 8 0z"/></svg>',CancelSmallMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.414 10 4.293-4.293a.999.999 0 1 0-1.414-1.414L10 8.586 5.707 4.293a.999.999 0 1 0-1.414 1.414L8.586 10l-4.293 4.293a.999.999 0 1 0 1.414 1.414L10 11.414l4.293 4.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L11.414 10z"/></svg>',CapitalMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6.328 11.018h3.074c-.426.951-.704 2.033-.825 3.152a6.01 6.01 0 0 0-4.392 4.345C3.981 19.318 4.672 20 5.5 20h9c.828 0 1.52-.682 1.315-1.485a6.005 6.005 0 0 0-5.235-4.487 7.025 7.025 0 0 1 1.896-4.058l3.133-.648c1.897-.4 3.294-1.797 3.593-3.593l.799-4.491A1.7 1.7 0 0 0 19.849.5a.784.784 0 0 0-.413-.4c-.246-.1-.515-.132-.733-.06l-4.59 1.597c-1.897.599-3.095 2.295-3.095 4.192v2.794l-.2.22-.598-2.815c-.4-1.896-1.996-3.293-3.992-3.693l-5.09-.798c-.362-.047-.699 0-.899.3-.2.299-.299.698-.2.997l1.698 4.99a4.869 4.869 0 0 0 4.59 3.194zm8.283-7.485 3.094-.998-.599 2.795a2.564 2.564 0 0 1-1.996 1.996l-2.195.499V5.829c0-.998.698-1.996 1.696-2.296zM3.633 7.226 2.535 3.833l3.393.499c1.198.2 2.196 1.097 2.396 2.195l.399 2.495H6.328c-1.198 0-2.296-.698-2.695-1.796z"/></svg>',CapturePaymentMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 9a2 2 0 1 1-.001 4.001A2 2 0 0 1 15 9zm-5 0a2 2 0 1 1 .001-4.001A2 2 0 0 1 10 9zm6-7a2 2 0 1 1-.001 4.001A2 2 0 0 1 16 2zm-3 14a1 1 0 1 1 0 2H7a.998.998 0 0 1-.243-.03l-4-1A1 1 0 0 1 2 16v-3c0-.431.275-.813.684-.948l3-1a.947.947 0 0 1 .294-.047C5.985 11.004 5.992 11 6 11h3a1 1 0 1 1 0 2H7.166c.599 1.807 2.828 3 5.834 3z"/></svg>',CardReaderChipMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 0A1.5 1.5 0 0 1 16 1.5V9h-3V0h1.5zM11 0H5.5A1.5 1.5 0 0 0 4 1.5V9h7V0zM3.5 11A1.5 1.5 0 0 0 2 12.5V18H1a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2h-1v-5.5a1.5 1.5 0 0 0-1.5-1.5h-13z"/></svg>',BankMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 6h20c0-.604-.368-1.147-.928-1.371l-8.515-3.406a1.5 1.5 0 0 0-1.114 0L.928 4.629C.368 4.853 0 5.396 0 6zm0 2v1a1 1 0 0 0 1 1v7a1 1 0 0 0 0 2h18a1 1 0 1 0 0-2v-7a1 1 0 0 0 1-1V8H0zm4 2h2v7H4v-7zm7 0H9v7h2v-7zm3 0h2v7h-2v-7z"/></svg>',CardReaderMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 1.5A1.5 1.5 0 0 1 1.5 0h17A1.5 1.5 0 0 1 20 1.5V3H0V1.5zM0 5v7.5A1.5 1.5 0 0 0 1.5 14H4a6 6 0 0 1 12 0h2.5a1.5 1.5 0 0 0 1.5-1.5V5H0z"/><path d="M10 10a4 4 0 0 0-4 4v3h3v2a1 1 0 1 0 2 0v-2h3v-3a4 4 0 0 0-4-4z"/></svg>',CardReaderTapMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 8a6 6 0 0 1 6-6 1 1 0 0 0 0-2 8 8 0 0 0-8 8 1 1 0 0 0 2 0z"/><path d="M8 6a2 2 0 0 0-2 2 1 1 0 0 1-2 0 4 4 0 0 1 4-4 1 1 0 0 1 0 2zm7 0h-4.5A1.5 1.5 0 0 0 9 7.5v11a1.5 1.5 0 0 0 1.5 1.5H15V6zm3.5 0A1.5 1.5 0 0 1 20 7.5v11a1.5 1.5 0 0 1-1.5 1.5H17V6h1.5z"/></svg>',CaretDownMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.098 8H6.902c-.751 0-1.172.754-.708 1.268L9.292 12.7c.36.399 1.055.399 1.416 0l3.098-3.433C14.27 8.754 13.849 8 13.098 8z"/></svg>',CaretUpMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.902 12h6.196c.751 0 1.172-.754.708-1.268L10.708 7.3c-.36-.399-1.055-.399-1.416 0l-3.098 3.433C5.73 11.246 6.151 12 6.902 12z"/></svg>',CartMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1 1c0-.552.45-1 1.004-1h1.505c.831 0 1.505.672 1.505 1.5v.56l12.574.908c.877.055 1.52.843 1.397 1.71l-.866 6.034A1.504 1.504 0 0 1 16.63 12H5.014v2h10.043a3.005 3.005 0 0 1 3.011 3c0 1.657-1.348 3-3.01 3a3.005 3.005 0 0 1-2.84-4H6.85a3.005 3.005 0 0 1-2.84 4A3.005 3.005 0 0 1 1 17c0-1.306.838-2.418 2.007-2.83V2H2.004A1.002 1.002 0 0 1 1 1zm4.014 3.064V10h11.18l.727-5.07-11.907-.866zM14.054 17c0-.552.449-1 1.003-1 .554 0 1.004.448 1.004 1s-.45 1-1.004 1a1.002 1.002 0 0 1-1.003-1zM3.007 17c0-.552.45-1 1.004-1s1.003.448 1.003 1-.449 1-1.003 1a1.002 1.002 0 0 1-1.004-1z"/></svg>',CartUpMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 3.414V7a1 1 0 1 0 2 0V3.414l1.293 1.293a1 1 0 1 0 1.414-1.414l-3-3a.998.998 0 0 0-1.414 0l-3 3a1 1 0 0 0 1.414 1.414L10 3.414z"/><path fill-rule="evenodd" d="M1 1a1 1 0 0 1 1-1h1.5A1.5 1.5 0 0 1 5 1.5V10h11.133l.877-6.141a1 1 0 1 1 1.98.282l-.939 6.571A1.5 1.5 0 0 1 16.566 12H5v2h10a3 3 0 1 1-2.83 2H6.83A3 3 0 1 1 3 14.17V2H2a1 1 0 0 1-1-1zm13 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM3 17a1 1 0 1 1 2 0 1 1 0 0 1-2 0z"/></svg>',CashDollarMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 20C4.486 20 0 15.514 0 10S4.486 0 10 0s10 4.486 10 10-4.486 10-10 10zm1-15a1 1 0 1 0-2 0v.17A3 3 0 0 0 7 8c0 1.013.36 1.77 1.025 2.269.54.405 1.215.572 1.666.685l.066.016c.55.138.835.224 1.018.361.085.064.225.182.225.669a1 1 0 0 1-.984 1 1.611 1.611 0 0 1-.325-.074 2.533 2.533 0 0 1-.984-.633 1 1 0 0 0-1.414 1.414A4.548 4.548 0 0 0 9 14.804V15a1 1 0 1 0 2 0v-.17A3 3 0 0 0 13 12c0-1.013-.36-1.77-1.025-2.269-.54-.405-1.215-.572-1.666-.685l-.066-.016c-.55-.138-.835-.224-1.018-.361C9.14 8.605 9 8.487 9 8a1 1 0 0 1 .984-1 1.618 1.618 0 0 1 .325.074c.245.081.606.255.984.633a1 1 0 1 0 1.414-1.414A4.547 4.547 0 0 0 11 5.196V5z"/></svg>',CashEuroMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 10c0-5.514-4.486-10-10-10S0 4.486 0 10s4.486 10 10 10 10-4.486 10-10zm-12.986.392a10.62 10.62 0 0 1 .014-1H6.75a.75.75 0 1 1 0-1.5h.49C7.696 5.868 8.807 4.4 10.326 4.4c1.142 0 1.911.334 2.47 1.385a.992.992 0 0 1-1.75.932c-.16-.298-.24-.333-.72-.333-.335 0-.757.581-1.036 1.508h.959a.75.75 0 1 1 0 1.5H9.018a8.247 8.247 0 0 0-.019 1h1.251a.75.75 0 1 1 0 1.5H9.208c.272 1.102.749 1.812 1.119 1.812h.053c.329 0 .444.001.516-.054.04-.032.067-.081.11-.159a.993.993 0 0 1 1.738.958c-.555 1.006-1.205 1.24-2.366 1.239h-.051c-1.594 0-2.739-1.617-3.151-3.796H6.75a.75.75 0 1 1 0-1.5h.264z"/></svg>',CartDownMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12 1a1 1 0 1 0-2 0v3.586L8.707 3.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0l3-3a1 1 0 0 0-1.414-1.414L12 4.586V1z"/><path fill-rule="evenodd" d="M1 1a1 1 0 0 1 1-1h1.5A1.5 1.5 0 0 1 5 1.5V10h11.133l.877-6.141a1 1 0 1 1 1.98.282l-.939 6.571A1.5 1.5 0 0 1 16.566 12H5v2h10a3 3 0 1 1-2.83 2H6.83A3 3 0 1 1 3 14.17V2H2a1 1 0 0 1-1-1zm13 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM3 17a1 1 0 1 1 2 0 1 1 0 0 1-2 0z"/></svg>',CashPoundMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10zM7.783 11h-.244a.997.997 0 0 1-1-1 1.003 1.003 0 0 1 1-1h.472c.018-.34.028-.682.028-1.027 0-1.893 1.057-3.246 2.555-3.483 1.504-.239 2.867.785 2.867 2.4a1 1 0 1 1-2 0c0-.323-.21-.48-.555-.425-.487.077-.867.563-.867 1.508 0 .345-.009.687-.026 1.027h1.526a1.003 1.003 0 0 1 1 1 1 1 0 0 1-1 1h-1.73a18.65 18.65 0 0 1-.422 2h2.652a1.003 1.003 0 0 1 1 1 1 1 0 0 1-1 1h-4a.997.997 0 0 1-1-1 .994.994 0 0 1 .056-.354c.302-.86.53-1.742.688-2.646z"/></svg>',CashRupeeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 10c0-5.514-4.486-10-10-10S0 4.486 0 10s4.486 10 10 10 10-4.486 10-10zM9.526 12.062l2.08 2.761a1 1 0 1 1-1.597 1.204L7 12.034a1 1 0 0 1 1.258-1.49c.234.037.492.056.777.056.702 0 1.241-.478 1.493-1.235h-3.1a.75.75 0 1 1 0-1.5h3.229c-.09-.72-.395-1.283-.844-1.58H7.678a1 1 0 1 1 0-2h5a1 1 0 1 1 0 2h-.945c.233.467.38 1.004.432 1.58h.763a.75.75 0 1 1 0 1.5h-.85c-.298 1.407-1.21 2.486-2.552 2.697z"/></svg>',CashYenMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 10c0-5.514-4.486-10-10-10S0 4.486 0 10s4.486 10 10 10 10-4.486 10-10zm-9.025 1.754h1.25a.75.75 0 1 1 0 1.5h-1.25v1a1 1 0 0 1-2 0v-1h-1.25a.75.75 0 1 1 0-1.5h1.25v-.75h-1.25a.75.75 0 1 1 0-1.5h.859L6.734 6.3a1 1 0 0 1 1.732-1l1.515 2.624L11.496 5.3a1 1 0 0 1 1.732 1l-1.85 3.204h.847a.75.75 0 1 1 0 1.5h-1.25v.75z"/></svg>',CategoriesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.5 2A1.5 1.5 0 0 0 4 3.5V4h12v-.5A1.5 1.5 0 0 0 14.5 2h-9zM2 7.5A1.5 1.5 0 0 1 3.5 6h13A1.5 1.5 0 0 1 18 7.5V8H2v-.5zm-1 4A1.5 1.5 0 0 1 2.5 10h15a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 18.5v-7z"/></svg>',ChannelsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.284 14.546A2.975 2.975 0 0 1 17 14c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3a2.94 2.94 0 0 1 .129-.822l-1.575-1.125A3.964 3.964 0 0 1 10 16a3.964 3.964 0 0 1-2.554-.947l-1.575 1.125c.076.262.129.535.129.822 0 1.654-1.346 3-3 3s-3-1.346-3-3 1.346-3 3-3c.615 0 1.214.191 1.716.546l1.56-1.114A3.97 3.97 0 0 1 6 12c0-1.858 1.28-3.411 3-3.858V5.815A2.993 2.993 0 0 1 7 3c0-1.654 1.346-3 3-3s3 1.346 3 3a2.996 2.996 0 0 1-2 2.816v2.326c1.72.447 3 2 3 3.858-.003.49-.096.976-.276 1.432l1.56 1.114zm1.037 3.146A1 1 0 0 0 17 18a1 1 0 0 0 0-2 1 1 0 0 0-.679 1.692zm-14 0A1 1 0 0 0 3 18a1 1 0 0 0 0-2 1 1 0 0 0-.679 1.692zM11 3c0-.551-.449-1-1-1-.551 0-1 .449-1 1 0 .551.449 1 1 1 .551 0 1-.449 1-1z"/></svg>',ChecklistAlternateMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8 2a2 2 0 1 1 4 0h3.5A1.5 1.5 0 0 1 17 3.5v15a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5v-15A1.5 1.5 0 0 1 4.5 2H8zm-1 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-1 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8-10.5A1.5 1.5 0 0 0 12.5 4h-5A1.5 1.5 0 0 0 6 5.5V6h8v-.5zM9 12h6v-2H9v2zm0 2h6v2H9v-2z"/></svg>',ChatMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 0C4.486 0 0 4.486 0 10c0 1.728.45 3.42 1.304 4.924L.101 17.965c-.458 1.209.726 2.393 1.935 1.934l3.04-1.204A9.944 9.944 0 0 0 10 20c5.514 0 10-4.486 10-10S15.514 0 10 0zM5.293 9.293a.997.997 0 0 1 1.414 0 .997.997 0 0 1 0 1.414.997.997 0 0 1-1.414 0 .997.997 0 0 1 0-1.414zm4 0a.997.997 0 0 1 1.414 0 .997.997 0 0 1 0 1.414 1.003 1.003 0 0 1-1.414 0 1.003 1.003 0 0 1 0-1.414zM14 9a.997.997 0 0 0-1 1 .997.997 0 0 0 1 1 .997.997 0 0 0 1-1 .997.997 0 0 0-1-1z"/></svg>',ChecklistMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0a2 2 0 0 0-2 2H3.5A1.5 1.5 0 0 0 2 3.5v15A1.5 1.5 0 0 0 3.5 20h13a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 16.5 2H12a2 2 0 0 0-2-2zM6 6v-.5A1.5 1.5 0 0 1 7.5 4h5A1.5 1.5 0 0 1 14 5.5V6H6zm7.707 3.293a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 1 1 1.414-1.414L9 12.586l3.293-3.293a1 1 0 0 1 1.414 0z"/></svg>',CheckoutMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1 1c0-.552.45-1 1.004-1h1.505c.831 0 1.505.672 1.505 1.5v.56l12.574.908c.877.055 1.52.843 1.397 1.71l-.866 6.034A1.504 1.504 0 0 1 16.63 12H5.014v2h10.043a3.005 3.005 0 0 1 3.011 3c0 1.657-1.348 3-3.01 3a3.005 3.005 0 0 1-2.84-4H6.85a3.005 3.005 0 0 1-2.84 4A3.005 3.005 0 0 1 1 17c0-1.306.838-2.418 2.007-2.83V2H2.004A1.002 1.002 0 0 1 1 1zm13.054 16c0-.552.449-1 1.003-1 .554 0 1.004.448 1.004 1s-.45 1-1.004 1a1.002 1.002 0 0 1-1.003-1zM3.007 17c0-.552.45-1 1.004-1s1.003.448 1.003 1-.449 1-1.003 1a1.002 1.002 0 0 1-1.004-1z"/></svg>',ChevronDownMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 14a.997.997 0 0 1-.707-.293l-5-5a.999.999 0 1 1 1.414-1.414L10 11.586l4.293-4.293a.999.999 0 1 1 1.414 1.414l-5 5A.997.997 0 0 1 10 14z"/></svg>',ChevronLeftMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12 16a.997.997 0 0 1-.707-.293l-5-5a.999.999 0 0 1 0-1.414l5-5a.999.999 0 1 1 1.414 1.414L8.414 10l4.293 4.293A.999.999 0 0 1 12 16z"/></svg>',ChevronRightMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 16a.999.999 0 0 1-.707-1.707L11.586 10 7.293 5.707a.999.999 0 1 1 1.414-1.414l5 5a.999.999 0 0 1 0 1.414l-5 5A.997.997 0 0 1 8 16z"/></svg>',CircleAlertMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 0C4.486 0 0 4.486 0 10s4.486 10 10 10 10-4.486 10-10S15.514 0 10 0zM9 6a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0V6zm1 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',ChevronUpMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 13a.997.997 0 0 1-.707-.293L10 8.414l-4.293 4.293a.999.999 0 1 1-1.414-1.414l5-5a.999.999 0 0 1 1.414 0l5 5A.999.999 0 0 1 15 13z"/></svg>',CircleCancelMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zM7.707 6.293a1 1 0 0 0-1.414 1.414L8.586 10l-2.293 2.293a1 1 0 1 0 1.414 1.414L10 11.414l2.293 2.293a1 1 0 1 0 1.414-1.414L11.414 10l2.293-2.293a1 1 0 0 0-1.414-1.414L10 8.586 7.707 6.293z"/></svg>',CircleCancelMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10C0 4.486 4.486 0 10 0s10 4.486 10 10-4.486 10-10 10S0 15.514 0 10zm7.707-3.707a1 1 0 0 0-1.414 1.414L8.586 10l-2.293 2.293a1 1 0 1 0 1.414 1.414L10 11.414l2.293 2.293a1 1 0 0 0 1.414-1.414L11.414 10l2.293-2.293a1 1 0 0 0-1.414-1.414L10 8.586 7.707 6.293z"/></svg>',CircleChevronDownMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0zm-4.293-1.707a1 1 0 0 0-1.414 0L10 10.586 7.707 8.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0l3-3a1 1 0 0 0 0-1.414z"/></svg>',CircleChevronLeftMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm1.707 4.293a1 1 0 0 1 0 1.414L9.414 10l2.293 2.293a1 1 0 0 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 0 1 1.414 0z"/></svg>',CircleChevronRightMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zM8.293 6.293a1 1 0 0 0 0 1.414L10.586 10l-2.293 2.293a1 1 0 1 0 1.414 1.414l3-3a1 1 0 0 0 0-1.414l-3-3a1 1 0 0 0-1.414 0z"/></svg>',CircleChevronUpMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0zm-4.293 1.707a1 1 0 0 1-1.414 0L10 9.414l-2.293 2.293a1 1 0 0 1-1.414-1.414l3-3a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1 0 1.414z"/></svg>',CircleDisableMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 10c0-1.294.416-2.49 1.115-3.471l8.356 8.356A5.961 5.961 0 0 1 10 16c-3.309 0-6-2.691-6-6zm12 0c0 1.294-.416 2.49-1.115 3.471L6.529 5.115A5.961 5.961 0 0 1 10 4c3.309 0 6 2.691 6 6zM2 10c0 4.411 3.589 8 8 8s8-3.589 8-8-3.589-8-8-8-8 3.589-8 8z"/></svg>',CircleDisabledMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 10c0-1.846.635-3.543 1.688-4.897l11.209 11.209A7.954 7.954 0 0 1 10 18c-4.411 0-8-3.589-8-8zm14.312 4.897L5.103 3.688A7.954 7.954 0 0 1 10 2c4.411 0 8 3.589 8 8a7.952 7.952 0 0 1-1.688 4.897zM0 10c0 5.514 4.486 10 10 10s10-4.486 10-10S15.514 0 10 0 0 4.486 0 10z"/></svg>',CircleDotsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10C0 4.486 4.486 0 10 0s10 4.486 10 10-4.486 10-10 10S0 15.514 0 10zm10 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-3-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',CircleDownMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 20C4.486 20 0 15.514 0 10S4.486 0 10 0s10 4.486 10 10-4.486 10-10 10zm-1-8.414-1.293-1.293a1 1 0 0 0-1.414 1.414l3 3a.998.998 0 0 0 1.414 0l3-3a1 1 0 0 0-1.414-1.414L11 11.586V6a1 1 0 0 0-2 0v5.586z"/></svg>',CircleInformationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 20c5.514 0 10-4.486 10-10S15.514 0 10 0 0 4.486 0 10s4.486 10 10 10zm1-6a1 1 0 1 1-2 0v-4a1 1 0 1 1 2 0v4zm-1-9a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/></svg>',CircleMinusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 20C4.486 20 0 15.514 0 10S4.486 0 10 0s10 4.486 10 10-4.486 10-10 10zM6 9a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H6z"/></svg>',CircleLeftMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10C0 4.486 4.486 0 10 0s10 4.486 10 10-4.486 10-10 10S0 15.514 0 10zm8.414-1 1.293-1.293a1 1 0 0 0-1.414-1.414l-3 3a.997.997 0 0 0 0 1.414l3 3a1 1 0 0 0 1.414-1.414L8.414 11H14a1 1 0 0 0 0-2H8.414z"/></svg>',CircleMinusMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 10a1 1 0 0 1-1 1H6a1 1 0 1 1 0-2h8a1 1 0 0 1 1 1zm-5-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16z"/></svg>',CircleMinusOutlineMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zm0 14c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6zM7 9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H7z"/></svg>',CirclePlusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10c0 5.514 4.486 10 10 10s10-4.486 10-10S15.514 0 10 0 0 4.486 0 10zm5 0a1 1 0 0 1 1-1h3V6a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H6a1 1 0 0 1-1-1z"/></svg>',CirclePlusMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 10a1 1 0 0 1-1 1h-3v3a1 1 0 1 1-2 0v-3H6a1 1 0 1 1 0-2h3V6a1 1 0 0 1 2 0v3h3a1 1 0 0 1 1 1zm-5-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16z"/></svg>',CirclePlusOutlineMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zm0 14c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6zm3-7h-2V7a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2z"/></svg>',CircleTickMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10a10 10 0 1 0 20 0 10 10 0 0 0-20 0zm15.2-1.8a1 1 0 0 0-1.4-1.4L9 11.6 6.7 9.3a1 1 0 0 0-1.4 1.4l3 3c.4.4 1 .4 1.4 0l5.5-5.5z"/></svg>',CircleRightMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 10c0 5.514-4.486 10-10 10S0 15.514 0 10 4.486 0 10 0s10 4.486 10 10zm-8.414 1-1.293 1.293a1 1 0 0 0 1.414 1.414l3-3a.997.997 0 0 0 0-1.414l-3-3a1 1 0 1 0-1.414 1.414L11.586 9H6a1 1 0 0 0 0 2h5.586z"/></svg>',CircleTickMinor:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M2 10a8 8 0 1 0 16 0 8 8 0 0 0-16 0zm12.16-1.44a.8.8 0 0 0-1.12-1.12L9.2 11.28 7.36 9.44a.8.8 0 0 0-1.12 1.12l2.4 2.4c.32.32.8.32 1.12 0l4.4-4.4z"/></svg>',CircleTickOutlineMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8zm0-14c-3.309 0-6 2.691-6 6s2.691 6 6 6 6-2.691 6-6-2.691-6-6-6zm-1 9a.997.997 0 0 1-.707-.293l-2-2a1 1 0 1 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4A.996.996 0 0 1 9 13z"/></svg>',CircleUpMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0c5.514 0 10 4.486 10 10s-4.486 10-10 10S0 15.514 0 10 4.486 0 10 0zm1 8.414 1.293 1.293a1 1 0 1 0 1.414-1.414l-3-3a.998.998 0 0 0-1.414 0l-3 3a1 1 0 0 0 1.414 1.414L9 8.414V14a1 1 0 1 0 2 0V8.414z"/></svg>',ClipboardMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 2a1 1 0 0 1 1 1v13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 4 16.5V3a1 1 0 1 1 2 0v1a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V3a1 1 0 0 1 1-1zm-4 2H9a1 1 0 1 1 0-2h2a1 1 0 1 1 0 2z"/></svg>',ClockMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8zm2.293-4.707a.997.997 0 0 1-.707-.293l-2.293-2.293A.997.997 0 0 1 9 10V6a1 1 0 1 1 2 0v3.586l2 2a.999.999 0 0 1-.707 1.707z"/></svg>',CodeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.707 9.707A.996.996 0 0 0 3 9V5a1 1 0 0 1 1-1 1 1 0 0 0 0-2C2.346 2 1 3.346 1 5v3.586l-.707.707a.999.999 0 0 0 0 1.414l.707.707V15c0 1.654 1.346 3 3 3a1 1 0 0 0 0-2 1 1 0 0 1-1-1v-4a.996.996 0 0 0-.293-.707L2.414 10l.293-.293zm17.217-.09a1.001 1.001 0 0 0-.217-.324L19 8.586V5c0-1.654-1.346-3-3-3a1 1 0 1 0 0 2 1 1 0 0 1 1 1v4a.997.997 0 0 0 .293.707l.293.293-.293.293A.996.996 0 0 0 17 11v4a1 1 0 0 1-1 1 1 1 0 1 0 0 2c1.654 0 3-1.346 3-3v-3.586l.707-.707a1.001 1.001 0 0 0 .217-1.09zm-7.227-4.333a1.002 1.002 0 0 0-1.63.346l-3.996 8a.999.999 0 0 0 .56 1.299 1.006 1.006 0 0 0 1.302-.557l3.995-8a.997.997 0 0 0-.23-1.088z"/></svg>',ClockMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 20C4.486 20 0 15.514 0 10S4.486 0 10 0s10 4.486 10 10-4.486 10-10 10zm1-15a1 1 0 1 0-2 0v5a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L11 9.586V5z"/></svg>',CollectionsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.948.001C7.342.001 7.72.16 8 .44l1.477 1.68-3.638 4.12a3.568 3.568 0 0 0-.872 2.33V18h-2.48a1.48 1.48 0 0 1-1.051-.44A1.507 1.507 0 0 1 1 16.5V6.62a1.497 1.497 0 0 1 .377-1l3.48-4L5.897.44A1.48 1.48 0 0 1 6.949.001zM14.04 2.44l4.58 5.13c.247.275.383.631.381 1v9.93c0 .399-.159.78-.441 1.062a1.51 1.51 0 0 1-1.065.439H8.456a1.509 1.509 0 0 1-1.033-.457A1.497 1.497 0 0 1 7 18.5V8.62a1.487 1.487 0 0 1 .382-1l3.524-4.001 1.005-1.18a1.51 1.51 0 0 1 2.128 0zm-1.9 5.807a1.51 1.51 0 0 0 1.901-.186 1.497 1.497 0 0 0-.489-2.447 1.512 1.512 0 0 0-1.641.325 1.498 1.498 0 0 0 .228 2.308z"/></svg>',ColorNoneMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.759 4.35a1 1 0 0 0-1.41-.108S2.313 16.274 2.294 16.292a1 1 0 0 0 0 1.415.992.992 0 0 0 1.35.043l.008.01 1.963-1.683A5.97 5.97 0 0 0 10 18a6 6 0 0 0 6-6c0-1.157-.51-2.48-1.223-3.777L17.65 5.76a.999.999 0 0 0 .108-1.41zm-13.75 7.834c-.002-.062-.01-.121-.01-.184 0-4 6-10 6-10s1.2 1.203 2.526 2.885l-8.516 7.299z"/></svg>',ColorsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18.867 12.48A4.53 4.53 0 0 0 20 9.304v-.19a9.998 9.998 0 0 0-1.916-5.041A10.017 10.017 0 0 0 8.464.129a10.025 10.025 0 0 0-4.91 2.244A10.005 10.005 0 0 0 .25 12.22a10.002 10.002 0 0 0 2.566 4.744 10.021 10.021 0 0 0 4.66 2.725 19.9 19.9 0 0 0 4.007.31h1.152c.376 0 .735-.195.986-.474A1.47 1.47 0 0 0 14 18.507a1.5 1.5 0 0 0-1.5-1.5c-.399 0-.795-.167-1.076-.448a1.5 1.5 0 0 1 1.062-2.562h3.366a4.54 4.54 0 0 0 3.015-1.517zM12 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM5.5 7a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-1 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm10-4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>',Column1Major:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16 2H4v16h12V2zM4 0a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z"/></svg>',ColumnWithTextMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 7V1H2.5A1.5 1.5 0 0 0 1 2.5V7h8zm10-4.5A1.5 1.5 0 0 0 17.5 1H11v6h8V2.5zM1 9h8v2H1V9zm18 0h-8v2h8V9zM1 13h8v2H1v-2zm18 0h-8v2h8v-2zM1 17h4v2H1v-2zm14 0h-4v2h4v-2z"/></svg>',Columns2Major:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 2a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm11 0h7v16h-7V2zM9 2H2v16h7V2z"/></svg>',Columns3Major:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm16 2h-4v16h4V2zM8 2h4v16H8V2zM6 2H2v16h4V2z"/></svg>',ComposeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 9a1 1 0 0 0-1 1v7H3V3h7a1 1 0 1 0 0-2H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5V10a1 1 0 0 0-1-1z"/><path d="m15.53 2.029 2.439 2.44-7.739 7.738-3.23.792.792-3.231 7.738-7.74zm3.558 1.321L16.65.913l.406-.407a1.725 1.725 0 0 1 2.44 2.439l-.408.407z"/></svg>',ConfettiMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.384 8.92a1.01 1.01 0 0 1-.363.08 1.01 1.01 0 0 1-.553-.17.914.914 0 0 1-.373-.452.93.93 0 0 1-.08-.572.991.991 0 0 1 .271-.522l1.007-1.004a1.01 1.01 0 0 1 1.54.17 1.001 1.001 0 0 1-.12 1.255L12.706 8.71a1.158 1.158 0 0 1-.322.21zM8.03 3.757a1 1 0 0 0 1.94.486l-1.94-.486zm2.44-1.514a1 1 0 1 0-1.94-.486l1.94.486zm-.5 2 .5-2-1.94-.486-.5 2 1.94.486zm5.755 5.796a1 1 0 1 0 .55 1.922l-.55-1.922zm2.532 1.355a1 1 0 1 0-.55-1.922l.55 1.922zm-1.982.567 1.982-.567-.55-1.922-1.982.567.55 1.922zM4.515 7.518.182 16.877a2.238 2.238 0 0 0 2.942 2.94l9.367-4.338a.921.921 0 0 0 .465-1.102.918.918 0 0 0-.226-.369L5.987 7.27a.92.92 0 0 0-.8-.258.92.92 0 0 0-.672.506zM1.801 3.98c.109.022.197.11.219.219a1 1 0 0 0 1.96 0 .283.283 0 0 1 .22-.219 1 1 0 0 0 0-1.96.283.283 0 0 1-.219-.219 1 1 0 0 0-1.96 0 .283.283 0 0 1-.219.219 1 1 0 0 0 0 1.96zm14 0c.109.022.197.11.219.219a1 1 0 0 0 1.96 0 .283.283 0 0 1 .219-.219 1 1 0 0 0 0-1.96.283.283 0 0 1-.219-.219 1 1 0 0 0-1.96 0 .283.283 0 0 1-.219.219 1 1 0 0 0 0 1.96zm0 14c.109.022.197.11.219.219a1 1 0 0 0 1.96 0 .283.283 0 0 1 .219-.219 1 1 0 0 0 0-1.96.283.283 0 0 1-.219-.219 1 1 0 0 0-1.96 0 .283.283 0 0 1-.219.219 1 1 0 0 0 0 1.96z"/></svg>',ConnectMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 8c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm-6 6c0 1.103-.897 2-2 2s-2-.897-2-2 .897-2 2-2 2 .897 2 2zm6-12c-1.858 0-3.411 1.28-3.857 3H10c-2.757 0-5 2.243-5 5v.142c-1.721.447-3 2-3 3.858 0 2.206 1.794 4 4 4s4-1.794 4-4c0-1.858-1.279-3.411-3-3.858V10c0-1.654 1.346-3 3-3h.143c.446 1.72 1.999 3 3.857 3 2.206 0 4-1.794 4-4s-1.794-4-4-4z"/></svg>',ConversationMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M13 10a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm-4 0a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm-4 0a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm5-8c-4.411 0-8 3.589-8 8 0 1.504.425 2.908 1.15 4.111l-1.069 2.495a1 1 0 0 0 1.314 1.313l2.494-1.069A7.939 7.939 0 0 0 10 18c4.411 0 8-3.589 8-8s-3.589-8-8-8z"/></svg>',CreditCardMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 4.5A1.5 1.5 0 0 1 1.5 3h17A1.5 1.5 0 0 1 20 4.5V6H0V4.5zM0 8v7.5A1.5 1.5 0 0 0 1.5 17h17a1.5 1.5 0 0 0 1.5-1.5V8H0zm7 4H2v-2h5v2z"/></svg>',CreditCardPercentMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 1A1.5 1.5 0 0 0 0 2.5V4h20V2.5A1.5 1.5 0 0 0 18.5 1h-17zM0 13.5V6h20v3h-6c-2.757 0-5 2.236-5 4.987V15H1.5A1.5 1.5 0 0 1 0 13.5zM2 10h5V8H2v2z"/><circle cx="13.5" cy="12.5" r="1.5"/><circle cx="18.5" cy="17.5" r="1.5"/><path d="M19.707 11.293a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0z"/></svg>',CreditCardSecureMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 1A1.5 1.5 0 0 0 0 2.5V4h20V2.5A1.5 1.5 0 0 0 18.5 1h-17z"/><path fill-rule="evenodd" d="M0 13.5V6h20v3h-5c-2.757 0-5 2.236-5 4.987V15H1.5A1.5 1.5 0 0 1 0 13.5zM2 10h5V8H2v2z"/><path fill-rule="evenodd" d="M13 14v1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1v-1a3 3 0 1 0-6 0zm3-1a1 1 0 0 0-1 1v1h2v-1a1 1 0 0 0-1-1z"/></svg>',CurrencyConvertMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.977 7c.026.001.649.039 1.316.707a.999.999 0 1 0 1.414-1.414A4.491 4.491 0 0 0 6 5.2V5a1 1 0 1 0-2 0v.185A2.995 2.995 0 0 0 2 8c0 2.281 1.727 2.713 2.758 2.971C5.873 11.249 6 11.354 6 12c0 .552-.448 1-.976 1-.026-.001-.65-.04-1.317-.707a.999.999 0 1 0-1.414 1.414A4.506 4.506 0 0 0 4 14.8v.2a1 1 0 1 0 2 0v-.185A2.993 2.993 0 0 0 8 12c0-2.281-1.726-2.713-2.757-2.971C4.128 8.751 4 8.646 4 8c0-.551.449-1 .977-1zM17 13h-3.585l.292-.293a.999.999 0 1 0-1.414-1.414l-2 1.999a.988.988 0 0 0-.215.326.992.992 0 0 0 0 .764c.05.123.124.234.216.326l1.999 1.999a1 1 0 0 0 1.414-1.414L13.415 15H17a1 1 0 1 0 0-2zm-7-7a1 1 0 0 1 1-1h3.586l-.293-.293a1 1 0 0 1 1.414-1.414l1.999 1.999a.985.985 0 0 1 .217.326.992.992 0 0 1 0 .764.985.985 0 0 1-.217.326l-2 1.999a.997.997 0 0 1-1.413 0 1 1 0 0 1 0-1.414L14.586 7H11a1 1 0 0 1-1-1z"/></svg>',CustomerMinusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 11h4a1 1 0 0 0 0-2h-4a1 1 0 0 0 0 2zm-1.637-5.78a4.22 4.22 0 1 1-8.439-.001 4.22 4.22 0 0 1 8.439 0zM.67 14.469c1.384-1.09 4.141-2.853 7.474-2.853 3.332 0 6.089 1.764 7.474 2.853.618.486.81 1.308.567 2.056l-.333 1.02A2.11 2.11 0 0 1 13.846 19H2.441a2.11 2.11 0 0 1-2.005-1.455l-.333-1.02c-.245-.748-.052-1.57.566-2.056zM-2651 445h100v100h-100V445z"/></svg>',CustomerPlusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 11a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1V7a1 1 0 1 0-2 0v1h-1a1 1 0 1 0 0 2h1v1zm-2.637-5.78a4.22 4.22 0 1 1-8.439 0 4.22 4.22 0 0 1 8.439 0zM.67 14.469c1.385-1.09 4.141-2.853 7.474-2.853 3.332 0 6.089 1.764 7.474 2.853.618.486.81 1.308.567 2.056l-.333 1.02A2.11 2.11 0 0 1 13.845 19H2.441a2.11 2.11 0 0 1-2.005-1.455l-.333-1.02c-.245-.748-.052-1.57.567-2.056z"/></svg>',CustomersMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.363 5.22a4.22 4.22 0 1 1-8.439 0 4.22 4.22 0 0 1 8.439 0zM2.67 14.469c1.385-1.09 4.141-2.853 7.474-2.853 3.332 0 6.089 1.764 7.474 2.853.618.486.81 1.308.567 2.056l-.333 1.02A2.11 2.11 0 0 1 15.846 19H4.441a2.11 2.11 0 0 1-2.005-1.455l-.333-1.02c-.245-.748-.052-1.57.567-2.056z"/></svg>',CustomersMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.11 2.24a3.44 3.44 0 0 0-3.44 3.43 3.44 3.44 0 0 0 6.88 0 3.44 3.44 0 0 0-3.44-3.43zm0 15.46c2.8 0 5.27-1.36 6.84-3.43-1.57-2.08-4.04-3.44-6.84-3.44s-5.26 1.36-6.83 3.44a8.55 8.55 0 0 0 6.83 3.43z"/></svg>',DataVisualizationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2h-1v11.5a1.5 1.5 0 0 1-1.5 1.5h-3.22l.69 2.758a1 1 0 1 1-1.94.485L11.22 16H8.78l-.81 3.242a1 1 0 1 1-1.94-.485L6.72 16H3.5A1.5 1.5 0 0 1 2 14.5V3H1a1 1 0 0 1-1-1zm15 3h-2v8h2V5zM9 7h2v6H9V7zM7 9H5v4h2V9z"/></svg>',DeleteMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M14 4h3a1 1 0 0 1 1 1v1H2V5a1 1 0 0 1 1-1h3V1.5A1.5 1.5 0 0 1 7.5 0h5A1.5 1.5 0 0 1 14 1.5V4zM8 2v2h4V2H8zM3 8h14v10.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5V8zm4 3H5v6h2v-6zm4 0H9v6h2v-6zm2 0h2v6h-2v-6z"/></svg>',DeleteMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 3.994C8 2.893 8.895 2 10 2s2 .893 2 1.994h4c.552 0 1 .446 1 .997a1 1 0 0 1-1 .997H4c-.552 0-1-.447-1-.997s.448-.997 1-.997h4zM5 14.508V8h2v6.508a.5.5 0 0 0 .5.498H9V8h2v7.006h1.5a.5.5 0 0 0 .5-.498V8h2v6.508A2.496 2.496 0 0 1 12.5 17h-5C6.12 17 5 15.884 5 14.508z"/></svg>',DesktopMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15H7c0 .525-.015.793-.144 1.053-.12.239-.416.61-1.303 1.053A1 1 0 0 0 6.022 19h7.956a1.004 1.004 0 0 0 .995-.77 1.001 1.001 0 0 0-.544-1.134c-.873-.439-1.166-.806-1.285-1.043-.13-.26-.144-.528-.144-1.053h4.5a1.5 1.5 0 0 0 1.5-1.5v-11A1.5 1.5 0 0 0 17.5 1h-15zm8.883 16a2.621 2.621 0 0 1-.027-.053c-.357-.714-.357-1.42-.356-1.895V15H9v.052c0 .475.001 1.181-.356 1.895a2.913 2.913 0 0 1-.027.053h2.766zM17 11H3v2h14v-2z"/></svg>',DiamondAlertMajor:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.768.768a2.5 2.5 0 0 0-3.536 0L.768 8.232a2.5 2.5 0 0 0 0 3.536l7.464 7.464a2.5 2.5 0 0 0 3.536 0l7.464-7.464a2.5 2.5 0 0 0 0-3.536L11.768.768zM9 6a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0V6zm2 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/></svg>',DetailedPopUpMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.1 3h1V1H2.6c-.8 0-1.5.7-1.5 1.5V4h2V3zm6 16h-3v-2h3v2zm2 0h3v-2h-3v2zm-8-2v-1h-2v1.5c0 .8.7 1.5 1.5 1.5h1.5v-2h-1zm13 0h1v-1h2v1.5c0 .8-.7 1.5-1.5 1.5h-1.5v-2zm-15-8V6h2v3h-2zm0 2v3h2v-3h-2z"/><path fill-rule="evenodd" d="M9 3v8h8V3H9zm-.5-2C7.7 1 7 1.7 7 2.5v9c0 .8.7 1.5 1.5 1.5h9c.8 0 1.5-.7 1.5-1.5v-9c0-.8-.7-1.5-1.5-1.5h-9z"/></svg>',DigitalMediaReceiverMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 10a8 8 0 0 1 8-8 1 1 0 1 0 0-2C4.477 0 0 4.477 0 10a1 1 0 1 0 2 0zm8-4a4 4 0 0 0-4 4 1 1 0 1 1-2 0 6 6 0 0 1 6-6 1 1 0 1 1 0 2zm1 4a1 1 0 0 1 1 1v3h6.5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 2 18.5v-3A1.5 1.5 0 0 1 3.5 14H10v-3a1 1 0 0 1 1-1zm-4 6H4v2h3v-2z"/></svg>',DiscountAutomaticMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m8.707 7.707 6-6A1 1 0 0 0 13.293.293l-6 6a1 1 0 0 0 1.414 1.414z"/><path fill-rule="evenodd" d="M2 0a1 1 0 0 0 0 2h1v12.17A3.001 3.001 0 1 0 6.83 16h5.34A3 3 0 1 0 15 14H5v-2h11.566a1.5 1.5 0 0 0 1.485-1.288l.939-6.57a1 1 0 0 0-1.98-.283L16.133 10H5V1.5A1.5 1.5 0 0 0 3.5 0H2zm13 16a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM4 16a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path d="M8.5 3a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM15 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/></svg>',DiscountCodeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 3H3v1H1V2.5A1.5 1.5 0 0 1 2.5 1H4v2zm5 0H6V1h3v2zm5 0h-3V1h3v2zM1 9V6h2v3H1zm0 2v3h2v-3H1zm16-5h2v3h-2V6zm2 5h-2v3h2v-3zM9 19v-2H6v2h3zm5-2v2h-3v-2h3zM9 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm3.5 6.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm1.207-7.707a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0zM18 19a1 1 0 0 0 1-1v-2h-2v1h-1v2h2zM2 19a1 1 0 0 1-1-1v-2h2v1h1v2H2zM17 4V3h-1V1h1.5A1.5 1.5 0 0 1 19 2.5V4h-2z"/></svg>',DiscountsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.566.66a2.189 2.189 0 0 0-3.132 0l-.962.985a2.189 2.189 0 0 1-1.592.66l-1.377-.017a2.189 2.189 0 0 0-2.215 2.215l.016 1.377a2.189 2.189 0 0 1-.66 1.592l-.984.962a2.189 2.189 0 0 0 0 3.132l.985.962c.428.418.667.994.66 1.592l-.017 1.377a2.189 2.189 0 0 0 2.215 2.215l1.377-.016a2.189 2.189 0 0 1 1.592.66l.962.984c.859.88 2.273.88 3.132 0l.962-.985a2.189 2.189 0 0 1 1.592-.66l1.377.017a2.189 2.189 0 0 0 2.215-2.215l-.016-1.377a2.189 2.189 0 0 1 .66-1.592l.984-.962c.88-.859.88-2.273 0-3.132l-.985-.962a2.189 2.189 0 0 1-.66-1.592l.017-1.377a2.189 2.189 0 0 0-2.215-2.215l-1.377.016a2.189 2.189 0 0 1-1.592-.66L11.566.66zM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm.778-8.278a1.1 1.1 0 0 1 0 1.556l-6 6a1.1 1.1 0 1 1-1.556-1.556l6-6a1.1 1.1 0 0 1 1.556 0z"/></svg>',DisputeMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M9 9a1 1 0 0 0 2 0V7a1 1 0 1 0-2 0v2zm0 4a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm-7-3c0 4.411 3.589 8 8 8a7.939 7.939 0 0 0 4.111-1.15l2.494 1.069a1 1 0 0 0 1.314-1.313l-1.069-2.495A7.939 7.939 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8z"/></svg>',DnsSettingsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1 3.5A1.5 1.5 0 0 1 2.5 2h15A1.5 1.5 0 0 1 19 3.5v2A1.5 1.5 0 0 1 17.5 7h-15A1.5 1.5 0 0 1 1 5.5v-2zm3.5 1a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM1 9.5A1.5 1.5 0 0 1 2.5 8h6.073a1.5 1.5 0 0 1 1.342 2.17l-1 2a1.5 1.5 0 0 1-1.342.83H2.5A1.5 1.5 0 0 1 1 11.5v-2zm3.5 1a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3.5 5A1.5 1.5 0 0 1 2.5 14h5.27a1.5 1.5 0 0 1 1.471 1.206l.4 2A1.5 1.5 0 0 1 8.171 19H2.5A1.5 1.5 0 0 1 1 17.5v-2zm3.5 1a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7.659-3.441-.682-.429a.987.987 0 0 1-.452-.611.946.946 0 0 1 .134-.742.983.983 0 0 1 .639-.425 1.023 1.023 0 0 1 .758.15l.682.427c.369-.31.8-.54 1.267-.676V9.97c0-.258.104-.504.291-.686A1.01 1.01 0 0 1 15.5 9c.264 0 .517.102.704.284a.957.957 0 0 1 .291.686v.783c.472.138.903.37 1.267.676l.682-.429a1.02 1.02 0 0 1 .735-.107c.25.058.467.208.606.419.14.21.19.465.141.71a.97.97 0 0 1-.403.608l-.682.429a3.296 3.296 0 0 1 0 1.882l.682.43a.987.987 0 0 1 .452.611.946.946 0 0 1-.134.742.982.982 0 0 1-.639.425 1.02 1.02 0 0 1-.758-.15l-.682-.428c-.369.31-.8.54-1.267.676v.783a.957.957 0 0 1-.291.686A1.01 1.01 0 0 1 15.5 19a1.01 1.01 0 0 1-.704-.284.957.957 0 0 1-.291-.686v-.783a3.503 3.503 0 0 1-1.267-.676l-.682.429a1.02 1.02 0 0 1-.75.132.999.999 0 0 1-.627-.421.949.949 0 0 1-.135-.73.97.97 0 0 1 .434-.61l.68-.43a3.296 3.296 0 0 1 0-1.882zm3.341-.507c-.82 0-1.487.65-1.487 1.449s.667 1.448 1.487 1.448c.82 0 1.487-.65 1.487-1.448 0-.8-.667-1.45-1.487-1.45z"/></svg>',DomainNewMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2.5 1A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1h-15zM9 9a1 1 0 0 1 2 0v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2H7a1 1 0 1 1 0-2h2V9zM7 5V3h10v2H7zM3 3v2h2V3H3z"/></svg>',DomainsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.903 8c.06.629.097 1.292.097 2a1 1 0 0 1-2 0c0-.713-.039-1.378-.105-2H8.092c-.139 1.33-.14 2.67-.004 4H10a1 1 0 0 1 0 2H8.416c.469 2.08 1.202 3.41 1.585 4 0 0 .789.013.926.002a1.008 1.008 0 0 1 1.07.925 1 1 0 0 1-.924 1.07C10.979 20.004 10 20 10 20 4.486 20 0 15.514 0 10 0 4.485 4.486 0 10 0s10 4.485 10 10c0 .379-.036.749-.079 1.116a1.001 1.001 0 0 1-1.987-.233c.035-.291.066-.583.066-.883 0-.692-.098-1.36-.263-2h-3.834zM9.988 2.036c-.386.606-1.1 1.931-1.564 3.964h3.137c-.466-2.033-1.185-3.358-1.573-3.964zM2.263 12h3.819a21.604 21.604 0 0 1-.095-1.996c0-.67.033-1.338.096-2.004h-3.82A7.946 7.946 0 0 0 2 10a7.96 7.96 0 0 0 .263 2zm.819 2a8.031 8.031 0 0 0 4.437 3.601A16.293 16.293 0 0 1 6.371 14H3.082zm3.291-8a16.235 16.235 0 0 1 1.15-3.603A8.03 8.03 0 0 0 3.082 6h3.291zm7.239 0h3.305a8.029 8.029 0 0 0-4.465-3.612A16.128 16.128 0 0 1 13.612 6z"/><path d="m15.223 18.945-2.55-5.61a.5.5 0 0 1 .662-.662l5.61 2.55a.5.5 0 0 1 .017.903l-1.742.87a.5.5 0 0 0-.223.224l-.871 1.742a.5.5 0 0 1-.903-.017z"/></svg>',DraftOrdersMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.101 3.291 16.709.898 17.107.5A1.692 1.692 0 1 1 19.5 2.892l-.399.399zm-3.49-1.297 2.392 2.393L11.5 10.89l-3.168.777.776-3.17 6.503-6.503zM3 3v11h3.5c.775 0 1.388.662 1.926 1.244l.026.028.085.091c.365.392.885.637 1.463.637.578 0 1.098-.245 1.463-.637a31 31 0 0 0 .102-.11l.009-.009C12.112 14.662 12.725 14 13.5 14H17v-3a1 1 0 1 1 2 0v6.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1H9a1 1 0 1 1 0 2H3z"/></svg>',DragDropMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 2h1V0H1.5A1.5 1.5 0 0 0 0 1.5V3h2V2zm3 0h3V0H5v2zm8 0h-3V0h3v2zM0 5v3h2V5H0zm0 5v3h2v-3H0zm18-5h-2v3h2V5zM5 18h3v-2H5v2zm-5-1a1 1 0 0 0 1 1h2v-2H2v-1H0v2zM16 3V2h-1V0h1.5A1.5 1.5 0 0 1 18 1.5V3h-2z"/><path d="M10.814 14H5.5A1.5 1.5 0 0 1 4 12.5v-7A1.5 1.5 0 0 1 5.5 4h7A1.5 1.5 0 0 1 14 5.5v5.314l5.512 2.506a.832.832 0 0 1 .028 1.501l-2.898 1.45a.832.832 0 0 0-.372.371l-1.449 2.898a.832.832 0 0 1-1.501-.028L10.814 14zm-.909-2-.828-1.821c-.318-.7.402-1.42 1.102-1.102L12 9.905V6H6v6h3.905z"/></svg>',DragHandleMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"/></svg>',DropdownMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.098 8H6.902c-.751 0-1.172.754-.708 1.268L9.292 12.7c.36.399 1.055.399 1.416 0l3.098-3.433C14.27 8.754 13.849 8 13.098 8z"/></svg>',DuplicateMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 2A1.5 1.5 0 0 0 6 3.5V13a1 1 0 0 0 1 1h9.5a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 16.5 2h-9zm-4 4H4v10h10v.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 16.5v-9A1.5 1.5 0 0 1 3.5 6z"/></svg>',EditMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14.846 1.403 3.752 3.753.625-.626A2.653 2.653 0 0 0 15.471.778l-.625.625zm2.029 5.472-3.752-3.753L1.218 15.028 0 19.998l4.97-1.217L16.875 6.875z"/></svg>',EditMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m13.877 3.123 3.001 3.002.5-.5a2.123 2.123 0 1 0-3.002-3.002l-.5.5zM15.5 7.5l-3.002-3.002-9.524 9.525L2 17.999l3.976-.974L15.5 7.5z"/></svg>',EmailMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 5.324V15.5A1.5 1.5 0 0 0 1.5 17h17a1.5 1.5 0 0 0 1.5-1.5V5.324l-9.496 5.54a1 1 0 0 1-1.008 0L0 5.324z"/><path d="M19.443 3.334A1.494 1.494 0 0 0 18.5 3h-17a1.49 1.49 0 0 0-.943.334L10 8.842l9.443-5.508z"/></svg>',EmbedMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.98 5.196a1 1 0 0 0-1.96-.392l-2 10a1 1 0 0 0 1.96.392l2-10zM6.8 6.4a1 1 0 0 1-.2 1.4L3.667 10 6.6 12.2a1 1 0 0 1-1.2 1.6l-4-3a1 1 0 0 1 0-1.6l4-3a1 1 0 0 1 1.4.2zm6.4 7.2a1 1 0 0 1 .2-1.4l2.933-2.2L13.4 7.8a1 1 0 1 1 1.2-1.6l4 3a1 1 0 0 1 0 1.6l-4 3a1 1 0 0 1-1.4-.2z"/></svg>',EmailNewsletterMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 4h6v2H7V4zm4 4H7v2h4V8z"/><path fill-rule="evenodd" d="M3 10V1.5A1.5 1.5 0 0 1 4.5 0h11A1.5 1.5 0 0 1 17 1.5V10h2v7.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5V10h2zm2 2V2h10v10l-5 2.771L5 12z"/></svg>',EnableSelectionMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.5 3A1.5 1.5 0 0 0 3 4.5v11A1.5 1.5 0 0 0 4.5 17h11a1.5 1.5 0 0 0 1.5-1.5v-11A1.5 1.5 0 0 0 15.5 3h-11zm9.207 5.707a1 1 0 0 0-1.414-1.414L9 10.586 7.707 9.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4z"/></svg>',EnvelopeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 16.5v-13C0 2.7.7 2 1.5 2h17c.8 0 1.5.7 1.5 1.5v13c0 .8-.7 1.5-1.5 1.5h-17C.7 18 0 17.3 0 16.5zm18-1.2-3-1.8V6.6l3-1.867V15.3zm-2.667.7L13.5 14.9c-.3-.2-.5-.5-.5-.9V6c0-.4.2-.7.5-.9L15.333 4H2v12h13.333zM4 8h4v2H4V8zm6 4H4v2h6v-2z"/></svg>',ExchangeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.986 12.166a3 3 0 1 1-1.973 0A1.003 1.003 0 0 1 16 12V9.999A3.999 3.999 0 0 0 12.001 6h-.587l1.293 1.293a1 1 0 1 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 0 1 1.414 1.414L11.414 4h.587A5.999 5.999 0 0 1 18 9.999V12c0 .057-.005.112-.014.166zm-14-4.332c.01.054.014.11.014.166v2.001A4 4 0 0 0 7.999 14h.587l-1.293-1.293a1 1 0 0 1 1.414-1.414l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 1 1-1.414-1.414L8.586 16h-.587A6 6 0 0 1 2 10.001V8c0-.057.005-.112.014-.166a3 3 0 1 1 1.972 0zM4 5a1 1 0 1 0-2 0 1 1 0 0 0 2 0zm14 10a1 1 0 1 0-2.001.001A1 1 0 0 0 18 15z"/></svg>',ExistingInventoryMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M20 9c0 .55-.45 1-1 1h-2v2c0 .55-.45 1-1 1s-1-.45-1-1v-2h-2c-.55 0-1-.45-1-1s.45-1 1-1h2V6c0-.55.45-1 1-1s1 .45 1 1v2h2c.55 0 1 .45 1 1zM4 8h3V3H4v5zm-2 9h5v-7H2v7zm14-2c-.55 0-1 .45-1 1v1H9V6h3c.55 0 1-.45 1-1s-.45-1-1-1H9V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v6H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h15c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1z"/></svg>',ExitMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.703 13.707a.997.997 0 0 0 0-1.414L6.409 11h6.589a1 1 0 1 0 0-2H6.409l1.294-1.293a1 1 0 1 0-1.415-1.414l-3.001 3a.994.994 0 0 0-.198.298c-.013.027-.021.054-.03.082a.944.944 0 0 0-.054.269l-.001.027a.937.937 0 0 0 .062.398l.003.012v.004c.048.112.117.208.197.294l.01.015.01.015 3.002 3a1 1 0 0 0 1.415 0z"/><path d="M2 16.5A1.5 1.5 0 0 0 3.5 18h13a1.5 1.5 0 0 0 1.5-1.5v-13A1.5 1.5 0 0 0 16.5 2h-13A1.5 1.5 0 0 0 2 3.5V5a1 1 0 1 0 2 0V4h12v12H4v-1a1 1 0 1 0-2 0v1.5z"/></svg>',ExportMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.707 2.293a.999.999 0 0 0-1.414 0l-3 3a.999.999 0 1 0 1.414 1.414L9 5.414V13a1 1 0 1 0 2 0V5.414l1.293 1.293a.999.999 0 1 0 1.414-1.414l-3-3zM3 16a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H3z"/></svg>',ExternalMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V6.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L13.586 5H12a1 1 0 0 1-1-1zM3 6.5A1.5 1.5 0 0 1 4.5 5H8a1 1 0 0 1 0 2H5v8h8v-3a1 1 0 1 1 2 0v3.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 3 15.5v-9z"/></svg>',ExternalSmallMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 13v1a1 1 0 0 1-1 1H6c-.575 0-1-.484-1-1V7a1 1 0 0 1 1-1h1c1.037 0 1.04 1.5 0 1.5-.178.005-.353 0-.5 0v6h6V13c0-1 1.5-1 1.5 0zm-3.75-7.25A.75.75 0 0 1 11 5h4v4a.75.75 0 0 1-1.5 0V7.56l-3.22 3.22a.75.75 0 1 1-1.06-1.06l3.22-3.22H11a.75.75 0 0 1-.75-.75z"/></svg>',FaviconMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.71.29C17.52.11 17.27 0 17 0H3c-.27 0-.52.11-.71.29C2.11.48 2 .73 2 1v10c0 .27.11.52.29.71.19.18.44.29.71.29h14c.27 0 .52-.11.71-.29.18-.19.29-.44.29-.71V1c0-.27-.11-.52-.29-.71zM16 7l-2.41-1.832a.992.992 0 0 0-1.15.03L9 8 6.48 6.168c-.3-.2-.68-.22-1-.06L4 7V2h12v5zm-7 9c.27 0 .52-.11.71-.29.18-.19.29-.44.29-.71 0-.27-.11-.52-.29-.71-.19-.18-.44-.29-.71-.29-1.65 0-3 1.35-3 3s1.35 3 3 3c.27 0 .52-.11.71-.29.18-.19.29-.44.29-.71 0-.27-.11-.52-.29-.71-.19-.18-.44-.29-.71-.29a.982.982 0 0 1-.68-.31.976.976 0 0 1-.28-.69c0-.26.1-.51.28-.69.18-.19.42-.3.68-.31zm6-2c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3zm.68 3.69c-.18.19-.42.3-.68.31a.982.982 0 0 1-.68-.31.976.976 0 0 1-.28-.69c0-.26.1-.51.28-.69.18-.19.42-.3.68-.31.26.01.5.12.68.31.18.18.28.43.28.69 0 .26-.1.51-.28.69zM3 14c-.27 0-.52.11-.71.29-.18.19-.29.44-.29.71v4c0 .27.11.52.29.71.19.18.44.29.71.29.27 0 .52-.11.71-.29.18-.19.29-.44.29-.71v-4c0-.27-.11-.52-.29-.71-.19-.18-.44-.29-.71-.29z"/></svg>',FavoriteMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 12 1.376 9c-.684-.547-.384-1.647.484-1.771L7 7l2.195-5.503a.9.9 0 0 1 1.61 0L13 7l5.14.229c.868.124 1.168 1.224.484 1.771L15 12l.989 5.857a1 1 0 0 1-1.437 1.036L10 16l-4.552 2.892a1 1 0 0 1-1.437-1.036L5 12z"/></svg>',FeaturedCollectionMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8 .439a1.48 1.48 0 0 0-2.103 0l-1.04 1.18-3.48 4a1.497 1.497 0 0 0-.377 1v9.88c0 .398.157.779.436 1.06.278.282.657.44 1.051.44h2.479v-9.43a3.568 3.568 0 0 1 .872-2.33l3.638-4.12L8 .439zm10.618 7.13-4.579-5.13a1.51 1.51 0 0 0-2.129 0l-1.004 1.18-3.524 4a1.486 1.486 0 0 0-.382 1v9.88a1.5 1.5 0 0 0 1.456 1.5h9.038c.4 0 .782-.158 1.065-.44.282-.281.44-.663.44-1.06v-9.93a1.487 1.487 0 0 0-.38-1zM11.402 9c-1 0-1.9.9-1.9 2 0 2.2 1.3 3.9 3.5 5 2.2-1.1 3.5-2.8 3.5-4.9v-.2c0-1-.9-1.9-1.9-1.9-1 0-1.6 1.167-1.6 1.167S12.402 9 11.402 9z"/></svg>',FeaturedContentMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16.56 4.56 12.44.44A1.5 1.5 0 0 0 11.38 0H4.5A1.5 1.5 0 0 0 3 1.5v17A1.5 1.5 0 0 0 4.5 20H15a2 2 0 0 0 2-2V5.62a1.5 1.5 0 0 0-.44-1.06zM8.4 7c-1 0-1.9.9-1.9 2 0 2.2 1.3 3.9 3.5 5 2.2-1.1 3.5-2.8 3.5-4.9v-.2c0-1-.9-1.9-1.9-1.9-1 0-1.6 1.167-1.6 1.167S9.4 7 8.4 7z"/></svg>',FinancesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H5zm7 6.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path fill-rule="evenodd" d="M16 15v1a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h1v7a1 1 0 0 0 1 1h13z"/></svg>',FilterMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 5a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm3 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1zm5 4a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2H8z"/></svg>',FirstOrderMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.69 5.772-.243.123a1 1 0 1 1-.895-1.79l2-1a.998.998 0 0 1 1.434 1.06l-1 6a1 1 0 1 1-1.973-.33l.677-4.063zm-5.073-.848a.997.997 0 0 1-.324-.217l-1-1a1 1 0 0 1 1.414-1.414l1 1a.999.999 0 0 1-1.09 1.631zm10.766 0a.997.997 0 0 1-.94-.092 1 1 0 0 1-.15-1.54l1-1a1 1 0 1 1 1.414 1.415l-1 1a.996.996 0 0 1-.324.217zm-.09 3.783A1 1 0 0 1 16 7h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-.707-.293zM4 9H2a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2zm-3 8.5V12h2v2h3.5c.775 0 1.388.662 1.926 1.244l.11.12a2 2 0 0 0 2.927-.001l.11-.119h.001C12.112 14.662 12.725 14 13.5 14H17v-2h2v5.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5z"/></svg>',FirstVisitMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.962 9.726C19.939 9.648 17.666 2 10 2S.061 9.648.038 9.726a1 1 0 0 0 0 .548C.061 10.352 2.334 18 10 18s9.939-7.648 9.962-7.726a.999.999 0 0 0 0-.548zm-8.876-3.723a1 1 0 0 1 .901 1.161l-1 6a1 1 0 1 1-1.973-.328l.677-4.064-.243.123a1 1 0 0 1-.895-1.79l2-1a1 1 0 0 1 .533-.102z"/></svg>',FlagMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.249 2.001h13.868a.5.5 0 0 1 .428.758L15 7l3.35 4.188a.5.5 0 0 1-.39.812l-12.49.001 1.507 6.782a1 1 0 1 1-1.953.434l-4-18A1 1 0 0 1 2.977.783l.272 1.218z"/></svg>',FlipCameraMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M7.059 1a1.5 1.5 0 0 0-1.32.786l-.54 1c-.039.07-.07.142-.096.214H1.5A1.5 1.5 0 0 0 0 4.5v11A1.5 1.5 0 0 0 1.5 17h17a1.5 1.5 0 0 0 1.5-1.5v-11A1.5 1.5 0 0 0 18.5 3h-3.621a1.546 1.546 0 0 0-.1-.223l-.55-1A1.5 1.5 0 0 0 12.914 1H7.06zm4.692 14.08c-.63.278-1.311.42-2 .42A5.016 5.016 0 0 1 4.776 11H3.501a.5.5 0 0 1-.405-.795l2.27-3.145a.5.5 0 0 1 .81 0l2.275 3.145a.5.5 0 0 1-.4.8h-1.25a3.014 3.014 0 0 0 2.95 2.495c.32 0 .637-.05.94-.15l1.33 1.6c-.09.05-.18.09-.27.13zm2.884-2.14L16.9 9.8a.5.5 0 0 0-.405-.8H15.22a5.016 5.016 0 0 0-4.975-4.5 4.941 4.941 0 0 0-2.27.55l1.33 1.6c.303-.1.62-.15.94-.15a3.014 3.014 0 0 1 2.95 2.505h-1.25a.5.5 0 0 0-.4.795l2.28 3.14a.5.5 0 0 0 .81 0z"/></svg>',FolderDownMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17.5 19a1.5 1.5 0 0 0 1.5-1.5v-13A1.5 1.5 0 0 0 17.5 3h-6.879c-.397 0-.779-.158-1.06-.44L8.44 1.439A1.503 1.503 0 0 0 7.379 1H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15zM9 11.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l3 3a.997.997 0 0 0 1.414 0l3-3a1 1 0 0 0-1.414-1.414L11 11.586V8a1 1 0 0 0-2 0v3.586z"/></svg>',FolderMinusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 3A1.5 1.5 0 0 1 19 4.5v13a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h4.879a1.5 1.5 0 0 1 1.06.44l1.122 1.12a1.5 1.5 0 0 0 1.06.44H17.5zM7 10a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H7z"/></svg>',FolderMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 17.5v-13A1.5 1.5 0 0 0 17.5 3h-6.879a1.5 1.5 0 0 1-1.06-.44L8.439 1.44A1.5 1.5 0 0 0 7.38 1H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5z"/></svg>',FolderPlusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17.5 3A1.5 1.5 0 0 1 19 4.5v13a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h4.879a1.5 1.5 0 0 1 1.06.44l1.122 1.12a1.5 1.5 0 0 0 1.06.44H17.5zM9 8a1 1 0 0 1 2 0v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2H7a1 1 0 1 1 0-2h2V8z"/></svg>',FolderUpMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M19 17.5v-13A1.5 1.5 0 0 0 17.5 3h-6.879c-.397 0-.779-.158-1.06-.44L8.44 1.439A1.503 1.503 0 0 0 7.379 1H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5zm-8-7.085 1.293 1.293a1 1 0 0 0 1.414-1.414l-3-3a.997.997 0 0 0-1.414 0l-3 3a1 1 0 0 0 1.414 1.414L9 10.415v3.586a1 1 0 1 0 2 0v-3.586z"/></svg>',FollowUpEmailMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m19.707 15.293-3-3a1.001 1.001 0 0 0-1.414 1.414L16.586 15H13a1 1 0 0 0 0 2h3.586l-1.293 1.293a1 1 0 1 0 1.414 1.414l3-3a1 1 0 0 0 0-1.414z"/><path d="M18.5 1c.357 0 .686.125.943.334L10 6.842.557 1.334A1.49 1.49 0 0 1 1.5 1h17zM0 13.5V3.324l9.496 5.54a1 1 0 0 0 1.008 0L20 3.324V10h-4a6.002 6.002 0 0 0-5.917 5H1.5A1.5 1.5 0 0 1 0 13.5z"/></svg>',FoodMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17 4h-.22L15.97.758A.999.999 0 0 0 15 0H5a.998.998 0 0 0-.97.758L3.22 4H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h.095l.91 9.1A1 1 0 0 0 5 20h10c.514 0 .945-.39.996-.9l.91-9.1H17a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1zM5.782 2h8.437l.5 2H5.282l.5-2zM4 8h12V6H4v2zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></svg>',FooterMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1 2a1 1 0 0 1 1-1h2v2H3v1H1V2zm17-1a1 1 0 0 1 1 1v2h-2V3h-1V1h2zm1 16.5V11H1v6.5A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5zM19 6v3h-2V6h2zM3 9V6H1v3h2zm11-8v2h-3V1h3zM9 3V1H6v2h3z"/></svg>',FormsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 14V6h-2V4h2.5c.8 0 1.5.7 1.5 1.5v9c0 .8-.7 1.5-1.5 1.5H16v-2h2z"/><path d="M17.7 18.3c-.2-.2-.4-.3-.7-.3h-2c-.3 0-.5-.1-.7-.3-.2-.2-.3-.4-.3-.7V3c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.3-.7-.2-.2-.4-.3-.7-.3h-2c-.7 0-1.5.3-2 .8-.5-.5-1.2-.8-2-.8H9c-.3 0-.5.1-.7.3-.2.2-.3.4-.3.7 0 .3.1.5.3.7.2.2.4.3.7.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v14c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3H9c-.3 0-.5.1-.7.3-.2.2-.3.4-.3.7 0 .3.1.5.3.7.2.2.4.3.7.3h2c.7 0 1.5-.3 2-.8.5.5 1.2.8 2 .8h2c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.3-.7zM2 14V6h8V4H1.5C.7 4 0 4.7 0 5.5v9c0 .8.7 1.5 1.5 1.5H10v-2H2zm4-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',FraudProtectMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M9.131.233c-2.37 1.383-5.37 2.33-7.634 2.646-.822.115-1.495.79-1.494 1.62l.002.497c-.03 6.043.477 11.332 9.462 14.903a1.45 1.45 0 0 0 1.062 0C19.52 16.328 20.032 11.04 20 4.996v-.501c0-.828-.673-1.51-1.491-1.638-2.149-.337-5.282-1.274-7.65-2.628A1.733 1.733 0 0 0 9.13.233zm4.577 8.478a1 1 0 0 0-1.414-1.415L9.001 10.59 7.708 9.297a1 1 0 1 0-1.414 1.414l2 2.001a1 1 0 0 0 1.414 0l4-4.001z"/></svg>',FraudProtectPendingMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1.493 2.879C3.757 2.562 6.757 1.616 9.128.233a1.733 1.733 0 0 1 1.728-.004c2.369 1.354 5.502 2.29 7.65 2.628.818.128 1.491.81 1.491 1.638v.501c.031 6.043-.48 11.332-9.472 14.903a1.45 1.45 0 0 1-1.062 0C.478 16.328-.029 11.04.001 4.996L0 4.499c-.002-.83.672-1.505 1.493-1.62zm9.214 6.414a1 1 0 1 0-1.414 1.414 1 1 0 0 0 1.414-1.414zm-4 0a1 1 0 1 0-1.414 1.414 1 1 0 0 0 1.414-1.414zm8 0a1 1 0 1 0-1.414 1.414 1 1 0 0 0 1.414-1.414z"/></svg>',FraudProtectMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16.822 12.683c-1.349 2.513-3.885 4.485-6.818 5.317-2.935-.832-5.471-2.804-6.82-5.317C1.764 10.038 2 7 3 4c1.361-.089 3.983-.573 7.004-2 3.02 1.427 5.635 1.911 6.996 2 1 3 1 6-.178 8.683zm-2.615-5.89a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 1 1 1.414-1.414L9 10.586l3.793-3.793a1 1 0 0 1 1.414 0z"/></svg>',FraudProtectPendingMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.822 12.683c-1.349 2.513-3.885 4.485-6.818 5.317-2.935-.832-5.471-2.804-6.82-5.317-1.344-2.502-1.542-5.536-.586-8.808C3.96 3.786 6.983 3.427 10.004 2c3.02 1.427 6.043 1.786 7.404 1.875.958 3.272.758 6.306-.586 8.808zM13 10a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm-4 0a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm-4 0a1 1 0 1 0 2 0 1 1 0 0 0-2 0z"/></svg>',FraudProtectUnprotectedMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1.493 2.879C3.757 2.562 6.757 1.616 9.128.233a1.733 1.733 0 0 1 1.728-.004c2.369 1.354 5.502 2.29 7.65 2.628.818.128 1.491.81 1.491 1.638v.501c.031 6.043-.48 11.332-9.472 14.903a1.45 1.45 0 0 1-1.062 0C.478 16.328-.029 11.04.001 4.996L0 4.499c-.002-.83.672-1.505 1.493-1.62zm7.8 2.414A1 1 0 0 0 9 6v4a1 1 0 1 0 2 0V6a1 1 0 0 0-1.707-.707zm0 8a1 1 0 1 0 1.414 1.414 1 1 0 0 0-1.414-1.414z"/></svg>',FraudProtectUnprotectedMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.822 12.683c-1.349 2.513-3.885 4.485-6.818 5.317-2.935-.832-5.471-2.804-6.82-5.317-1.344-2.502-1.542-5.536-.586-8.808C3.96 3.786 6.983 3.427 10.004 2c3.02 1.427 6.043 1.786 7.404 1.875.958 3.272.758 6.306-.586 8.808zM9 9a1 1 0 1 0 2 0V7a1 1 0 1 0-2 0v2zm0 4a1 1 0 1 0 2 0 1 1 0 0 0-2 0z"/></svg>',GamesConsoleMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11 2.774c0-.432.344-.774.77-.774H14V0h-2.23A2.769 2.769 0 0 0 9 2.774V5H5.55A5 5 0 0 0 .573 9.516l-.557 5.737a3.416 3.416 0 0 0 6.712 1.17l.073-.291A1.5 1.5 0 0 1 8.255 15h3.74a1.5 1.5 0 0 1 1.454 1.132l.098.386a3.288 3.288 0 0 0 6.46-1.124l-.569-5.876A5 5 0 0 0 14.461 5H11V2.774zM6 7a1 1 0 0 1 1 1v1h1a1 1 0 1 1 0 2H7v1a1 1 0 1 1-2 0v-1H4a1 1 0 1 1 0-2h1V8a1 1 0 0 1 1-1zm7.5 3a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm3 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>',GiftCardMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 4.5C5 3.763 5.69 3 6.77 3 7.818 3 9 3.87 9 5.333V6h-.846c-.805 0-1.656-.011-2.306-.25-.302-.112-.498-.253-.621-.413C5.112 5.187 5 4.94 5 4.5zM11.846 6H11v-.667C11 3.87 12.181 3 13.23 3 14.31 3 15 3.763 15 4.5c0 .44-.112.686-.227.837-.123.16-.319.3-.621.412-.65.24-1.5.251-2.306.251zM17 4.5c0 .558-.103 1.06-.306 1.5H18.5A1.5 1.5 0 0 1 20 7.5V10H0V7.5A1.5 1.5 0 0 1 1.5 6h1.806A3.547 3.547 0 0 1 3 4.5C3 2.47 4.783 1 6.77 1c1.165 0 2.398.546 3.23 1.529C10.832 1.546 12.065 1 13.23 1 15.218 1 17 2.47 17 4.5zM9 20v-8H1v6.5c0 .83.67 1.5 1.5 1.5H9zm2 0v-8h8v6.5c0 .83-.67 1.5-1.5 1.5H11z"/></svg>',GiftCardMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 5c0 .35.06.687.17 1H4.5A1.5 1.5 0 0 0 3 7.5V9h14V7.5a1.5 1.5 0 0 0-1.34-1.492 3.5 3.5 0 0 0-6.022-3.523A3 3 0 0 0 5 5zm7.5 1A1.5 1.5 0 1 0 11 4.5V6h1.5zM9 5v1H8a1 1 0 1 1 1-1z"/><path d="M4 11h5v6H5.5A1.5 1.5 0 0 1 4 15.5V11zm12 0h-5v6h3.5a1.5 1.5 0 0 0 1.5-1.5V11z"/></svg>',GlobeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3.07 6a8.025 8.025 0 0 1 4.262-3.544A12.802 12.802 0 0 0 5.595 6H3.07zm-.818 2A8.015 8.015 0 0 0 2 10c0 .69.088 1.36.252 2h2.89A13.886 13.886 0 0 1 5 10c0-.704.051-1.371.143-2H2.252zm4.916 0C7.06 8.62 7 9.286 7 10c0 .713.061 1.38.168 2h5.664c.107-.62.168-1.287.168-2 0-.714-.061-1.38-.168-2H7.168zm7.69 0a14.102 14.102 0 0 1-.001 4h2.891A8 8 0 0 0 18 10a8 8 0 0 0-.252-2h-2.89zm2.072-2h-2.525a12.805 12.805 0 0 0-1.737-3.544A8.025 8.025 0 0 1 16.93 6zm-4.638 0H7.708c.324-.865.725-1.596 1.124-2.195.422-.633.842-1.117 1.168-1.452.326.335.746.82 1.168 1.452.4.599.8 1.33 1.124 2.195zm-1.124 10.195c.4-.599.8-1.33 1.124-2.195H7.708c.324.865.725 1.596 1.124 2.195.422.633.842 1.117 1.168 1.452.326-.335.746-.82 1.168-1.452zM3.07 14h2.525a12.802 12.802 0 0 0 1.737 3.544A8.025 8.025 0 0 1 3.07 14zm9.762 3.305a12.9 12.9 0 0 1-.164.24A8.025 8.025 0 0 0 16.93 14h-2.525a12.805 12.805 0 0 1-1.573 3.305zM20 10c0 5.52-4.472 9.994-9.99 10h-.022C4.47 19.994 0 15.519 0 10 0 4.477 4.477 0 10 0s10 4.477 10 10z"/></svg>',GrammarMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 2.5A1.5 1.5 0 0 0 17.5 1h-15A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19H9a1 1 0 0 0 0-2H3V3h14v8a1 1 0 1 0 2 0V2.5zM14 11H6V9h8v2zm-8 4v-2h4v2H6zM6 5v2h8V5H6zm12.293 9.293L15 17.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a.997.997 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414z"/></svg>',HashtagMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M7.992 2.124a1 1 0 1 0-1.984-.248L5.618 5H2a1 1 0 0 0 0 2h3.367l-.75 6H2a1 1 0 1 0 0 2h2.367l-.36 2.876a1 1 0 1 0 1.985.248L6.382 15h5.985l-.36 2.876a1 1 0 0 0 1.985.248l.39-3.124H18a1 1 0 1 0 0-2h-3.367l.75-6H18a1 1 0 1 0 0-2h-2.367l.36-2.876a1 1 0 1 0-1.985-.248L13.618 5H7.632l.36-2.876zM12.617 13l.75-6H7.383l-.75 6h5.984z"/></svg>',GlobeMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.347 15.521c.699-1.16 1.39-2.712 1.589-4.521h1.974a6.013 6.013 0 0 1-3.563 4.521zM4.09 11h1.975c.198 1.809.889 3.361 1.589 4.521A6.017 6.017 0 0 1 4.09 11zm3.564-6.521c-.7 1.16-1.391 2.712-1.59 4.521H4.09a6.017 6.017 0 0 1 3.564-4.521zM8.077 9c.269-1.916 1.239-3.52 1.925-4.443.687.92 1.655 2.519 1.922 4.443H8.077zm1.92 6.443c-.685-.919-1.653-2.519-1.921-4.443h3.847c-.27 1.916-1.24 3.521-1.925 4.443zM15.91 9h-1.974c-.198-1.809-.89-3.361-1.59-4.521A6.013 6.013 0 0 1 15.91 9zM10 2c-4.411 0-8 3.589-8 8s3.589 8 8 8c4.41 0 8-3.589 8-8s-3.59-8-8-8z"/></svg>',HeaderMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1 2.5V9h18V2.5A1.5 1.5 0 0 0 17.5 1h-15A1.5 1.5 0 0 0 1 2.5zM2 19a1 1 0 0 1-1-1v-2h2v1h1v2H2zm17-1a1 1 0 0 1-1 1h-2v-2h1v-1h2v2zM1 14v-3h2v3H1zm16-3v3h2v-3h-2zM6 17h3v2H6v-2zm8 0h-3v2h3v-2z"/></svg>',HeartMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 1a5 5 0 0 0-5 5v.448c0 5.335 2.955 9.647 8.598 12.457a.902.902 0 0 0 .804 0C16.046 16.095 19 11.783 19 6.448V6a5 5 0 0 0-9-3 4.992 4.992 0 0 0-4-2z"/></svg>',HideKeyboardMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 3.5A1.5 1.5 0 0 1 1.5 2h17A1.5 1.5 0 0 1 20 3.5v7a1.5 1.5 0 0 1-1.5 1.5h-17A1.5 1.5 0 0 1 0 10.5v-7zM3 4h2v2H3V4zm1 4v2h2V8H4zm8 2H8V8h4v2zM9 4H7v2h2V4zm4 0h-2v2h2V4zm4 0h-2v2h2V4zm-1 6V8h-2v2h2z"/><path d="m10 16.586-2.293-2.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0l3-3a1 1 0 0 0-1.414-1.414L10 16.586z"/></svg>',HideMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 12a2 2 0 0 0 2-2c0-.178-.03-.348-.074-.512l5.781-5.781a.999.999 0 1 0-1.414-1.414l-2.61 2.61A7.757 7.757 0 0 0 10 4C4.388 4 2.163 9.399 2.071 9.628a1.017 1.017 0 0 0 0 .744c.054.133.835 2.011 2.582 3.561l-2.36 2.36a.999.999 0 1 0 1.414 1.414l5.781-5.781c.164.043.334.074.512.074zm-4-2a4 4 0 0 1 4-4c.742 0 1.432.208 2.025.561l-1.513 1.513A2.004 2.004 0 0 0 10 8a2 2 0 0 0-2 2c0 .178.031.347.074.511l-1.513 1.514A3.959 3.959 0 0 1 6 10zm10.145-3.144-2.252 2.252c.064.288.106.585.106.893a4 4 0 0 1-4 4 3.97 3.97 0 0 1-.89-.108l-1.682 1.68A7.903 7.903 0 0 0 10 16c5.613 0 7.837-5.399 7.928-5.629a1.004 1.004 0 0 0 0-.742c-.044-.111-.596-1.437-1.784-2.773z"/></svg>',HintMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0V1a1 1 0 0 1 1-1zm2 17v1.5a1.5 1.5 0 0 1-1.5 1.5h-1A1.5 1.5 0 0 1 8 18.5V17h4zm6-8a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2h-1zM0 10a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm4.343-7.071A1 1 0 0 0 2.93 4.343l.707.707A1 1 0 1 0 5.05 3.636l-.707-.707zM14.95 5.05a1 1 0 0 1 0-1.414l.707-.707a1 1 0 1 1 1.414 1.414l-.707.707a1 1 0 0 1-1.414 0zm-1.682 6.257C12.65 12.181 12 13.124 12 14.195V15H8v-.805c0-1.07-.65-2.014-1.268-2.888a4 4 0 1 1 6.536 0z"/></svg>',HomeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 7.261V17.5c0 .841-.672 1.5-1.5 1.5h-2c-.828 0-1.5-.659-1.5-1.5V13H7v4.477C7 18.318 6.328 19 5.5 19h-2c-.828 0-1.5-.682-1.5-1.523V7.261a1.5 1.5 0 0 1 .615-1.21l6.59-4.82a1.481 1.481 0 0 1 1.59 0l6.59 4.82A1.5 1.5 0 0 1 18 7.26z"/></svg>',HorizontalDotsMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 10a2 2 0 1 1-4.001-.001A2 2 0 0 1 6 10zm6 0a2 2 0 1 1-4.001-.001A2 2 0 0 1 12 10zm6 0a2 2 0 1 1-4.001-.001A2 2 0 0 1 18 10z"/></svg>',IconsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.618 18 14 11.236 17.382 18h-6.764zM4 16V9.899A5.006 5.006 0 0 0 9.898 4H16v6.764l-1.106-2.211c-.339-.678-1.449-.678-1.789 0L9.382 16H4zm15.894 2.553L18 14.764V3.5A1.5 1.5 0 0 0 16.5 2H8.974C8.06.793 6.627 0 5 0 2.243 0 0 2.243 0 5c0 1.627.793 3.061 2 3.975V16.5A1.5 1.5 0 0 0 3.5 18h4.882l-.277.553A1 1 0 0 0 9 20h10a.997.997 0 0 0 .894-1.447z"/></svg>',IllustrationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.685 1.46c.1-.099.2-.198.2-.298.184-.276.113-.551.023-.905l-.024-.092c-.3-.2-.6-.2-.899-.1-.05.05-.1.075-.15.1-.05.025-.1.05-.15.1L12.19 4.152c-2.598 1.495-4.596 3.688-5.995 6.28 1.499.598 2.798 1.893 3.298 3.488a16.485 16.485 0 0 0 6.295-5.98l3.897-6.48zM3.997 20c2.198 0 3.997-1.794 3.997-3.987s-1.799-3.987-3.997-3.987S0 13.82 0 16.013V20h3.997z"/></svg>',ImageAltMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.895 6.553c-.34-.678-1.45-.678-1.79 0l-3 6a1 1 0 1 0 1.79.894L2.619 12h2.764l.723 1.447a1 1 0 0 0 1.789-.894l-3-6zM13 12h-2V7a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1h3a1 1 0 0 0 0-2zm6-6h-4a1 1 0 1 0 0 2h1v5a1 1 0 1 0 2 0V8h1a1 1 0 1 0 0-2zM3.619 10 4 9.236l.382.764h-.763z"/></svg>',ImageAltMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12 11a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1V8a1 1 0 1 1 2 0v3h1zm5-4a1 1 0 1 1 0 2h-1v3a1 1 0 1 1-2 0V9h-1a1 1 0 1 1 0-2h4zm-11.105.553 2 4a1 1 0 0 1-1.79.895L5.883 12H4.119l-.224.448a1 1 0 0 1-1.79-.895l2-4c.34-.678 1.45-.678 1.79 0z"/></svg>',ImageMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1h-15zm5 3.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM16.499 17H3.497c-.41 0-.64-.46-.4-.79l3.553-4.051c.19-.21.52-.21.72-.01L9 14l3.06-4.781a.5.5 0 0 1 .84.02l4.039 7.011c.18.34-.06.75-.44.75z"/></svg>',ImageWithTextMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v5A1.5 1.5 0 0 0 1.5 10h6A1.5 1.5 0 0 0 9 8.5v-5A1.5 1.5 0 0 0 7.5 2h-6zM18 6h-6a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2zm-6 4h6a1 1 0 1 0 0-2h-6a1 1 0 1 0 0 2zm6 4H1a1 1 0 0 1 0-2h17a1 1 0 0 1 0 2zm-3.293 3.707A1 1 0 0 1 14 18H1a1 1 0 0 1 0-2h13a1 1 0 0 1 .707 1.707z"/></svg>',ImageWithTextOverlayMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 1a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2h-6a1 1 0 0 1-1-1zM8.083 4A6.002 6.002 0 0 0 14 9h2v9.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 18.5v-13A1.5 1.5 0 0 1 1.5 4h6.583zM5 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm-2.574 7h11.145c.325 0 .531-.328.377-.6l-3.462-5.609a.446.446 0 0 0-.72-.016L7.143 15.6l-1.397-1.48a.449.449 0 0 0-.617.007l-3.045 3.241c-.206.264-.01.632.342.632z"/></svg>',ImagesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 16a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14zM6.426 14C6.173 14 6 13.809 6 13.604c0-.08.026-.162.083-.236l3.046-3.24a.448.448 0 0 1 .617-.009l1.397 1.481 2.623-3.825a.446.446 0 0 1 .72.016l3.462 5.609c.154.272-.052.6-.377.6H6.426zM11 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zM0 4.5A1.5 1.5 0 0 1 1.5 3H2v15h15v.5a1.5 1.5 0 0 1-1.5 1.5h-14A1.5 1.5 0 0 1 0 18.5v-14z"/></svg>',ImportMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.707 10.707a.999.999 0 1 0-1.414-1.414L11 10.586V3a1 1 0 1 0-2 0v7.586L7.707 9.293a.999.999 0 1 0-1.414 1.414l3 3a.999.999 0 0 0 1.414 0l3-3zM3 16a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H3z"/></svg>',ImportStoreMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="m1.014 5.836.61-3.583A1.522 1.522 0 0 1 3.133 1h13.733c.748 0 1.387.53 1.51 1.253l.609 3.583C19.09 6.446 18.61 7 17.979 7h-.91c-.58 0-1.11-.321-1.37-.83L15.103 5l-.597 1.17c-.26.509-.79.83-1.37.83h-1.169c-.58 0-1.11-.321-1.369-.83L10 5l-.597 1.17c-.26.509-.79.83-1.37.83H6.865c-.58 0-1.11-.321-1.369-.83L4.898 5 4.3 6.17c-.259.509-.789.83-1.369.83h-.91c-.63 0-1.11-.555-1.007-1.164zm6.779 2.957a1 1 0 0 0 0 1.414l.793.793H2a1 1 0 1 0 0 2h6.586l-.793.793a1 1 0 0 0 1.414 1.414l2.5-2.5a.998.998 0 0 0 .293-.704v-.006a.997.997 0 0 0-.284-.695l-.01-.01-2.499-2.5a1 1 0 0 0-1.414 0zM18 9h-2v8H4v-2H2v2.5A1.5 1.5 0 0 0 3.5 19h13a1.5 1.5 0 0 0 1.5-1.5V9z"/></svg>',IncomingMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 6A1.5 1.5 0 0 1 19 7.5v10a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-10A1.5 1.5 0 0 1 2.5 6H7v2H3v9h14V8h-4V6h4.5z"/><path d="M1 2a1 1 0 0 1 0-2h5c2.757 0 5 2.243 5 5v6.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a.998.998 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L9 11.586V5c0-1.654-1.346-3-3-3H1z"/></svg>',InfoMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0zm-9 3a1 1 0 1 0 2 0v-2a1 1 0 1 0-2 0v2zm0-6a1 1 0 1 0 2 0 1 1 0 0 0-2 0z"/></svg>',InstallMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 4.5A1.5 1.5 0 0 1 4.5 3h11A1.5 1.5 0 0 1 17 4.5v11a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 15.5v-11zM5 13v2h10v-2H5zm2.207-7.207a1 1 0 0 0-1.414 1.414l3.5 3.5a1 1 0 0 0 1.414 0l3.5-3.5a1 1 0 0 0-1.414-1.414L10 8.586 7.207 5.793z"/></svg>',InventoryMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.838 5.455a1 1 0 0 0-.432-.369l-9-4a.999.999 0 0 0-.812 0l-9 4A1 1 0 0 0 0 6v14h2V6.65l8-3.556 8 3.556V20h2V6a1 1 0 0 0-.162-.545zM12 8h4v4h-4V8zm-2 2H4v10h6V10zm6 4h-4v6h4v-6z"/></svg>',InviteMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3.5 4A1.5 1.5 0 0 0 2 5.5v9A1.5 1.5 0 0 0 3.5 16h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 16.5 4h-13zm2.015 2.143a1 1 0 1 0-1.03 1.714l5 3a1 1 0 0 0 1.03 0l5-3a1 1 0 1 0-1.03-1.714L10 8.833l-4.485-2.69z"/></svg>',IqMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.896 2.141A.98.98 0 1 0 11.283.755.98.98 0 0 0 9.896 2.14z"/><path fill-rule="evenodd" d="M2.812 12.676a7.055 7.055 0 0 1 0-9.97A7.025 7.025 0 0 1 7.274.661a.9.9 0 0 1 .132 1.795 5.225 5.225 0 0 0-3.321 1.521 5.255 5.255 0 0 0 0 7.425 5.256 5.256 0 0 0 5.491 1.227 2.95 2.95 0 1 1 .674 1.67 7.057 7.057 0 0 1-7.438-1.624zm8.893.551a1.15 1.15 0 1 1 1.627-1.626 1.15 1.15 0 0 1-1.627 1.626z"/><path fill-rule="evenodd" d="M11.651 19.408a.9.9 0 0 1 .22-1.786 5.242 5.242 0 0 0 4.36-1.496 5.255 5.255 0 0 0 0-7.425 5.257 5.257 0 0 0-5.556-1.204 2.95 2.95 0 1 1-.621-1.69 7.057 7.057 0 0 1 7.45 1.621 7.055 7.055 0 0 1 0 9.97 7.042 7.042 0 0 1-5.853 2.01zM6.914 6.81a1.15 1.15 0 1 0 1.627 1.627A1.15 1.15 0 0 0 6.914 6.81z"/><circle cx="8.646" cy="17.934" r=".94"/></svg>',JobsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.508 2.466 4.356 5H2.5A1.5 1.5 0 0 0 1 6.5v1.882l.503.251a19 19 0 0 0 16.994 0L19 8.382V6.5A1.5 1.5 0 0 0 17.5 5h-1.856l-1.152-2.534A2.5 2.5 0 0 0 12.216 1H7.784a2.5 2.5 0 0 0-2.276 1.466zM7.784 3a.5.5 0 0 0-.455.293L6.553 5h6.894l-.776-1.707A.5.5 0 0 0 12.216 3H7.784z"/><path d="M19 10.613a20.986 20.986 0 0 1-8 2.003V14a1 1 0 0 1-2 0v-1.384a20.995 20.995 0 0 1-8-2.003V17.5A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-6.887z"/></svg>',KeyMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M14.56.44A1.5 1.5 0 0 1 15.622 0H18.5A1.5 1.5 0 0 1 20 1.5v3.423a.5.5 0 0 1-.5.5h-1.082a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 0-1 1v2l-1.449 1.443a6.5 6.5 0 1 1-5.111-5.724L14.561.439zM8 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/></svg>',LabelPrinterMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4 2.5A1.5 1.5 0 0 1 5.5 1h9A1.5 1.5 0 0 1 16 2.5V6h1.5A1.5 1.5 0 0 1 19 7.5v10a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-10A1.5 1.5 0 0 1 2.5 6H4V2.5zM6 12h8V3H6v9zm-2 3a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1zm11 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',LandingPageMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 7c0-.552-.449-1-1-1H1a1 1 0 0 1 0-2h9c1.654 0 3 1.346 3 3v5.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a.998.998 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L11 12.586V7zm8.56-2.853a1.5 1.5 0 0 1 .44 1.06V18.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5V8h2v10h12V5.414L14.586 2H4v-.5A1.5 1.5 0 0 1 5.5 0h9.293a1.5 1.5 0 0 1 1.06.44l3.708 3.707z"/></svg>',LanguageMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.428 13.999 13 10.46l1.573 3.538h-3.145zm6.486 2.594-4-9a1 1 0 0 0-1.828 0l-1.958 4.406H10c-1.276 0-2.24-.3-2.965-.716l.012-.012c1.292-1.443 1.777-3.536 1.94-5.272H10a1 1 0 1 0 0-2h-.942c-.015-.63-.058-1.051-.064-1.11a.998.998 0 0 0-1.103-.884 1.002 1.002 0 0 0-.885 1.103c0 .013.035.359.05.89H3a1 1 0 0 0 0 2h3.98c-.143 1.37-.515 2.922-1.42 3.935a4.165 4.165 0 0 1-.59-1.183.999.999 0 0 0-1.938.492c.118.474.373 1.07.778 1.679a4.17 4.17 0 0 1-.81.078 1 1 0 0 0 0 2c.857 0 1.629-.16 2.322-.467.962.734 2.253 1.303 3.932 1.435l-1.167 2.626a1.001 1.001 0 0 0 1.828.812l.625-1.406h4.922l.625 1.406a1 1 0 0 0 1.828-.812z"/></svg>',LegalMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5h5v2H7V5zm5 4H7v2h5V9z"/><path fill-rule="evenodd" d="M16 17a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-1.5A1.5 1.5 0 0 1 1.5 14H3V4a3 3 0 0 1 3-3h11a3 3 0 1 1 0 6h-1v10zM5 4a1 1 0 0 1 1-1h8.17c-.11.313-.17.65-.17 1v13a1 1 0 1 1-2 0v-3H5V4zm12-1a1 1 0 0 0-1 1v1h1a1 1 0 1 0 0-2zm-7 14c0 .35.06.687.17 1H3a1 1 0 0 1-1-1v-1h8v1z"/></svg>',LinkMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.534 18a4.507 4.507 0 0 1-3.208-1.329 4.54 4.54 0 0 1 0-6.414l1.966-1.964a.999.999 0 1 1 1.414 1.414L4.74 11.671a2.54 2.54 0 0 0 0 3.586c.961.959 2.631.958 3.587 0l1.966-1.964a1 1 0 1 1 1.415 1.414l-1.966 1.964A4.503 4.503 0 0 1 6.534 18zm7.467-6a.999.999 0 0 1-.707-1.707l1.966-1.964a2.54 2.54 0 0 0 0-3.586c-.961-.959-2.631-.957-3.587 0L9.707 6.707a1 1 0 1 1-1.415-1.414l1.966-1.964A4.503 4.503 0 0 1 13.466 2c1.211 0 2.351.472 3.208 1.329a4.541 4.541 0 0 1 0 6.414l-1.966 1.964a.997.997 0 0 1-.707.293zm-6.002 1a.999.999 0 0 1-.707-1.707l4.001-4a1 1 0 1 1 1.415 1.414l-4.001 4a1 1 0 0 1-.708.293z"/></svg>',ListMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1 2.5A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15zM8 5h8v2H8V5zm8 4H8v2h8V9zm-8 4h8v2H8v-2zM5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm1 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-1 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',LocationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 8c0-4.42-3.58-8-8-8S2 3.58 2 8c0 .15 0 .29.01.44.13 3.55 1.99 7.62 7.13 11.29.51.36 1.21.36 1.72 0 5.14-3.67 7-7.74 7.13-11.29.01-.15.01-.29.01-.44zm-5.879 2.121a2.996 2.996 0 0 0 0-4.242 2.996 2.996 0 0 0-4.242 0 2.996 2.996 0 0 0 0 4.242 2.996 2.996 0 0 0 4.242 0z"/></svg>',LiveViewMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.293 2.707A1 1 0 0 0 15 2V1a1 1 0 0 0-2 0v1a1 1 0 0 0 .293.707zM17 4a.999.999 0 0 1-.707-1.707l1-1a1 1 0 1 1 1.414 1.414l-1 1A.996.996 0 0 1 17 4zm2 3h-1a1 1 0 1 1 0-2h1a1 1 0 1 1 0 2zm-4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM1 3a2 2 0 0 1 2-2h8v2H3v8.464C4.795 10.53 7.836 10 10 10c2.164 0 5.205.529 7 1.464V9h2v8a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3z"/></svg>',LocationsMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm0-8C6.69 2 4 4.87 4 8.4c0 6 5.4 9.35 5.63 9.49.11.07.24.11.37.11s.26-.04.37-.11C10.6 17.75 16 14.4 16 8.4 16 4.87 13.31 2 10 2z"/></svg>',LockMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4 6v2H2.5A1.5 1.5 0 0 0 1 9.5v9A1.5 1.5 0 0 0 2.5 20h15a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 17.5 8H16V6A6 6 0 0 0 4 6zm6-4a4 4 0 0 0-4 4v2h8V6a4 4 0 0 0-4-4zm1 14v-4H9v4h2z"/></svg>',LockMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M15 8V7c0-2.757-2.243-5-5-5S5 4.243 5 7v1a1 1 0 0 0-1 1v7.5A1.5 1.5 0 0 0 5.5 18h9a1.5 1.5 0 0 0 1.5-1.5V9a1 1 0 0 0-1-1zm-6 7h2v-4H9v4zm4-7H7V7c0-1.654 1.346-3 3-3s3 1.346 3 3v1z"/></svg>',LogOutMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM9.293 8.707a1 1 0 0 1 1.414-1.414l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1-1.414-1.414L10.586 12H7a1 1 0 1 1 0-2h3.586L9.293 8.707z"/></svg>',LogoBlockMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1 2a1 1 0 0 1 1-1h2v2H3v1H1V2zm18 0a1 1 0 0 0-1-1h-2v2h1v1h2V2zM2 19a1 1 0 0 1-1-1v-2h2v1h1v2H2zm16 0a1 1 0 0 0 1-1v-2h-2v1h-1v2h2zM6 17h3v2H6v-2zm5 0h3v2h-3v-2zm3-16v2h-3V1h3zM9 1v2H6V1h3zm.598 5.332a4 4 0 0 0-3.573 7.147l3.573-7.147zM8 14h8l-4-8-4 8z"/></svg>',ManagedStoreMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m1.623 2.253-.609 3.583C.91 6.446 1.39 7 2.021 7h.91c.58 0 1.11-.321 1.37-.83L4.897 5l.597 1.17c.26.509.79.83 1.37.83h1.169c.58 0 1.11-.321 1.369-.83L10 5l.597 1.17c.26.509.79.83 1.37.83h1.169c.58 0 1.11-.321 1.369-.83L15.102 5l.598 1.17c.259.509.789.83 1.369.83h.91c.63 0 1.11-.555 1.007-1.164l-.61-3.583A1.522 1.522 0 0 0 16.867 1H3.134c-.748 0-1.387.53-1.51 1.253zm12.084 7.04a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 1 1 1.414-1.414L9 12.586l3.293-3.293a1 1 0 0 1 1.414 0zM4 9H2v8.5A1.5 1.5 0 0 0 3.5 19h13a1.5 1.5 0 0 0 1.5-1.5V9h-2v8H4V9z"/></svg>',MarkFulfilledMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 16.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 2 16.5V9h2v4h2.382c.379 0 .725.214.894.553L8 15h4l.724-1.447a.998.998 0 0 1 .894-.553H16V9h2v7.5z"/><path d="m8.293 8.707-3-3a.999.999 0 1 1 1.414-1.414L9 6.586l4.293-4.293a.999.999 0 1 1 1.414 1.414l-5 5a.997.997 0 0 1-1.414 0z"/></svg>',MarkPaidMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.207 6.793a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L9 10.586l3.793-3.793a1 1 0 0 1 1.414 0zM4.5 3A1.5 1.5 0 0 0 3 4.5V17a1.002 1.002 0 0 0 1.301.953c.179-.056.315-.193.437-.336l1.122-1.322 1.349 1.399c.184.191.437.301.702.306a.96.96 0 0 0 .713-.281l1.364-1.317 1.305 1.305a.997.997 0 0 0 1.414 0l1.42-1.42 1.138 1.334c.12.14.254.275.43.331A1 1 0 0 0 17 17V4.5A1.5 1.5 0 0 0 15.5 3h-11z"/></svg>',MarketingMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.1 14.95c.412.16.9-.08.9-.45v-13c0-.37-.488-.61-.9-.45-.683.41-1.311.83-1.919 1.237-2.14 1.43-4.019 2.687-7.084 2.713H4C2.34 5 1 6.34 1 8s1.34 3 3 3h4c3.123 0 5.02 1.268 7.182 2.714.607.406 1.236.826 1.918 1.236zM9 18h-.79c-.43 0-.81-.27-.94-.67L5.07 13H9a1 1 0 0 1 1 1v3c0 .55-.45 1-1 1z"/></svg>',MaximizeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 5a1 1 0 1 0 0 2h2.586l-3.293 3.293a1 1 0 1 0 1.414 1.414L13 8.414V11a1 1 0 1 0 2 0V6c0-.025 0-.05-.003-.075A1 1 0 0 0 14 5H9zm-8 9.5A1.5 1.5 0 0 1 2.5 13h3A1.5 1.5 0 0 1 7 14.5v3A1.5 1.5 0 0 1 5.5 19h-3A1.5 1.5 0 0 1 1 17.5v-3z"/><path d="M2.5 1A1.5 1.5 0 0 0 1 2.5V11h2V3h14v14H9v2h8.5a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1h-15z"/></svg>',MaximizeMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 3A1.5 1.5 0 0 0 3 4.5V7a1 1 0 0 0 2 0V5h2a1 1 0 0 0 0-2H4.5zM3 15.5A1.5 1.5 0 0 0 4.5 17H7a1 1 0 1 0 0-2H5v-2a1 1 0 1 0-2 0v2.5zm14 0a1.5 1.5 0 0 1-1.5 1.5H13a1 1 0 1 1 0-2h2v-2a1 1 0 1 1 2 0v2.5zm0-11A1.5 1.5 0 0 0 15.5 3H13a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0V4.5z"/></svg>',MentionMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3zm0-13C4.486 0 0 4.486 0 10s4.486 10 10 10a1 1 0 0 0 0-2c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8v1c0 .827-.673 1.5-1.5 1.5S15 11.827 15 11v-1c0-2.757-2.243-5-5-5s-5 2.243-5 5 2.243 5 5 5c1.531 0 2.887-.707 3.805-1.795A3.477 3.477 0 0 0 16.5 14.5c1.93 0 3.5-1.57 3.5-3.5v-1c0-5.514-4.486-10-10-10z"/></svg>',MicrophoneMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 4a4 4 0 1 1 8 0v4a4 4 0 0 1-8 0V4zM11 15v4H9v-4h2z"/><path d="M4 8a6 6 0 0 0 12 0h2A8 8 0 1 1 2 8h2zM16 6h.5A1.5 1.5 0 0 1 18 7.5V8h-2V6zM2 7.5A1.5 1.5 0 0 1 3.5 6H4v2H2v-.5zm5 12A1.5 1.5 0 0 1 8.5 18h3a1.5 1.5 0 0 1 1.5 1.5v.5H7v-.5z"/></svg>',MinimizeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 17h8V3H3v8H1V2.5A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5H9v-2z"/><path d="M10 6a1 1 0 1 0-2 0v5a.997.997 0 0 0 1 1h5a1 1 0 1 0 0-2h-2.586l3.293-3.293a1 1 0 0 0-1.414-1.414L10 8.586V6zm-9 8.5A1.5 1.5 0 0 1 2.5 13h3A1.5 1.5 0 0 1 7 14.5v3A1.5 1.5 0 0 1 5.5 19h-3A1.5 1.5 0 0 1 1 17.5v-3z"/></svg>',MinusMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 9H5a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2z"/></svg>',MobileAcceptMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 18a.997.997 0 0 1-.707-.293l-6-6a1 1 0 0 1 1.414-1.414l5.236 5.236 11.298-13.18a1 1 0 0 1 1.518 1.3l-12 14a1.001 1.001 0 0 1-.721.35H7"/></svg>',MinimizeMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 7.5A1.5 1.5 0 0 0 12.5 9H16a1 1 0 1 0 0-2h-3V4a1 1 0 1 0-2 0v3.5zm1.5 3.5a1.5 1.5 0 0 0-1.5 1.5V16a1 1 0 1 0 2 0v-3h3a1 1 0 1 0 0-2h-3.5zm-5 0A1.5 1.5 0 0 1 9 12.5V16a1 1 0 1 1-2 0v-3H4a1 1 0 1 1 0-2h3.5zm0-2A1.5 1.5 0 0 0 9 7.5V4a1 1 0 1 0-2 0v3H4a1 1 0 1 0 0 2h3.5z"/></svg>',MobileBackArrowMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 9H3.661l5.997-5.246a1 1 0 0 0-1.316-1.506l-8 7c-.008.007-.011.018-.019.025a.975.975 0 0 0-.177.24c-.018.03-.045.054-.059.087a.975.975 0 0 0 0 .802c.014.033.041.057.059.088.05.087.104.17.177.239.008.007.011.018.019.025l8 7a.996.996 0 0 0 1.411-.095 1 1 0 0 0-.095-1.411L3.661 11H19a1 1 0 0 0 0-2z"/></svg>',MobileCancelMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.414 10 6.293-6.293a1 1 0 1 0-1.414-1.414L10 8.586 3.707 2.293a1 1 0 0 0-1.414 1.414L8.586 10l-6.293 6.293a1 1 0 1 0 1.414 1.414L10 11.414l6.293 6.293A.998.998 0 0 0 18 17a.999.999 0 0 0-.293-.707L11.414 10z"/></svg>',MobileChevronMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 20.001a.994.994 0 0 1-.747-.336l-8-9a.999.999 0 0 1 0-1.328l8-9a1 1 0 0 1 1.494 1.328l-7.41 8.336 7.41 8.336A.998.998 0 0 1 14 20.001z"/></svg>',MobileHamburgerMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 11H1a1 1 0 0 1 0-2h18a1 1 0 1 1 0 2zm0-7H1a1 1 0 0 1 0-2h18a1 1 0 1 1 0 2zm0 14H1a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2z"/></svg>',MobileHorizontalDotsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16 8c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zm-6 0c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zM4 8c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z"/></svg>',MobileMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 1.5C3 .7 3.7 0 4.5 0h11c.8 0 1.5.7 1.5 1.5v17c0 .8-.7 1.5-1.5 1.5h-11c-.8 0-1.5-.7-1.5-1.5v-17zM5 2h10v14H5V2zm4 15a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2H9z"/></svg>',NatureMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.651 12.851c-2.13 1.94-5.17 2.91-9.07 2.91-.91 0-1.87-.04-2.88-.17-.38.86-.6 1.71-.6 2.51 0 .55-.45 1-1 1s-1-.45-1-1c0-.24.01-.48.04-.72.02-.13.03-.26.06-.39.18-1.13.64-2.27 1.29-3.39 2.32-4.02 9.3-8.68 12.61-9.5-4.76-.03-12 3-13.91 6.93 0-2.89 2.3-6.42 5.46-8.38 4.54-2.82 10.47-1.14 12.06 0 .23.16.37.42.38.7.08 2.31-.25 6.62-3.44 9.5z"/></svg>',MobileVerticalDotsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 6c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0 2c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zm0 6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z"/></svg>',MonerisMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.541 0a1.5 1.5 0 0 0-1.5 1.54l.013.46h15.892l.012-.46a1.5 1.5 0 0 0-1.5-1.54H3.542z"/><path fill-rule="evenodd" d="M4.424 20a1.5 1.5 0 0 1-1.498-1.422L2.166 4h15.669l-.76 14.578a1.5 1.5 0 0 1-1.5 1.422H4.424zM5 6h10v4H5V6zm0 6h2v2H5v-2zm0 4h2v2H5v-2zm6-4H9v2h2v-2zm-2 4h2v2H9v-2zm6-4h-2v2h2v-2zm-2 4h2v2h-2v-2z"/></svg>',NavigationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zM5 15l2.27-6.31 4.04 4.04L5 15zm7.73-3.69L8.69 7.27 15 5l-2.27 6.31z"/></svg>',NoteMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.379 0a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 17 5.622V18.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5v-17A1.5 1.5 0 0 1 4.5 0h6.879zM6 5h4v2H6V5zm8 4v2H6V9h8zm-8 6v-2h7v2H6z"/></svg>',NoteMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6 11h8V9H6v2zm0 4h8v-2H6v2zm0-8h4V5H6v2zm6-5H5.5A1.5 1.5 0 0 0 4 3.5v13A1.5 1.5 0 0 0 5.5 18h9a1.5 1.5 0 0 0 1.5-1.5V6l-4-4z"/></svg>',NotificationMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0a1 1 0 0 1 1 1v2.032l-.001.021-.002.03A6.002 6.002 0 0 1 16 9c0 3.093.625 4.312 1.599 6.21l.034.068c.17.33-.07.722-.442.722H2.809a.496.496 0 0 1-.442-.722l.034-.068C3.375 13.312 4 12.093 4 9a6.002 6.002 0 0 1 5.003-5.918l-.002-.04A.835.835 0 0 1 9 3V1a1 1 0 0 1 1-1zm2 18a2 2 0 0 1-4 0h4z"/></svg>',OnlineStoreMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m1.791 2.253-.597 3.583A1 1 0 0 0 2.18 7h.893a1.5 1.5 0 0 0 1.342-.83L5 5l.585 1.17A1.5 1.5 0 0 0 6.927 7h1.146a1.5 1.5 0 0 0 1.342-.83L10 5l.585 1.17a1.5 1.5 0 0 0 1.342.83h1.146a1.5 1.5 0 0 0 1.342-.83L15 5l.585 1.17a1.5 1.5 0 0 0 1.342.83h.893a1 1 0 0 0 .986-1.164l-.597-3.583A1.5 1.5 0 0 0 16.729 1H3.271a1.5 1.5 0 0 0-1.48 1.253zM4 18.5A1.5 1.5 0 0 1 5.5 17H8v-3h4v3h2.5a1.5 1.5 0 0 1 1.5 1.5v.5H4v-.5z"/><path d="M2 9h2v4h12V9h2v4.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 2 13.5V9z"/></svg>',OrdersMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 1a1 1 0 1 0-2 0v7.586L7.707 7.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0l3-3a1 1 0 0 0-1.414-1.414L11 8.586V1z"/><path d="M3 14V3h4V1H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1H13v2h4v11h-3.5c-.775 0-1.388.662-1.926 1.244l-.11.12A1.994 1.994 0 0 1 10 16a1.994 1.994 0 0 1-1.463-.637l-.111-.12C7.888 14.664 7.275 14 6.5 14H3z"/></svg>',OutgoingMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 10a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 18.5v-7c0-.829.67-1.5 1.5-1.5H7v2H3v6h14v-6h-4v-2h4.5zM10 16a1 1 0 0 1-1-1V8c0-2.757 2.243-5 5-5h2.586l-1.293-1.293A1 1 0 0 1 16.707.293l3 3a.998.998 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09L16.586 5H14c-1.654 0-3 1.346-3 3v7a1 1 0 0 1-1 1z"/></svg>',OrderStatusMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 7a1 1 0 1 1 0-2h2.586l2.707-2.707a.997.997 0 0 1 1.655.391l1.49 4.465 1.855-1.856A.996.996 0 0 1 14 5h3a1 1 0 1 1 0 2h-2.586l-2.707 2.707a.998.998 0 0 1-1.655-.391l-1.49-4.465-1.855 1.856A.996.996 0 0 1 6 7H3zm14 2a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-7a1 1 0 1 1 2 0v3h2.382c.379 0 .725.214.894.553L8 15h4l.724-1.447a.998.998 0 0 1 .894-.553H16v-3a1 1 0 0 1 1-1z"/><path d="M2 9h2v1H2zm14 0h2v1h-2z"/></svg>',PageDownMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.379 0a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 17 5.622V18.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5v-17A1.5 1.5 0 0 1 4.5 0h6.879zM10 6a1 1 0 0 1 1 1v3.586l1.293-1.293a1 1 0 1 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 1.414-1.414L9 10.586V7a1 1 0 0 1 1-1z"/></svg>',PageMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.44.44A1.5 1.5 0 0 0 11.378 0H4.5A1.5 1.5 0 0 0 3 1.5v17A1.5 1.5 0 0 0 4.5 20h11a1.5 1.5 0 0 0 1.5-1.5V5.621a1.5 1.5 0 0 0-.44-1.06L12.44.439z"/></svg>',PackageMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 5h-8V2h5.227c.382-.001.736.162.928.429L19 5zM3.773 2H9v3H1l1.845-2.571c.192-.267.546-.43.928-.429zM1 7v10.5A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5V7H1zm2 2h6v4H3V9z"/></svg>',PageMinusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.379 0a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 17 5.622V18.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5v-17A1.5 1.5 0 0 1 4.5 0h6.879zM7 9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H7z"/></svg>',PagePlusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.379 0a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 17 5.622V18.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5v-17A1.5 1.5 0 0 1 4.5 0h6.879zM10 14a1 1 0 0 1-1-1v-2H7a1 1 0 1 1 0-2h2V7a1 1 0 1 1 2 0v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 0 1-1 1z"/></svg>',PageUpMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.379 0a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 17 5.622V18.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 18.5v-17A1.5 1.5 0 0 1 4.5 0h6.879zm2.328 10.707a1 1 0 0 1-1.414 0L11 9.414V13a1 1 0 1 1-2 0V9.414l-1.293 1.293a1 1 0 0 1-1.414-1.414l3-3a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1 0 1.414z"/></svg>',PaginationEndMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 4a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1zm-7.219.376 4 5a1 1 0 0 1 0 1.249l-4 5a1 1 0 1 1-1.562-1.25l3.5-4.374-3.5-4.376a1 1 0 1 1 1.562-1.25z"/></svg>',PaginationStartMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 4a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1zm7.219.376a1 1 0 1 1 1.562 1.249L11.28 10l3.5 4.375a1 1 0 1 1-1.562 1.249l-4-5a1 1 0 0 1 0-1.25l4-5z"/></svg>',PaintBrushMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 18c0-.79-1.018-2.488-1.601-3.397a.47.47 0 0 0-.798 0C17.018 15.512 16 17.21 16 18c0 1.107.893 2 2 2s2-.893 2-2zM11 0 5.482 5.5l9.018 9.018L20 9l-5-5-3 1 1-3-2-2zM3.488 7.488l.5-.498 9.022 9.023-.538.541c-.575.575-1.493.569-2.173.124-1.053-.69-2.146-1.132-3.248-.913a4.72 4.72 0 0 0-.378.092c-.506.145-.93.477-1.301.85-.374.374-.656.848-.937 1.321-.383.643-.763 1.284-1.373 1.667a2 2 0 0 1-2.77-2.738c.383-.624 1.035-1.012 1.69-1.402.475-.283.952-.567 1.328-.943.398-.399.753-.855.89-1.402l.02-.08c.27-1.143-.134-2.351-.858-3.466-.443-.681-.45-1.6.126-2.176z"/></svg>',PauseCircleMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10c0 5.514 4.486 10 10 10s10-4.486 10-10S15.514 0 10 0 0 4.486 0 10zm7-3a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0V7zm5-1a1 1 0 0 0-1 1v6a1 1 0 1 0 2 0V7a1 1 0 0 0-1-1z"/></svg>',PauseMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11 13a1 1 0 1 0 2 0V7a1 1 0 1 0-2 0v6zm-4 0a1 1 0 1 0 2 0V7a1 1 0 0 0-2 0v6zm3-11a8 8 0 1 0 0 16 8 8 0 0 0 0-16z"/></svg>',PaymentsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.002 5 .55 6.76a.985.985 0 0 0-.549.9V18c0 .51.38.93.879.99l8.023 1a.997.997 0 0 0 1.068-.67L11.737 14h3.273c1.297 0 2.405-.84 2.814-2h.679c.828 0 1.497-.67 1.497-1.5V5H4.002zM5 10h10.01c.27 0 .509.1.709.31.19.18.289.42.289.69 0 .55-.449 1-.998 1h-3.992c-.429 0-.808.28-.948.68l-1.736 5.23-6.338-.79V8.27l2.006-1v1.74A1 1 0 0 0 5 10zm13.503-9H5.499c-.828 0-1.497.67-1.497 1.5V3H20v-.5c0-.83-.669-1.5-1.497-1.5z"/></svg>',PauseMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 0a1 1 0 0 0-1 1v18a1 1 0 1 0 2 0V1a1 1 0 0 0-1-1zm8 0a1 1 0 0 0-1 1v18a1 1 0 1 0 2 0V1a1 1 0 0 0-1-1z"/></svg>',PhoneInMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.094 9.1H12.1a.996.996 0 0 1-.998-.998V4.106a.997.997 0 0 1 1.705-.708.998.998 0 0 1 .293.707V5.69l3.335-3.334a.999.999 0 0 1 1.413 1.411l-3.336 3.334h1.584a.999.999 0 0 1 0 1.999zM7.342 4.306l.534 2.67a1.495 1.495 0 0 1-.802 1.634l-.975.488c0 2 3 5 5 5l.488-.975a1.5 1.5 0 0 1 1.636-.8l2.67.534a1.5 1.5 0 0 1 1.206 1.471v3.235c0 .859-.725 1.572-1.584 1.535C6.6 18.71 1.561 14.847 1.101 4.686 1.062 3.827 1.778 3.1 2.638 3.1h3.233a1.5 1.5 0 0 1 1.471 1.206z"/></svg>',PhoneMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.876 6.976-.534-2.67A1.5 1.5 0 0 0 5.871 3.1H2.638c-.86 0-1.576.727-1.537 1.586.461 10.161 5.499 14.025 14.415 14.413.859.037 1.584-.676 1.584-1.535v-3.235a1.5 1.5 0 0 0-1.206-1.471l-2.67-.534a1.5 1.5 0 0 0-1.636.8l-.488.975c-2 0-5-3-5-5l.975-.488c.606-.302.934-.972.801-1.635z"/></svg>',PhoneOutMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.105 2.1H17.1c.553 0 1 .446 1 .999v3.995a.997.997 0 0 1-1.705.708.998.998 0 0 1-.293-.707V5.511l-3.336 3.335a.999.999 0 0 1-1.413-1.411L14.69 4.1h-1.584a.999.999 0 0 1-.705-1.707.993.993 0 0 1 .705-.293zM7.342 4.306l.534 2.67a1.495 1.495 0 0 1-.802 1.634l-.975.488c0 2 3 5 5 5l.488-.975a1.5 1.5 0 0 1 1.636-.8l2.67.534a1.5 1.5 0 0 1 1.206 1.471v3.235c0 .859-.725 1.572-1.584 1.535C6.6 18.71 1.561 14.847 1.101 4.686 1.062 3.827 1.778 3.1 2.638 3.1h3.233a1.5 1.5 0 0 1 1.471 1.206z"/></svg>',PinMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m13.707.295 6 6a1.003 1.003 0 0 1-.066 1.475l-5.65 4.706c-.154 4.105-2.292 5.294-2.544 5.42a1 1 0 0 1-1.154-.187L7 14.416l-5.293 5.293a1 1 0 0 1-1.414-1.414l5.293-5.293-3.293-3.293a1.001 1.001 0 0 1-.188-1.155c.126-.252 1.316-2.389 5.419-2.544L12.231.361a.998.998 0 0 1 .724-.358.966.966 0 0 1 .752.292z"/></svg>',PinMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.7 7 13 2.3c-.2-.2-.401-.3-.7-.3-.3 0-.6.1-.701.4L8 6.7c-3.3.1-4.2 1.9-4.3 2.1-.2.4-.2.8.2 1.1l2.4 2.4-4 4c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l4-4 2.399 2.4c.201.2.401.3.701.3.2 0 .299 0 .4-.1.2-.1 1.899-1.1 2.1-4.3l4.299-3.6C17.9 8.3 18 8 18 7.7c0-.3-.1-.5-.3-.7z"/></svg>',PlayCircleMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10zM8 6.862v6.276a.5.5 0 0 0 .748.434l5.492-3.138a.5.5 0 0 0 0-.868L8.748 6.427A.5.5 0 0 0 8 6.862z"/></svg>',PlayMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.333 1C3.64 1 3 1.555 3 2.332v15.335a1.328 1.328 0 0 0 2.014 1.143l12.787-7.665a1.33 1.33 0 0 0 0-2.283L5.015 1.192A1.326 1.326 0 0 0 4.333 1zM5 3.515l10.815 6.488L5 16.485V3.515z"/></svg>',PointOfSaleMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3.945 2.438A.5.5 0 0 1 4.441 2H15.56a.5.5 0 0 1 .496.438l.875 7a.5.5 0 0 1-.496.562H13.19c.198.576.577 1.269 1.24 2h4.07a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-17A1.5 1.5 0 0 1 0 16.5v-3A1.5 1.5 0 0 1 1.5 12h4.072c.663-.731 1.041-1.424 1.24-2H3.566a.5.5 0 0 1-.496-.562l.875-7zM5.265 8l.5-4h8.47l.5 4h-9.47zm5.848 2a6.6 6.6 0 0 0 .824 2H8.063a6.601 6.601 0 0 0 .824-2h2.226zM10 14a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/></svg>',PlayMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16 10a.997.997 0 0 1-.485.857l-10 6a1.004 1.004 0 0 1-1.008.013A1.001 1.001 0 0 1 4 16V4a1.001 1.001 0 0 1 1.515-.857l10 6c.301.18.485.505.485.857z"/></svg>',PlusMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 9h-6V3a1 1 0 1 0-2 0v6H3a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2z"/></svg>',PopularMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.984 18a.999.999 0 0 1-.94-.658L8.967 8.888l-2.05 5.465a1.001 1.001 0 0 1-1.794.163L2.935 10.87l-1.124 1.685a1.002 1.002 0 0 1-1.665-1.11l2.001-3a.966.966 0 0 1 .856-.444.998.998 0 0 1 .834.485l1.936 3.223L8.044 5.65A1 1 0 0 1 8.982 5h.005a1.001 1.001 0 0 1 .935.658l2.948 8.1 3.154-11.033c.12-.42.502-.714.94-.724.43-.026.834.268.97.683l2.002 6a1 1 0 1 1-1.897.631l-.98-2.932-3.112 10.888a1 1 0 0 1-.928.726h-.035"/></svg>',PriceLookupMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 2a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H3zm0 4a1 1 0 0 0 0 2h4a4.977 4.977 0 0 0-.901 2.005A1.013 1.013 0 0 0 6 10H3a1 1 0 1 0 0 2h3c.033 0 .066-.002.099-.005a5.002 5.002 0 0 0 7.658 3.177l2.536 2.535a1 1 0 0 0 1.414-1.414l-2.535-2.536A5 5 0 0 0 11 6H3zm8 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"/></svg>',PrintMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4 2.5A1.5 1.5 0 0 1 5.5 1h9A1.5 1.5 0 0 1 16 2.5V5h1.5A1.5 1.5 0 0 1 19 6.5v6a1.5 1.5 0 0 1-1.5 1.5H16v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-4H2.5A1.5 1.5 0 0 1 1 12.5v-6A1.5 1.5 0 0 1 2.5 5H4V2.5zM14 17v-5H6v5h8zm3-8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3-6H6v2h8V3z"/></svg>',PrintMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M14 11h2V9h-2v2zM7 7h6V4H7v3zm0 9h6v-2H7v2zm8-9V3.5A1.5 1.5 0 0 0 13.5 2h-7A1.5 1.5 0 0 0 5 3.5V7H3.5A1.5 1.5 0 0 0 2 8.5v6A1.5 1.5 0 0 0 3.5 16H5v.5A1.5 1.5 0 0 0 6.5 18h7a1.5 1.5 0 0 0 1.5-1.5V16h1.5a1.5 1.5 0 0 0 1.5-1.5v-6A1.5 1.5 0 0 0 16.5 7H15z"/></svg>',ProductReturnsMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 12a6 6 0 0 0 6 6h9a1 1 0 0 0 0-2H8a4 4 0 1 1 0-8h6.526l-2.233 2.293a1 1 0 0 0 1.414 1.414l4-4a1 1 0 0 0 0-1.414l-4-4a1 1 0 1 0-1.414 1.414L14.526 6H8a6 6 0 0 0-6 6z"/></svg>',ProductsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.293 1.293A1 1 0 0 1 11 1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-.293.707l-9 9a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414l9-9zM15.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>',ProfileMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 0c5.514 0 10 4.486 10 10s-4.486 10-10 10S0 15.514 0 10 4.486 0 10 0zm6.24 15a7.99 7.99 0 0 1-12.48 0 7.99 7.99 0 0 1 12.48 0zM10 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>',ProfileMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 15c-1.631 0-3.064-.792-3.978-2 .914-1.208 2.347-2 3.978-2 1.631 0 3.064.792 3.978 2-.914 1.208-2.347 2-3.978 2zm0-10c1.104 0 2 .897 2 2s-.896 2-2 2-2-.897-2-2 .896-2 2-2zm0-3c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8z"/></svg>',PromoteMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 3A1.5 1.5 0 0 0 3 4.5v11A1.5 1.5 0 0 0 4.5 17h11a1.5 1.5 0 0 0 1.5-1.5V12h-2v3H5V5h3V3H4.5zM17 4a1 1 0 0 0-1-1h-5a1 1 0 1 0 0 2h2.586l-5.293 5.293a.999.999 0 1 0 1.414 1.414L15 6.414V9a1 1 0 1 0 2 0V4z"/></svg>',QuestionMarkInverseMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm-7.071.929A10 10 0 1 1 17.07 17.07 10 10 0 0 1 2.93 2.93z"/><path d="M11.126 13.002H8.99V11.86c.01-1.966.492-2.254 1.374-2.782.093-.056.19-.114.293-.178.73-.459 1.292-1.038 1.292-1.883 0-.948-.743-1.564-1.666-1.564-.852 0-1.657.398-1.712 1.533H6.305c.06-2.294 1.877-3.487 3.99-3.487 2.306 0 3.894 1.447 3.894 3.488 0 1.382-.695 2.288-1.806 2.952l-.237.144c-.79.475-1.009.607-1.02 1.777v1.142zm.17 2.012a1.344 1.344 0 0 1-1.327 1.328 1.32 1.32 0 0 1-1.227-1.834 1.318 1.318 0 0 1 1.227-.81c.712 0 1.322.592 1.328 1.316h-.001z"/></svg>',QuestionMarkInverseMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 12H9v-.148c0-.876.306-1.499 1-1.852.385-.195 1-.568 1-1a1.001 1.001 0 0 0-2 0H7c0-1.654 1.346-3 3-3s3 1 3 3-2 2.165-2 3zm-2 3h2v-2H9v2z"/><path d="M10 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12zm-8 6a8 8 0 1 1 16 0 8 8 0 0 1-16 0z"/></svg>',QuestionMarkMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10C0 4.478 4.478 0 10 0c5.523 0 10 4.478 10 10 0 5.523-4.477 10-10 10-5.522 0-10-4.477-10-10zm11.125 2.002H8.989v-.141c.01-1.966.492-2.254 1.374-2.782.093-.056.19-.114.293-.178.73-.459 1.292-1.038 1.292-1.883 0-.948-.743-1.564-1.666-1.564-.851 0-1.657.398-1.712 1.533H6.304C6.364 4.693 8.18 3.5 10.294 3.5c2.306 0 3.894 1.447 3.894 3.488 0 1.382-.695 2.288-1.805 2.952l-.238.144c-.79.475-1.009.607-1.02 1.777V12zm.17 3.012a1.344 1.344 0 0 1-1.327 1.328 1.32 1.32 0 0 1-1.328-1.328 1.318 1.318 0 0 1 1.328-1.316c.712 0 1.322.592 1.328 1.316z"/></svg>',QuestionMarkMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11 11H9v-.148c0-.876.306-1.499 1-1.852.385-.195 1-.568 1-1a1.001 1.001 0 0 0-2 0H7c0-1.654 1.346-3 3-3s3 1 3 3-2 2.165-2 3zm-2 4h2v-2H9v2zm1-13a8 8 0 1 0 0 16 8 8 0 0 0 0-16z"/></svg>',QuickSaleMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 0a1 1 0 0 0 0 2h1v1a1 1 0 0 0 .917.997l10.943.911L17.133 10H7a1 1 0 0 0-1 1v3.17A3.001 3.001 0 1 0 9.83 16h3.34A3 3 0 1 0 16 14H8v-2h10a1 1 0 0 0 .99-.859l1-7a1 1 0 0 0-.907-1.138L8 2.08V1a1 1 0 0 0-1-1H5zm11 16a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/><path d="M0 3a1 1 0 0 1 1-1h1a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H1zm-1 5a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 3a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2H1z"/></svg>',ReadTimeMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 4h9v-.5A1.5 1.5 0 0 0 14.5 2H7a3 3 0 0 0-3 3v11.5A1.5 1.5 0 0 0 5.5 18h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 6H14v5l-2-2-2 2V6H6V5a1 1 0 0 1 1-1z"/></svg>',RecentSearchesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 2C4.691 2 2 4.691 2 8s2.691 6 6 6 6-2.691 6-6-2.691-6-6-6zm6.312 10.897 5.395 5.396a1 1 0 1 1-1.414 1.414l-5.396-5.395A7.954 7.954 0 0 1 8 16c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8a7.946 7.946 0 0 1-1.688 4.897zM9 5a1 1 0 1 0-2 0v3a1 1 0 0 0 .293.707l2 2a1 1 0 0 0 1.414-1.414L9 7.586V5z"/></svg>',ReceiptMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M15.5 0h-11C3.672 0 3 .677 3 1.513V19.72a.2.2 0 0 0 .334.15l1.664-1.515a.497.497 0 0 1 .67 0l1.664 1.514c.19.173.48.173.67 0l1.663-1.514a.497.497 0 0 1 .67 0l1.663 1.514c.19.173.48.173.67 0l1.664-1.514a.497.497 0 0 1 .67 0l1.664 1.515a.2.2 0 0 0 .334-.15V1.513C17 .677 16.328 0 15.5 0zM15 5V4H5v2h10V5zm0 3v2H5V8h10zm-4 5v-1H5v2h6v-1z"/></svg>',ReferralCodeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 3H3v1H1V2.5A1.5 1.5 0 0 1 2.5 1H4v2zM16.707 6.255a1 1 0 1 0-1.414 1.414l1.293 1.292H12a1 1 0 1 0 0 2h4.586l-1.293 1.293a1 1 0 1 0 1.414 1.414l3-3a1.001 1.001 0 0 0 0-1.415l-3-3v.002zM7 6h2v8H7V6zM19 18a1 1 0 0 1-1 1h-2v-2h1v-1h2v2zM2 19a1 1 0 0 1-1-1v-2h2v1h1v2H2zM17 3v1h2V2.5A1.5 1.5 0 0 0 17.5 1H16v2h1zM5 6H1v8h4V6z"/></svg>',ReferralMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10C0 4.486 4.486 0 10 0s10 4.486 10 10-4.486 10-10 10a9.944 9.944 0 0 1-4.924-1.305l-3.04 1.204c-1.209.459-2.393-.725-1.935-1.934l1.203-3.041A9.962 9.962 0 0 1 0 10zm15.7-.645a1 1 0 0 1 0 1.4l-3 3a1 1 0 0 1-1.4 0 1 1 0 0 1 0-1.4l1.29-1.3H6a1 1 0 0 1 0-2h6.59l-1.3-1.3a1 1 0 1 1 1.42-1.4l3 3h-.01z"/></svg>',RefreshMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.707 3.293a1 1 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09L16.586 5H7C4.794 5 3 6.794 3 9a1 1 0 0 1-2 0c0-3.309 2.691-6 6-6h9.586l-1.293-1.293A1 1 0 1 1 16.707.293l3 3zM17 10a1 1 0 0 1 1 1c0 3.31-2.69 6-6 6H3.414l1.293 1.293a1 1 0 1 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 1 1 1.414 1.414L3.414 15H12c2.206 0 4-1.794 4-4a1 1 0 0 1 1-1z"/></svg>',RefreshMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 11a1 1 0 0 1 1 1c0 1.654-1.346 3-3 3H5.414l1.293 1.293a.999.999 0 1 1-1.414 1.414l-3-3a.999.999 0 0 1 0-1.414l3-3a.999.999 0 1 1 1.414 1.414L5.414 13H15c.552 0 1-.449 1-1a1 1 0 0 1 1-1zM3 9a1 1 0 0 1-1-1c0-1.654 1.346-3 3-3h9.586l-1.293-1.293a.999.999 0 1 1 1.414-1.414l3 3a.999.999 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 7H5c-.552 0-1 .449-1 1a1 1 0 0 1-1 1z"/></svg>',RefundMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 0h11c.828 0 1.5.677 1.5 1.512v18.21a.2.2 0 0 1-.334.149l-1.664-1.515a.497.497 0 0 0-.67 0l-1.664 1.514a.497.497 0 0 1-.67 0l-1.663-1.514a.497.497 0 0 0-.67 0L8.002 19.87a.497.497 0 0 1-.67 0l-1.664-1.514a.497.497 0 0 0-.67 0l-1.664 1.515a.2.2 0 0 1-.334-.15V1.512C3 .677 3.672 0 4.5 0zM10 7.596H8.415l1.293-1.293a1 1 0 0 0-1.414-1.414l-3 3a1 1 0 0 0 0 1.414l3 3a1 1 0 1 0 1.414-1.414L8.414 9.596H10c2.069 0 2.999 1.116 2.999 3a1 1 0 1 0 2 0c0-2.916-1.736-5-5-5z"/></svg>',RedoMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.512 5C14.363 3.066 12.522 2 10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 1 1 0 1 1 0 2C4.477 20 0 15.523 0 10S4.477 0 10 0c3.297 0 5.644 1.496 8 3.647V1a1 1 0 1 1 2 0v5a.998.998 0 0 1-.29.705l-.005.004A.997.997 0 0 1 19 7h-5a1 1 0 1 1 0-2h2.512z"/></svg>',RefundMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 12h-2v-1c0-.551-.449-1-1-1H9.414l.586.586A1 1 0 1 1 8.586 12L6.293 9.707a1 1 0 0 1 0-1.414L8.586 6A1 1 0 1 1 10 7.414L9.414 8H12c1.654 0 3 1.346 3 3v1zm2-8.5A1.5 1.5 0 0 0 15.5 2h-11A1.5 1.5 0 0 0 3 3.5V17a1 1 0 0 0 1.3.954c.18-.057.317-.195.439-.338l1.121-1.321 1.349 1.399a1.002 1.002 0 0 0 1.415.026l1.364-1.318 1.305 1.305a.997.997 0 0 0 1.414 0l1.42-1.42 1.136 1.332c.12.141.257.277.434.334A1 1 0 0 0 17 17V3.5z"/></svg>',RepeatOrderMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 8a.992.992 0 0 1 .294-.707l2.999-3a1 1 0 1 1 1.414 1.414L9.414 7H15.5a2.5 2.5 0 0 0 0-5 1 1 0 1 1 0-2C17.981 0 20 2.018 20 4.5 20 6.981 17.981 9 15.5 9H9.414l1.293 1.293A.999.999 0 0 1 10 12.002a.997.997 0 0 1-.706-.294l-3-3a.99.99 0 0 1-.217-.326A.992.992 0 0 1 6 8zM3 3v11h3.5c.775 0 1.388.662 1.926 1.244l.11.12a2 2 0 0 0 2.927-.001l.11-.119h.001C12.112 14.662 12.725 14 13.5 14H17v-2a1 1 0 1 1 2 0v5.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1H7a1 1 0 0 1 0 2H3z"/></svg>',RemoveProductMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 1h-7a1 1 0 0 0-.71.29l-9 9a1 1 0 0 0 0 1.42l7 7a1 1 0 0 0 1.42 0l.29-.29V16a6 6 0 0 1 6-6h2.42l.29-.29A1 1 0 0 0 19 9V2a1 1 0 0 0-1-1zm-2.5 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/><path d="M19.707 14.293A1 1 0 0 0 19 14h-6a1 1 0 0 0 0 2h6a1 1 0 0 0 .707-1.707z"/></svg>',ReportMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.5 3A1.5 1.5 0 0 0 3 4.5v11A1.5 1.5 0 0 0 4.5 17h11a1.5 1.5 0 0 0 1.5-1.5v-11A1.5 1.5 0 0 0 15.5 3h-11zM15 15h-2V9h2v6zm-6 0h2V6H9v9zm-2 0H5v-3h2v3z"/></svg>',ReplayMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.635 7.666c0 .272.106.528.298.72a1.044 1.044 0 0 0 1.441 0L17.7 6.059a1.013 1.013 0 0 0 0-1.442L15.374 2.29a1.042 1.042 0 0 0-1.44 0 1.008 1.008 0 0 0-.299.72c0 .272.106.528.3.72l.588.59H8.836C5.066 4.318 2 7.388 2 11.158 2 14.933 5.066 18 8.836 18c3.346 0 6.252-2.495 6.757-5.8.002-.009.016-.115.016-.194l.002-.352a1.02 1.02 0 0 0-1.018-1.019 1.02 1.02 0 0 0-1.019 1.019v.19c0 .318-.117.658-.139.728-.628 1.97-2.51 3.39-4.599 3.39a4.806 4.806 0 0 1-4.8-4.802 4.807 4.807 0 0 1 4.8-4.803h5.687l-.589.589a1.012 1.012 0 0 0-.299.72z"/></svg>',ReplaceMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 0A1.5 1.5 0 0 0 0 1.5v5A1.5 1.5 0 0 0 1.5 8h5A1.5 1.5 0 0 0 8 6.5v-5A1.5 1.5 0 0 0 6.5 0h-5zm11.793 7.707a1 1 0 1 0 1.414-1.414L13.414 5H17.5a.5.5 0 0 1 .5.5V9a1 1 0 1 0 2 0V5.5A2.5 2.5 0 0 0 17.5 3h-4.086l1.293-1.293A1 1 0 0 0 13.293.293l-3 3a1 1 0 0 0 0 1.414l3 3zm-6.586 4.586a1 1 0 0 0-1.414 1.414L6.586 15H2.5a.5.5 0 0 1-.5-.5V11a1 1 0 1 0-2 0v3.5A2.5 2.5 0 0 0 2.5 17h4.086l-1.293 1.293a1 1 0 1 0 1.414 1.414l3-3a1 1 0 0 0 0-1.414l-3-3zM20 18.5a1.5 1.5 0 0 1-1.5 1.5h-5a1.5 1.5 0 0 1-1.5-1.5v-5a1.5 1.5 0 0 1 1.5-1.5h5a1.5 1.5 0 0 1 1.5 1.5v5z"/></svg>',ReportsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 5a1 1 0 0 0-.293-.707l-4-4A1.002 1.002 0 0 0 13 0H3.5A1.5 1.5 0 0 0 2 1.5V6a1 1 0 1 0 2 0V2h8.586L16 5.414V18H4v-1a1 1 0 1 0-2 0v1.5A1.5 1.5 0 0 0 3.5 20h13a1.5 1.5 0 0 0 1.5-1.5V5z"/><path d="M9 6a1 1 0 0 0 0 2h3v3a1 1 0 1 0 2 0V7a1 1 0 0 0-1-1H9z"/><path d="m7 13-.768.64a1 1 0 0 0 1.475.067L7 13zm-2.5-3 .768-.64a1 1 0 0 0-1.52-.018L4.5 10zM.247 13.341a1 1 0 0 0 1.506 1.318L.247 13.34zm11.046-6.048-5 5 1.414 1.414 5-5-1.414-1.414zM7.768 12.36l-2.5-3-1.536 1.28 2.5 3 1.536-1.28zm-4.02-3.018-3.5 4 1.505 1.316 3.5-4-1.506-1.316z"/></svg>',ResetMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 9a1 1 0 0 1-1-1c0-.551-.448-1-1-1H5.414l1.293 1.293a.999.999 0 1 1-1.414 1.414l-3-3a.999.999 0 0 1 0-1.414l3-3a.997.997 0 0 1 1.414 0 .999.999 0 0 1 0 1.414L5.414 5H15c1.654 0 3 1.346 3 3a1 1 0 0 1-1 1zM3 11a1 1 0 0 1 1 1c0 .551.448 1 1 1h9.586l-1.293-1.293a.999.999 0 1 1 1.414-1.414l3 3a.999.999 0 0 1 0 1.414l-3 3a.999.999 0 1 1-1.414-1.414L14.586 15H5c-1.654 0-3-1.346-3-3a1 1 0 0 1 1-1z"/></svg>',ResourcesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m19.986 10.835-.987-5.926A3.004 3.004 0 0 0 16 2a1 1 0 1 0 0 2c.552 0 1 .449 1 1 0 .055.005.11.014.165L17.82 10H12a1 1 0 0 0-1 1v.19a2.92 2.92 0 0 0-1-.19c-.35 0-.688.076-1 .19V11a1 1 0 0 0-1-1H2.18l.806-4.835A.92.92 0 0 0 3 5c0-.551.449-1 1-1a1 1 0 0 0 0-2 3.004 3.004 0 0 0-2.999 2.909l-.988 5.926A2.29 2.29 0 0 0 0 11v2.5C0 15.981 2.019 18 4.5 18S9 15.981 9 13.5v-.039c.311-.234.714-.461 1-.461.286 0 .689.227 1 .461v.039c0 2.481 2.019 4.5 4.5 4.5s4.5-2.019 4.5-4.5V11c0-.029-.009-.136-.014-.165zM7 13.5C7 14.879 5.878 16 4.5 16A2.503 2.503 0 0 1 2 13.5V12h5v1.5zm11 0c0 1.379-1.121 2.5-2.5 2.5a2.502 2.502 0 0 1-2.5-2.5V12h5v1.5z"/></svg>',ReturnMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 13H5.414l1.293 1.293a.999.999 0 1 1-1.414 1.414l-3-3a.999.999 0 0 1 0-1.414l3-3a.997.997 0 0 1 1.414 0 .999.999 0 0 1 0 1.414L5.414 11H13.5c1.379 0 2.5-1.121 2.5-2.5S14.879 6 13.5 6H3a1 1 0 1 1 0-2h10.5C15.981 4 18 6.019 18 8.5S15.981 13 13.5 13z"/></svg>',RiskMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M9 11a1 1 0 1 0 2 0V9a1 1 0 1 0-2 0v2zm0 4a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm8.895 1.549-7-14.04c-.339-.679-1.45-.679-1.79 0l-7 14.04A1.004 1.004 0 0 0 3 18h14a1 1 0 0 0 .895-1.451z"/></svg>',RiskMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="m1.16 16.829 7.498-15c.553-1.106 2.13-1.106 2.683 0l7.498 15A1.5 1.5 0 0 1 17.498 19H2.502a1.5 1.5 0 0 1-1.342-2.171zM10 7a1 1 0 0 1 1 1v3a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1zm1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/></svg>',SandboxMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.976 13.879a.356.356 0 0 1-.001-.051c0-.023 0-.046-.005-.07l-1.645-6.58a1 1 0 1 0-1.94.485L17.72 13H2.28l1.501-6h4.772a1 1 0 1 0 0-2H3a1 1 0 0 0-.97.757l-2 8c-.006.023-.005.046-.005.07 0 .016.001.033-.001.05-.002.02-.007.037-.012.055A.25.25 0 0 0 0 14v4.509A1.49 1.49 0 0 0 1.491 20h17.018A1.49 1.49 0 0 0 20 18.509V14c0-.024-.006-.046-.012-.068l-.001-.004c-.005-.016-.01-.032-.011-.049z"/><path d="m14.239 5 .556-2.294.961.242a1.001 1.001 0 0 0 .488-1.94L12.365.03a1 1 0 0 0-.488 1.94l.978.247-1.725 7.127a3.042 3.042 0 0 1-.683-.24c-2.403-1.199-4.759-.065-4.891-.001l-.003.001a1.001 1.001 0 0 0 .894 1.79l.003-.001c.081-.037 1.628-.735 3.103.001a5.251 5.251 0 0 0 2.366.549c1.398 0 2.45-.51 2.527-.547l.001-.001a1.002 1.002 0 0 0-.894-1.79c-.11.049-.223.092-.338.128L13.755 7l.484-2z"/></svg>',SearchMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 8c0-3.309 2.691-6 6-6s6 2.691 6 6-2.691 6-6 6-6-2.691-6-6zm17.707 10.293-5.395-5.396A7.946 7.946 0 0 0 16 8c0-4.411-3.589-8-8-8S0 3.589 0 8s3.589 8 8 8a7.954 7.954 0 0 0 4.897-1.688l5.396 5.395A.998.998 0 0 0 20 19a1 1 0 0 0-.293-.707z"/></svg>',SaveMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 5v10h10V7h-2V5h2.5A1.5 1.5 0 0 1 17 6.5v9a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 15.5v-11A1.5 1.5 0 0 1 4.5 3h3.293a1.5 1.5 0 0 1 1.06.44l1.708 1.706A1.5 1.5 0 0 1 11 6.207v3.379l.793-.793a1 1 0 1 1 1.414 1.414l-2.5 2.5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L9 9.586V6.414L7.586 5H5z"/></svg>',SearchMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 12a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm9.707 4.293-4.82-4.82A5.968 5.968 0 0 0 14 8 6 6 0 0 0 2 8a6 6 0 0 0 6 6 5.968 5.968 0 0 0 3.473-1.113l4.82 4.82a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414z"/></svg>',SectionMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 1a1 1 0 0 0-1 1v2h2V3h1V1H2zm16 0a1 1 0 0 1 1 1v2h-2V3h-1V1h2zM1 6v8h18V6H1zm1 13a1 1 0 0 1-1-1v-2h2v1h1v2H2zm17-1a1 1 0 0 1-1 1h-2v-2h1v-1h2v2zM6 17h3v2H6v-2zm8 0h-3v2h3v-2zm0-16v2h-3V1h3zM9 3V1H6v2h3z"/></svg>',SecureMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M9.128.233c-2.37 1.383-5.37 2.33-7.635 2.646-.821.115-1.495.79-1.493 1.62l.001.497c-.03 6.043.477 11.332 9.462 14.903a1.45 1.45 0 0 0 1.062 0c8.993-3.571 9.503-8.86 9.473-14.903v-.501c-.001-.828-.674-1.51-1.492-1.638-2.148-.337-5.281-1.274-7.65-2.628a1.733 1.733 0 0 0-1.728.004zm4.577 8.478a1 1 0 0 0-1.414-1.415L8.998 10.59 7.705 9.297A1 1 0 1 0 6.29 10.71l2 2.001a1 1 0 0 0 1.414 0l4-4.001z"/></svg>',SelectMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.676 9h4.648c.563 0 .879-.603.53-1.014L10.531 5.24a.708.708 0 0 0-1.062 0L7.145 7.986C6.798 8.397 7.113 9 7.676 9zm4.648 2H7.676c-.563 0-.878.603-.53 1.014l2.323 2.746c.27.32.792.32 1.062 0l2.323-2.746c.349-.411.033-1.014-.53-1.014z"/></svg>',SendMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.415.189a1 1 0 0 1 1.1-.046l15 9a1 1 0 0 1 0 1.714l-15 9a1 1 0 0 1-1.491-1.074L4.754 11H10a1 1 0 1 0 0-2H4.753l-1.73-7.783A1 1 0 0 1 3.416.189z"/></svg>',SettingsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M9.027 0a1 1 0 0 0-.99.859l-.37 2.598A6.993 6.993 0 0 0 5.742 4.57l-2.437-.98a1 1 0 0 0-1.239.428L.934 5.981a1 1 0 0 0 .248 1.287l2.066 1.621a7.06 7.06 0 0 0 0 2.222l-2.066 1.621a1 1 0 0 0-.248 1.287l1.132 1.962a1 1 0 0 0 1.239.428l2.438-.979a6.995 6.995 0 0 0 1.923 1.113l.372 2.598a1 1 0 0 0 .99.859h2.265a1 1 0 0 0 .99-.859l.371-2.598a6.995 6.995 0 0 0 1.924-1.112l2.438.978a1 1 0 0 0 1.238-.428l1.133-1.962a1 1 0 0 0-.249-1.287l-2.065-1.621a7.063 7.063 0 0 0 0-2.222l2.065-1.621a1 1 0 0 0 .249-1.287l-1.133-1.962a1 1 0 0 0-1.239-.428l-2.437.979a6.994 6.994 0 0 0-1.924-1.113L12.283.86a1 1 0 0 0-.99-.859H9.027zm1.133 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>',SettingsMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm7.476-1.246c-1.394-.754-1.394-2.754 0-3.508a1 1 0 0 0 .376-1.404l-1.067-1.733a1 1 0 0 0-1.327-.355l-.447.243c-1.329.719-2.945-.244-2.945-1.755V3a1 1 0 0 0-1-1H8.934a1 1 0 0 0-1 1v.242c0 1.511-1.616 2.474-2.945 1.755l-.447-.243a1 1 0 0 0-1.327.355L2.148 6.842a1 1 0 0 0 .376 1.404c1.394.754 1.394 2.754 0 3.508a1 1 0 0 0-.376 1.404l1.067 1.733a1 1 0 0 0 1.327.355l.447-.243c1.329-.719 2.945.244 2.945 1.755V17a1 1 0 0 0 1 1h2.132a1 1 0 0 0 1-1v-.242c0-1.511 1.616-2.474 2.945-1.755l.447.243a1 1 0 0 0 1.327-.355l1.067-1.733a1 1 0 0 0-.376-1.404z"/></svg>',ShareIosMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.293 6.703a.997.997 0 0 0 1.414 0L9 5.409v6.589a1 1 0 1 0 2 0V5.409l1.293 1.294a1 1 0 1 0 1.414-1.415l-3-3.001a.994.994 0 0 0-.298-.198c-.027-.013-.055-.021-.082-.03l-.012-.003a.944.944 0 0 0-.257-.05l-.027-.002a.937.937 0 0 0-.385.06c-.004 0-.008 0-.012.002a.028.028 0 0 0-.013.003h-.004a1.002 1.002 0 0 0-.294.197c-.004.004-.01.007-.015.01l-.015.01-3 3.002a1 1 0 0 0 0 1.415zM3.5 9A1.5 1.5 0 0 0 2 10.5v6A1.5 1.5 0 0 0 3.5 18h13a1.5 1.5 0 0 0 1.5-1.5v-6A1.5 1.5 0 0 0 16.5 9H13v2h3v5H4v-5h3V9H3.5z"/></svg>',ShareMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 12c-.807 0-1.537.324-2.077.844l-4.96-2.481c.015-.12.037-.238.037-.363s-.022-.243-.037-.363l4.96-2.481c.54.52 1.27.844 2.077.844 1.654 0 3-1.346 3-3s-1.346-3-3-3-3 1.346-3 3c0 .125.022.243.037.363l-4.96 2.481A2.986 2.986 0 0 0 5 7c-1.654 0-3 1.346-3 3s1.346 3 3 3c.807 0 1.537-.324 2.077-.844l4.96 2.481c-.015.12-.037.238-.037.363 0 1.654 1.346 3 3 3s3-1.346 3-3-1.346-3-3-3z"/></svg>',ShopcodesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1A1.5 1.5 0 0 0 1 2.5V7h6V1H2.5zM7 13H1v4.5A1.5 1.5 0 0 0 2.5 19H7v-6zm6-12h4.5A1.5 1.5 0 0 1 19 2.5V7h-6V1zM1 9v2h2V9H1zm8-4h2v2H9V5zm2-4H9v2h2V1zm0 16h1v2H9v-3h2v1zm8 0h-2v2h.5a1.5 1.5 0 0 0 1.5-1.5V17zm-2-4h2v3h-2v-3zm-1 0h-2v6h2v-6zm-3-4h6v2h-6V9zm-2 0H5v2h4v3h2V9zm2 4h1v3h-1z"/></svg>',ShipmentMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1.5 2A1.5 1.5 0 0 0 0 3.5v11A1.5 1.5 0 0 0 1.5 16H2a3 3 0 1 0 6 0h4a3 3 0 1 0 6 0h.5a1.5 1.5 0 0 0 1.5-1.5v-3.361a1.5 1.5 0 0 0-.214-.772l-2.783-4.639A1.5 1.5 0 0 0 15.717 5H13V3.5A1.5 1.5 0 0 0 11.5 2h-10zM15 17a1 1 0 1 1 0-2 1 1 0 0 1 0 2zM4 16a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm13.234-6H13V7h2.434l1.8 3z"/></svg>',SidebarLeftMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 3h3V1h-3v2zm7-2a1 1 0 0 1 1 1v2h-2V3h-1V1h2zm1 17a1 1 0 0 1-1 1h-2v-2h1v-1h2v2zM2.5 19H9V1H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19zM14 19h-3v-2h3v2zm5-5h-2v-3h2v3zm-2-5h2V6h-2v3z"/></svg>',SlideshowMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1 2.5A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v12a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 14.5v-12zM9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm6.57 9H4.427c-.351 0-.548-.368-.343-.632l3.046-3.24a.448.448 0 0 1 .617-.009L9.143 11.6l2.623-3.825a.446.446 0 0 1 .72.016l3.462 5.609c.154.272-.052.6-.377.6z"/><path d="M6 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm5-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',SidebarRightMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 1H11v18h6.5a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1zM1 2a1 1 0 0 1 1-1h2v2H3v1H1V2zm1 17a1 1 0 0 1-1-1v-2h2v1h1v2H2zM6 1h3v2H6V1zm3 16H6v2h3v-2zM3 6v3H1V6h2zm0 8v-3H1v3h2z"/></svg>',SmileyHappyMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10zM7.707 8.707a1 1 0 1 1-1.414-1.414 1 1 0 0 1 1.414 1.414zm4.586-1.414a1 1 0 1 1 1.414 1.414 1 1 0 0 1-1.414-1.414zm.011 4.988c-.03.03-.786.72-2.304.72-1.497 0-2.252-.67-2.303-.718a1 1 0 0 0-1.404 1.424C6.425 13.84 7.653 15 10 15c2.346 0 3.575-1.16 3.707-1.293a.993.993 0 0 0 .005-1.397 1.006 1.006 0 0 0-1.408-.029z"/></svg>',SmileyNeutralMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10C0 4.486 4.486 0 10 0s10 4.486 10 10-4.486 10-10 10S0 15.514 0 10zm7.707-1.293a1 1 0 1 1-1.414-1.414 1 1 0 0 1 1.414 1.414zm4.586-1.414a1 1 0 1 1 1.414 1.414 1 1 0 0 1-1.414-1.414zm1.414 5A1 1 0 0 0 13 12H7a1 1 0 0 0 0 2h6a1 1 0 0 0 .707-1.707z"/></svg>',SmileySadMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 10C0 4.486 4.486 0 10 0s10 4.486 10 10-4.486 10-10 10S0 15.514 0 10zm7.707-.293a1 1 0 1 1-1.414-1.414 1 1 0 0 1 1.414 1.414zm4.586-1.414a1 1 0 1 1 1.414 1.414 1 1 0 0 1-1.414-1.414zM10 12c-.247 0-2.451.036-3.707 1.293a1 1 0 1 0 1.414 1.414c.57-.57 1.881-.705 2.29-.707.415.002 1.726.137 2.296.707A.998.998 0 0 0 14 14a1 1 0 0 0-.293-.707C12.451 12.036 10.247 12 10 12z"/></svg>',SmileyJoyMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.486 0 0 4.486 0 10s4.486 10 10 10 10-4.486 10-10S15.514 0 10 0zM7.707 7.707a1 1 0 1 1-1.414-1.414 1 1 0 0 1 1.414 1.414zm6 0a1 1 0 1 1-1.414-1.414 1 1 0 0 1 1.414 1.414zm2.082 3.87A5.997 5.997 0 0 1 10 16a6 6 0 0 1-5.789-4.422c-.081-.299.155-.578.465-.578h10.649c.309 0 .545.279.464.578z"/></svg>',SocialAdMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 20a1.5 1.5 0 0 0 1.5-1.5V11a1 1 0 0 0-2 0v7H2V4h7a1 1 0 0 0 0-2H1.5A1.5 1.5 0 0 0 0 3.5v15A1.5 1.5 0 0 0 1.5 20h14zm-.056-15.168a.999.999 0 0 0 1.263-.125l2-2a1 1 0 0 0-1.414-1.414l-2 2a1 1 0 0 0 .15 1.54zM17 8h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2zm-4.707-4.293A1 1 0 0 0 14 3V1a1 1 0 0 0-2 0v2a1 1 0 0 0 .293.707zM11 6H4v6h9V6h-2zm-7 8h9v2H4v-2z"/></svg>',SoftPackMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 1.5v17c0 .8.7 1.5 1.5 1.5h13.1c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5H3.5C2.7 0 2 .7 2 1.5zM16 18H4V2h12v16z"/><path d="M6 4H3v2h3V4zm11 0h-3v2h3V4zm-5 0H8v2h4V4zm-2 6H6v2h4v-2zm2 4H6v2h6v-2z"/></svg>',SocialPostMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 7h9v2H4zm0 4h7v2H4z"/><path d="M16 10a1 1 0 0 1 1 1v4.5a1.5 1.5 0 0 1-1.5 1.5H7.636l-2.818 2.707A1 1 0 0 1 3.111 19v-2H1.5A1.5 1.5 0 0 1 0 15.5v-11A1.5 1.5 0 0 1 1.5 3H9a1 1 0 0 1 0 2H2v10h2.111a1 1 0 0 1 1 1v.697l1.404-1.404A1 1 0 0 1 7.222 15H15v-4a1 1 0 0 1 1-1zm0-5a.999.999 0 0 1-.707-1.707l2-2a1 1 0 1 1 1.414 1.414l-2 2A.996.996 0 0 1 16 5zm3 1a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2h2zm-6-2a1 1 0 0 1-1-1V1a1 1 0 0 1 2 0v2a1 1 0 0 1-1 1z"/></svg>',SortAscendingMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.293 5.707a1 1 0 0 0 1.414-1.414l-3-3a1 1 0 0 0-1.414 0l-3 3a1 1 0 0 0 1.414 1.414L4 4.414V18a1 1 0 1 0 2 0V4.414l1.293 1.293zM10 8a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1zm1 3a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2h-7z"/></svg>',SortDescendingMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 1a1 1 0 0 1 1 1v13.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L4 15.586V2a1 1 0 0 1 1-1zm5 3a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1zm1 3a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2h-7z"/></svg>',SortMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.293 2.293a.997.997 0 0 1 1.414 0l3 3a1 1 0 0 1-1.414 1.414L7 5.414V13a1 1 0 1 1-2 0V5.414L3.707 6.707a1 1 0 0 1-1.414-1.414l3-3zM13 7a1 1 0 0 1 2 0v7.585l1.293-1.292a.999.999 0 1 1 1.414 1.414l-3 3a.997.997 0 0 1-1.414 0l-3-3a.997.997 0 0 1 0-1.414.999.999 0 0 1 1.414 0L13 14.585V7z"/></svg>',SoundMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.548 2.892a1 1 0 1 1 .904-1.784C17.755 2.782 19.83 6.158 19.83 10c0 3.832-2.08 7.212-5.376 8.891a1 1 0 1 1-.908-1.782c2.628-1.338 4.284-4.03 4.284-7.109 0-3.087-1.651-5.774-4.282-7.108zm-1.214 4.154a1 1 0 1 1 1.332-1.492C14.95 6.7 15.673 8.268 15.673 10c0 1.733-.723 3.3-2.007 4.446a1 1 0 1 1-1.332-1.492c.865-.771 1.339-1.8 1.339-2.954 0-1.154-.474-2.182-1.339-2.954zM1.499 14.001A1.5 1.5 0 0 1 0 12.5v-5A1.5 1.5 0 0 1 1.5 6h2.15l4.725-3.78A1 1 0 0 1 10 3v14a1 1 0 0 1-1.625.781l-4.726-3.78H1.5z"/></svg>',StarOutlineMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m6.71 15.116 3.357-1.658.892.452 2.327 1.178-.56-3.912.708-.707 1.29-1.29-3.235-.576-.445-.915-1.059-2.176L8.4 8.683l-1.005.168-2.098.35 1.975 1.975-.141.99-.422 2.95zM5.2 18a.8.8 0 0 1-.792-.914l.743-5.203-2.917-2.917a.8.8 0 0 1 .434-1.355l4.398-.733 2.218-4.435a.8.8 0 0 1 1.435.008l2.123 4.361 4.498.801a.8.8 0 0 1 .425 1.353l-2.917 2.917.744 5.203a.8.8 0 0 1-1.154.828l-4.382-2.22-4.502 2.223A.792.792 0 0 1 5.2 18z"/></svg>',StarFilledMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.2 18a.8.8 0 0 1-.792-.914l.743-5.203-2.917-2.917a.8.8 0 0 1 .434-1.355l4.398-.733 2.218-4.435a.8.8 0 0 1 1.435.008l2.123 4.361 4.498.801a.8.8 0 0 1 .425 1.353l-2.917 2.917.744 5.203a.8.8 0 0 1-1.154.828l-4.382-2.22-4.502 2.223A.792.792 0 0 1 5.2 18z"/></svg>',StoreMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m1.791 2.253-.597 3.583A1 1 0 0 0 2.18 7h.893a1.5 1.5 0 0 0 1.342-.83L5 5l.585 1.17A1.5 1.5 0 0 0 6.927 7h1.146a1.5 1.5 0 0 0 1.342-.83L10 5l.585 1.17a1.5 1.5 0 0 0 1.342.83h1.146a1.5 1.5 0 0 0 1.342-.83L15 5l.585 1.17a1.5 1.5 0 0 0 1.342.83h.893a1 1 0 0 0 .986-1.164l-.597-3.583A1.5 1.5 0 0 0 16.729 1H3.271a1.5 1.5 0 0 0-1.48 1.253zM18 9H2v8.5A1.5 1.5 0 0 0 3.5 19H7v-7h6v7h3.5a1.5 1.5 0 0 0 1.5-1.5V9z"/></svg>',StoreMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m2.554 3.128-.542 3.224a.893.893 0 0 0 .513.964c.12.055.25.084.382.084h.81a1.369 1.369 0 0 0 1.217-.747l.53-1.053.531 1.053a1.354 1.354 0 0 0 1.218.747h1.04a1.369 1.369 0 0 0 1.216-.747L10 5.6l.53 1.053a1.355 1.355 0 0 0 1.218.747h1.04a1.369 1.369 0 0 0 1.217-.747l.53-1.053.531 1.053a1.354 1.354 0 0 0 1.217.747h.81a.913.913 0 0 0 .692-.318.898.898 0 0 0 .203-.73l-.542-3.224a1.347 1.347 0 0 0-.463-.808 1.367 1.367 0 0 0-.88-.32H3.897c-.322 0-.633.113-.88.32-.245.206-.41.492-.462.808zM17 16.65V9H3v7.65c0 .358.141.701.393.955.252.253.594.395.95.395h2.673v-6h5.968v6h2.673c.356 0 .698-.142.95-.395.252-.254.393-.597.393-.955z"/></svg>',StoreStatusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 10a3.987 3.987 0 0 0-1.172-2.828l1.415-1.415A6 6 0 1 1 9 4.083V2.062A8.001 8.001 0 0 0 10 18a8 8 0 0 0 5.657-13.657L17.07 2.93A9.969 9.969 0 0 1 20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0c.338 0 .671.017 1 .05v8.218a2 2 0 1 1-2 0V6.126A4.002 4.002 0 0 0 10 14a4 4 0 0 0 4-4z"/></svg>',TabletMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2 1.5A1.5 1.5 0 0 1 3.5 0h13A1.5 1.5 0 0 1 18 1.5v17a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 2 18.5v-17zM4 2h12v14H4V2zm6 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',TapChipMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 1.5A1.5 1.5 0 0 1 6.5 0h12A1.5 1.5 0 0 1 20 1.5v8a1.5 1.5 0 0 1-1.5 1.5H14v5.5a2.5 2.5 0 0 1-2.5 2.5h-8A2.5 2.5 0 0 1 1 16.5V6a4 4 0 0 1 4-4v-.5zM5 4a2 2 0 0 0-2 2v7h9v-2H6.5A1.5 1.5 0 0 1 5 9.5V4zm3 2a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1zM3 16.5V15h9v1.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5z"/></svg>',TeamMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6.086 9.882a5 5 0 1 1 3.91-5.063l4.378.73A3 3 0 0 1 20 7a3 3 0 0 1-3.919 2.857l-2.866 3.763a4 4 0 1 1-5.77-.697l-1.36-3.041zm1.826-.817 1.342 3.005a4.022 4.022 0 0 1 2.407.29l2.83-3.716a2.983 2.983 0 0 1-.446-1.123L9.67 6.792a5.015 5.015 0 0 1-1.757 2.273z"/></svg>',TemplateMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 1H12v6h7V2.5A1.5 1.5 0 0 0 17.5 1zM19 9h-5v10h3.5a1.5 1.5 0 0 0 1.5-1.5V9zM1 9h11v10H2.5A1.5 1.5 0 0 1 1 17.5V9zm1.5-8A1.5 1.5 0 0 0 1 2.5V7h11V1H2.5z"/></svg>',TaxMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.5 0h11c.828 0 1.5.677 1.5 1.512v18.21a.2.2 0 0 1-.334.149l-1.664-1.515a.497.497 0 0 0-.67 0l-1.664 1.514a.497.497 0 0 1-.67 0l-1.663-1.514a.497.497 0 0 0-.67 0L8.002 19.87a.497.497 0 0 1-.67 0l-1.664-1.514a.497.497 0 0 0-.67 0l-1.664 1.559a.2.2 0 0 1-.334-.15V1.512C3 .677 3.672 0 4.5 0zm3 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm6.5 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-.293-4.793a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 1 0 1.414 1.414l6-6z"/></svg>',TextAlignmentLeftMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h14a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2zm0 4h10a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2zm0 4h14a1 1 0 0 1 0 2H3a1 1 0 0 1 0-2zm0 4h10a1 1 0 0 1 0 2H3a1 1 0 0 1 0-2z"/></svg>',TextAlignmentCenterMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h14a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2zm2 4h10a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2zm-2 4h14a1 1 0 0 1 0 2H3a1 1 0 0 1 0-2zm2 4h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2z"/></svg>',TextAlignmentRightMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3h14a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2zm4 4h10a1 1 0 1 1 0 2H7a1 1 0 0 1 0-2zm-4 4h14a1 1 0 0 1 0 2H3a1 1 0 0 1 0-2zm4 4h10a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2z"/></svg>',TextBlockMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2.5 1A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1h-15zM16 5H4v2h12V5zM4 9h12v2H4V9zm6 4H4v2h6v-2z"/></svg>',TextMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="m8.24 9 .816 2.33a1 1 0 0 0 1.888-.66L7.609 1.142a1.705 1.705 0 0 0-3.218 0L1.056 10.67a1 1 0 0 0 1.888.66L3.759 9h4.482zm-.7-2L6 2.599 4.46 7h3.08zm7.96-2c.608 0 1.18.155 1.68.428A.999.999 0 0 1 19 6v5a1 1 0 0 1-1.82.572A3.5 3.5 0 1 1 15.5 5zm0 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path d="M2 14a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2H2zm0 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H2z"/></svg>',ThemeEditMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 1.5A1.5 1.5 0 0 1 1.5 0h5A1.5 1.5 0 0 1 8 1.5V2h5a1 1 0 1 1 0 2H8v1.5A1.5 1.5 0 0 1 6.5 7H5v2H3V7H1.5A1.5 1.5 0 0 1 0 5.5v-4zM2 5V2h4v3H2z"/><path d="M5 17v1h1v2H4.5A1.5 1.5 0 0 1 3 18.5V17h2zm-2-3v-3h2v3H3zm9 6H8v-2h4v2zm2-2h1v-1h2v1.5a1.5 1.5 0 0 1-1.5 1.5H14v-2zm2.907-13.159 2.252 2.252.375-.376a1.592 1.592 0 0 0-2.252-2.25l-.375.374zm1.218 3.283-2.251-2.251-7.143 7.143L8 16l2.982-.731 7.143-7.144z"/></svg>',ThemeStoreMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1.5 0A1.5 1.5 0 0 0 0 1.5v4A1.5 1.5 0 0 0 1.5 7H3v11.5A1.5 1.5 0 0 0 4.5 20H8a1 1 0 1 0 0-2H5V7h1.5A1.5 1.5 0 0 0 8 5.5V5h7a1 1 0 1 0 2 0v-.5A1.5 1.5 0 0 0 15.5 3H8V1.5A1.5 1.5 0 0 0 6.5 0h-5zM2 2v3h4V2H2z"/><path fill-rule="evenodd" d="M9 8a1 1 0 0 0-1 1v5a1 1 0 0 0 .293.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 0 0 0-1.414l-5-5A1 1 0 0 0 14 8H9zm4 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/></svg>',ThemesMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 1H14v6h5V2.5A1.5 1.5 0 0 0 17.5 1zM19 9h-5v10h3.5a1.5 1.5 0 0 0 1.5-1.5V9zM1 14h11v5H2.5A1.5 1.5 0 0 1 1 17.5V14zM2.5 1A1.5 1.5 0 0 0 1 2.5V12h11V1H2.5z"/></svg>',ThumbsDownMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.008 13a.904.904 0 0 0 .896 1.023c.387 0 2.01-.007 3.488-.013L8 14c-.059 0-1.234 2.103-1.234 3.29A2.711 2.711 0 0 0 9.479 20l2.712-6H14V3h-2.382a1.81 1.81 0 0 1-.809-.19l-.753-.377C9 2 7.6 2 5.774 2H3.859c-.68 0-1.255.503-1.345 1.176L1.008 13zM17.5 14a1.5 1.5 0 0 0 1.5-1.5v-8A1.5 1.5 0 0 0 17.5 3H16v11h1.5z"/></svg>',ThumbsDownMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.437 15.996A.502.502 0 0 1 9 15.5V12a1 1 0 0 0-1-1H4.248l1.554-7h3.896L12 5.535v6.188l-2.563 4.273zM17 4h-3.697l-2.748-1.832A.995.995 0 0 0 10 2H5c-.468 0-.874.326-.976.783l-2 9A1 1 0 0 0 3 13h4v2.5C7 16.878 8.122 18 9.5 18h.5a1 1 0 0 0 .858-.485L13.567 13H17a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z"/></svg>',ThumbsUpMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.198 16h-3.896L8 14.465V8.277l2.563-4.273A.502.502 0 0 1 11 4.5V8a1 1 0 0 0 1 1h3.753l-1.555 7zm3.582-8.625A1 1 0 0 0 17 7h-4V4.5C13 3.122 11.88 2 10.5 2H10a1 1 0 0 0-.858.485L6.433 7H3a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h3.697l2.748 1.832c.164.109.357.168.555.168h5a1 1 0 0 0 .976-.783l2-9a1 1 0 0 0-.196-.842z"/></svg>',ThumbsUpMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18.992 7a.904.904 0 0 0-.896-1.023c-.387 0-2.01.007-3.488.013L12 6c.059 0 1.234-2.103 1.234-3.29A2.711 2.711 0 0 0 10.521 0L7.81 6H6v11h2.382c.28 0 .557.065.808.19l.754.377C11 18 12.4 18 14.226 18h1.915c.68 0 1.255-.503 1.345-1.176L18.992 7zM2.5 6A1.5 1.5 0 0 0 1 7.5v8A1.5 1.5 0 0 0 2.5 17H4V6H2.5z"/></svg>',TickMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.293 14.707-3-3a.999.999 0 1 1 1.414-1.414l2.236 2.236 6.298-7.18a.999.999 0 1 1 1.518 1.3l-7 8a1 1 0 0 1-.72.35 1.017 1.017 0 0 1-.746-.292z"/></svg>',TickSmallMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m8.315 13.859-3.182-3.417a.506.506 0 0 1 0-.684l.643-.683a.437.437 0 0 1 .642 0l2.22 2.393 4.942-5.327a.436.436 0 0 1 .643 0l.643.684a.504.504 0 0 1 0 .683l-5.91 6.35a.437.437 0 0 1-.642 0"/></svg>',TimelineAttachmentMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 4a1 1 0 0 1 1 1v13.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 2 18.5v-17A1.5 1.5 0 0 1 3.5 0H8v2H4v16h12V5a1 1 0 0 1 1-1z"/><path d="M8 5v6c0 1.206.799 3 3 3s3-1.794 3-3V3c0-1.206-.799-3-3-3h-1v2h1c.805 0 .988.55 1 1v7.988c-.012.462-.195 1.012-1 1.012-.805 0-.988-.55-1-1V5a1 1 0 1 0-2 0z"/></svg>',TipsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17.5 0h-11C5.672 0 5 .677 5 1.512V3h4.5A1.5 1.5 0 0 1 11 4.5v9A1.5 1.5 0 0 1 9.5 15H5v4.721a.2.2 0 0 0 .334.15l1.664-1.515a.497.497 0 0 1 .67 0l1.664 1.514c.19.173.48.173.67 0l1.663-1.514a.497.497 0 0 1 .67 0l1.663 1.514c.19.173.48.173.67 0l1.664-1.514a.497.497 0 0 1 .67 0l1.664 1.515a.2.2 0 0 0 .334-.15V1.512C19 .677 18.328 0 17.5 0zM8.707 6.707a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 1 0 1.414 1.414l6-6zM2.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM9 11.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM17 3h-4v2h4V3zm-4 4h4v2h-4V7zm4 4h-4v2h4v-2z"/></svg>',ToolsMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18.414 1.586a2 2 0 0 1 0 2.828l-3 3-1.115 1.115-2.828-2.828 1.232-1.233.015-.015 2.868-2.867a2 2 0 0 1 2.828 0zm-8.47 11.299-2.788-2.787a4.67 4.67 0 0 1-5.919-5.901L3.76 6.719a1.5 1.5 0 0 0 2.121 0l.84-.84a1.5 1.5 0 0 0 0-2.12L4.197 1.236a4.67 4.67 0 0 1 5.9 5.919l2.787 2.787 5.506 5.506a2.08 2.08 0 0 1-2.942 2.942l-5.506-5.506zm-1.415 1.414-3.287 3.287L1 19l1.414-4.243 3.287-3.286 2.828 2.828z"/></svg>',TransactionFeeDollarMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 13c-1.103 0-2-.897-2-2V4h5.185A2.995 2.995 0 0 0 17 6c1.654 0 3-1.346 3-3s-1.346-3-3-3a2.997 2.997 0 0 0-2.816 2H5.816A2.997 2.997 0 0 0 3 0C1.346 0 0 1.346 0 3s1.346 3 3 3a2.997 2.997 0 0 0 2.816-2H7v7c0 2.206 1.794 4 4 4a1 1 0 0 0 0-2zm5.977-2c.026.001.649.04 1.316.707a1 1 0 0 0 1.414-1.414A4.49 4.49 0 0 0 18 9.2V9a1 1 0 0 0-2 0v.185A2.995 2.995 0 0 0 14 12c0 2.28 1.725 2.712 2.756 2.97h.002C17.873 15.249 18 15.354 18 16c0 .552-.448 1-.976 1-.026-.001-.65-.04-1.317-.707a1 1 0 0 0-1.414 1.414c.479.49 1.062.863 1.707 1.093v.2a1 1 0 0 0 2 0v-.185A2.992 2.992 0 0 0 20 16c0-2.28-1.725-2.712-2.756-2.97h-.001C16.128 12.751 16 12.646 16 12c0-.552.449-1 .977-1z"/></svg>',TransactionFeeEuroMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 13a1 1 0 0 1 0 2c-2.206 0-4-1.794-4-4V4H5.816A2.997 2.997 0 0 1 3 6C1.346 6 0 4.654 0 3s1.346-3 3-3c1.302 0 2.401.839 2.816 2h8.368A2.997 2.997 0 0 1 17 0c1.654 0 3 1.346 3 3s-1.346 3-3 3a2.995 2.995 0 0 1-2.815-2H9v7c0 1.103.897 2 2 2zm3.014.992c-.011-.333-.006-.667.014-1h-.278a.75.75 0 1 1 0-1.5h.49C14.696 9.468 15.807 8 17.326 8c1.142 0 1.911.334 2.47 1.385a.992.992 0 0 1-1.75.932c-.16-.298-.24-.333-.72-.333-.335 0-.757.581-1.036 1.508h.959a.75.75 0 1 1 0 1.5h-1.232a8.24 8.24 0 0 0-.019 1h1.251a.75.75 0 1 1 0 1.5h-1.042c.272 1.102.749 1.812 1.119 1.812h.073c.313 0 .426 0 .496-.054a.45.45 0 0 0 .106-.152l.004-.007a.993.993 0 0 1 1.738.958c-.555 1.006-1.205 1.24-2.366 1.239h-.051c-1.594 0-2.739-1.617-3.151-3.796h-.426a.75.75 0 1 1 0-1.5h.265z"/></svg>',TitleMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 2a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0 2 2 0 0 1 2-2h2v10.999A1 1 0 0 1 7 16h-.001A1 1 0 0 0 7 18h6a1 1 0 1 0 0-2 1 1 0 0 1-1-1V4h2a2 2 0 0 1 2 2 1 1 0 1 0 2 0V3a1 1 0 0 0-1-1H3z"/></svg>',TransactionFeeRupeeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 13a1 1 0 0 1 0 2c-2.206 0-4-1.794-4-4V4H5.816A2.997 2.997 0 0 1 3 6C1.346 6 0 4.654 0 3s1.346-3 3-3c1.302 0 2.401.839 2.816 2h8.368A2.997 2.997 0 0 1 17 0c1.654 0 3 1.346 3 3s-1.346 3-3 3a2.995 2.995 0 0 1-2.815-2H9v7c0 1.103.897 2 2 2zm4.848 2.562 2.08 2.761a1 1 0 1 1-1.596 1.204l-3.01-3.993a1 1 0 0 1 1.259-1.49c.233.037.492.056.776.056.702 0 1.242-.478 1.494-1.235H13.75a.75.75 0 1 1 0-1.5h3.23c-.091-.72-.395-1.283-.844-1.58H14a1 1 0 1 1 0-2h5a1 1 0 1 1 0 2h-.944c.232.467.38 1.004.431 1.58h.763a.75.75 0 1 1 0 1.5h-.849c-.298 1.407-1.21 2.486-2.553 2.697z"/></svg>',TransactionFeePoundMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 13a1 1 0 0 1 0 2c-2.206 0-4-1.794-4-4V4H5.816A2.997 2.997 0 0 1 3 6C1.346 6 0 4.654 0 3s1.346-3 3-3c1.302 0 2.401.839 2.816 2h8.368A2.997 2.997 0 0 1 17 0c1.654 0 3 1.346 3 3s-1.346 3-3 3a2.995 2.995 0 0 1-2.815-2H9v7c0 1.103.897 2 2 2zm3.244 3H14a1 1 0 0 1 0-2h.472c.019-.34.028-.682.028-1.027 0-1.894 1.057-3.246 2.555-3.483 1.504-.239 2.867.785 2.867 2.4a1 1 0 0 1-2 0c0-.323-.21-.48-.555-.425-.487.077-.867.563-.867 1.508 0 .345-.009.687-.026 1.027H18a1 1 0 0 1 0 2h-1.73a18.706 18.706 0 0 1-.422 2H18.5a1 1 0 0 1 0 2h-4a1 1 0 0 1-1-1 .999.999 0 0 1 .056-.354c.302-.86.53-1.742.688-2.646z"/></svg>',TransactionFeeYenMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 13a1 1 0 0 1 0 2c-2.206 0-4-1.794-4-4V4H5.816A2.997 2.997 0 0 1 3 6C1.346 6 0 4.654 0 3s1.346-3 3-3c1.302 0 2.401.839 2.816 2h8.368A2.997 2.997 0 0 1 17 0c1.654 0 3 1.346 3 3s-1.346 3-3 3a2.995 2.995 0 0 1-2.815-2H9v7c0 1.103.897 2 2 2zm6.475 3.454h1.25a.75.75 0 1 1 0 1.5h-1.25v1a1 1 0 0 1-2 0v-1h-1.25a.75.75 0 1 1 0-1.5h1.25v-.75h-1.25a.75.75 0 1 1 0-1.5h.859L13.234 11a1 1 0 0 1 1.732-1l1.515 2.624L17.996 10a1 1 0 1 1 1.732 1l-1.85 3.204h.847a.75.75 0 1 1 0 1.5h-1.25v.75z"/></svg>',TransactionMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.293 8.293 12.586 7H3v11a1 1 0 1 1-2 0V2a1 1 0 0 1 2 0v3h9.586l-1.293-1.293a1 1 0 0 1 1.414-1.414l2.999 2.999a1 1 0 0 1 0 1.416l-2.999 2.999A.998.998 0 0 1 11 9a1 1 0 0 1 .293-.707zM18 1a1 1 0 0 1 1 1v16a1 1 0 0 1-2 0v-3H7.414l1.293 1.293a1 1 0 1 1-1.414 1.414l-2.999-2.999a1 1 0 0 1 0-1.416l2.999-2.999a1 1 0 0 1 1.414 1.414L7.414 13H17V2a1 1 0 0 1 1-1z"/></svg>',TransferMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 14h8V3H6v8H4V2.5A1.5 1.5 0 0 1 5.5 1h12A1.5 1.5 0 0 1 19 2.5v12a1.5 1.5 0 0 1-1.5 1.5H9v-2z"/><path d="M9 5a1 1 0 0 0 0 2h2.586l-3.293 3.293a1 1 0 1 0 1.414 1.414L13 8.414V11a1 1 0 1 0 2 0V6c0-.025 0-.05-.003-.075A1 1 0 0 0 14 5H9zm-9 9.5A1.5 1.5 0 0 1 1.5 13h4A1.5 1.5 0 0 1 7 14.5v4A1.5 1.5 0 0 1 5.5 20h-4A1.5 1.5 0 0 1 0 18.5v-4z"/></svg>',TransferInMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.586 13H2a1 1 0 0 1 0-2h6.586L7.293 9.707a1 1 0 0 1 1.414-1.414l3 3a1 1 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09L8.586 13zM19 18.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 18.5V15h2v3h14V5.618l-7-3.5-7 3.5V9H1V5c0-.379.214-.725.553-.895l8-4c.281-.14.613-.14.894 0l8 4c.339.17.553.516.553.895v13.5z"/></svg>',TransferOutMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m4.414 13 1.293 1.293a1 1 0 1 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 0 1 1.414 1.414L4.414 11H11a1 1 0 0 1 0 2H4.414zM19 18.5a1.5 1.5 0 0 1-1.5 1.5H2.286C1.576 20 1 19.424 1 18.714V18a1 1 0 1 1 2 0h14V5.618l-7-3.5-7 3.5V6a1 1 0 0 1-2 0V5c0-.379.214-.725.553-.895l8-4c.281-.14.613-.14.894 0l8 4c.339.17.553.516.553.895v13.5z"/></svg>',TransferWithinShopifyMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 2.202 9.801 4.07 6.47 6.152A1 1 0 0 0 6 7v2h2V7.554l5-3.125 5 3.125V18H8v-3H6v3.5A1.5 1.5 0 0 0 7.5 20h11a1.5 1.5 0 0 0 1.5-1.5V7a1 1 0 0 0-.47-.848l-6-3.75a1.003 1.003 0 0 0-1.06 0l-.807.505L7.555.168a1 1 0 0 0-1.11 0l-6 4A1.001 1.001 0 0 0 0 5v13h2V5.535l5-3.333zM5 13h6.586l-1.293 1.293a1 1 0 1 0 1.414 1.414l3-3a1 1 0 0 0 0-1.414l-3-3a1 1 0 1 0-1.414 1.414L11.586 11H5a1 1 0 0 0 0 2z"/></svg>',TransportMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.282 13.469a.506.506 0 0 1-.132-.814l1.093-1.087a1.537 1.537 0 0 1 1.084-.447h2.43L7.72 9.168 1.328 6.342a.507.507 0 0 1-.154-.823l1.972-1.96a1.538 1.538 0 0 1 1.357-.422l7.855 1.42 2.98-2.964a2.174 2.174 0 0 1 3.027.038 2.15 2.15 0 0 1 .038 3.01L15.39 7.638l1.442 8.607a1.52 1.52 0 0 1-.662 1.518l-1.736 1.151a.512.512 0 0 1-.75-.216l-2.898-6.482-1.964 1.953v2.417c0 .404-.162.791-.45 1.077L7.28 18.75a.512.512 0 0 1-.818-.132l-1.726-3.433-3.453-1.716z"/></svg>',TroubleshootMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 5.893a4.893 4.893 0 0 1-6.681 4.557l-8.167 8.166a1.957 1.957 0 0 1-2.768-2.768L9.55 7.682a4.893 4.893 0 0 1 5.454-6.6c.363.068.463.508.199.766l-2.97 2.898 2.936 2.936 2.985-2.913c.26-.254.692-.152.76.205.056.298.086.605.086.92z"/></svg>',UndoMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.488 5C5.637 3.066 7.478 2 10 2a8 8 0 0 1 8 8 8 8 0 0 1-8 8 1 1 0 1 0 0 2c5.523 0 10-4.477 10-10S15.523 0 10 0C6.703 0 4.356 1.496 2 3.647V1a1 1 0 0 0-2 0v5a.998.998 0 0 0 1 1h5a1 1 0 0 0 0-2H3.488z"/></svg>',TypeMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M9 0c-.6 0-1.1.4-1.4 1L2 17.3a1 1 0 0 1-.9.7 1 1 0 1 0 0 2h4a1 1 0 1 0 0-2 1 1 0 0 1-.9-1.2L5 14h7l.9 2.8A1 1 0 0 1 12 18a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2 1 1 0 0 1-1-.7L12.5 1c-.3-.6-.8-1-1.5-1H9zm-.5 4.3L5.8 12h5.4L8.5 4.3z"/></svg>',UnfulfilledMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 3v11h3.5c.775 0 1.388.662 1.926 1.244l.11.12a2 2 0 0 0 2.927-.001l.111-.119C12.112 14.662 12.725 14 13.5 14H17V3H3zm3-2H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1H6z"/></svg>',UnknownDeviceMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 2h1V0H3.5A1.5 1.5 0 0 0 2 1.5V3h2V2zm4.685 10.502h2.136v-.141c.011-1.17.23-1.302 1.02-1.777l.238-.144c1.11-.664 1.805-1.57 1.805-2.952C13.884 5.448 12.296 4 9.99 4 7.877 4 6.06 5.193 6 7.487h2.267c.054-1.135.86-1.533 1.711-1.533.924 0 1.666.616 1.666 1.564 0 .845-.561 1.424-1.292 1.883-.102.064-.2.122-.293.178-.882.528-1.363.816-1.374 2.782v.14zm.979 4.34c.712 0 1.322-.591 1.328-1.328a1.342 1.342 0 0 0-1.328-1.316c-.737 0-1.334.592-1.328 1.316a1.32 1.32 0 0 0 1.328 1.328zM4 18v-1H2v1.5A1.5 1.5 0 0 0 3.5 20H5v-2H4zm11 0h1v-1h2v1.5a1.5 1.5 0 0 1-1.5 1.5H15v-2zM4 11v4H2v-4h2zm0-2V5H2v4h2zm14 2v4h-2v-4h2zm0-2V5h-2v4h2zm-2-6V2h-1V0h1.5A1.5 1.5 0 0 1 18 1.5V3h-2z"/></svg>',UploadMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10zM5.293 8.293l4-4a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L11 7.414V15a1 1 0 1 1-2 0V7.414L6.707 9.707a1 1 0 0 1-1.414-1.414z"/></svg>',UpdateInventoryMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m18 5.65-8-3.555L2 5.65V19H0V5c0-.396.232-.753.594-.913l9-4a.999.999 0 0 1 .812 0l9 4A1 1 0 0 1 20 5v14h-2V5.65z"/><path d="M9 15a.997.997 0 0 1-.707-.293l-2-2a1 1 0 0 1 1.414-1.414L9 12.586l3.293-3.293a1 1 0 1 1 1.414 1.415l-4 4A.999.999 0 0 1 9 15z"/></svg>',ViewMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M19.928 9.629C17.791 4.286 13.681 1.85 9.573 2.064c-4.06.21-7.892 3.002-9.516 7.603L-.061 10l.118.333c1.624 4.601 5.455 7.393 9.516 7.603 4.108.213 8.218-2.222 10.355-7.565l.149-.371-.149-.371zM10 15a5 5 0 1 0 0-10 5 5 0 0 0 0 10z"/><circle cx="10" cy="10" r="3"/></svg>',ViewMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.928 9.628C17.837 9.399 15.611 4 10 4S2.162 9.399 2.07 9.628a1.017 1.017 0 0 0 0 .744C2.163 10.601 4.389 16 10 16s7.837-5.399 7.928-5.628a1.017 1.017 0 0 0 0-.744zM10 14a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 .002 4.001A2 2 0 0 0 9.999 8z"/></svg>',VariantMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 1A1.5 1.5 0 0 1 19 2.5v12a1.5 1.5 0 0 1-1.5 1.5H14v2.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 0 18.5v-11A1.5 1.5 0 0 1 1.5 6H4V2.5A1.5 1.5 0 0 1 5.5 1h12zM11 14h6V8l-6 6zm-9 4h10v-2.027l-6.495.022A1.5 1.5 0 0 1 4 14.495V8H2v10zM12 3H6v6l6-6z"/></svg>',ViewportNarrowMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.414 9H19a1 1 0 1 1 0 2h-4.586l1.293 1.293a1 1 0 0 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 1 1 1.414 1.414L14.414 9zM5.707 6.293l3 3a.999.999 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09L5.586 11H1a1 1 0 0 1 0-2h4.586L4.293 7.707a1 1 0 0 1 1.414-1.414zM8 2v4L6 4V1.5A1.5 1.5 0 0 1 7.5 0h5A1.5 1.5 0 0 1 14 1.5V4l-2 2V2H8zm6 14-2-2v4H8v-4l-2 2v2.5A1.5 1.5 0 0 0 7.5 20h5a1.5 1.5 0 0 0 1.5-1.5V16z"/></svg>',ViewportWideMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m16.707 6.293 3 3a.998.998 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09L16.586 11H12a1 1 0 1 1 0-2h4.586l-1.293-1.293a1 1 0 1 1 1.414-1.414zm-13.414 0a1 1 0 1 1 1.414 1.414L3.414 9H8a1 1 0 0 1 0 2H3.414l1.293 1.293a1.003 1.003 0 0 1 0 1.414 1 1 0 0 1-1.414 0l-3-3a.998.998 0 0 1 0-1.414l3-3z"/><path d="M1 1.5A1.5 1.5 0 0 1 2.5 0h15A1.5 1.5 0 0 1 19 1.5V6l-2-2V2H3v2L1 6V1.5zM17 18v-2l2-2v4.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 18.5V14l2 2v2h14z"/></svg>',VocabularyMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 1.5A1.5 1.5 0 0 0 18.5 0H12c-.768 0-1.469.29-2 .766A2.987 2.987 0 0 0 8 0H1.5A1.5 1.5 0 0 0 0 1.5v15A1.5 1.5 0 0 0 1.5 18H8a1 1 0 0 1 1 1 1 1 0 1 0 2 0 1 1 0 0 1 1-1h6.5a1.5 1.5 0 0 0 1.5-1.5v-15zM18 16h-6c-.352 0-.687.067-1 .179V3a1 1 0 0 1 1-1h6v14zM8 16H2V2h6a1 1 0 0 1 1 1v13.179A2.959 2.959 0 0 0 8 16z"/><path d="M4 4h3v2H4zm9 0h3v2h-3zM4 8h3v2H4zm9 0h3v2h-3zm-9 4h3v2H4z"/></svg>',WandMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.666.376c.495-.501 1.189-.501 1.684 0l2.278 2.307c.496.502.496 1.204 0 1.706L15.963 8 12 3.987l3.666-3.61zM10.993 5 15 9.007 4.382 19.624c-.5.501-1.202.501-1.703 0L.376 17.321c-.501-.501-.501-1.203 0-1.703L10.993 5zM16 13c0-.6.4-1 1-1s1 .4 1 1 .4 1 1 1 1 .4 1 1-.4 1-1 1-1 .4-1 1-.4 1-1 1-1-.4-1-1-.4-1-1-1-1-.4-1-1 .4-1 1-1 1-.4 1-1zM4 1c0-.6.4-1 1-1s1 .4 1 1 .4 1 1 1 1 .4 1 1-.4 1-1 1-1 .4-1 1-.4 1-1 1-1-.4-1-1-.4-1-1-1-1-.4-1-1 .4-1 1-1 1-.4 1-1z"/></svg>',WandMinor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.44 15.56a1.5 1.5 0 0 1 0-2.12l6.792-6.793 3.121 3.12-6.792 6.794a1.5 1.5 0 0 1-2.122 0l-1-1zm11.328-7.206L16.56 6.56a1.5 1.5 0 0 0 0-2.122l-1-1a1.5 1.5 0 0 0-2.122 0l-1.793 1.793 3.122 3.122zM13 12c1 0 2-1 2-2 0 1 1 2 2 2-1 0-2 1-2 2 0-1-1-2-2-2zM6 5c1 0 2-1 2-2 0 1 1 2 2 2-1 0-2 1-2 2 0-1-1-2-2-2z"/></svg>',WearableMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3v2.5A1.5 1.5 0 0 0 7.5 20h5a1.5 1.5 0 0 0 1.5-1.5V16a3 3 0 0 0 3-3v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1V7a3 3 0 0 0-3-3V1.5A1.5 1.5 0 0 0 12.5 0h-5A1.5 1.5 0 0 0 6 1.5V4zm2 0V2h4v2H8zm4 12v2H8v-2h4zM6 6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H6z"/></svg>',WholesaleMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17 3a1 1 0 1 0-2 0v5.392a2.5 2.5 0 0 0-.32-1.223l-2.184-3.892A2.5 2.5 0 0 0 10.316 2H7.5A2.5 2.5 0 0 0 5 4.5V6H2.5A1.5 1.5 0 0 0 1 7.5v2.585A1.5 1.5 0 0 0 0 11.5V17a3 3 0 1 0 6 0h3a3 3 0 1 0 6 0v-2h4a1 1 0 1 0 0-2h-2V3zM3 10h2V8H3v2zm10-1.608V10H7V4.5a.5.5 0 0 1 .5-.5h2.816a.5.5 0 0 1 .436.255l2.184 3.892a.5.5 0 0 1 .064.245zM4 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm8 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>',WifiMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 18a1.501 1.501 0 0 1 0-3 1.501 1.501 0 0 1 0 3zM1.004 8a.997.997 0 0 1-.607-1.795C3.106 4.138 6.516 3 10 3c3.483 0 6.892 1.137 9.598 3.202a1 1 0 1 1-1.212 1.59C16.026 5.991 13.048 5 10 5c-3.05 0-6.029.992-8.391 2.795A.988.988 0 0 1 1.004 8zM4 11a.996.996 0 0 1-.958-1.293.998.998 0 0 1 .352-.502C5.255 7.783 7.602 7 10 7c2.397 0 4.742.782 6.601 2.203a1 1 0 0 1-1.213 1.59C13.875 9.637 11.961 9 10 9c-1.962 0-3.877.638-5.392 1.795a.989.989 0 0 1-.605.205h-.002zm8.994 3a.994.994 0 0 1-.594-.197 4.052 4.052 0 0 0-4.804 0 .999.999 0 1 1-1.192-1.606c2.108-1.565 5.079-1.566 7.187 0A1 1 0 0 1 12.996 14z"/></svg>',MobilePlusMajor:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 9h-6V3a1 1 0 0 0-2 0v6H3a1 1 0 0 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 0 0 0-2z"/></svg>'}),x=/[\r\n%#()<>?\[\\\]^`{|}]/g;function A(t){return(t=(t=(t=t.replace(/"/g,"'")).replace(/>\s{1,}</g,"><")).replace(/\s{2,}/g," ")).replace(x,encodeURIComponent)}var P=function(t,e,o){return-1!==o.indexOf(e)||(o.includes(null)&&o.splice(o.indexOf(null),1),n.default.util.warn('The "'.concat(t,'" prop is invalid. Given value: "').concat(e,'". Available options: "').concat(o.join(", "),'".'),!0),!1)},C=function(t,e){return{validator:function(n){return P(t,n,e)}}},j=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className,style:t.clickable,attrs:{"aria-label":t.accessibilityLabel},on:{click:t.handleClick}},["placeholder"===t.sourceType?n("div",{staticClass:"Polaris-Icon__Placeholder"}):"external"===t.sourceType?n("img",{staticClass:"Polaris-Icon__Img",attrs:{src:"data:image/svg+xml;utf8,"+t.encodedSource,alt:"","aria-hidden":"true"}}):n("div",{domProps:{innerHTML:t._s(t.enhancedSource)}})])},staticRenderFns:[]},undefined,{name:"PIcon",props:{source:{type:String,default:null},color:r({type:String,default:null},C("color",["base","subdued","critical","interactive","warning","highlight","success","primary",null,""])),backdrop:{type:Boolean,default:!1},accessibilityLabel:{type:String,default:null}},data:function(){return{clickable:{}}},computed:{className:function(){return g("Polaris-Icon",this.color&&"string"==typeof this.color&&"Polaris-Icon--".concat(m("color",this.color)),this.color&&"Polaris-Icon--applyColor",this.backdrop&&"Polaris-Icon--hasBackdrop")},encodedSource:function(){return A(this.source)},sourceType:function(){var t=this;return"function"===this.source||Object.keys(M).filter((function(e){return e===t.source})).length>0?"function":"placeholder"===this.source?"placeholder":"external"},enhancedSource:function(){z.indexOf(this.source)>-1&&console.error(this.source+"` this icon has been removed, please use new instead of this. Refer this link to get updated icons https://polaris-vue.hulkapps.com/?path=/story/images-icons-icon--icon");var t=M[this.source];return t?t.replace("<svg",'<svg class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"'):this.source.replace("<svg",'<svg class="Polaris-Icon__Svg"')}},methods:{handleClick:function(){this.$emit("click",event)}},mounted:function(){this.$listeners.click&&(this.clickable={cursor:"pointer"})}},undefined,false,undefined,!1,void 0,void 0,void 0),z=["AbandonedCartMajorMonotone","AbandonedCartMajorTwotone","AccessibilityMajorMonotone","AccessibilityMajorTwotone","ActivitiesMajorMonotone","ActivitiesMajorTwotone","AddCodeMajorMonotone","AddCodeMajorTwotone","AddImageMajorMonotone","AddImageMajorTwotone","AddNoteMajorMonotone","AddNoteMajorTwotone","AddProductMajorMonotone","AddProductMajorTwotone","AddMajorMonotone","AddMajorTwotone","AffiliateMajorMonotone","AffiliateMajorTwotone","AnalyticsMajorFilled","AnalyticsMajorMonotone","AnalyticsMajorTwotone","AppsMajorFilled","AppsMajorMonotone","AppsMajorTwotone","ArchiveMajorMonotone","ArchiveMajorTwotone","AttachmentMajorMonotone","AttachmentMajorTwotone","AutomationMajorMonotone","AutomationMajorTwotone","BackspaceMajorMonotone","BackspaceMajorTwotone","BalanceMajorMonotone","BalanceMajorTwotone","BankMajorMonotone","BankMajorTwotone","BarcodeMajorMonotone","BarcodeMajorTwotone","BehaviorMajorMonotone","BehaviorMajorTwotone","BillingStatementDollarMajorMonotone","BillingStatementDollarMajorTwotone","BillingStatementEuroMajorMonotone","BillingStatementEuroMajorTwotone","BillingStatementPoundMajorMonotone","BillingStatementPoundMajorTwotone","BillingStatementRupeeMajorMonotone","BillingStatementRupeeMajorTwotone","BillingStatementYenMajorMonotone","BillingStatementYenMajorTwotone","BlockquoteMajorMonotone","BlockquoteMajorTwotone","BlogMajorMonotone","BlogMajorTwotone","BugMajorMonotone","BugMajorTwotone","BuyButtonButtonLayoutMajorMonotone","BuyButtonButtonLayoutMajorTwotone","BuyButtonHorizontalLayoutMajorMonotone","BuyButtonHorizontalLayoutMajorTwotone","BuyButtonVerticalLayoutMajorMonotone","BuyButtonVerticalLayoutMajorTwotone","BuyButtonMajorMonotone","BuyButtonMajorTwotone","CalendarTickMajorMonotone","CalendarTickMajorTwotone","CalendarMajorMonotone","CalendarMajorTwotone","CameraMajorMonotone","CameraMajorTwotone","CapitalMajorMonotone","CapitalMajorTwotone","CardReaderChipMajorMonotone","CardReaderChipMajorTwotone","CardReaderTapMajorMonotone","CardReaderTapMajorTwotone","CardReaderMajorMonotone","CardReaderMajorTwotone","CartDownMajorMonotone","CartDownMajorTwotone","CartUpMajorMonotone","CartUpMajorTwotone","CartMajorMonotone","CartMajorTwotone","CashDollarMajorMonotone","CashDollarMajorTwotone","CashEuroMajorMonotone","CashEuroMajorTwotone","CashPoundMajorMonotone","CashPoundMajorTwotone","CashRupeeMajorMonotone","CashRupeeMajorTwotone","CashYenMajorMonotone","CashYenMajorTwotone","CategoriesMajorMonotone","CategoriesMajorTwotone","ChannelsMajorMonotone","ChannelsMajorTwotone","ChatMajorMonotone","ChatMajorTwotone","ChecklistAlternateMajorMonotone","ChecklistAlternateMajorTwotone","ChecklistMajorMonotone","ChecklistMajorTwotone","CheckoutMajorMonotone","CheckoutMajorTwotone","CircleAlertMajorFilled","CircleAlertMajorMonotone","CircleAlertMajorTwotone","CircleCancelMajorMonotone","CircleCancelMajorTwotone","CircleDisabledMajorFilled","CircleDisabledMajorMonotone","CircleDisabledMajorTwotone","CircleDotsMajorMonotone","CircleDotsMajorTwotone","CircleDownMajorMonotone","CircleDownMajorTwotone","CircleInformationMajorFilled","CircleInformationMajorMonotone","CircleInformationMajorTwotone","CircleLeftMajorMonotone","CircleLeftMajorTwotone","CircleMinusMajorMonotone","CircleMinusMajorTwotone","CirclePlusMajorMonotone","CirclePlusMajorTwotone","CircleRightMajorMonotone","CircleRightMajorTwotone","CircleTickMajorFilled","CircleTickMajorMonotone","CircleTickMajorTwotone","CircleUpMajorMonotone","CircleUpMajorTwotone","ClockMajorMonotone","ClockMajorTwotone","CodeMajorMonotone","CodeMajorTwotone","CollectionsMajorMonotone","CollectionsMajorTwotone","ColorsMajorMonotone","ColorsMajorTwotone","ColumnWithTextMajorMonotone","ColumnWithTextMajorTwotone","ComposeMajorMonotone","ComposeMajorTwotone","ConfettiMajorMonotone","ConfettiMajorTwotone","CreditCardPercentMajorMonotone","CreditCardPercentMajorTwotone","CreditCardSecureMajorMonotone","CreditCardSecureMajorTwotone","CreditCardMajorMonotone","CreditCardMajorTwotone","CustomerMinusMajorMonotone","CustomerMinusMajorTwotone","CustomerPlusMajorMonotone","CustomerPlusMajorTwotone","CustomersMajorFilled","CustomersMajorMonotone","CustomersMajorTwotone","DataVisualizationMajorMonotone","DataVisualizationMajorTwotone","DeleteMajorMonotone","DeleteMajorTwotone","DesktopMajorMonotone","DesktopMajorTwotone","DigitalMediaReceiverMajorMonotone","DigitalMediaReceiverMajorTwotone","DiscountAutomaticMajorMonotone","DiscountAutomaticMajorTwotone","DiscountCodeMajorMonotone","DiscountCodeMajorTwotone","DiscountsMajorFilled","DiscountsMajorMonotone","DiscountsMajorTwotone","DnsSettingsMajorMonotone","DnsSettingsMajorTwotone","DomainNewMajorMonotone","DomainNewMajorTwotone","DomainsMajorMonotone","DomainsMajorTwotone","DraftOrdersMajorMonotone","DraftOrdersMajorTwotone","DragDropMajorMonotone","DragDropMajorTwotone","EditMajorMonotone","EditMajorTwotone","EmailNewsletterMajorMonotone","EmailNewsletterMajorTwotone","EmailMajorMonotone","EmailMajorTwotone","EnvelopeMajorMonotone","EnvelopeMajorTwotone","ExchangeMajorMonotone","ExchangeMajorTwotone","ExistingInventoryMajorMonotone","ExistingInventoryMajorTwotone","FaviconMajorMonotone","FaviconMajorTwotone","FavoriteMajorMonotone","FavoriteMajorTwotone","FeaturedCollectionMajorMonotone","FeaturedCollectionMajorTwotone","FeaturedContentMajorMonotone","FeaturedContentMajorTwotone","FilterMajorMonotone","FilterMajorTwotone","FirstOrderMajorMonotone","FirstOrderMajorTwotone","FirstVisitMajorMonotone","FirstVisitMajorTwotone","FlagMajorMonotone","FlagMajorTwotone","FlipCameraMajorMonotone","FlipCameraMajorTwotone","FolderDownMajorMonotone","FolderDownMajorTwotone","FolderMinusMajorMonotone","FolderMinusMajorTwotone","FolderPlusMajorMonotone","FolderPlusMajorTwotone","FolderUpMajorMonotone","FolderUpMajorTwotone","FolderMajorMonotone","FolderMajorTwotone","FollowUpEmailMajorMonotone","FollowUpEmailMajorTwotone","FoodMajorMonotone","FoodMajorTwotone","FooterMajorMonotone","FooterMajorTwotone","FormsMajorMonotone","FormsMajorTwotone","GamesConsoleMajorMonotone","GamesConsoleMajorTwotone","GiftCardMajorMonotone","GiftCardMajorTwotone","GlobeMajorMonotone","GlobeMajorTwotone","GrammarMajorMonotone","GrammarMajorTwotone","HashtagMajorMonotone","HashtagMajorTwotone","HeaderMajorMonotone","HeaderMajorTwotone","HeartMajorMonotone","HeartMajorTwotone","HideKeyboardMajorMonotone","HideKeyboardMajorTwotone","HintMajorMonotone","HintMajorTwotone","HomeMajorFilled","HomeMajorMonotone","HomeMajorTwotone","IconsMajorMonotone","IconsMajorTwotone","IllustrationMajorMonotone","IllustrationMajorTwotone","ImageAltMajorMonotone","ImageAltMajorTwotone","ImageWithTextOverlayMajorMonotone","ImageWithTextOverlayMajorTwotone","ImageWithTextMajorMonotone","ImageWithTextMajorTwotone","ImageMajorMonotone","ImageMajorTwotone","ImagesMajorMonotone","ImagesMajorTwotone","ImportStoreMajorMonotone","ImportStoreMajorTwotone","IncomingMajorMonotone","IncomingMajorTwotone","InventoryMajorMonotone","InventoryMajorTwotone","IqMajorMonotone","IqMajorTwotone","JobsMajorMonotone","JobsMajorTwotone","KeyMajorMonotone","KeyMajorTwotone","LabelPrinterMajorMonotone","LabelPrinterMajorTwotone","LandingPageMajorMonotone","LandingPageMajorTwotone","LegalMajorMonotone","LegalMajorTwotone","ListMajorMonotone","ListMajorTwotone","LiveViewMajorMonotone","LiveViewMajorTwotone","LocationMajorMonotone","LocationMajorTwotone","LockMajorMonotone","LockMajorTwotone","LogoBlockMajorMonotone","LogoBlockMajorTwotone","ManagedStoreMajorMonotone","ManagedStoreMajorTwotone","MarketingMajorFilled","MarketingMajorMonotone","MarketingMajorTwotone","MaximizeMajorMonotone","MaximizeMajorTwotone","MentionMajorMonotone","MentionMajorTwotone","MicrophoneMajorMonotone","MicrophoneMajorTwotone","MinimizeMajorMonotone","MinimizeMajorTwotone","MobileAcceptMajorMonotone","MobileAcceptMajorTwotone","MobileBackArrowMajorMonotone","MobileBackArrowMajorTwotone","MobileCancelMajorMonotone","MobileCancelMajorTwotone","MobileChevronMajorMonotone","MobileChevronMajorTwotone","MobileHamburgerMajorMonotone","MobileHamburgerMajorTwotone","MobileHorizontalDotsMajorMonotone","MobileHorizontalDotsMajorTwotone","MobilePlusMajorMonotone","MobilePlusMajorTwotone","MobileVerticalDotsMajorMonotone","MobileVerticalDotsMajorTwotone","MobileMajorMonotone","MobileMajorTwotone","MonerisMajorMonotone","MonerisMajorTwotone","NatureMajorMonotone","NatureMajorTwotone","NavigationMajorMonotone","NavigationMajorTwotone","NoteMajorMonotone","NoteMajorTwotone","NotesMinor","NotificationMajorMonotone","NotificationMajorTwotone","OnlineStoreMajorFilled","OnlineStoreMajorMonotone","OnlineStoreMajorTwotone","OrdersMajorFilled","OrdersMajorMonotone","OrdersMajorTwotone","OutgoingMajorMonotone","OutgoingMajorTwotone","PackageMajorMonotone","PackageMajorTwotone","PageDownMajorMonotone","PageDownMajorTwotone","PageMinusMajorMonotone","PageMinusMajorTwotone","PagePlusMajorMonotone","PagePlusMajorTwotone","PageUpMajorMonotone","PageUpMajorTwotone","PageMajorMonotone","PageMajorTwotone","PaintBrushMajorMonotone","PaintBrushMajorTwotone","PauseCircleMajorMonotone","PauseCircleMajorTwotone","PauseMajorMonotone","PauseMajorTwotone","PaymentsMajorMonotone","PaymentsMajorTwotone","PhoneInMajorMonotone","PhoneInMajorTwotone","PhoneOutMajorMonotone","PhoneOutMajorTwotone","PhoneMajorMonotone","PhoneMajorTwotone","PinMajorMonotone","PinMajorTwotone","PlayCircleMajorMonotone","PlayCircleMajorTwotone","PlayMajorMonotone","PlayMajorTwotone","PointOfSaleMajorMonotone","PointOfSaleMajorTwotone","PopularMajorMonotone","PopularMajorTwotone","PrintMajorMonotone","PrintMajorTwotone","ProductsMajorFilled","ProductsMajorMonotone","ProductsMajorTwotone","ProfileMajorMonotone","ProfileMajorTwotone","QuestionMarkMajorMonotone","QuestionMarkMajorTwotone","QuickSaleMajorMonotone","QuickSaleMajorTwotone","ReceiptMajorMonotone","ReceiptMajorTwotone","RecentSearchesMajorMonotone","RecentSearchesMajorTwotone","RedoMajorMonotone","RedoMajorTwotone","ReferralCodeMajorMonotone","ReferralCodeMajorTwotone","ReferralMajorMonotone","ReferralMajorTwotone","RefreshMajorMonotone","RefreshMajorTwotone","RefundMajorMonotone","RefundMajorTwotone","RemoveProductMajorMonotone","RemoveProductMajorTwotone","RepeatOrderMajorMonotone","RepeatOrderMajorTwotone","ReplaceMajorMonotone","ReplaceMajorTwotone","ReportsMajorMonotone","ReportsMajorTwotone","ResourcesMajorMonotone","ResourcesMajorTwotone","RiskMajorMonotone","RiskMajorTwotone","SandboxMajorMonotone","SandboxMajorTwotone","SearchMajorMonotone","SearchMajorTwotone","SectionMajorMonotone","SectionMajorTwotone","SecureMajorMonotone","SecureMajorTwotone","SendMajorMonotone","SendMajorTwotone","SettingsMajorMonotone","SettingsMajorTwotone","ShipmentMajorMonotone","ShipmentMajorTwotone","ShopcodesMajorMonotone","ShopcodesMajorTwotone","SidebarLeftMajorMonotone","SidebarLeftMajorTwotone","SidebarRightMajorMonotone","SidebarRightMajorTwotone","SlideshowMajorMonotone","SlideshowMajorTwotone","SmileyHappyMajorMonotone","SmileyHappyMajorTwotone","SmileyJoyMajorMonotone","SmileyJoyMajorTwotone","SmileyNeutralMajorMonotone","SmileyNeutralMajorTwotone","SmileySadMajorMonotone","SmileySadMajorTwotone","SocialAdMajorMonotone","SocialAdMajorTwotone","SocialPostMajorMonotone","SocialPostMajorTwotone","SoftPackMajorMonotone","SoftPackMajorTwotone","SortAscendingMajorMonotone","SortAscendingMajorTwotone","SortDescendingMajorMonotone","SortDescendingMajorTwotone","SoundMajorMonotone","SoundMajorTwotone","StoreStatusMajorMonotone","StoreStatusMajorTwotone","StoreMajorMonotone","StoreMajorTwotone","TabletMajorMonotone","TabletMajorTwotone","TapChipMajorMonotone","TapChipMajorTwotone","TaxMajorMonotone","TaxMajorTwotone","TeamMajorMonotone","TeamMajorTwotone","TextAlignmentCenterMajorMonotone","TextAlignmentCenterMajorTwotone","TextAlignmentLeftMajorMonotone","TextAlignmentLeftMajorTwotone","TextAlignmentRightMajorMonotone","TextAlignmentRightMajorTwotone","TextBlockMajorMonotone","TextBlockMajorTwotone","TextMajorMonotone","TextMajorTwotone","ThemeEditMajorMonotone","ThemeEditMajorTwotone","ThemeStoreMajorMonotone","ThemeStoreMajorTwotone","ThemesMajorMonotone","ThemesMajorTwotone","ThumbsDownMajorMonotone","ThumbsDownMajorTwotone","ThumbsUpMajorMonotone","ThumbsUpMajorTwotone","TimelineAttachmentMajorMonotone","TimelineAttachmentMajorTwotone","TipsMajorMonotone","TipsMajorTwotone","ToolsMajorMonotone","ToolsMajorTwotone","TransactionFeeDollarMajorMonotone","TransactionFeeDollarMajorTwotone","TransactionFeeEuroMajorMonotone","TransactionFeeEuroMajorTwotone","TransactionFeePoundMajorMonotone","TransactionFeePoundMajorTwotone","TransactionFeeRupeeMajorMonotone","TransactionFeeRupeeMajorTwotone","TransactionFeeYenMajorMonotone","TransactionFeeYenMajorTwotone","TransactionMajorMonotone","TransactionMajorTwotone","TransferInMajorMonotone","TransferInMajorTwotone","TransferOutMajorMonotone","TransferOutMajorTwotone","TransferWithinShopifyMajorMonotone","TransferWithinShopifyMajorTwotone","TransferMajorMonotone","TransferMajorTwotone","TransportMajorMonotone","TransportMajorTwotone","TroubleshootMajorMonotone","TroubleshootMajorTwotone","TypeMajorMonotone","TypeMajorTwotone","UndoMajorMonotone","UndoMajorTwotone","UnfulfilledMajorMonotone","UnfulfilledMajorTwotone","UnknownDeviceMajorMonotone","UnknownDeviceMajorTwotone","UpdateInventoryMajorMonotone","UpdateInventoryMajorTwotone","VariantMajorMonotone","VariantMajorTwotone","ViewMajorMonotone","ViewMajorTwotone","ViewportNarrowMajorMonotone","ViewportNarrowMajorTwotone","ViewportWideMajorMonotone","ViewportWideMajorTwotone","VocabularyMajorMonotone","VocabularyMajorTwotone","WandMajorMonotone","WandMajorTwotone","WearableMajorMonotone","WearableMajorTwotone","WholesaleMajorMonotone","WholesaleMajorTwotone","WifiMajorMonotone","WifiMajorTwotone"],k=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("img",{class:t.className,attrs:{src:"data:image/svg+xml;utf8,"+t.spinnerSVG,alt:""}})},staticRenderFns:[]},undefined,{name:"PSpinner",props:{color:r({type:String,default:"teal"},C("color",["white","teal","inkLightest"])),size:r({type:String,default:"large"},C("size",["small","large"]))},computed:{className:function(){return g("Polaris-Spinner",this.color&&"Polaris-Spinner--".concat(m("color",this.color)),this.size&&"Polaris-Spinner--".concat(m("size",this.size)))},spinnerSVG:function(){var t="large"===this.size?'<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><path d="M15.542 1.487A21.507 21.507 0 00.5 22c0 11.874 9.626 21.5 21.5 21.5 9.847 0 18.364-6.675 20.809-16.072a1.5 1.5 0 00-2.904-.756C37.803 34.755 30.473 40.5 22 40.5 11.783 40.5 3.5 32.217 3.5 22c0-8.137 5.3-15.247 12.942-17.65a1.5 1.5 0 10-.9-2.863z" fill="#919EAB"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z" fill="#919EAB"/></svg>';if("string"==typeof t)return A(t)}}},undefined,false,undefined,!1,void 0,void 0,void 0),O=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.to?"router-link":"a",t._g(t._b({tag:"component",attrs:{href:t.url,to:t.to,target:t.target,rel:t.rel,download:t.download}},"component",t.$attrs,!1),t.$listeners),[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PUnstyledLink",props:{to:{type:[String,Object],default:null},url:{type:String,delay:void 0},external:{type:Boolean,default:!1},download:{type:[Boolean,String],default:!1}},computed:{target:function(){return this.external?"_blank":void 0},rel:function(){return this.external?"noopener noreferrer":void 0}}},undefined,false,undefined,!1,void 0,void 0,void 0),T=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.to||t.href?"PUnstyledLink":"button",{tag:"component",class:t.className,attrs:{id:t.id,"aria-label":t.accessibilityLabel,role:t.role,url:t.href,to:t.to,external:t.external,download:t.download,type:t.type,disabled:t.disabled,"aria-busy":!!t.loading||void 0,"aria-controls":t.ariaControls,"aria-expanded":t.ariaExpanded,"aria-describedby":t.ariaDescribedBy,"aria-pressed":t.pressed},on:{click:function(e){return t.$emit("click",e)},focus:function(e){return t.$emit("focus",e)},blur:function(e){return t.$emit("blur",e)},keydown:function(e){return t.$emit("keyDown",e)},keyup:function(e){return t.$emit("keyup",e)},keypress:function(e){return t.$emit("keyPress",e)}}},[n("span",{staticClass:"Polaris-Button__Content"},[t.loading?n("span",{staticClass:"Polaris-Button__Spinner"},[n("PSpinner",{attrs:{size:"small",color:t.spinnerColor}})],1):t._e(),t._v(" "),t.icon?n("span",{class:t.iconClassName},[n("PIcon",{attrs:{source:t.loading?"placeholder":t.icon}})],1):t._e(),t._v(" "),t.hasNoChildren?t._e():n("span",{key:t.disabled?"text-disabled":"text",class:t.childMarkupClassName},[t._t("default")],2),t._v(" "),t.disclosure?n("span",{staticClass:"Polaris-Button__Icon"},[n("div",{class:t.disclosureIconClassName},[n("PIcon",{attrs:{source:t.loading?"placeholder":"CaretDownMinor"}})],1)]):t._e()])])},staticRenderFns:[]},undefined,{name:"PUnstyledButton",components:{PIcon:j,PSpinner:k,PUnstyledLink:O},props:{accessibilityLabel:{type:String,default:null},ariaControls:{type:String,default:null},ariaDescribedBy:{type:String,default:null},ariaExpanded:{type:Boolean,default:!1},ariaProps:{type:Boolean,default:!1},destructive:{type:Boolean,default:!1},destructiveText:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disclosure:{type:[Boolean,String],default:!1},download:{type:[Boolean,String],default:!1},external:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},href:{type:String,default:void 0},icon:{type:String,default:null},isConnectedDisclosure:{type:Boolean,default:!1},id:{type:String,default:null},loading:{type:Boolean,default:!1},monochrome:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},plainAction:{type:Boolean,default:!1},pressed:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},removeUnderline:{type:Boolean,default:!1},role:{type:String,default:null},size:r({type:String,default:"medium"},C("size",["slim","medium","large"])),textAlign:r({type:String,default:null},C("textAlign",["left","right","center",null])),to:{type:[String,Object]},type:r({type:String,default:"button"},C("type",["submit","reset","button"])),value:{type:[String,Number,Array]}},computed:{className:function(){return g("Polaris-Button",this.primary&&"Polaris-Button--primary",this.outline&&"Polaris-Button--outline",this.destructive&&"Polaris-Button--destructive",!this.destructive&&this.destructiveText&&"Polaris-Button--destructiveText",this.isDisabled&&"Polaris-Button--disabled",this.loading&&"Polaris-Button--loading",this.plain&&"Polaris-Button--plain",this.plainAction&&"Polaris-Button--plainAction",this.pressed&&!this.disabled&&!this.href&&"Polaris-Button--pressed",this.monochrome&&"Polaris-Button--monochrome",this.size&&"medium"!==this.size&&"Polaris-Button--".concat(m("size",this.size)),this.textAlign&&"Polaris-Button--".concat(m("textAlign",this.textAlign)),this.fullWidth&&"Polaris-Button--fullWidth",this.icon&&this.hasNoChildren&&"Polaris-Button--iconOnly",this.isConnectedDisclosure&&"Polaris-Button--connectedDisclosure",this.monochrome&&"Polaris-Button--monochrome")},disclosureIconClassName:function(){return g("Polaris-Button__DisclosureIcon","up"===this.disclosure&&"Polaris-Button__DisclosureIconFacingUp",this.loading&&"Polaris-Button__Hidden")},childMarkupClassName:function(){return g("Polaris-Button__Text",this.removeUnderline&&"Polaris-Button--removeUnderline")},isDisabled:function(){return this.disabled||this.loading},hasNoChildren:function(){return 0===(this.$slots.default||[]).length},spinnerColor:function(){return this.primary||this.destructive?"white":"inkLightest"},iconClassName:function(){return g("Polaris-Button__Icon",this.loading&&"Polaris-Button--hidden")}}},"data-v-08f7de98",false,undefined,!1,void 0,void 0,void 0),S={name:"PPositionedOverlay",props:{id:{type:[String,Number]},active:{type:Boolean},preferredPosition:{type:String},preferredAlignment:{type:String},activatorId:{type:String},fullWidth:{type:Boolean},activator:{type:[String,Number,Boolean,Array,Object]},scrollableElement:{type:[String,Number,Boolean,Array,Object]}},data:function(){return{measuring:!0,left:NaN,right:NaN,top:NaN,height:NaN,width:null,positioning:"below",zIndex:null,outsideScrollableContainer:!1,tipPosition:null,overlay:null}},computed:{containerStyle:function(){return{top:null==this.top||isNaN(this.top)?void 0:this.top+"px",left:null==this.left||isNaN(this.left)?void 0:this.left+"px",right:null==this.right||isNaN(this.right)?void 0:this.right+"px",width:this.width?"number"==typeof this.width?this.width+"px":this.width:void 0,zIndex:null==this.zIndex?void 0:this.zIndex}},scrollableContainer:function(){var t=".Polaris-Scrollable",e=null;if(this.activator.closest)e=this.activator.closest(t);else{var n,o=document.querySelectorAll(t),r=this.activator;do{r=r.parentElement,n=o.length}while(n<0&&r);e=r}return e||document}},methods:{handleMeasurement:function(){var t=document.getElementById(this.activatorId);if(t){var e=t.getBoundingClientRect(),n=this.scrollableElement&&this.scrollableElement!==document?this.scrollableElement:document.body,o=n.getBoundingClientRect(),r=this.getBoundingClientRect(this.overlay);this.fullWidth&&(r.width=e.width),n===document.body&&(o={height:document.body.scrollHeight,width:o.width,top:o.top,bottom:o.bottom});var a=this.overlay&&this.overlay.firstElementChild?this.getMarginsForNode(this.overlay.firstElementChild):{activator:0,container:0,horizontal:0},i={top:window.scrollY,left:window.scrollX,height:window.innerHeight,width:window.innerWidth},s=this.calculateVerticalPosition(e,r,a,o,i,this.preferredPosition),l=this.calculateHorizontalPosition(e,r,i,a,this.preferredAlignment);this.measuring=!1,this.left="right"!==this.preferredAlignment?l:void 0,this.right="right"===this.preferredAlignment?l:void 0,this.top=s.top,this.height=s.height,this.width=this.fullWidth?"max-content":null,this.positioning=s.positioning,this.zIndex=400,this.tipPosition=e.left+e.width/2-parseFloat(String(this.left))}},getMarginsForNode:function(t){var e=window.getComputedStyle(t);return{activator:parseFloat(e.marginTop||""),container:parseFloat(e.marginBottom||""),horizontal:parseFloat(e.marginLeft||"")}},calculateHorizontalPosition:function(t,e,n,o,r){var a=n.width-e.width;if("left"===r)return Math.min(a,Math.max(0,t.left-o.horizontal));if("right"===r){var i=n.width-(t.left+t.width);return Math.min(a,Math.max(0,i-o.horizontal))}var s=t.left+t.width/2;t.top,t.height;return Math.min(a,Math.max(0,s-e.width/2))},calculateVerticalPosition:function(t,e,n,o,r,a){var i=t.top,s=i+t.height,l=t.top,u=r.height-t.top-t.height,c=e.height,h=n.activator+n.container,d=n.container,f=t.top-Math.max(o.top,0),p=r.top+Math.min(r.height,o.top+o.height)-(t.top+t.height),v=f>=d,g=p>=d,m=Math.min(u,c),y=Math.min(l,c),w={height:y-h,top:i+r.top-y,positioning:"above"},b={height:m-h,top:s+r.top,positioning:"below"};return"above"===a?(v||f>=p&&!g)&&(l>c||l>u)?w:b:"below"===a?(g||p>=f&&!v)&&(u>c||u>l)?b:w:v&&g?l>u?w:b:f>d?w:b},getBoundingClientRect:function(t){if(!t)return{};var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}},watch:{active:function(t,e){this.$nextTick(this.handleMeasurement),setTimeout(this.handleMeasurement,500)}},mounted:function(){window.addEventListener("resize",this.handleMeasurement),window.addEventListener("scroll",this.handleMeasurement),this.overlay=this.$refs.overlay,this.handleMeasurement()},updated:function(){this.overlay=this.$refs.overlay},destroyed:function(){window.removeEventListener("resize",this.handleMeasurement),window.removeEventListener("scroll",this.handleMeasurement)}},E=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",attrs:{id:t.activatorId}},[t._t("activator",null,{activate:t.onActivate}),t._v(" "),n("PPopoverOverlay",{attrs:{id:t.realId+"Overlay",active:t.activeStatus,activatorId:t.activatorId,preferredPosition:t.preferredPosition,preferredAlignment:t.preferredAlignment,fullWidth:t.fullWidth},on:{close:t.onClose},scopedSlots:t._u([{key:"overlay",fn:function(e){return[n("div",{ref:"content-"+t.id,class:t.className},[e.data.measuring?t._e():n("div",{staticClass:"Polaris-Popover__Tip",style:{left:e.data.tipPosition+"px"}}),t._v(" "),n("div",{staticClass:"Polaris-Popover__FocusTracker",attrs:{tabindex:"0"},on:{focus:t.handleFocusFirstItem}}),t._v(" "),n("div",{staticClass:"Polaris-Popover__Wrapper"},[n("div",{class:t.contentClassName},[n("div",{staticClass:"Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical",attrs:{"data-polaris-scrollable":"true"}},[t._t("content")],2)])]),t._v(" "),n("div",{staticClass:"Polaris-Popover__FocusTracker",attrs:{tabindex:"0"},on:{focus:t.handleFocusLastItem}})])]}}],null,!0)})],2)},staticRenderFns:[]},undefined,{name:"PPopover",components:{PPopoverOverlay:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("PPositionedOverlay",{attrs:{id:t.id,fullWidth:t.fullWidth,active:t.active,preferredPosition:t.preferredPosition,preferredAlignment:t.preferredAlignment,activatorId:t.activatorId},on:{scrollout:t.handleScrollOut},scopedSlots:t._u([{key:"overlay",fn:function(e){return[t._t("overlay",null,{data:e})]}}],null,!0)})},staticRenderFns:[]},undefined,{name:"PPopoverOverlay",components:{PPositionedOverlay:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"show",rawName:"v-show",value:t.active,expression:"active"}],ref:"overlay",staticClass:"Polaris-PositionedOverlay",style:t.containerStyle,attrs:{id:t.id}},[t._t("overlay",null,{measuring:t.measuring,left:t.left,right:t.right,desiredHeight:t.height,positioning:t.positioning,tipPosition:t.tipPosition})],2)},staticRenderFns:[]},undefined,S,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{id:{type:[String,Number]},active:{type:Boolean},preventAutoFocus:{type:Boolean},preferredAlignment:{type:String},preferredPosition:{type:String},sectioned:{type:Boolean},fullWidth:{type:Boolean},activatorId:{type:String}},methods:{handleScrollOut:function(){this.$emit("scrollout")}},beforeDestroy:function(){this.$emit("close")}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{id:{type:[String,Number],required:!0},active:{type:Boolean,required:!0},preferredPosition:{type:String,default:"below"},preferredAlignment:{type:String,default:"center"},activatorWrapper:{type:String,default:null},preventAutoFocus:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},fullHeight:{type:Boolean,default:!1},fluidContent:{type:Boolean,default:!1},measuring:{type:Boolean,default:!1},positioning:{type:Boolean,default:!1}},data:function(){return{isAppended:!1,activeStatus:this.active,container:HTMLElement}},computed:{className:function(){return g("Polaris-Popover",this.fullWidth&&"Polaris-Popover--fullWidth",this.measuring&&"Polaris-Popover--measuring")},contentClassName:function(){return g("Polaris-Popover__Content",this.fullHeight&&"Polaris-Popover__Content--fullHeight",this.fluidContent&&"Polaris-Popover__Content--fluidContent")},realId:function(){return"PolarisPopover"+this.id},activatorId:function(){return this.realId+"Activator"}},methods:{findActivator:function(){return document.getElementById(this.activatorId)},handleKeyPress:function(t){27===t.keyCode&&this.active&&(this.$emit("update:active",!1),this.$emit("close","EscapeKeypress"))},handlePageClick:function(t){var e=t.target,n=this.$refs["content-"+this.id];null!=n&&this.nodeContainsDescendant(n,e)||this.nodeContainsDescendant(this.findActivator(),e)||!this.activeStatus||this.active&&(this.$emit("close","Click"),this.$emit("update:active",!1))},nodeContainsDescendant:function(t,e){if(t===e)return!0;for(var n=e.parentNode;null!=n;){if(n===t)return!0;n=n.parentNode}return!1},onActivate:function(){this.$emit("activate")},handleFocusFirstItem:function(){this.$emit("close","FocusOut"),this.$emit("update:active",!1)},handleFocusLastItem:function(){this.$emit("close","FocusOut"),this.$emit("update:active",!1)},onClose:function(t){if(this.$emit("close","Click"),this.$emit("update:active",!1),t&&t.target){var e=t.target,n=this.$refs["content-"+this.id];if(this.findActivator()){if(null!=n&&this.nodeContainsDescendant(n,e)||this.nodeContainsDescendant(this.findActivator(),e)||!this.active)return}else{var o=document.getElementById(this.realId+"Overlay");o&&o.remove()}}}},watch:{active:function(t,e){if(this.activeStatus=t,t){var n=document.getElementById(this.realId+"Overlay");if(n)document.body.append(n)}else{var o=document.getElementById(this.realId+"Overlay");if(o)this.$refs.container.append(o)}}},mounted:function(){window.addEventListener("click",this.handlePageClick),window.addEventListener("touchstart",this.handlePageClick),document.addEventListener("keyup",this.handleKeyPress)},beforeDestroy:function(){if(this.isAppended){var t=document.getElementById(this.realId+"Overlay");t&&t.remove()}},destroyed:function(){window.removeEventListener("click",this.handlePageClick),window.removeEventListener("touchstart",this.handlePageClick),window.removeEventListener("keyup",this.handleKeyPress)}},undefined,false,undefined,!1,void 0,void 0,void 0),L=y({},undefined,{name:"POptionalTag",props:{tag:{type:String,required:!0},active:{type:Boolean,required:!0}},render:function(t){var e=this.$slots.default,n=e?e[0]:t("div");return this.active?t(this.tag,{},[n]):n}},undefined,undefined,undefined,!1,void 0,void 0,void 0),B={name:"PActionListItem",components:{PUnstyledLink:O,PIcon:j},props:{content:{type:String},helpText:{type:String},action:{type:Object},icon:{type:String},image:{type:String},disabled:{type:Boolean}},computed:{className:function(){return g("Polaris-ActionList__Item")}},methods:{handleAction:function(t){var e=!0;t.onAction&&(e=t.onAction()),e&&t.url&&(window.location.href=t.url)}}},N=function(t,e,o,r,i){var s=!0;return Array.isArray(e)?(e.forEach((function(e){s=V(t,e,o,r,i)})),s):(n.default.util.warn('The "'.concat(t,'" prop is invalid. Given value type: ').concat(a(e),". Expected value type: Array."),!0),!1)},H=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{validator:function(r){return N(t,r,e,n,o)}}},R=function(t,e,o){var r=!0,i=function(i){var s=o[i],l=!1,u=!1,c=[];if(Array.isArray(s)?s.forEach((function(t){c.push(t.name||void 0)})):"object"!==a(s)&&(c=[s.name]),"object"!==a(s)||Array.isArray(s)||(l=s.required||!1,u=s.nullable||!1,s.type&&!Array.isArray(s.type)?c=[s.type.name]||void 0:s.type&&s.type.forEach((function(t){c.push(t.name||void 0)}))),c&&e.hasOwnProperty(i)){var h=!1;if(u?h=!0:c.forEach((function(n){switch(n){case"Object":s.properties&&(r=V("".concat(t,".").concat(i),e["".concat(i)],s.properties,l),h=!0);break;case"Array":s.properties&&(r=N("".concat(t,".").concat(i),e["".concat(i)],s.properties,l,u),h=!0);break;case"String":s.expectedValues&&(r=P("".concat(t,".").concat(i),e["".concat(i)],s.expectedValues),h=!0);break;case"Date":e["".concat(i)]instanceof Date&&(h=!0)}})),h)return"continue"}if(l&&!e.hasOwnProperty(i))n.default.util.warn('The "'.concat(t,'" prop is invalid. Expected object key "').concat(i,'" is missing.'),!0),r=!1;else if(e.hasOwnProperty(i)){var d=e[i];Array.isArray(d)?c.includes("Array")||(n.default.util.warn('The "'.concat(t,'" prop is invalid. Expected object key "').concat(i,'" value type to be "').concat(c,'", got "').concat(a(d),'".'),!0),r=!1):c.includes(a(d).charAt(0).toUpperCase()+a(d).slice(1))||(n.default.util.warn('The "'.concat(t,'" prop is invalid. Expected object key "').concat(i,'" value type to be "').concat(c,'", got "').concat(a(d),'".'),!0),r=!1)}};for(var s in o)i(s);return r},V=function(t,e,o,r){if(!r||null!=e&&0!==Object.keys(e).length){var i=!1;if(o["".concat(t)]){var s=[],l=o["".concat(t)];Array.isArray(l)?l.forEach((function(t){s.push(t.name||void 0)})):"object"!==a(l)&&(s=[l.name]),"object"!==a(l)||Array.isArray(l)||(l.type&&!Array.isArray(l.type)?s=[l.type.name]||void 0:l.type&&l.type.forEach((function(t){s.push(t.name||void 0)}))),s.length>1&&s.includes(a(e).charAt(0).toUpperCase()+a(e).slice(1))&&(i=!0,o=o["".concat(t)].properties)}return i||"object"===a(e)?"object"!=a(e)||!Object.keys(e).length||R(t,e,o):(n.default.util.warn('The "'.concat(t,'" prop is invalid. Given value type: ').concat(a(e),". Expected value type: Object."),!0),!1)}return n.default.util.warn('The "'.concat(t,'" prop is missing.'),!0),!1},I=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{validator:function(r){return V(t,r,e,n,o)}}},q=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.hasMultipleSections?"ul":"div",{tag:"component",class:t.className},t._l(t.finalSections,(function(e,o){return n("PActionListSection",{key:o,attrs:{section:e,hasMultipleSections:t.hasMultipleSections},on:{itemAction:t.onItemAction}})})),1)},staticRenderFns:[]},undefined,{name:"PActionList",components:{PActionListSection:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("POptionalTag",{staticClass:"Polaris-ActionList__Section",attrs:{tag:"li",active:t.hasMultipleSections}},[n("div",{class:t.className},[t.section.title?n("p",{staticClass:"Polaris-ActionList__Title"},[t._v("\n "+t._s(t.section.title)+"\n ")]):t._e(),t._v(" "),n("ul",{staticClass:"Polaris-ActionList__Actions"},t._l(t.section.items,(function(e,o){return n("PActionListItem",{key:o,attrs:{content:e.content,icon:e.icon,helpText:e.helpText,action:t.wrapAction(e)}})})),1)])])},staticRenderFns:[]},undefined,{name:"PActionListSection",components:{PActionListItem:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[n("button",{class:t.className,attrs:{disabled:t.disabled},on:{click:function(e){return t.handleAction(t.action)}}},[t.icon||t.image?[n("span",{staticClass:"Polaris-ActionList__Content"},[n("span",{staticClass:"Polaris-ActionList__Prefix",style:{backgroundImage:t.icon?null:"url("+t.image+")"},attrs:{role:"presentation"}},[t.icon?n("PIcon",{attrs:{source:t.icon}}):t._e()],1),t._v(" "),n("span",{staticClass:"Polaris-ActionList__Text"},[t._t("default",(function(){return[t._t("content",(function(){return[n("span",[t._v(t._s(t.content))]),t._v(" "),t._t("helpText",(function(){return[t.helpText?n("span",{staticClass:"Polaris-TextStyle--variationSubdued"},[t._v(t._s(t.helpText))]):t._e()]}))]}))]}))],2)])]:[t._t("default",(function(){return[t._t("content",(function(){return[n("span",[t._v(t._s(t.content))]),t._v(" "),t._t("helpText",(function(){return[t.helpText?n("span",{staticClass:"Polaris-TextStyle--variationSubdued"},[t._v(t._s(t.helpText))]):t._e()]}))]}))]}))]],2)])},staticRenderFns:[]},undefined,B,undefined,false,undefined,!1,void 0,void 0,void 0),POptionalTag:L},props:{section:r({type:Object,default:function(){return{}}},I("actions",{title:String,items:Array})),hasMultipleSections:{type:Boolean}},computed:{className:function(){return g(!this.section.title&&"Polaris-ActionList__Section--withoutTitle")}},methods:{wrapAction:function(t){var e=this,n=t.onAction,o=Object.assign({},t);return n&&(o.onAction=function(){n(),e.$emit("item-action",t)}),o}}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{items:{type:Array,default:function(){return[]}},sections:{type:Array,default:function(){return[]}}},computed:{className:function(){return g("Polaris-ActionList")},finalSections:function(){return void 0!==this.items&&null!==this.items&&null!=this.items.length&&this.items.length>0?[{items:this.items}].concat(d(this.sections)):this.sections},hasMultipleSections:function(){return this.finalSections.length>1}},methods:{onItemAction:function(t){this.$emit("item-action",t)}}},undefined,false,undefined,!1,void 0,void 0,void 0),F=r({},{id:String,content:String,accessibilityLabel:String,url:String,external:Boolean,onAction:Function}),D=r(r({},F),{},{disabled:Boolean}),U=r(r({},F),{},{loading:Boolean}),$={badge:{type:Object,properties:{status:{type:String,required:!0,expectedValues:["new"]},content:{type:String,required:!0}}}};r({},{id:String,content:String,accessibilityLabel:String,onAction:Function});var W=r(r({},F),{},{destructive:Boolean}),Z=r(r({},F),{},{icon:[String,Object]}),G=r(r(r(r(r({},Z),D),$),W),{},{accessibilityLabel:String,helpText:String,image:String,prefix:String,suffix:String,ellipsis:Boolean,active:Boolean,role:String}),K={title:String,items:{type:Array,properties:r({},G)}};r({},G),r({},K),G.onAction;var Y=r(r(r(r(r({},F),D),W),Z),U),X=r(r({},Y),{},{index:Number}),Q=r(r({},$),{},{title:String,accessibilityLabel:String,actions:{type:Array,properties:G},icon:Z.icon,details:String,index:Number});Boolean,r({},G);var J={accessibilityLabel:String,disabled:Boolean,actions:{type:Array,properties:r({},G)}},tt=y({render:function(){var t=this,e=this,n=e.$createElement,o=e._self._c||n;return Object.keys(e.connectedDisclosure).length>0?o("div",{staticClass:"Polaris-Button__ConnectedDisclosureWrapper"},[o("PUnstyledButton",e._b({attrs:{isConnectedDisclosure:Object.keys(e.connectedDisclosure).length>0},on:{click:function(t){return t.stopPropagation(),e.handleClick.apply(null,arguments)},focus:function(t){return t.stopPropagation(),e.handleFocus.apply(null,arguments)},blur:function(t){return t.stopPropagation(),e.handleBlur.apply(null,arguments)},keydown:function(t){return t.stopPropagation(),e.handleKeyDown.apply(null,arguments)},keypress:function(t){return t.stopPropagation(),e.handleKeyPress.apply(null,arguments)},keyup:function(t){return t.stopPropagation(),e.handleKeyUp.apply(null,arguments)}}},"PUnstyledButton",e.$props,!1),[e._t("default")],2),e._v(" "),o("PPopover",{attrs:{id:"disclosure-button",active:e.disclosureActive,preferredAlignment:"right"},on:{close:function(){t.disclosureActive=!1}}},[o("button",{class:e.connectedDisclosureClassName,attrs:{slot:"activator",type:"button",disabled:e.disabled,"aria-label":e.accessibilityLabel,"aria-describedby":e.ariaDescribedBy},on:{click:e.toggleDisclosureActive},slot:"activator"},[o("span",{staticClass:"Polaris-Button__Icon"},[o("div",{class:e.disclosureIconClassName},[o("PIcon",{attrs:{source:"CaretDownMinor"}})],1)])]),e._v(" "),o("PActionList",{attrs:{slot:"content",items:Object.keys(e.connectedDisclosure).length?e.connectedDisclosure.actions:[]},slot:"content"})],1)],1):o("PUnstyledButton",e._b({attrs:{isConnectedDisclosure:Object.keys(e.connectedDisclosure).length>0},on:{click:function(t){return t.stopPropagation(),e.handleClick.apply(null,arguments)},focus:function(t){return t.stopPropagation(),e.handleFocus.apply(null,arguments)},blur:function(t){return t.stopPropagation(),e.handleBlur.apply(null,arguments)},keydown:function(t){return t.stopPropagation(),e.handleKeyDown.apply(null,arguments)},keypress:function(t){return t.stopPropagation(),e.handleKeyPress.apply(null,arguments)},keyup:function(t){return t.stopPropagation(),e.handleKeyUp.apply(null,arguments)}}},"PUnstyledButton",e.$props,!1),[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PButton",components:{PIcon:j,PUnstyledButton:T,PPopover:E,PActionList:q},props:{accessibilityLabel:{type:String,default:null},ariaControls:{type:String,default:null},ariaDescribedBy:{type:String,default:null},ariaExpanded:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaProps:{type:Boolean,default:!1},connectedDisclosure:r({type:Object,default:function(){return{}}},I("connectedDisclosure",J)),destructive:{type:Boolean,default:!1},destructiveText:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disclosure:{type:[Boolean,String],default:!1},download:{type:[Boolean,String],default:!1},external:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},href:{type:String,default:void 0},icon:{type:String,default:null},id:{type:String,default:null},loading:{type:Boolean,default:!1},monochrome:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},plainAction:{type:Boolean,default:!1},pressed:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},removeUnderline:{type:Boolean,default:!1},role:{type:String,default:null},size:{type:String,default:"medium"},textAlign:{type:["left","right","center",null],default:null},to:{type:[String,Object]},type:{type:String,default:"button"},value:{type:[String,Number,Array]}},data:function(){return{disclosureActive:!1}},computed:{connectedDisclosureClassName:function(){return g("Polaris-Button",this.primary&&"Polaris-Button--primary",this.outline&&"Polaris-Button--outline",this.size&&"medium"!==this.size&&"Polaris-Button--".concat(m("size",this.size)),this.textAlign&&"Polaris-Button--".concat(m("textAlign",this.textAlign)),this.destructive&&"Polaris-Button--destructive",!this.destructive&&this.destructiveText&&"Polaris-Button--destructiveText",this.connectedDisclosure&&this.connectedDisclosure.disabled&&"Polaris-Button--disabled","Polaris-Button--iconOnly","Polaris-Button__ConnectedDisclosure",this.monochrome&&"Polaris-Button--monochrome")},disclosureIconClassName:function(){return g("Polaris-Button__DisclosureIcon",this.disclosureActive&&"Polaris-Button__DisclosureIconFacingUp")}},methods:{toggleDisclosureActive:function(){this.disclosureActive=!this.disclosureActive},handleClick:function(){this.$emit("click",event)},handleFocus:function(){this.$emit("focus",event)},handleBlur:function(){this.$emit("blur",event)},handleKeyDown:function(){this.$emit("keydown",event)},handleKeyPress:function(){this.$emit("keypress",event)},handleKeyUp:function(){this.$emit("keyup",event)}}},undefined,false,undefined,!1,void 0,void 0,void 0),et=tt,nt=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",staticClass:"Polaris-Heading"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PHeading",props:{element:r({type:String,default:"h2"},C("element",["h1","h2","h3","h4","h5","h6","p"]))}},undefined,false,undefined,!1,void 0,void 0,void 0),ot=function(){return ot=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ot.apply(this,arguments)},rt=function(){return rt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},rt.apply(this,arguments)};function at(t){return t.toLowerCase()}var it=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],st=/[^A-Z0-9]+/gi;function lt(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}function ut(t,e){var n=t.charAt(0),o=t.substr(1).toLowerCase();return e>0&&n>="0"&&n<="9"?"_"+n+o:""+n.toUpperCase()+o}function ct(t,e){return void 0===e&&(e={}),function(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,o=void 0===n?it:n,r=e.stripRegexp,a=void 0===r?st:r,i=e.transform,s=void 0===i?at:i,l=e.delimiter,u=void 0===l?" ":l,c=lt(lt(t,o,"$1\0$2"),a,"\0"),h=0,d=c.length;"\0"===c.charAt(h);)h++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(h,d).split("\0").map(s).join(u)}(t,rt({delimiter:"",transform:ut},e))}function ht(t,e){return 0===e?t.toLowerCase():ut(t,e)}function dt(t,e){return void 0===e&&(e={}),ct(t,ot({transform:ht},e))}var ft=function(){return ft=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ft.apply(this,arguments)};function pt(t){return t.toLowerCase()}var vt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],gt=/[^A-Z0-9]+/gi;function mt(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}function yt(t){return t.charAt(0).toUpperCase()+t.substr(1)}function wt(t){return yt(t.toLowerCase())}function bt(t,e){return void 0===e&&(e={}),function(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,o=void 0===n?vt:n,r=e.stripRegexp,a=void 0===r?gt:r,i=e.transform,s=void 0===i?pt:i,l=e.delimiter,u=void 0===l?" ":l,c=mt(mt(t,o,"$1\0$2"),a,"\0"),h=0,d=c.length;"\0"===c.charAt(h);)h++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(h,d).split("\0").map(s).join(u)}(t,ft({delimiter:" ",transform:wt},e))}var _t=function(){return _t=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},_t.apply(this,arguments)};function Mt(t){return t.toLowerCase()}var xt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],At=/[^A-Z0-9]+/gi;function Pt(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}function Ct(t){return t.toUpperCase()}function jt(t,e){return void 0===e&&(e={}),function(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,o=void 0===n?xt:n,r=e.stripRegexp,a=void 0===r?At:r,i=e.transform,s=void 0===i?Mt:i,l=e.delimiter,u=void 0===l?" ":l,c=Pt(Pt(t,o,"$1\0$2"),a,"\0"),h=0,d=c.length;"\0"===c.charAt(h);)h++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(h,d).split("\0").map(s).join(u)}(t,_t({delimiter:"_",transform:Ct},e))}var zt=function(){return zt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},zt.apply(this,arguments)};function kt(t){return t.toLowerCase()}var Ot=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],Tt=/[^A-Z0-9]+/gi;function St(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}function Et(t,e){return void 0===e&&(e={}),function(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,o=void 0===n?Ot:n,r=e.stripRegexp,a=void 0===r?Tt:r,i=e.transform,s=void 0===i?kt:i,l=e.delimiter,u=void 0===l?" ":l,c=St(St(t,o,"$1\0$2"),a,"\0"),h=0,d=c.length;"\0"===c.charAt(h);)h++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(h,d).split("\0").map(s).join(u)}(t,zt({delimiter:"."},e))}var Lt=function(){return Lt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Lt.apply(this,arguments)};function Bt(t,e){return void 0===e&&(e={}),bt(t,Lt({delimiter:"-"},e))}function Nt(t){return t.toLowerCase()}var Ht=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],Rt=/[^A-Z0-9]+/gi;function Vt(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,o=void 0===n?Ht:n,r=e.stripRegexp,a=void 0===r?Rt:r,i=e.transform,s=void 0===i?Nt:i,l=e.delimiter,u=void 0===l?" ":l,c=It(It(t,o,"$1\0$2"),a,"\0"),h=0,d=c.length;"\0"===c.charAt(h);)h++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(h,d).split("\0").map(s).join(u)}function It(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}function qt(t,e){return void 0===e&&(e={}),Et(t,ot({delimiter:"-"},e))}var Ft=function(){return Ft=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ft.apply(this,arguments)};function Dt(t,e){return void 0===e&&(e={}),Et(t,Ft({delimiter:"/"},e))}var Ut=function(){return Ut=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ut.apply(this,arguments)};function $t(t){return t.toLowerCase()}var Wt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],Zt=/[^A-Z0-9]+/gi;function Gt(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}function Kt(t,e){var n=t.toLowerCase();return 0===e?yt(n):n}function Yt(t,e){return void 0===e&&(e={}),function(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,o=void 0===n?Wt:n,r=e.stripRegexp,a=void 0===r?Zt:r,i=e.transform,s=void 0===i?$t:i,l=e.delimiter,u=void 0===l?" ":l,c=Gt(Gt(t,o,"$1\0$2"),a,"\0"),h=0,d=c.length;"\0"===c.charAt(h);)h++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(h,d).split("\0").map(s).join(u)}(t,Ut({delimiter:" ",transform:Kt},e))}var Xt=function(){return Xt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Xt.apply(this,arguments)};function Qt(t,e){return void 0===e&&(e={}),Et(t,Xt({delimiter:"_"},e))}var Jt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.componentNameFormat=function(t){return t}}var e,n,o;return e=t,n=[{key:"setComponentNameFormat",value:function(t){this.componentNameFormat=t}},{key:"makeComponentClass",value:function(t,e,n){var o={};o[t]=!0;var r,a=v(e);try{for(a.s();!(r=a.n()).done;){var i=r.value,s=n[i],l="";s&&"string"==typeof s&&(l=s.charAt(0).toUpperCase()+s.slice(1)),o[t+"--"+i+l]=n[i]}}catch(t){a.e(t)}finally{a.f()}return o}},{key:"isNodeOfComponent",value:function(t,e){return!(!t||!t.componentOptions)&&t.componentOptions.tag===this.getComponentName(e.name)}},{key:"getComponentName",value:function(t){return this.componentNameFormat(t,{camelCase:dt,capitalCase:bt,constantCase:jt,dotCase:Et,headerCase:Bt,noCase:Vt,paramCase:qt,pascalCase:ct,pathCase:Dt,sentenceCase:Yt,snakeCase:Qt})}},{key:"wrapNodesWithComponent",value:function(t,e,n){var o,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=[],i=v(e);try{for(i.s();!(o=i.n()).done;){var s=o.value;if(s.tag||s.text.trim()){var l=!1;if(this.isNodeOfComponent(s,n))l=!0,a.push(s);else{var u,c=v(r);try{for(c.s();!(u=c.n()).done;){var h=u.value;if(this.isNodeOfComponent(s,h)){l=!0,a.push(s);break}}}catch(t){c.e(t)}finally{c.f()}}l||a.push(t(n,{},[s]))}}}catch(t){i.e(t)}finally{i.f()}return a}},{key:"uuid",value:function(){return"_"+Math.random().toString(36).substr(2,9)}}],n&&l(e.prototype,n),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}(),te=new Jt,ee=y({render:function(t,e){return(0,e._c)("div",{staticClass:"Polaris-ButtonGroup__Item"},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PButtonGroupItem"},undefined,true,undefined,!1,void 0,void 0,void 0),ne=y({},undefined,{name:"PButtonGroup",components:{PButtonGroupItem:ee},props:{segmented:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},connectedTop:{type:Boolean,default:!1},spacing:{type:[String,0],default:null}},computed:{className:function(){return g("Polaris-ButtonGroup",this.segmented&&"Polaris-ButtonGroup--segmented",this.fullWidth&&"Polaris-ButtonGroup--fullWidth",this.connectedTop&&"Polaris-ButtonGroup--connectedTop",this.spacing&&"Polaris-ButtonGroup--".concat(this.spacing))}},render:function(t){return t("div",{class:this.className,attrs:{"data-buttongroup-segmented":this.segmented,"data-buttongroup-full-width":this.fullWidth,"data-buttongroup-connected-top":this.connectedTop}},te.wrapNodesWithComponent(t,this.$slots.default||[],ee))}},undefined,undefined,undefined,!1,void 0,void 0,void 0),oe=["content","onAction"],re={name:"PButtonsFrom",components:{PButton:et},props:{actions:r({type:[Array,Object]},I("actions",Y)),overrides:{type:Object,default:function(){return{}}}},computed:{props:function(){var t=this;return(Array.isArray(this.actions)?d(this.actions):[this.actions]).map((function(e){return{content:e.content,onAction:e.onAction||function(){},rest:r(r({},c(e,oe)),t.overrides)}}))}}},ae=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.isDismissable?n("div",{staticClass:"Polaris-Banner__Dismiss"},[n("PButton",{attrs:{plain:"",icon:"CancelSmallMinor"},on:{click:function(e){return t.$emit("dismiss",e)}}})],1):t._e(),t._v(" "),n("div",{staticClass:"Polaris-Banner__Ribbon"},[n("PIcon",{attrs:{source:t.colorAndIcon.icon,color:t.colorAndIcon.color}})],1),t._v(" "),n("div",{staticClass:"Polaris-Banner__ContentWrapper"},[t.title?n("div",{staticClass:"Polaris-Banner__Heading"},[n("PHeading",{attrs:{element:"p"}},[t._v(t._s(t.title))])],1):t._e(),t._v(" "),n("div",{staticClass:"Polaris-Banner__Content"},[t._t("default"),t._v(" "),Object.keys(t.action).length>0?n("div",{staticClass:"Polaris-Banner__Actions"},[n("PButtonGroup",[n("div",{staticClass:"Polaris-Banner__PrimaryAction"},[n("PButtonsFrom",{attrs:{actions:t.action,overrides:{outline:!0}}})],1)])],1):t._e()],2)])])},staticRenderFns:[]},undefined,{name:"PBanner",components:{PIcon:j,PButton:et,PHeading:nt,PButtonGroup:ne,PButtonsFrom:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.props,(function(e,o){return n("PButton",t._b({key:o,on:{click:e.onAction}},"PButton",e.rest,!1),[t._v("\n "+t._s(e.content)+"\n ")])})),1)},staticRenderFns:[]},undefined,re,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String,default:null},status:r({type:String,default:null},C("status",["success","info","warning","critical",null])),action:{type:Object,default:function(){return{}}}},computed:{className:function(){return g("Polaris-Banner","Polaris-Banner--withinPage",this.isDismissable&&"Polaris-Banner--hasDismiss",this.status&&"Polaris-Banner--".concat(m("status",this.status)))},isDismissable:function(){return this.$listeners&&this.$listeners.dismiss},colorAndIcon:function(){var t,e;switch(this.status){case"success":t="success",e="CircleTickMajor";break;case"info":t="highlight",e="CircleInformationMajor";break;case"warning":t="warning",e="CircleAlertMajor";break;case"critical":t="critical",e="DiamondAlertMajor";break;default:t="base",e="CircleInformationMajor"}return{color:t,icon:e}}}},undefined,false,undefined,!1,void 0,void 0,void 0),ie=function(t,e){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return t.apply(e,n)}},se=Object.prototype.toString;function le(t){return Array.isArray(t)}function ue(t){return void 0===t}function ce(t){return"[object ArrayBuffer]"===se.call(t)}function he(t){return null!==t&&"object"==typeof t}function de(t){if("[object Object]"!==se.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function fe(t){return"[object Function]"===se.call(t)}function pe(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),le(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}var ve={isArray:le,isArrayBuffer:ce,isBuffer:function(t){return null!==t&&!ue(t)&&null!==t.constructor&&!ue(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===se.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&ce(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:he,isPlainObject:de,isUndefined:ue,isDate:function(t){return"[object Date]"===se.call(t)},isFile:function(t){return"[object File]"===se.call(t)},isBlob:function(t){return"[object Blob]"===se.call(t)},isFunction:fe,isStream:function(t){return he(t)&&fe(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===se.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:pe,merge:function t(){var e={};function n(n,o){de(e[o])&&de(n)?e[o]=t(e[o],n):de(n)?e[o]=t({},n):le(n)?e[o]=n.slice():e[o]=n}for(var o=0,r=arguments.length;o<r;o++)pe(arguments[o],n);return e},extend:function(t,e,n){return pe(e,(function(e,o){t[o]=n&&"function"==typeof e?ie(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}};function ge(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var me=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(ve.isURLSearchParams(e))o=e.toString();else{var r=[];ve.forEach(e,(function(t,e){null!=t&&(ve.isArray(t)?e+="[]":t=[t],ve.forEach(t,(function(t){ve.isDate(t)?t=t.toISOString():ve.isObject(t)&&(t=JSON.stringify(t)),r.push(ge(e)+"="+ge(t))})))})),o=r.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t};function ye(){this.handlers=[]}ye.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},ye.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},ye.prototype.forEach=function(t){ve.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var we=ye,be="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function _e(){throw new Error("setTimeout has not been defined")}function Me(){throw new Error("clearTimeout has not been defined")}var xe=_e,Ae=Me;function Pe(t){if(xe===setTimeout)return setTimeout(t,0);if((xe===_e||!xe)&&setTimeout)return xe=setTimeout,setTimeout(t,0);try{return xe(t,0)}catch(e){try{return xe.call(null,t,0)}catch(e){return xe.call(this,t,0)}}}"function"==typeof be.setTimeout&&(xe=setTimeout),"function"==typeof be.clearTimeout&&(Ae=clearTimeout);var Ce,je=[],ze=!1,ke=-1;function Oe(){ze&&Ce&&(ze=!1,Ce.length?je=Ce.concat(je):ke=-1,je.length&&Te())}function Te(){if(!ze){var t=Pe(Oe);ze=!0;for(var e=je.length;e;){for(Ce=je,je=[];++ke<e;)Ce&&Ce[ke].run();ke=-1,e=je.length}Ce=null,ze=!1,function(t){if(Ae===clearTimeout)return clearTimeout(t);if((Ae===Me||!Ae)&&clearTimeout)return Ae=clearTimeout,clearTimeout(t);try{Ae(t)}catch(e){try{return Ae.call(null,t)}catch(e){return Ae.call(this,t)}}}(t)}}function Se(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];je.push(new Ee(t,e)),1!==je.length||ze||Pe(Te)}function Ee(t,e){this.fun=t,this.array=e}Ee.prototype.run=function(){this.fun.apply(null,this.array)};function Le(){}var Be=Le,Ne=Le,He=Le,Re=Le,Ve=Le,Ie=Le,qe=Le;var Fe=be.performance||{},De=Fe.now||Fe.mozNow||Fe.msNow||Fe.oNow||Fe.webkitNow||function(){return(new Date).getTime()};var Ue=new Date;var $e={nextTick:Se,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Be,addListener:Ne,once:He,off:Re,removeListener:Ve,removeAllListeners:Ie,emit:qe,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*De.call(Fe),n=Math.floor(e),o=Math.floor(e%1*1e9);return t&&(n-=t[0],(o-=t[1])<0&&(n--,o+=1e9)),[n,o]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Ue)/1e3}},We=function(t,e){ve.forEach(t,(function(n,o){o!==e&&o.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[o])}))},Ze=function(t,e,n,o,r){return t.config=e,n&&(t.code=n),t.request=o,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},Ge={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ke=function(t,e,n,o,r){var a=new Error(t);return Ze(a,e,n,o,r)},Ye=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(Ke("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)},Xe=ve.isStandardBrowserEnv()?{write:function(t,e,n,o,r,a){var i=[];i.push(t+"="+encodeURIComponent(e)),ve.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),ve.isString(o)&&i.push("path="+o),ve.isString(r)&&i.push("domain="+r),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Qe=function(t,e){return t&&!function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e},Je=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],tn=ve.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var o=t;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=ve.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0};function en(t){this.message=t}en.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},en.prototype.__CANCEL__=!0;var nn=en,on=function(t){return new Promise((function(e,n){var o,r=t.data,a=t.headers,i=t.responseType;function s(){t.cancelToken&&t.cancelToken.unsubscribe(o),t.signal&&t.signal.removeEventListener("abort",o)}ve.isFormData(r)&&delete a["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var u=t.auth.username||"",c=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.Authorization="Basic "+btoa(u+":"+c)}var h=Qe(t.baseURL,t.url);function d(){if(l){var o,r,a,u,c,h="getAllResponseHeaders"in l?(o=l.getAllResponseHeaders(),c={},o?(ve.forEach(o.split("\n"),(function(t){if(u=t.indexOf(":"),r=ve.trim(t.substr(0,u)).toLowerCase(),a=ve.trim(t.substr(u+1)),r){if(c[r]&&Je.indexOf(r)>=0)return;c[r]="set-cookie"===r?(c[r]?c[r]:[]).concat([a]):c[r]?c[r]+", "+a:a}})),c):c):null,d={data:i&&"text"!==i&&"json"!==i?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:h,config:t,request:l};Ye((function(t){e(t),s()}),(function(t){n(t),s()}),d),l=null}}if(l.open(t.method.toUpperCase(),me(h,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(Ke("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){n(Ke("Network Error",t,null,l)),l=null},l.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",o=t.transitional||Ge;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(Ke(e,t,o.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},ve.isStandardBrowserEnv()){var f=(t.withCredentials||tn(h))&&t.xsrfCookieName?Xe.read(t.xsrfCookieName):void 0;f&&(a[t.xsrfHeaderName]=f)}"setRequestHeader"in l&&ve.forEach(a,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete a[e]:l.setRequestHeader(e,t)})),ve.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),i&&"json"!==i&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(o=function(t){l&&(n(!t||t&&t.type?new nn("canceled"):t),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(o),t.signal&&(t.signal.aborted?o():t.signal.addEventListener("abort",o))),r||(r=null),l.send(r)}))},rn=[],an=[],sn="undefined"!=typeof Uint8Array?Uint8Array:Array,ln=!1;function un(){ln=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e<n;++e)rn[e]=t[e],an[t.charCodeAt(e)]=e;an["-".charCodeAt(0)]=62,an["_".charCodeAt(0)]=63}function cn(t,e,n){for(var o,r,a=[],i=e;i<n;i+=3)o=(t[i]<<16)+(t[i+1]<<8)+t[i+2],a.push(rn[(r=o)>>18&63]+rn[r>>12&63]+rn[r>>6&63]+rn[63&r]);return a.join("")}function hn(t){var e;ln||un();for(var n=t.length,o=n%3,r="",a=[],i=16383,s=0,l=n-o;s<l;s+=i)a.push(cn(t,s,s+i>l?l:s+i));return 1===o?(e=t[n-1],r+=rn[e>>2],r+=rn[e<<4&63],r+="=="):2===o&&(e=(t[n-2]<<8)+t[n-1],r+=rn[e>>10],r+=rn[e>>4&63],r+=rn[e<<2&63],r+="="),a.push(r),a.join("")}function dn(t,e,n,o,r){var a,i,s=8*r-o-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+t[e+h],h+=d,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=o;c>0;i=256*i+t[e+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,o),a-=u}return(f?-1:1)*i*Math.pow(2,a-o)}function fn(t,e,n,o,r,a){var i,s,l,u=8*a-r-1,c=(1<<u)-1,h=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=o?0:a-1,p=o?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=c):(i=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-i))<1&&(i--,l*=2),(e+=i+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(i++,l/=2),i+h>=c?(s=0,i=c):i+h>=1?(s=(e*l-1)*Math.pow(2,r),i+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),i=0));r>=8;t[n+f]=255&s,f+=p,s/=256,r-=8);for(i=i<<r|s,u+=r;u>0;t[n+f]=255&i,f+=p,i/=256,u-=8);t[n+f-p]|=128*v}var pn={}.toString,vn=Array.isArray||function(t){return"[object Array]"==pn.call(t)};function gn(){return yn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function mn(t,e){if(gn()<e)throw new RangeError("Invalid typed array length");return yn.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=yn.prototype:(null===t&&(t=new yn(e)),t.length=e),t}function yn(t,e,n){if(!(yn.TYPED_ARRAY_SUPPORT||this instanceof yn))return new yn(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return _n(this,t)}return wn(this,t,e,n)}function wn(t,e,n,o){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,o){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(o||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===o?new Uint8Array(e):void 0===o?new Uint8Array(e,n):new Uint8Array(e,n,o);yn.TYPED_ARRAY_SUPPORT?(t=e).__proto__=yn.prototype:t=Mn(t,e);return t}(t,e,n,o):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!yn.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=0|Pn(e,n),r=(t=mn(t,o)).write(e,n);r!==o&&(t=t.slice(0,r));return t}(t,e,n):function(t,e){if(An(e)){var n=0|xn(e.length);return 0===(t=mn(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(o=e.length)!=o?mn(t,0):Mn(t,e);if("Buffer"===e.type&&vn(e.data))return Mn(t,e.data)}var o;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function bn(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function _n(t,e){if(bn(e),t=mn(t,e<0?0:0|xn(e)),!yn.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function Mn(t,e){var n=e.length<0?0:0|xn(e.length);t=mn(t,n);for(var o=0;o<n;o+=1)t[o]=255&e[o];return t}function xn(t){if(t>=gn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+gn().toString(16)+" bytes");return 0|t}function An(t){return!(null==t||!t._isBuffer)}function Pn(t,e){if(An(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Qn(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Jn(t).length;default:if(o)return Qn(t).length;e=(""+e).toLowerCase(),o=!0}}function Cn(t,e,n){var o=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return qn(this,e,n);case"utf8":case"utf-8":return Hn(this,e,n);case"ascii":return Vn(this,e,n);case"latin1":case"binary":return In(this,e,n);case"base64":return Nn(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fn(this,e,n);default:if(o)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function jn(t,e,n){var o=t[e];t[e]=t[n],t[n]=o}function zn(t,e,n,o,r){if(0===t.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=yn.from(e,o)),An(e))return 0===e.length?-1:kn(t,e,n,o,r);if("number"==typeof e)return e&=255,yn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):kn(t,[e],n,o,r);throw new TypeError("val must be string, number or Buffer")}function kn(t,e,n,o,r){var a,i=1,s=t.length,l=e.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(t.length<2||e.length<2)return-1;i=2,s/=2,l/=2,n/=2}function u(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(r){var c=-1;for(a=n;a<s;a++)if(u(t,a)===u(e,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*i}else-1!==c&&(a-=a-c),c=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;d<l;d++)if(u(t,a+d)!==u(e,d)){h=!1;break}if(h)return a}return-1}function On(t,e,n,o){n=Number(n)||0;var r=t.length-n;o?(o=Number(o))>r&&(o=r):o=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");o>a/2&&(o=a/2);for(var i=0;i<o;++i){var s=parseInt(e.substr(2*i,2),16);if(isNaN(s))return i;t[n+i]=s}return i}function Tn(t,e,n,o){return to(Qn(e,t.length-n),t,n,o)}function Sn(t,e,n,o){return to(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,o)}function En(t,e,n,o){return Sn(t,e,n,o)}function Ln(t,e,n,o){return to(Jn(e),t,n,o)}function Bn(t,e,n,o){return to(function(t,e){for(var n,o,r,a=[],i=0;i<t.length&&!((e-=2)<0);++i)o=(n=t.charCodeAt(i))>>8,r=n%256,a.push(r),a.push(o);return a}(e,t.length-n),t,n,o)}function Nn(t,e,n){return 0===e&&n===t.length?hn(t):hn(t.slice(e,n))}function Hn(t,e,n){n=Math.min(t.length,n);for(var o=[],r=e;r<n;){var a,i,s,l,u=t[r],c=null,h=u>239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(a=t[r+1]))&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=t[r+1],i=t[r+2],128==(192&a)&&128==(192&i)&&(l=(15&u)<<12|(63&a)<<6|63&i)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=t[r+1],i=t[r+2],s=t[r+3],128==(192&a)&&128==(192&i)&&128==(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),r+=h}return function(t){var e=t.length;if(e<=Rn)return String.fromCharCode.apply(String,t);var n="",o=0;for(;o<e;)n+=String.fromCharCode.apply(String,t.slice(o,o+=Rn));return n}(o)}yn.TYPED_ARRAY_SUPPORT=void 0===be.TYPED_ARRAY_SUPPORT||be.TYPED_ARRAY_SUPPORT,yn.poolSize=8192,yn._augment=function(t){return t.__proto__=yn.prototype,t},yn.from=function(t,e,n){return wn(null,t,e,n)},yn.TYPED_ARRAY_SUPPORT&&(yn.prototype.__proto__=Uint8Array.prototype,yn.__proto__=Uint8Array),yn.alloc=function(t,e,n){return function(t,e,n,o){return bn(e),e<=0?mn(t,e):void 0!==n?"string"==typeof o?mn(t,e).fill(n,o):mn(t,e).fill(n):mn(t,e)}(null,t,e,n)},yn.allocUnsafe=function(t){return _n(null,t)},yn.allocUnsafeSlow=function(t){return _n(null,t)},yn.isBuffer=eo,yn.compare=function(t,e){if(!An(t)||!An(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,o=e.length,r=0,a=Math.min(n,o);r<a;++r)if(t[r]!==e[r]){n=t[r],o=e[r];break}return n<o?-1:o<n?1:0},yn.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},yn.concat=function(t,e){if(!vn(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return yn.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var o=yn.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var a=t[n];if(!An(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,r),r+=a.length}return o},yn.byteLength=Pn,yn.prototype._isBuffer=!0,yn.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)jn(this,e,e+1);return this},yn.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)jn(this,e,e+3),jn(this,e+1,e+2);return this},yn.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)jn(this,e,e+7),jn(this,e+1,e+6),jn(this,e+2,e+5),jn(this,e+3,e+4);return this},yn.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Hn(this,0,t):Cn.apply(this,arguments)},yn.prototype.equals=function(t){if(!An(t))throw new TypeError("Argument must be a Buffer");return this===t||0===yn.compare(this,t)},yn.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},yn.prototype.compare=function(t,e,n,o,r){if(!An(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),e<0||n>t.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&e>=n)return 0;if(o>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(o>>>=0),i=(n>>>=0)-(e>>>=0),s=Math.min(a,i),l=this.slice(o,r),u=t.slice(e,n),c=0;c<s;++c)if(l[c]!==u[c]){a=l[c],i=u[c];break}return a<i?-1:i<a?1:0},yn.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},yn.prototype.indexOf=function(t,e,n){return zn(this,t,e,n,!0)},yn.prototype.lastIndexOf=function(t,e,n){return zn(this,t,e,n,!1)},yn.prototype.write=function(t,e,n,o){if(void 0===e)o="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)o=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return On(this,t,e,n);case"utf8":case"utf-8":return Tn(this,t,e,n);case"ascii":return Sn(this,t,e,n);case"latin1":case"binary":return En(this,t,e,n);case"base64":return Ln(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Bn(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},yn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Rn=4096;function Vn(t,e,n){var o="";n=Math.min(t.length,n);for(var r=e;r<n;++r)o+=String.fromCharCode(127&t[r]);return o}function In(t,e,n){var o="";n=Math.min(t.length,n);for(var r=e;r<n;++r)o+=String.fromCharCode(t[r]);return o}function qn(t,e,n){var o=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>o)&&(n=o);for(var r="",a=e;a<n;++a)r+=Xn(t[a]);return r}function Fn(t,e,n){for(var o=t.slice(e,n),r="",a=0;a<o.length;a+=2)r+=String.fromCharCode(o[a]+256*o[a+1]);return r}function Dn(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function Un(t,e,n,o,r,a){if(!An(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<a)throw new RangeError('"value" argument is out of bounds');if(n+o>t.length)throw new RangeError("Index out of range")}function $n(t,e,n,o){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r<a;++r)t[n+r]=(e&255<<8*(o?r:1-r))>>>8*(o?r:1-r)}function Wn(t,e,n,o){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r<a;++r)t[n+r]=e>>>8*(o?r:3-r)&255}function Zn(t,e,n,o,r,a){if(n+o>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Gn(t,e,n,o,r){return r||Zn(t,0,n,4),fn(t,e,n,o,23,4),n+4}function Kn(t,e,n,o,r){return r||Zn(t,0,n,8),fn(t,e,n,o,52,8),n+8}yn.prototype.slice=function(t,e){var n,o=this.length;if((t=~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),(e=void 0===e?o:~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),e<t&&(e=t),yn.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=yn.prototype;else{var r=e-t;n=new yn(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+t]}return n},yn.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||Dn(t,e,this.length);for(var o=this[t],r=1,a=0;++a<e&&(r*=256);)o+=this[t+a]*r;return o},yn.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||Dn(t,e,this.length);for(var o=this[t+--e],r=1;e>0&&(r*=256);)o+=this[t+--e]*r;return o},yn.prototype.readUInt8=function(t,e){return e||Dn(t,1,this.length),this[t]},yn.prototype.readUInt16LE=function(t,e){return e||Dn(t,2,this.length),this[t]|this[t+1]<<8},yn.prototype.readUInt16BE=function(t,e){return e||Dn(t,2,this.length),this[t]<<8|this[t+1]},yn.prototype.readUInt32LE=function(t,e){return e||Dn(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},yn.prototype.readUInt32BE=function(t,e){return e||Dn(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},yn.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||Dn(t,e,this.length);for(var o=this[t],r=1,a=0;++a<e&&(r*=256);)o+=this[t+a]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},yn.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||Dn(t,e,this.length);for(var o=e,r=1,a=this[t+--o];o>0&&(r*=256);)a+=this[t+--o]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},yn.prototype.readInt8=function(t,e){return e||Dn(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},yn.prototype.readInt16LE=function(t,e){e||Dn(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},yn.prototype.readInt16BE=function(t,e){e||Dn(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},yn.prototype.readInt32LE=function(t,e){return e||Dn(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},yn.prototype.readInt32BE=function(t,e){return e||Dn(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},yn.prototype.readFloatLE=function(t,e){return e||Dn(t,4,this.length),dn(this,t,!0,23,4)},yn.prototype.readFloatBE=function(t,e){return e||Dn(t,4,this.length),dn(this,t,!1,23,4)},yn.prototype.readDoubleLE=function(t,e){return e||Dn(t,8,this.length),dn(this,t,!0,52,8)},yn.prototype.readDoubleBE=function(t,e){return e||Dn(t,8,this.length),dn(this,t,!1,52,8)},yn.prototype.writeUIntLE=function(t,e,n,o){(t=+t,e|=0,n|=0,o)||Un(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a<n&&(r*=256);)this[e+a]=t/r&255;return e+n},yn.prototype.writeUIntBE=function(t,e,n,o){(t=+t,e|=0,n|=0,o)||Un(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,a=1;for(this[e+r]=255&t;--r>=0&&(a*=256);)this[e+r]=t/a&255;return e+n},yn.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,1,255,0),yn.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},yn.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,2,65535,0),yn.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$n(this,t,e,!0),e+2},yn.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,2,65535,0),yn.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$n(this,t,e,!1),e+2},yn.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,4,4294967295,0),yn.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Wn(this,t,e,!0),e+4},yn.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,4,4294967295,0),yn.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Wn(this,t,e,!1),e+4},yn.prototype.writeIntLE=function(t,e,n,o){if(t=+t,e|=0,!o){var r=Math.pow(2,8*n-1);Un(this,t,e,n,r-1,-r)}var a=0,i=1,s=0;for(this[e]=255&t;++a<n&&(i*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/i>>0)-s&255;return e+n},yn.prototype.writeIntBE=function(t,e,n,o){if(t=+t,e|=0,!o){var r=Math.pow(2,8*n-1);Un(this,t,e,n,r-1,-r)}var a=n-1,i=1,s=0;for(this[e+a]=255&t;--a>=0&&(i*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/i>>0)-s&255;return e+n},yn.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,1,127,-128),yn.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},yn.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,2,32767,-32768),yn.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$n(this,t,e,!0),e+2},yn.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,2,32767,-32768),yn.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$n(this,t,e,!1),e+2},yn.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,4,2147483647,-2147483648),yn.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Wn(this,t,e,!0),e+4},yn.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||Un(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),yn.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Wn(this,t,e,!1),e+4},yn.prototype.writeFloatLE=function(t,e,n){return Gn(this,t,e,!0,n)},yn.prototype.writeFloatBE=function(t,e,n){return Gn(this,t,e,!1,n)},yn.prototype.writeDoubleLE=function(t,e,n){return Kn(this,t,e,!0,n)},yn.prototype.writeDoubleBE=function(t,e,n){return Kn(this,t,e,!1,n)},yn.prototype.copy=function(t,e,n,o){if(n||(n=0),o||0===o||(o=this.length),e>=t.length&&(e=t.length),e||(e=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-e<o-n&&(o=t.length-e+n);var r,a=o-n;if(this===t&&n<e&&e<o)for(r=a-1;r>=0;--r)t[r+e]=this[r+n];else if(a<1e3||!yn.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},yn.prototype.fill=function(t,e,n,o){if("string"==typeof t){if("string"==typeof e?(o=e,e=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!yn.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a<n;++a)this[a]=t;else{var i=An(t)?t:Qn(new yn(t,o).toString()),s=i.length;for(a=0;a<n-e;++a)this[a+e]=i[a%s]}return this};var Yn=/[^+\/0-9A-Za-z-_]/g;function Xn(t){return t<16?"0"+t.toString(16):t.toString(16)}function Qn(t,e){var n;e=e||1/0;for(var o=t.length,r=null,a=[],i=0;i<o;++i){if((n=t.charCodeAt(i))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(i+1===o){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Jn(t){return function(t){var e,n,o,r,a,i;ln||un();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===t[s-2]?2:"="===t[s-1]?1:0,i=new sn(3*s/4-a),o=a>0?s-4:s;var l=0;for(e=0,n=0;e<o;e+=4,n+=3)r=an[t.charCodeAt(e)]<<18|an[t.charCodeAt(e+1)]<<12|an[t.charCodeAt(e+2)]<<6|an[t.charCodeAt(e+3)],i[l++]=r>>16&255,i[l++]=r>>8&255,i[l++]=255&r;return 2===a?(r=an[t.charCodeAt(e)]<<2|an[t.charCodeAt(e+1)]>>4,i[l++]=255&r):1===a&&(r=an[t.charCodeAt(e)]<<10|an[t.charCodeAt(e+1)]<<4|an[t.charCodeAt(e+2)]>>2,i[l++]=r>>8&255,i[l++]=255&r),i}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Yn,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function to(t,e,n,o){for(var r=0;r<o&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function eo(t){return null!=t&&(!!t._isBuffer||no(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&no(t.slice(0,0))}(t))}function no(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var oo,ro,ao=vo(be.fetch)&&vo(be.ReadableStream);function io(t){ro||(ro=new be.XMLHttpRequest).open("GET",be.location.host?"/":"https://example.com");try{return ro.responseType=t,ro.responseType===t}catch(t){return!1}}var so=void 0!==be.ArrayBuffer,lo=so&&vo(be.ArrayBuffer.prototype.slice),uo=so&&io("arraybuffer"),co=!ao&&lo&&io("ms-stream"),ho=!ao&&so&&io("moz-chunked-arraybuffer"),fo=vo(ro.overrideMimeType),po=vo(be.VBArray);function vo(t){return"function"==typeof t}ro=null;var go="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t},mo=/%[sdj%]/g;function yo(t){if(!Lo(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(xo(arguments[n]));return e.join(" ")}n=1;for(var o=arguments,r=o.length,a=String(t).replace(mo,(function(t){if("%%"===t)return"%";if(n>=r)return t;switch(t){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(t){return"[Circular]"}default:return t}})),i=o[n];n<r;i=o[++n])To(i)||!Ho(i)?a+=" "+i:a+=" "+xo(i);return a}function wo(t,e){if(Bo(be.process))return function(){return wo(t,e).apply(this,arguments)};if(!0===$e.noDeprecation)return t;var n=!1;return function(){if(!n){if($e.throwDeprecation)throw new Error(e);$e.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}}var bo,_o={};function Mo(t){if(Bo(bo)&&(bo=$e.env.NODE_DEBUG||""),t=t.toUpperCase(),!_o[t])if(new RegExp("\\b"+t+"\\b","i").test(bo)){_o[t]=function(){var e=yo.apply(null,arguments);console.error("%s %d: %s",t,0,e)}}else _o[t]=function(){};return _o[t]}function xo(t,e){var n={seen:[],stylize:Po};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Oo(e)?n.showHidden=e:e&&Wo(n,e),Bo(n.showHidden)&&(n.showHidden=!1),Bo(n.depth)&&(n.depth=2),Bo(n.colors)&&(n.colors=!1),Bo(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Ao),Co(n,t,n.depth)}function Ao(t,e){var n=xo.styles[e];return n?"["+xo.colors[n][0]+"m"+t+"["+xo.colors[n][1]+"m":t}function Po(t,e){return t}function Co(t,e,n){if(t.customInspect&&e&&Io(e.inspect)&&e.inspect!==xo&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(n,t);return Lo(o)||(o=Co(t,o,n)),o}var r=function(t,e){if(Bo(e))return t.stylize("undefined","undefined");if(Lo(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(Eo(e))return t.stylize(""+e,"number");if(Oo(e))return t.stylize(""+e,"boolean");if(To(e))return t.stylize("null","null")}(t,e);if(r)return r;var a=Object.keys(e),i=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),Vo(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return jo(e);if(0===a.length){if(Io(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(No(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(Ro(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Vo(e))return jo(e)}var l,u="",c=!1,h=["{","}"];(ko(e)&&(c=!0,h=["[","]"]),Io(e))&&(u=" [Function"+(e.name?": "+e.name:"")+"]");return No(e)&&(u=" "+RegExp.prototype.toString.call(e)),Ro(e)&&(u=" "+Date.prototype.toUTCString.call(e)),Vo(e)&&(u=" "+jo(e)),0!==a.length||c&&0!=e.length?n<0?No(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),l=c?function(t,e,n,o,r){for(var a=[],i=0,s=e.length;i<s;++i)Zo(e,String(i))?a.push(zo(t,e,n,o,String(i),!0)):a.push("");return r.forEach((function(r){r.match(/^\d+$/)||a.push(zo(t,e,n,o,r,!0))})),a}(t,e,n,i,a):a.map((function(o){return zo(t,e,n,i,o,c)})),t.seen.pop(),function(t,e,n){if(t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(l,u,h)):h[0]+u+h[1]}function jo(t){return"["+Error.prototype.toString.call(t)+"]"}function zo(t,e,n,o,r,a){var i,s,l;if((l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),Zo(o,r)||(i="["+r+"]"),s||(t.seen.indexOf(l.value)<0?(s=To(n)?Co(t,l.value,null):Co(t,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),Bo(i)){if(a&&r.match(/^\d+$/))return s;(i=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=t.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=t.stylize(i,"string"))}return i+": "+s}function ko(t){return Array.isArray(t)}function Oo(t){return"boolean"==typeof t}function To(t){return null===t}function So(t){return null==t}function Eo(t){return"number"==typeof t}function Lo(t){return"string"==typeof t}function Bo(t){return void 0===t}function No(t){return Ho(t)&&"[object RegExp]"===Fo(t)}function Ho(t){return"object"==typeof t&&null!==t}function Ro(t){return Ho(t)&&"[object Date]"===Fo(t)}function Vo(t){return Ho(t)&&("[object Error]"===Fo(t)||t instanceof Error)}function Io(t){return"function"==typeof t}function qo(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function Fo(t){return Object.prototype.toString.call(t)}function Do(t){return t<10?"0"+t.toString(10):t.toString(10)}xo.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},xo.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Uo=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function $o(){var t=new Date,e=[Do(t.getHours()),Do(t.getMinutes()),Do(t.getSeconds())].join(":");return[t.getDate(),Uo[t.getMonth()],e].join(" ")}function Wo(t,e){if(!e||!Ho(e))return t;for(var n=Object.keys(e),o=n.length;o--;)t[n[o]]=e[n[o]];return t}function Zo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Go={inherits:go,_extend:Wo,log:function(){console.log("%s - %s",$o(),yo.apply(null,arguments))},isBuffer:function(t){return yn.isBuffer(t)},isPrimitive:qo,isFunction:Io,isError:Vo,isDate:Ro,isObject:Ho,isRegExp:No,isUndefined:Bo,isSymbol:function(t){return"symbol"==typeof t},isString:Lo,isNumber:Eo,isNullOrUndefined:So,isNull:To,isBoolean:Oo,isArray:ko,inspect:xo,deprecate:wo,format:yo,debuglog:Mo};function Ko(){}function Yo(){Yo.init.call(this)}function Xo(t){return void 0===t._maxListeners?Yo.defaultMaxListeners:t._maxListeners}function Qo(t,e,n){if(e)t.call(n);else for(var o=t.length,r=ir(t,o),a=0;a<o;++a)r[a].call(n)}function Jo(t,e,n,o){if(e)t.call(n,o);else for(var r=t.length,a=ir(t,r),i=0;i<r;++i)a[i].call(n,o)}function tr(t,e,n,o,r){if(e)t.call(n,o,r);else for(var a=t.length,i=ir(t,a),s=0;s<a;++s)i[s].call(n,o,r)}function er(t,e,n,o,r,a){if(e)t.call(n,o,r,a);else for(var i=t.length,s=ir(t,i),l=0;l<i;++l)s[l].call(n,o,r,a)}function nr(t,e,n,o){if(e)t.apply(n,o);else for(var r=t.length,a=ir(t,r),i=0;i<r;++i)a[i].apply(n,o)}function or(t,e,n,o){var r,a,i,s;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=t._events)?(a.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),a=t._events),i=a[e]):(a=t._events=new Ko,t._eventsCount=0),i){if("function"==typeof i?i=a[e]=o?[n,i]:[i,n]:o?i.unshift(n):i.push(n),!i.warned&&(r=Xo(t))&&r>0&&i.length>r){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+e+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=i.length,s=l,"function"==typeof console.warn?console.warn(s):console.log(s)}}else i=a[e]=n,++t._eventsCount;return t}function rr(t,e,n){var o=!1;function r(){t.removeListener(e,r),o||(o=!0,n.apply(t,arguments))}return r.listener=n,r}function ar(t){var e=this._events;if(e){var n=e[t];if("function"==typeof n)return 1;if(n)return n.length}return 0}function ir(t,e){for(var n=new Array(e);e--;)n[e]=t[e];return n}function sr(){this.head=null,this.tail=null,this.length=0}Ko.prototype=Object.create(null),Yo.EventEmitter=Yo,Yo.usingDomains=!1,Yo.prototype.domain=void 0,Yo.prototype._events=void 0,Yo.prototype._maxListeners=void 0,Yo.defaultMaxListeners=10,Yo.init=function(){this.domain=null,Yo.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Ko,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Yo.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},Yo.prototype.getMaxListeners=function(){return Xo(this)},Yo.prototype.emit=function(t){var e,n,o,r,a,i,s,l="error"===t;if(i=this._events)l=l&&null==i.error;else if(!l)return!1;if(s=this.domain,l){if(e=arguments[1],!s){if(e instanceof Error)throw e;var u=new Error('Uncaught, unspecified "error" event. ('+e+")");throw u.context=e,u}return e||(e=new Error('Uncaught, unspecified "error" event')),e.domainEmitter=this,e.domain=s,e.domainThrown=!1,s.emit("error",e),!1}if(!(n=i[t]))return!1;var c="function"==typeof n;switch(o=arguments.length){case 1:Qo(n,c,this);break;case 2:Jo(n,c,this,arguments[1]);break;case 3:tr(n,c,this,arguments[1],arguments[2]);break;case 4:er(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(r=new Array(o-1),a=1;a<o;a++)r[a-1]=arguments[a];nr(n,c,this,r)}return!0},Yo.prototype.addListener=function(t,e){return or(this,t,e,!1)},Yo.prototype.on=Yo.prototype.addListener,Yo.prototype.prependListener=function(t,e){return or(this,t,e,!0)},Yo.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,rr(this,t,e)),this},Yo.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,rr(this,t,e)),this},Yo.prototype.removeListener=function(t,e){var n,o,r,a,i;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(o=this._events))return this;if(!(n=o[t]))return this;if(n===e||n.listener&&n.listener===e)0==--this._eventsCount?this._events=new Ko:(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(r=-1,a=n.length;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){i=n[a].listener,r=a;break}if(r<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new Ko,this;delete o[t]}else!function(t,e){for(var n=e,o=n+1,r=t.length;o<r;n+=1,o+=1)t[n]=t[o];t.pop()}(n,r);o.removeListener&&this.emit("removeListener",t,i||e)}return this},Yo.prototype.removeAllListeners=function(t){var e,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new Ko,this._eventsCount=0):n[t]&&(0==--this._eventsCount?this._events=new Ko:delete n[t]),this;if(0===arguments.length){for(var o,r=Object.keys(n),a=0;a<r.length;++a)"removeListener"!==(o=r[a])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=new Ko,this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(e)do{this.removeListener(t,e[e.length-1])}while(e[0]);return this},Yo.prototype.listeners=function(t){var e,n=this._events;return n&&(e=n[t])?"function"==typeof e?[e.listener||e]:function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(e):[]},Yo.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):ar.call(t,e)},Yo.prototype.listenerCount=ar,Yo.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]},sr.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},sr.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},sr.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},sr.prototype.clear=function(){this.head=this.tail=null,this.length=0},sr.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},sr.prototype.concat=function(t){if(0===this.length)return yn.alloc(0);if(1===this.length)return this.head.data;for(var e=yn.allocUnsafe(t>>>0),n=this.head,o=0;n;)n.data.copy(e,o),o+=n.data.length,n=n.next;return e};var lr=yn.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ur(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!lr(t))throw new Error("Unknown encoding: "+t)}(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=hr;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=dr;break;default:return void(this.write=cr)}this.charBuffer=new yn(6),this.charReceived=0,this.charLength=0}function cr(t){return t.toString(this.encoding)}function hr(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function dr(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}ur.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(t=t.slice(n,t.length),!((r=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var o=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,o),o-=this.charReceived);var r;o=(e+=t.toString(this.encoding,0,o)).length-1;if((r=e.charCodeAt(o))>=55296&&r<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),t.copy(this.charBuffer,0,0,a),e.substring(0,o)}return e},ur.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(e<=2&&n>>4==14){this.charLength=3;break}if(e<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=e},ur.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,o=this.charBuffer,r=this.encoding;e+=o.slice(0,n).toString(r)}return e},vr.ReadableState=pr;var fr=Mo("stream");function pr(t,e){t=t||{},this.objectMode=!!t.objectMode,e instanceof Dr&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:o,this.highWaterMark=~~this.highWaterMark,this.buffer=new sr,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(this.decoder=new ur(t.encoding),this.encoding=t.encoding)}function vr(t){if(!(this instanceof vr))return new vr(t);this._readableState=new pr(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),Yo.call(this)}function gr(t,e,n,o,r){var a=function(t,e){var n=null;yn.isBuffer(e)||"string"==typeof e||null==e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(e,n);if(a)t.emit("error",a);else if(null===n)e.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,wr(t)}(t,e);else if(e.objectMode||n&&n.length>0)if(e.ended&&!r){var i=new Error("stream.push() after EOF");t.emit("error",i)}else if(e.endEmitted&&r){var s=new Error("stream.unshift() after end event");t.emit("error",s)}else{var l;!e.decoder||r||o||(n=e.decoder.write(n),l=!e.objectMode&&0===n.length),r||(e.reading=!1),l||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&wr(t))),function(t,e){e.readingMore||(e.readingMore=!0,Se(_r,t,e))}(t,e)}else r||(e.reading=!1);return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(e)}go(vr,Yo),vr.prototype.push=function(t,e){var n=this._readableState;return n.objectMode||"string"!=typeof t||(e=e||n.defaultEncoding)!==n.encoding&&(t=yn.from(t,e),e=""),gr(this,n,t,e,!1)},vr.prototype.unshift=function(t){return gr(this,this._readableState,t,"",!0)},vr.prototype.isPaused=function(){return!1===this._readableState.flowing},vr.prototype.setEncoding=function(t){return this._readableState.decoder=new ur(t),this._readableState.encoding=t,this};var mr=8388608;function yr(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=mr?t=mr:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function wr(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(fr("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Se(br,t):br(t))}function br(t){fr("emit readable"),t.emit("readable"),Ar(t)}function _r(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(fr("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function Mr(t){fr("readable nexttick read 0"),t.read(0)}function xr(t,e){e.reading||(fr("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),Ar(t),e.flowing&&!e.reading&&t.read(0)}function Ar(t){var e=t._readableState;for(fr("flow",e.flowing);e.flowing&&null!==t.read(););}function Pr(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var o;t<e.head.data.length?(o=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):o=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,o=1,r=n.data;t-=r.length;for(;n=n.next;){var a=n.data,i=t>a.length?a.length:t;if(i===a.length?r+=a:r+=a.slice(0,t),0===(t-=i)){i===a.length?(++o,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=a.slice(i));break}++o}return e.length-=o,r}(t,e):function(t,e){var n=yn.allocUnsafe(t),o=e.head,r=1;o.data.copy(n),t-=o.data.length;for(;o=o.next;){var a=o.data,i=t>a.length?a.length:t;if(a.copy(n,n.length-t,0,i),0===(t-=i)){i===a.length?(++r,o.next?e.head=o.next:e.head=e.tail=null):(e.head=o,o.data=a.slice(i));break}++r}return e.length-=r,n}(t,e);return o}(t,e.buffer,e.decoder),n);var n}function Cr(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Se(jr,e,t))}function jr(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function zr(t,e){for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1}function kr(){}function Or(t,e,n){this.chunk=t,this.encoding=e,this.callback=n,this.next=null}function Tr(t,e){Object.defineProperty(this,"buffer",{get:wo((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),t=t||{},this.objectMode=!!t.objectMode,e instanceof Dr&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:o,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=!1===t.decodeStrings;this.decodeStrings=!r,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,o=n.sync,r=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,o,r){--e.pendingcb,n?Se(r,o):r(o);t._writableState.errorEmitted=!0,t.emit("error",o)}(t,n,o,e,r);else{var a=Nr(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||Br(t,n),o?Se(Lr,t,n,a,r):Lr(t,n,a,r)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Vr(this)}function Sr(t){if(!(this instanceof Sr||this instanceof Dr))return new Sr(t);this._writableState=new Tr(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),Yo.call(this)}function Er(t,e,n,o,r,a,i){e.writelen=o,e.writecb=i,e.writing=!0,e.sync=!0,n?t._writev(r,e.onwrite):t._write(r,a,e.onwrite),e.sync=!1}function Lr(t,e,n,o){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,o(),Rr(t,e)}function Br(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var o=e.bufferedRequestCount,r=new Array(o),a=e.corkedRequestsFree;a.entry=n;for(var i=0;n;)r[i]=n,n=n.next,i+=1;Er(t,e,!0,e.length,r,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new Vr(e)}else{for(;n;){var s=n.chunk,l=n.encoding,u=n.callback;if(Er(t,e,!1,e.objectMode?1:s.length,s,l,u),n=n.next,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequestCount=0,e.bufferedRequest=n,e.bufferProcessing=!1}function Nr(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function Hr(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function Rr(t,e){var n=Nr(e);return n&&(0===e.pendingcb?(Hr(t,e),e.finished=!0,t.emit("finish")):Hr(t,e)),n}function Vr(t){var e=this;this.next=null,this.entry=null,this.finish=function(n){var o=e.entry;for(e.entry=null;o;){var r=o.callback;t.pendingcb--,r(n),o=o.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}}vr.prototype.read=function(t){fr("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return fr("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?Cr(this):wr(this),null;if(0===(t=yr(t,e))&&e.ended)return 0===e.length&&Cr(this),null;var o,r=e.needReadable;return fr("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&fr("length less than watermark",r=!0),e.ended||e.reading?fr("reading or ended",r=!1):r&&(fr("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=yr(n,e))),null===(o=t>0?Pr(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&Cr(this)),null!==o&&this.emit("data",o),o},vr.prototype._read=function(t){this.emit("error",new Error("not implemented"))},vr.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,fr("pipe count=%d opts=%j",o.pipesCount,e);var r=!e||!1!==e.end?i:u;function a(t){fr("onunpipe"),t===n&&u()}function i(){fr("onend"),t.end()}o.endEmitted?Se(r):n.once("end",r),t.on("unpipe",a);var s=function(t){return function(){var e=t._readableState;fr("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&t.listeners("data").length&&(e.flowing=!0,Ar(t))}}(n);t.on("drain",s);var l=!1;function u(){fr("cleanup"),t.removeListener("close",f),t.removeListener("finish",p),t.removeListener("drain",s),t.removeListener("error",d),t.removeListener("unpipe",a),n.removeListener("end",i),n.removeListener("end",u),n.removeListener("data",h),l=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||s()}var c=!1;function h(e){fr("ondata"),c=!1,!1!==t.write(e)||c||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==zr(o.pipes,t))&&!l&&(fr("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function d(e){fr("onerror",e),v(),t.removeListener("error",d),0===function(t,e){return t.listeners(e).length}(t,"error")&&t.emit("error",e)}function f(){t.removeListener("finish",p),v()}function p(){fr("onfinish"),t.removeListener("close",f),v()}function v(){fr("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",d),t.once("close",f),t.once("finish",p),t.emit("pipe",n),o.flowing||(fr("pipe resume"),n.resume()),t},vr.prototype.unpipe=function(t){var e=this._readableState;if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var r=0;r<o;r++)n[r].emit("unpipe",this);return this}var a=zr(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this)),this},vr.prototype.on=function(t,e){var n=Yo.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var o=this._readableState;o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.emittedReadable=!1,o.reading?o.length&&wr(this):Se(Mr,this))}return n},vr.prototype.addListener=vr.prototype.on,vr.prototype.resume=function(){var t=this._readableState;return t.flowing||(fr("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,Se(xr,t,e))}(this,t)),this},vr.prototype.pause=function(){return fr("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(fr("pause"),this._readableState.flowing=!1,this.emit("pause")),this},vr.prototype.wrap=function(t){var e=this._readableState,n=!1,o=this;for(var r in t.on("end",(function(){if(fr("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&o.push(t)}o.push(null)})),t.on("data",(function(r){(fr("wrapped data"),e.decoder&&(r=e.decoder.write(r)),e.objectMode&&null==r)||(e.objectMode||r&&r.length)&&(o.push(r)||(n=!0,t.pause()))})),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));return function(t,e){for(var n=0,o=t.length;n<o;n++)e(t[n],n)}(["error","close","destroy","pause","resume"],(function(e){t.on(e,o.emit.bind(o,e))})),o._read=function(e){fr("wrapped _read",e),n&&(n=!1,t.resume())},o},vr._fromList=Pr,Sr.WritableState=Tr,go(Sr,Yo),Tr.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},Sr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Sr.prototype.write=function(t,e,n){var o=this._writableState,r=!1;return"function"==typeof e&&(n=e,e=null),yn.isBuffer(t)?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof n&&(n=kr),o.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),Se(e,n)}(this,n):function(t,e,n,o){var r=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):yn.isBuffer(n)||"string"==typeof n||void 0===n||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),Se(o,a),r=!1),r}(this,o,t,n)&&(o.pendingcb++,r=function(t,e,n,o,r){n=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=yn.from(e,n));return e}(e,n,o),yn.isBuffer(n)&&(o="buffer");var a=e.objectMode?1:n.length;e.length+=a;var i=e.length<e.highWaterMark;i||(e.needDrain=!0);if(e.writing||e.corked){var s=e.lastBufferedRequest;e.lastBufferedRequest=new Or(n,o,r),s?s.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else Er(t,e,!1,a,n,o,r);return i}(this,o,t,e,n)),r},Sr.prototype.cork=function(){this._writableState.corked++},Sr.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||Br(this,t))},Sr.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Sr.prototype._write=function(t,e,n){n(new Error("not implemented"))},Sr.prototype._writev=null,Sr.prototype.end=function(t,e,n){var o=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(t,e,n){e.ending=!0,Rr(t,e),n&&(e.finished?Se(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,o,n)},go(Dr,vr);for(var Ir=Object.keys(Sr.prototype),qr=0;qr<Ir.length;qr++){var Fr=Ir[qr];Dr.prototype[Fr]||(Dr.prototype[Fr]=Sr.prototype[Fr])}function Dr(t){if(!(this instanceof Dr))return new Dr(t);vr.call(this,t),Sr.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",Ur)}function Ur(){this.allowHalfOpen||this._writableState.ended||Se($r,this)}function $r(t){t.end()}function Wr(t){this.afterTransform=function(e,n){return function(t,e,n){var o=t._transformState;o.transforming=!1;var r=o.writecb;if(!r)return t.emit("error",new Error("no writecb in Transform class"));o.writechunk=null,o.writecb=null,null!=n&&t.push(n);r(e);var a=t._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&t._read(a.highWaterMark)}(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function Zr(t){if(!(this instanceof Zr))return new Zr(t);Dr.call(this,t),this._transformState=new Wr(this);var e=this;this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(t){Gr(e,t)})):Gr(e)}))}function Gr(t,e){if(e)return t.emit("error",e);var n=t._writableState,o=t._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(o.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}function Kr(t){if(!(this instanceof Kr))return new Kr(t);Zr.call(this,t)}function Yr(){Yo.call(this)}go(Zr,Dr),Zr.prototype.push=function(t,e){return this._transformState.needTransform=!1,Dr.prototype.push.call(this,t,e)},Zr.prototype._transform=function(t,e,n){throw new Error("Not implemented")},Zr.prototype._write=function(t,e,n){var o=this._transformState;if(o.writecb=n,o.writechunk=t,o.writeencoding=e,!o.transforming){var r=this._readableState;(o.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},Zr.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},go(Kr,Zr),Kr.prototype._transform=function(t,e,n){n(null,t)},go(Yr,Yo),Yr.Readable=vr,Yr.Writable=Sr,Yr.Duplex=Dr,Yr.Transform=Zr,Yr.PassThrough=Kr,Yr.Stream=Yr,Yr.prototype.pipe=function(t,e){var n=this;function o(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function r(){n.readable&&n.resume&&n.resume()}n.on("data",o),t.on("drain",r),t._isStdio||e&&!1===e.end||(n.on("end",i),n.on("close",s));var a=!1;function i(){a||(a=!0,t.end())}function s(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function l(t){if(u(),0===Yo.listenerCount(this,"error"))throw t}function u(){n.removeListener("data",o),t.removeListener("drain",r),n.removeListener("end",i),n.removeListener("close",s),n.removeListener("error",l),t.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),t.removeListener("close",u)}return n.on("error",l),t.on("error",l),n.on("end",u),n.on("close",u),t.on("close",u),t.emit("pipe",n),t};var Xr=3,Qr=4;function Jr(t,e,n){var o,r=this;if(vr.call(r),r._mode=n,r.headers={},r.rawHeaders=[],r.trailers={},r.rawTrailers=[],r.on("end",(function(){$e.nextTick((function(){r.emit("close")}))})),"fetch"===n){r._fetchResponse=e,r.url=e.url,r.statusCode=e.status,r.statusMessage=e.statusText;for(var a,i,s=e.headers[Symbol.iterator]();a=(i=s.next()).value,!i.done;)r.headers[a[0].toLowerCase()]=a[1],r.rawHeaders.push(a[0],a[1]);var l=e.body.getReader();(o=function(){l.read().then((function(t){r._destroyed||(t.done?r.push(null):(r.push(new yn(t.value)),o()))}))})()}else{if(r._xhr=t,r._pos=0,r.url=t.responseURL,r.statusCode=t.status,r.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var n=e[1].toLowerCase();"set-cookie"===n?(void 0===r.headers[n]&&(r.headers[n]=[]),r.headers[n].push(e[2])):void 0!==r.headers[n]?r.headers[n]+=", "+e[2]:r.headers[n]=e[2],r.rawHeaders.push(e[1],e[2])}})),r._charset="x-user-defined",!fo){var u=r.rawHeaders["mime-type"];if(u){var c=u.match(/;\s*charset=([^;])(;|$)/);c&&(r._charset=c[1].toLowerCase())}r._charset||(r._charset="utf-8")}}}function ta(t){var e,n=this;Sr.call(n),n._opts=t,n._body=[],n._headers={},t.auth&&n.setHeader("Authorization","Basic "+new yn(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){n.setHeader(e,t.headers[e])}));var o=!0;if("disable-fetch"===t.mode)o=!1,e=!0;else if("prefer-streaming"===t.mode)e=!1;else if("allow-wrong-content-type"===t.mode)e=!fo;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");e=!0}n._mode=function(t,e){return ao&&e?"fetch":ho?"moz-chunked-arraybuffer":co?"ms-stream":uo&&t?"arraybuffer":po&&t?"text:vbarray":"text"}(e,o),n.on("finish",(function(){n._onFinish()}))}go(Jr,vr),Jr.prototype._read=function(){},Jr.prototype._onXHRProgress=function(){var t=this,e=t._xhr,n=null;switch(t._mode){case"text:vbarray":if(e.readyState!==Qr)break;try{n=new be.VBArray(e.responseBody).toArray()}catch(t){}if(null!==n){t.push(new yn(n));break}case"text":try{n=e.responseText}catch(e){t._mode="text:vbarray";break}if(n.length>t._pos){var o=n.substr(t._pos);if("x-user-defined"===t._charset){for(var r=new yn(o.length),a=0;a<o.length;a++)r[a]=255&o.charCodeAt(a);t.push(r)}else t.push(o,t._charset);t._pos=n.length}break;case"arraybuffer":if(e.readyState!==Qr||!e.response)break;n=e.response,t.push(new yn(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=e.response,e.readyState!==Xr||!n)break;t.push(new yn(new Uint8Array(n)));break;case"ms-stream":if(n=e.response,e.readyState!==Xr)break;var i=new be.MSStreamReader;i.onprogress=function(){i.result.byteLength>t._pos&&(t.push(new yn(new Uint8Array(i.result.slice(t._pos)))),t._pos=i.result.byteLength)},i.onload=function(){t.push(null)},i.readAsArrayBuffer(n)}t._xhr.readyState===Qr&&"ms-stream"!==t._mode&&t.push(null)},go(ta,Sr);var ea=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];ta.prototype.setHeader=function(t,e){var n=t.toLowerCase();-1===ea.indexOf(n)&&(this._headers[n]={name:t,value:e})},ta.prototype.getHeader=function(t){return this._headers[t.toLowerCase()].value},ta.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},ta.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e,n=t._opts,o=t._headers;if("POST"!==n.method&&"PUT"!==n.method&&"PATCH"!==n.method||(e=function(){if(void 0!==oo)return oo;try{new be.Blob([new ArrayBuffer(1)]),oo=!0}catch(t){oo=!1}return oo}()?new be.Blob(t._body.map((function(t){return function(t){if(t instanceof Uint8Array){if(0===t.byteOffset&&t.byteLength===t.buffer.byteLength)return t.buffer;if("function"==typeof t.buffer.slice)return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(eo(t)){for(var e=new Uint8Array(t.length),n=t.length,o=0;o<n;o++)e[o]=t[o];return e.buffer}throw new Error("Argument must be a Buffer")}(t)})),{type:(o["content-type"]||{}).value||""}):yn.concat(t._body).toString()),"fetch"===t._mode){var r=Object.keys(o).map((function(t){return[o[t].name,o[t].value]}));be.fetch(t._opts.url,{method:t._opts.method,headers:r,body:e,mode:"cors",credentials:n.withCredentials?"include":"same-origin"}).then((function(e){t._fetchResponse=e,t._connect()}),(function(e){t.emit("error",e)}))}else{var a=t._xhr=new be.XMLHttpRequest;try{a.open(t._opts.method,t._opts.url,!0)}catch(e){return void $e.nextTick((function(){t.emit("error",e)}))}"responseType"in a&&(a.responseType=t._mode.split(":")[0]),"withCredentials"in a&&(a.withCredentials=!!n.withCredentials),"text"===t._mode&&"overrideMimeType"in a&&a.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(o).forEach((function(t){a.setRequestHeader(o[t].name,o[t].value)})),t._response=null,a.onreadystatechange=function(){switch(a.readyState){case Xr:case Qr:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(a.onprogress=function(){t._onXHRProgress()}),a.onerror=function(){t._destroyed||t.emit("error",new Error("XHR error"))};try{a.send(e)}catch(e){return void $e.nextTick((function(){t.emit("error",e)}))}}}},ta.prototype._onXHRProgress=function(){var t=this;(function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}})(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress())},ta.prototype._connect=function(){var t=this;t._destroyed||(t._response=new Jr(t._xhr,t._fetchResponse,t._mode),t.emit("response",t._response))},ta.prototype._write=function(t,e,n){this._body.push(t),n()},ta.prototype.abort=ta.prototype.destroy=function(){var t=this;t._destroyed=!0,t._response&&(t._response._destroyed=!0),t._xhr&&t._xhr.abort()},ta.prototype.end=function(t,e,n){"function"==typeof t&&(n=t,t=void 0),Sr.prototype.end.call(this,t,e,n)},ta.prototype.flushHeaders=function(){},ta.prototype.setTimeout=function(){},ta.prototype.setNoDelay=function(){},ta.prototype.setSocketKeepAlive=function(){};/*! https://mths.be/punycode v1.4.1 by @mathias */
2
- var na=2147483647,oa=/[^\x20-\x7E]/,ra=/[\x2E\u3002\uFF0E\uFF61]/g,aa={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ia=Math.floor,sa=String.fromCharCode;function la(t){throw new RangeError(aa[t])}function ua(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function ca(t,e,n){var o=0;for(t=n?ia(t/700):t>>1,t+=ia(t/e);t>455;o+=36)t=ia(t/35);return ia(o+36*t/(t+38))}function ha(t){return function(t,e){var n=t.split("@"),o="";n.length>1&&(o=n[0]+"@",t=n[1]);var r=function(t,e){for(var n=t.length,o=[];n--;)o[n]=e(t[n]);return o}((t=t.replace(ra,".")).split("."),e).join(".");return o+r}(t,(function(t){return oa.test(t)?"xn--"+function(t){var e,n,o,r,a,i,s,l,u,c,h,d,f,p,v,g=[];for(t=function(t){for(var e,n,o=[],r=0,a=t.length;r<a;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<a?56320==(64512&(n=t.charCodeAt(r++)))?o.push(((1023&e)<<10)+(1023&n)+65536):(o.push(e),r--):o.push(e);return o}(t),d=t.length,e=128,n=0,a=72,i=0;i<d;++i)(h=t[i])<128&&g.push(sa(h));for(o=r=g.length,r&&g.push("-");o<d;){for(s=na,i=0;i<d;++i)(h=t[i])>=e&&h<s&&(s=h);for(s-e>ia((na-n)/(f=o+1))&&la("overflow"),n+=(s-e)*f,e=s,i=0;i<d;++i)if((h=t[i])<e&&++n>na&&la("overflow"),h==e){for(l=n,u=36;!(l<(c=u<=a?1:u>=a+26?26:u-a));u+=36)v=l-c,p=36-c,g.push(sa(ua(c+v%p,0))),l=ia(v/p);g.push(sa(ua(l,0))),a=ca(n,f,o==r),n=0,++o}++n,++e}return g.join("")}(t):t}))}function da(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var fa=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function pa(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function va(t,e){if(t.map)return t.map(e);for(var n=[],o=0;o<t.length;o++)n.push(e(t[o],o));return n}var ga=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e};function ma(t,e,n,o){e=e||"&",n=n||"=";var r={};if("string"!=typeof t||0===t.length)return r;var a=/\+/g;t=t.split(e);var i=1e3;o&&"number"==typeof o.maxKeys&&(i=o.maxKeys);var s=t.length;i>0&&s>i&&(s=i);for(var l=0;l<s;++l){var u,c,h,d,f=t[l].replace(a,"%20"),p=f.indexOf(n);p>=0?(u=f.substr(0,p),c=f.substr(p+1)):(u=f,c=""),h=decodeURIComponent(u),d=decodeURIComponent(c),da(r,h)?fa(r[h])?r[h].push(d):r[h]=[r[h],d]:r[h]=d}return r}var ya={parse:Sa,resolve:function(t,e){return Sa(t,!1,!0).resolve(e)},resolveObject:function(t,e){return t?Sa(t,!1,!0).resolveObject(e):e},format:function(t){Lo(t)&&(t=Ea({},t));return La(t)},Url:wa};function wa(){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 ba=/^([a-z0-9.+-]+:)/i,_a=/:[0-9]*$/,Ma=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xa=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Aa=["'"].concat(xa),Pa=["%","/","?",";","#"].concat(Aa),Ca=["/","?","#"],ja=/^[+a-z0-9A-Z_-]{0,63}$/,za=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ka={javascript:!0,"javascript:":!0},Oa={javascript:!0,"javascript:":!0},Ta={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Sa(t,e,n){if(t&&Ho(t)&&t instanceof wa)return t;var o=new wa;return o.parse(t,e,n),o}function Ea(t,e,n,o){if(!Lo(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),a=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(a);i[0]=i[0].replace(/\\/g,"/");var s=e=i.join(a);if(s=s.trim(),!o&&1===e.split("#").length){var l=Ma.exec(s);if(l)return t.path=s,t.href=s,t.pathname=l[1],l[2]?(t.search=l[2],t.query=n?ma(t.search.substr(1)):t.search.substr(1)):n&&(t.search="",t.query={}),t}var u,c,h,d,f=ba.exec(s);if(f){var p=(f=f[0]).toLowerCase();t.protocol=p,s=s.substr(f.length)}if(o||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var v="//"===s.substr(0,2);!v||f&&Oa[f]||(s=s.substr(2),t.slashes=!0)}if(!Oa[f]&&(v||f&&!Ta[f])){var g,m,y=-1;for(u=0;u<Ca.length;u++)-1!==(c=s.indexOf(Ca[u]))&&(-1===y||c<y)&&(y=c);for(-1!==(m=-1===y?s.lastIndexOf("@"):s.lastIndexOf("@",y))&&(g=s.slice(0,m),s=s.slice(m+1),t.auth=decodeURIComponent(g)),y=-1,u=0;u<Pa.length;u++)-1!==(c=s.indexOf(Pa[u]))&&(-1===y||c<y)&&(y=c);-1===y&&(y=s.length),t.host=s.slice(0,y),s=s.slice(y),Ba(t),t.hostname=t.hostname||"";var w="["===t.hostname[0]&&"]"===t.hostname[t.hostname.length-1];if(!w){var b=t.hostname.split(/\./);for(u=0,h=b.length;u<h;u++){var _=b[u];if(_&&!_.match(ja)){for(var M="",x=0,A=_.length;x<A;x++)_.charCodeAt(x)>127?M+="x":M+=_[x];if(!M.match(ja)){var P=b.slice(0,u),C=b.slice(u+1),j=_.match(za);j&&(P.push(j[1]),C.unshift(j[2])),C.length&&(s="/"+C.join(".")+s),t.hostname=P.join(".");break}}}}t.hostname.length>255?t.hostname="":t.hostname=t.hostname.toLowerCase(),w||(t.hostname=ha(t.hostname)),d=t.port?":"+t.port:"";var z=t.hostname||"";t.host=z+d,t.href+=t.host,w&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!ka[p])for(u=0,h=Aa.length;u<h;u++){var k=Aa[u];if(-1!==s.indexOf(k)){var O=encodeURIComponent(k);O===k&&(O=escape(k)),s=s.split(k).join(O)}}var T=s.indexOf("#");-1!==T&&(t.hash=s.substr(T),s=s.slice(0,T));var S=s.indexOf("?");if(-1!==S?(t.search=s.substr(S),t.query=s.substr(S+1),n&&(t.query=ma(t.query)),s=s.slice(0,S)):n&&(t.search="",t.query={}),s&&(t.pathname=s),Ta[p]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){d=t.pathname||"";var E=t.search||"";t.path=d+E}return t.href=La(t),t}function La(t){var e=t.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var n,o,r,a,i=t.protocol||"",s=t.pathname||"",l=t.hash||"",u=!1,c="";t.host?u=e+t.host:t.hostname&&(u=e+(-1===t.hostname.indexOf(":")?t.hostname:"["+this.hostname+"]"),t.port&&(u+=":"+t.port)),t.query&&Ho(t.query)&&Object.keys(t.query).length&&(n=t.query,o=o||"&",r=r||"=",null===n&&(n=void 0),c="object"==typeof n?va(ga(n),(function(t){var e=encodeURIComponent(pa(t))+r;return fa(n[t])?va(n[t],(function(t){return e+encodeURIComponent(pa(t))})).join(o):e+encodeURIComponent(pa(n[t]))})).join(o):a?encodeURIComponent(pa(a))+r+encodeURIComponent(pa(n)):"");var h=t.search||c&&"?"+c||"";return i&&":"!==i.substr(-1)&&(i+=":"),t.slashes||(!i||Ta[i])&&!1!==u?(u="//"+(u||""),s&&"/"!==s.charAt(0)&&(s="/"+s)):u||(u=""),l&&"#"!==l.charAt(0)&&(l="#"+l),h&&"?"!==h.charAt(0)&&(h="?"+h),i+u+(s=s.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(h=h.replace("#","%23"))+l}function Ba(t){var e=t.host,n=_a.exec(e);n&&(":"!==(n=n[0])&&(t.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(t.hostname=e)}function Na(t,e){"string"==typeof t&&(t=Sa(t));var n=-1===be.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||n,r=t.hostname||t.host,a=t.port,i=t.path||"/";r&&-1!==r.indexOf(":")&&(r="["+r+"]"),t.url=(r?o+"//"+r:"")+(a?":"+a:"")+i,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var s=new ta(t);return e&&s.on("response",e),s}function Ha(){}wa.prototype.parse=function(t,e,n){return Ea(this,t,e,n)},wa.prototype.format=function(){return La(this)},wa.prototype.resolve=function(t){return this.resolveObject(Sa(t,!1,!0)).format()},wa.prototype.resolveObject=function(t){if(Lo(t)){var e=new wa;e.parse(t,!1,!0),t=e}for(var n,o=new wa,r=Object.keys(this),a=0;a<r.length;a++){var i=r[a];o[i]=this[i]}if(o.hash=t.hash,""===t.href)return o.href=o.format(),o;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(o[u]=t[u])}return Ta[o.protocol]&&o.hostname&&!o.pathname&&(o.path=o.pathname="/"),o.href=o.format(),o}if(t.protocol&&t.protocol!==o.protocol){if(!Ta[t.protocol]){for(var c=Object.keys(t),h=0;h<c.length;h++){var d=c[h];o[d]=t[d]}return o.href=o.format(),o}if(o.protocol=t.protocol,t.host||Oa[t.protocol])o.pathname=t.pathname;else{for(n=(t.pathname||"").split("/");n.length&&!(t.host=n.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==n[0]&&n.unshift(""),n.length<2&&n.unshift(""),o.pathname=n.join("/")}if(o.search=t.search,o.query=t.query,o.host=t.host||"",o.auth=t.auth,o.hostname=t.hostname||t.host,o.port=t.port,o.pathname||o.search){var f=o.pathname||"",p=o.search||"";o.path=f+p}return o.slashes=o.slashes||t.slashes,o.href=o.format(),o}var v,g=o.pathname&&"/"===o.pathname.charAt(0),m=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=m||g||o.host&&t.pathname,w=y,b=o.pathname&&o.pathname.split("/")||[],_=o.protocol&&!Ta[o.protocol];if(n=t.pathname&&t.pathname.split("/")||[],_&&(o.hostname="",o.port=null,o.host&&(""===b[0]?b[0]=o.host:b.unshift(o.host)),o.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===n[0]?n[0]=t.host:n.unshift(t.host)),t.host=null),y=y&&(""===n[0]||""===b[0])),m)o.host=t.host||""===t.host?t.host:o.host,o.hostname=t.hostname||""===t.hostname?t.hostname:o.hostname,o.search=t.search,o.query=t.query,b=n;else if(n.length)b||(b=[]),b.pop(),b=b.concat(n),o.search=t.search,o.query=t.query;else if(!So(t.search))return _&&(o.hostname=o.host=b.shift(),(v=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=v.shift(),o.host=o.hostname=v.shift())),o.search=t.search,o.query=t.query,To(o.pathname)&&To(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.href=o.format(),o;if(!b.length)return o.pathname=null,o.search?o.path="/"+o.search:o.path=null,o.href=o.format(),o;for(var M=b.slice(-1)[0],x=(o.host||t.host||b.length>1)&&("."===M||".."===M)||""===M,A=0,P=b.length;P>=0;P--)"."===(M=b[P])?b.splice(P,1):".."===M?(b.splice(P,1),A++):A&&(b.splice(P,1),A--);if(!y&&!w)for(;A--;A)b.unshift("..");!y||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),x&&"/"!==b.join("/").substr(-1)&&b.push("");var C=""===b[0]||b[0]&&"/"===b[0].charAt(0);return _&&(o.hostname=o.host=C?"":b.length?b.shift():"",(v=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=v.shift(),o.host=o.hostname=v.shift())),(y=y||o.host&&b.length)&&!C&&b.unshift(""),b.length?o.pathname=b.join("/"):(o.pathname=null,o.path=null),To(o.pathname)&&To(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.auth=t.auth||o.auth,o.slashes=o.slashes||t.slashes,o.href=o.format(),o},wa.prototype.parseHost=function(){return Ba(this)},Ha.defaultMaxSockets=4;var Ra={request:Na,get:function(t,e){var n=Na(t,e);return n.end(),n},Agent:Ha,METHODS:["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"],STATUS_CODES:{100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}};function Va(t,e){if(t===e)return 0;for(var n=t.length,o=e.length,r=0,a=Math.min(n,o);r<a;++r)if(t[r]!==e[r]){n=t[r],o=e[r];break}return n<o?-1:o<n?1:0}var Ia,qa=Object.prototype.hasOwnProperty,Fa=Object.keys||function(t){var e=[];for(var n in t)qa.call(t,n)&&e.push(n);return e},Da=Array.prototype.slice;function Ua(){return void 0!==Ia?Ia:Ia="foo"===function(){}.name}function $a(t){return Object.prototype.toString.call(t)}function Wa(t){return!eo(t)&&("function"==typeof be.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}function Za(t,e){t||Ja(t,!0,e,"==",ti)}var Ga=/\s*function\s+([^\(\s]*)\s*/;function Ka(t){if(Io(t)){if(Ua())return t.name;var e=t.toString().match(Ga);return e&&e[1]}}function Ya(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return Xa(Qa(t.actual),128)+" "+t.operator+" "+Xa(Qa(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||Ja;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var o=n.stack,r=Ka(e),a=o.indexOf("\n"+r);if(a>=0){var i=o.indexOf("\n",a+1);o=o.substring(i+1)}this.stack=o}}}function Xa(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function Qa(t){if(Ua()||!Io(t))return xo(t);var e=Ka(t);return"[Function"+(e?": "+e:"")+"]"}function Ja(t,e,n,o,r){throw new Ya({message:n,actual:t,expected:e,operator:o,stackStartFunction:r})}function ti(t,e){t||Ja(t,!0,e,"==",ti)}function ei(t,e,n,o){if(t===e)return!0;if(eo(t)&&eo(e))return 0===Va(t,e);if(Ro(t)&&Ro(e))return t.getTime()===e.getTime();if(No(t)&&No(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(Wa(t)&&Wa(e)&&$a(t)===$a(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===Va(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(eo(t)!==eo(e))return!1;var r=(o=o||{actual:[],expected:[]}).actual.indexOf(t);return-1!==r&&r===o.expected.indexOf(e)||(o.actual.push(t),o.expected.push(e),function(t,e,n,o){if(null==t||null==e)return!1;if(qo(t)||qo(e))return t===e;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var r=ni(t),a=ni(e);if(r&&!a||!r&&a)return!1;if(r)return ei(t=Da.call(t),e=Da.call(e),n);var i,s,l=Fa(t),u=Fa(e);if(l.length!==u.length)return!1;for(l.sort(),u.sort(),s=l.length-1;s>=0;s--)if(l[s]!==u[s])return!1;for(s=l.length-1;s>=0;s--)if(!ei(t[i=l[s]],e[i],n,o))return!1;return!0}(t,e,n,o))}return n?t===e:t==e}function ni(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function oi(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function ri(t,e,n,o){var r;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(o=n,n=null),r=function(t){var e;try{t()}catch(t){e=t}return e}(e),o=(n&&n.name?" ("+n.name+").":".")+(o?" "+o:"."),t&&!r&&Ja(r,n,"Missing expected exception"+o);var a="string"==typeof o,i=!t&&r&&!n;if((!t&&Vo(r)&&a&&oi(r,n)||i)&&Ja(r,n,"Got unwanted exception"+o),t&&r&&n&&!oi(r,n)||!t&&r)throw r}Za.AssertionError=Ya,go(Ya,Error),Za.fail=Ja,Za.ok=ti,Za.equal=function t(e,n,o){e!=n&&Ja(e,n,o,"==",t)},Za.notEqual=function t(e,n,o){e==n&&Ja(e,n,o,"!=",t)},Za.deepEqual=function t(e,n,o){ei(e,n,!1)||Ja(e,n,o,"deepEqual",t)},Za.deepStrictEqual=function t(e,n,o){ei(e,n,!0)||Ja(e,n,o,"deepStrictEqual",t)},Za.notDeepEqual=function t(e,n,o){ei(e,n,!1)&&Ja(e,n,o,"notDeepEqual",t)},Za.notDeepStrictEqual=function t(e,n,o){ei(e,n,!0)&&Ja(e,n,o,"notDeepStrictEqual",t)},Za.strictEqual=function t(e,n,o){e!==n&&Ja(e,n,o,"===",t)},Za.notStrictEqual=function t(e,n,o){e===n&&Ja(e,n,o,"!==",t)},Za.throws=function(t,e,n){ri(!0,t,e,n)},Za.doesNotThrow=function(t,e,n){ri(!1,t,e,n)},Za.ifError=function(t){if(t)throw t};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ai(t,e,n){return n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},t(n,n.exports),n.exports}var ii=1e3,si=60*ii,li=60*si,ui=24*li,ci=7*ui,hi=365.25*ui,di=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*hi;case"weeks":case"week":case"w":return n*ci;case"days":case"day":case"d":return n*ui;case"hours":case"hour":case"hrs":case"hr":case"h":return n*li;case"minutes":case"minute":case"mins":case"min":case"m":return n*si;case"seconds":case"second":case"secs":case"sec":case"s":return n*ii;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=ui)return fi(t,e,ui,"day");if(e>=li)return fi(t,e,li,"hour");if(e>=si)return fi(t,e,si,"minute");if(e>=ii)return fi(t,e,ii,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=ui)return Math.round(t/ui)+"d";if(e>=li)return Math.round(t/li)+"h";if(e>=si)return Math.round(t/si)+"m";if(e>=ii)return Math.round(t/ii)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function fi(t,e,n,o){var r=e>=1.5*n;return Math.round(t/n)+" "+o+(r?"s":"")}var pi=function(t){function e(t){let o,r,a,i=null;function s(...t){if(!s.enabled)return;const n=s,r=Number(new Date),a=r-(o||r);n.diff=a,n.prev=o,n.curr=r,o=r,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let i=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";i++;const a=e.formatters[r];if("function"==typeof a){const e=t[i];o=a.call(n,e),t.splice(i,1),i--}return o})),e.formatArgs.call(n,t);(n.log||e.log).apply(n,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=n,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==e.namespaces&&(r=e.namespaces,a=e.enabled(t)),a),set:t=>{i=t}}),"function"==typeof e.init&&e.init(s),s}function n(t,n){const o=e(this.namespace+(void 0===n?":":n)+t);return o.log=this.log,o}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const o=("string"==typeof t?t:"").split(/[\s,]+/),r=o.length;for(n=0;n<r;n++)o[n]&&("-"===(t=o[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,o;for(n=0,o=e.skips.length;n<o;n++)if(e.skips[n].test(t))return!1;for(n=0,o=e.names.length;n<o;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=di,e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e},vi=ai((function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let o=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(o++,"%c"===t&&(r=o))})),e.splice(r,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&void 0!==$e&&"env"in $e&&(t=$e.env.DEBUG);return t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=pi(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}));var gi,mi={isatty:function(){return!1},ReadStream:function(){throw new Error("tty.ReadStream is not implemented")},WriteStream:function(){throw new Error("tty.ReadStream is not implemented")}};function yi(){return"/tmp"}var wi={EOL:"\n",tmpdir:yi,tmpDir:yi,networkInterfaces:function(){},getNetworkInterfaces:function(){},release:function(){return void 0!==be.navigator?be.navigator.appVersion:""},type:function(){return"Browser"},cpus:function(){return[]},totalmem:function(){return Number.MAX_VALUE},freemem:function(){return Number.MAX_VALUE},uptime:function(){return 0},loadavg:function(){return[]},hostname:function(){return void 0!==be.location?be.location.hostname:""},endianness:function(){if(void 0===gi){var t=new ArrayBuffer(2),e=new Uint8Array(t),n=new Uint16Array(t);if(e[0]=1,e[1]=2,258===n[0])gi="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");gi="LE"}}return gi}},bi=(t,e)=>{e=e||$e.argv;const n=t.startsWith("-")?"":1===t.length?"-":"--",o=e.indexOf(n+t),r=e.indexOf("--");return-1!==o&&(-1===r||o<r)};const _i=$e.env;let Mi;function xi(t){const e=function(t){if(!1===Mi)return 0;if(bi("color=16m")||bi("color=full")||bi("color=truecolor"))return 3;if(bi("color=256"))return 2;if(t&&!t.isTTY&&!0!==Mi)return 0;const e=Mi?1:0;if("win32"===$e.platform){const t=wi.release().split(".");return Number($e.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in _i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in _i))||"codeship"===_i.CI_NAME?1:e;if("TEAMCITY_VERSION"in _i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(_i.TEAMCITY_VERSION)?1:0;if("truecolor"===_i.COLORTERM)return 3;if("TERM_PROGRAM"in _i){const t=parseInt((_i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(_i.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(_i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(_i.TERM)||"COLORTERM"in _i?1:(_i.TERM,e)}(t);return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(e)}bi("no-color")||bi("no-colors")||bi("color=false")?Mi=!1:(bi("color")||bi("colors")||bi("color=true")||bi("color=always"))&&(Mi=!0),"FORCE_COLOR"in _i&&(Mi=0===_i.FORCE_COLOR.length||0!==parseInt(_i.FORCE_COLOR,10));var Ai,Pi={supportsColor:xi,stdout:xi($e.stdout),stderr:xi($e.stderr)},Ci=ai((function(t,e){e.init=function(t){t.inspectOpts={};const n=Object.keys(e.inspectOpts);for(let o=0;o<n.length;o++)t.inspectOpts[n[o]]=e.inspectOpts[n[o]]},e.log=function(...t){return $e.stderr.write(Go.format(...t)+"\n")},e.formatArgs=function(n){const{namespace:o,useColors:r}=this;if(r){const e=this.color,r="[3"+(e<8?e:"8;5;"+e),a=` ${r};1m${o} `;n[0]=a+n[0].split("\n").join("\n"+a),n.push(r+"m+"+t.exports.humanize(this.diff)+"")}else n[0]=function(){if(e.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+o+" "+n[0]},e.save=function(t){t?$e.env.DEBUG=t:delete $e.env.DEBUG},e.load=function(){return $e.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?Boolean(e.inspectOpts.colors):mi.isatty($e.stderr.fd)},e.destroy=Go.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{const t=Pi;t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}e.inspectOpts=Object.keys($e.env).filter((t=>/^debug_/i.test(t))).reduce(((t,e)=>{const n=e.substring(6).toLowerCase().replace(/_([a-z])/g,((t,e)=>e.toUpperCase()));let o=$e.env[e];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),t[n]=o,t}),{}),t.exports=pi(e);const{formatters:n}=t.exports;n.o=function(t){return this.inspectOpts.colors=this.useColors,Go.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")},n.O=function(t){return this.inspectOpts.colors=this.useColors,Go.inspect(t,this.inspectOpts)}})),ji=ai((function(t){void 0===$e||"renderer"===$e.type||!0===$e.browser||$e.__nwjs?t.exports=vi:t.exports=Ci})),zi=function(){if(!Ai){try{Ai=ji("follow-redirects")}catch(t){}"function"!=typeof Ai&&(Ai=function(){})}Ai.apply(null,arguments)},ki=ya.URL,Oi=Yr.Writable,Ti=["abort","aborted","connect","error","socket","timeout"],Si=Object.create(null);Ti.forEach((function(t){Si[t]=function(e,n,o){this._redirectable.emit(t,e,n,o)}}));var Ei=Fi("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Li=Fi("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Bi=Fi("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ni=Fi("ERR_STREAM_WRITE_AFTER_END","write after end");function Hi(t,e){Oi.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(t){n._processResponse(t)},this._performRequest()}function Ri(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach((function(o){var r=o+":",a=n[r]=t[o],i=e[o]=Object.create(a);Object.defineProperties(i,{request:{value:function(t,o,a){if("string"==typeof t){var i=t;try{t=Ii(new ki(i))}catch(e){t=ya.parse(i)}}else ki&&t instanceof ki?t=Ii(t):(a=o,o=t,t={protocol:r});return"function"==typeof o&&(a=o,o=null),(o=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},t,o)).nativeProtocols=n,Za.equal(o.protocol,r,"protocol mismatch"),zi("options",o),new Hi(o,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(t,e,n){var o=i.request(t,e,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),e}function Vi(){}function Ii(t){var e={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return""!==t.port&&(e.port=Number(t.port)),e}function qi(t,e){var n;for(var o in e)t.test(o)&&(n=e[o],delete e[o]);return null==n?void 0:String(n).trim()}function Fi(t,e){function n(t){Error.captureStackTrace(this,this.constructor),t?(this.message=e+": "+t.message,this.cause=t):this.message=e}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+t+"]",n.prototype.code=t,n}function Di(t){for(var e=0;e<Ti.length;e++)t.removeListener(Ti[e],Si[Ti[e]]);t.on("error",Vi),t.abort()}Hi.prototype=Object.create(Oi.prototype),Hi.prototype.abort=function(){Di(this._currentRequest),this.emit("abort")},Hi.prototype.write=function(t,e,n){if(this._ending)throw new Ni;if(!("string"==typeof t||"object"==typeof t&&"length"in t))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof e&&(n=e,e=null),0!==t.length?this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new Bi),this.abort()):n&&n()},Hi.prototype.end=function(t,e,n){if("function"==typeof t?(n=t,t=e=null):"function"==typeof e&&(n=e,e=null),t){var o=this,r=this._currentRequest;this.write(t,e,(function(){o._ended=!0,r.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},Hi.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)},Hi.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)},Hi.prototype.setTimeout=function(t,e){var n=this;function o(e){e.setTimeout(t),e.removeListener("timeout",e.destroy),e.addListener("timeout",e.destroy)}function r(e){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),a()}),t),o(e)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",r)}return e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",o),this.on("abort",a),this.on("error",a),this.on("response",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(t){Hi.prototype[t]=function(e,n){return this._currentRequest[t](e,n)}})),["aborted","connection","socket"].forEach((function(t){Object.defineProperty(Hi.prototype,t,{get:function(){return this._currentRequest[t]}})})),Hi.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}},Hi.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(e){if(this._options.agents){var n=t.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=e.request(this._options,this._onNativeResponse);this._currentUrl=ya.format(this._options),o._redirectable=this;for(var r=0;r<Ti.length;r++)o.on(Ti[r],Si[Ti[r]]);if(this._isRedirect){var a=0,i=this,s=this._requestBodyBuffers;!function t(e){if(o===i._currentRequest)if(e)i.emit("error",e);else if(a<s.length){var n=s[a++];o.finished||o.write(n.data,n.encoding,t)}else i._ended&&o.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},Hi.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var n=t.headers.location;if(!n||!1===this._options.followRedirects||e<300||e>=400)return t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),void(this._requestBodyBuffers=[]);if(Di(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new Li);else{var o,r=this._options.beforeRedirect;r&&(o=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var a=this._options.method;((301===e||302===e)&&"POST"===this._options.method||303===e&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],qi(/^content-/i,this._options.headers));var i,s=qi(/^host$/i,this._options.headers),l=ya.parse(this._currentUrl),u=s||l.host,c=/^\w+:/.test(n)?this._currentUrl:ya.format(Object.assign(l,{host:u}));try{i=ya.resolve(c,n)}catch(t){return void this.emit("error",new Ei(t))}zi("redirecting to",i),this._isRedirect=!0;var h=ya.parse(i);if(Object.assign(this._options,h),(h.protocol!==l.protocol&&"https:"!==h.protocol||h.host!==u&&!function(t,e){const n=t.length-e.length-1;return n>0&&"."===t[n]&&t.endsWith(e)}(h.host,u))&&qi(/^(?:authorization|cookie)$/i,this._options.headers),"function"==typeof r){var d={headers:t.headers,statusCode:e},f={url:c,method:a,headers:o};try{r(this._options,d,f)}catch(t){return void this.emit("error",t)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(t){this.emit("error",new Ei(t))}}};var Ui=Ri({http:Ra,https:Ra}),$i=Ri;Ui.wrap=$i;var Wi={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function Zi(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function Gi(t,e,n,o,r){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+o),r);else for(var a=0;a<o;a++)t[r+a]=e[n+a]}var Ki=Uint8Array,Yi=Uint16Array,Xi=Int32Array;function Qi(t){for(var e=t.length;--e>=0;)t[e]=0}var Ji=256,ts=286,es=30,ns=15,os=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],rs=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],as=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],is=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ss=new Array(576);Qi(ss);var ls=new Array(60);Qi(ls);var us=new Array(512);Qi(us);var cs=new Array(256);Qi(cs);var hs=new Array(29);Qi(hs);var ds,fs,ps,vs=new Array(es);function gs(t,e,n,o,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=o,this.max_length=r,this.has_stree=t&&t.length}function ms(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function ys(t){return t<256?us[t]:us[256+(t>>>7)]}function ws(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function bs(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,ws(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function _s(t,e,n){bs(t,n[2*e],n[2*e+1])}function Ms(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function xs(t,e,n){var o,r,a=new Array(16),i=0;for(o=1;o<=ns;o++)a[o]=i=i+n[o-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=Ms(a[s]++,s))}}function As(t){var e;for(e=0;e<ts;e++)t.dyn_ltree[2*e]=0;for(e=0;e<es;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function Ps(t){t.bi_valid>8?ws(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function Cs(t,e,n,o){var r=2*e,a=2*n;return t[r]<t[a]||t[r]===t[a]&&o[e]<=o[n]}function js(t,e,n){for(var o=t.heap[n],r=n<<1;r<=t.heap_len&&(r<t.heap_len&&Cs(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!Cs(e,o,t.heap[r],t.depth));)t.heap[n]=t.heap[r],n=r,r<<=1;t.heap[n]=o}function zs(t,e,n){var o,r,a,i,s=0;if(0!==t.last_lit)do{o=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],r=t.pending_buf[t.l_buf+s],s++,0===o?_s(t,r,e):(_s(t,(a=cs[r])+Ji+1,e),0!==(i=os[a])&&bs(t,r-=hs[a],i),_s(t,a=ys(--o),n),0!==(i=rs[a])&&bs(t,o-=vs[a],i))}while(s<t.last_lit);_s(t,256,e)}function ks(t,e){var n,o,r,a=e.dyn_tree,i=e.stat_desc.static_tree,s=e.stat_desc.has_stree,l=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<l;n++)0!==a[2*n]?(t.heap[++t.heap_len]=u=n,t.depth[n]=0):a[2*n+1]=0;for(;t.heap_len<2;)a[2*(r=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[r]=0,t.opt_len--,s&&(t.static_len-=i[2*r+1]);for(e.max_code=u,n=t.heap_len>>1;n>=1;n--)js(t,a,n);r=l;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],js(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=o,a[2*r]=a[2*n]+a[2*o],t.depth[r]=(t.depth[n]>=t.depth[o]?t.depth[n]:t.depth[o])+1,a[2*n+1]=a[2*o+1]=r,t.heap[1]=r++,js(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,o,r,a,i,s,l=e.dyn_tree,u=e.max_code,c=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,v=0;for(a=0;a<=ns;a++)t.bl_count[a]=0;for(l[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(a=l[2*l[2*(o=t.heap[n])+1]+1]+1)>p&&(a=p,v++),l[2*o+1]=a,o>u||(t.bl_count[a]++,i=0,o>=f&&(i=d[o-f]),s=l[2*o],t.opt_len+=s*(a+i),h&&(t.static_len+=s*(c[2*o+1]+i)));if(0!==v){do{for(a=p-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[p]--,v-=2}while(v>0);for(a=p;0!==a;a--)for(o=t.bl_count[a];0!==o;)(r=t.heap[--n])>u||(l[2*r+1]!==a&&(t.opt_len+=(a-l[2*r+1])*l[2*r],l[2*r+1]=a),o--)}}(t,e),xs(a,u,t.bl_count)}function Os(t,e,n){var o,r,a=-1,i=e[1],s=0,l=7,u=4;for(0===i&&(l=138,u=3),e[2*(n+1)+1]=65535,o=0;o<=n;o++)r=i,i=e[2*(o+1)+1],++s<l&&r===i||(s<u?t.bl_tree[2*r]+=s:0!==r?(r!==a&&t.bl_tree[2*r]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,a=r,0===i?(l=138,u=3):r===i?(l=6,u=3):(l=7,u=4))}function Ts(t,e,n){var o,r,a=-1,i=e[1],s=0,l=7,u=4;for(0===i&&(l=138,u=3),o=0;o<=n;o++)if(r=i,i=e[2*(o+1)+1],!(++s<l&&r===i)){if(s<u)do{_s(t,r,t.bl_tree)}while(0!=--s);else 0!==r?(r!==a&&(_s(t,r,t.bl_tree),s--),_s(t,16,t.bl_tree),bs(t,s-3,2)):s<=10?(_s(t,17,t.bl_tree),bs(t,s-3,3)):(_s(t,18,t.bl_tree),bs(t,s-11,7));s=0,a=r,0===i?(l=138,u=3):r===i?(l=6,u=3):(l=7,u=4)}}Qi(vs);var Ss=!1;function Es(t){Ss||(!function(){var t,e,n,o,r,a=new Array(16);for(n=0,o=0;o<28;o++)for(hs[o]=n,t=0;t<1<<os[o];t++)cs[n++]=o;for(cs[n-1]=o,r=0,o=0;o<16;o++)for(vs[o]=r,t=0;t<1<<rs[o];t++)us[r++]=o;for(r>>=7;o<es;o++)for(vs[o]=r<<7,t=0;t<1<<rs[o]-7;t++)us[256+r++]=o;for(e=0;e<=ns;e++)a[e]=0;for(t=0;t<=143;)ss[2*t+1]=8,t++,a[8]++;for(;t<=255;)ss[2*t+1]=9,t++,a[9]++;for(;t<=279;)ss[2*t+1]=7,t++,a[7]++;for(;t<=287;)ss[2*t+1]=8,t++,a[8]++;for(xs(ss,287,a),t=0;t<es;t++)ls[2*t+1]=5,ls[2*t]=Ms(t,5);ds=new gs(ss,os,257,ts,ns),fs=new gs(ls,rs,0,es,ns),ps=new gs(new Array(0),as,0,19,7)}(),Ss=!0),t.l_desc=new ms(t.dyn_ltree,ds),t.d_desc=new ms(t.dyn_dtree,fs),t.bl_desc=new ms(t.bl_tree,ps),t.bi_buf=0,t.bi_valid=0,As(t)}function Ls(t,e,n,o){bs(t,0+(o?1:0),3),function(t,e,n,o){Ps(t),o&&(ws(t,n),ws(t,~n)),Gi(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n,!0)}function Bs(t){bs(t,2,3),_s(t,256,ss),function(t){16===t.bi_valid?(ws(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}function Ns(t,e,n,o){var r,a,i=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<Ji;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),ks(t,t.l_desc),ks(t,t.d_desc),i=function(t){var e;for(Os(t,t.dyn_ltree,t.l_desc.max_code),Os(t,t.dyn_dtree,t.d_desc.max_code),ks(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*is[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=r&&(r=a)):r=a=n+5,n+4<=r&&-1!==e?Ls(t,e,n,o):4===t.strategy||a===r?(bs(t,2+(o?1:0),3),zs(t,ss,ls)):(bs(t,4+(o?1:0),3),function(t,e,n,o){var r;for(bs(t,e-257,5),bs(t,n-1,5),bs(t,o-4,4),r=0;r<o;r++)bs(t,t.bl_tree[2*is[r]+1],3);Ts(t,t.dyn_ltree,e-1),Ts(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,i+1),zs(t,t.dyn_ltree,t.dyn_dtree)),As(t),o&&Ps(t)}function Hs(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(cs[n]+Ji+1)]++,t.dyn_dtree[2*ys(e)]++),t.last_lit===t.lit_bufsize-1}function Rs(t,e,n,o){for(var r=65535&t|0,a=t>>>16&65535|0,i=0;0!==n;){n-=i=n>2e3?2e3:n;do{a=a+(r=r+e[o++]|0)|0}while(--i);r%=65521,a%=65521}return r|a<<16|0}var Vs=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var o=0;o<8;o++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();function Is(t,e,n,o){var r=Vs,a=o+n;t^=-1;for(var i=o;i<a;i++)t=t>>>8^r[255&(t^e[i])];return-1^t}var qs,Fs=-2,Ds=258,Us=262,$s=103,Ws=113,Zs=666;function Gs(t,e){return t.msg=Wi[e],e}function Ks(t){return(t<<1)-(t>4?9:0)}function Ys(t){for(var e=t.length;--e>=0;)t[e]=0}function Xs(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(Gi(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function Qs(t,e){Ns(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Xs(t.strm)}function Js(t,e){t.pending_buf[t.pending++]=e}function tl(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function el(t,e){var n,o,r=t.max_chain_length,a=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-Us?t.strstart-(t.w_size-Us):0,u=t.window,c=t.w_mask,h=t.prev,d=t.strstart+Ds,f=u[a+i-1],p=u[a+i];t.prev_length>=t.good_match&&(r>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(n=e)+i]===p&&u[n+i-1]===f&&u[n]===u[a]&&u[++n]===u[a+1]){a+=2,n++;do{}while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<d);if(o=Ds-(d-a),a=d-Ds,o>i){if(t.match_start=e,i=o,o>=s)break;f=u[a+i-1],p=u[a+i]}}}while((e=h[e&c])>l&&0!=--r);return i<=t.lookahead?i:t.lookahead}function nl(t){var e,n,o,r,a,i,s,l,u,c,h=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=h+(h-Us)){Gi(t.window,t.window,h,h,0),t.match_start-=h,t.strstart-=h,t.block_start-=h,e=n=t.hash_size;do{o=t.head[--e],t.head[e]=o>=h?o-h:0}while(--n);e=n=h;do{o=t.prev[--e],t.prev[e]=o>=h?o-h:0}while(--n);r+=h}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=r,c=void 0,(c=i.avail_in)>u&&(c=u),n=0===c?0:(i.avail_in-=c,Gi(s,i.input,i.next_in,c,l),1===i.state.wrap?i.adler=Rs(i.adler,s,c,l):2===i.state.wrap&&(i.adler=Is(i.adler,s,c,l)),i.next_in+=c,i.total_in+=c,c),t.lookahead+=n,t.lookahead+t.insert>=3)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+3-1])&t.hash_mask,t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<Us&&0!==t.strm.avail_in)}function ol(t,e){for(var n,o;;){if(t.lookahead<Us){if(nl(t),t.lookahead<Us&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-Us&&(t.match_length=el(t,n)),t.match_length>=3)if(o=Hs(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else o=Hs(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(o&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}function rl(t,e){for(var n,o,r;;){if(t.lookahead<Us){if(nl(t),t.lookahead<Us&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-Us&&(t.match_length=el(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,o=Hs(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,o&&(Qs(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((o=Hs(t,0,t.window[t.strstart-1]))&&Qs(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(o=Hs(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}function al(t,e,n,o,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=o,this.func=r}function il(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Yi(1146),this.dyn_dtree=new Yi(122),this.bl_tree=new Yi(78),Ys(this.dyn_ltree),Ys(this.dyn_dtree),Ys(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Yi(16),this.heap=new Yi(573),Ys(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Yi(573),Ys(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function sl(t){var e=function(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:Ws,t.adler=2===e.wrap?0:1,e.last_flush=0,Es(e),0):Gs(t,Fs)}(t);return 0===e&&function(t){t.window_size=2*t.w_size,Ys(t.head),t.max_lazy_match=qs[t.level].max_lazy,t.good_match=qs[t.level].good_length,t.nice_match=qs[t.level].nice_length,t.max_chain_length=qs[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0}(t.state),e}function ll(t,e){var n,o,r,a;if(!t||!t.state||e>5||e<0)return t?Gs(t,Fs):Fs;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||o.status===Zs&&4!==e)return Gs(t,0===t.avail_out?-5:Fs);if(o.strm=t,n=o.last_flush,o.last_flush=e,42===o.status)if(2===o.wrap)t.adler=0,Js(o,31),Js(o,139),Js(o,8),o.gzhead?(Js(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),Js(o,255&o.gzhead.time),Js(o,o.gzhead.time>>8&255),Js(o,o.gzhead.time>>16&255),Js(o,o.gzhead.time>>24&255),Js(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),Js(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(Js(o,255&o.gzhead.extra.length),Js(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=Is(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(Js(o,0),Js(o,0),Js(o,0),Js(o,0),Js(o,0),Js(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),Js(o,3),o.status=Ws);else{var i=8+(o.w_bits-8<<4)<<8;i|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(i|=32),i+=31-i%31,o.status=Ws,tl(o,i),0!==o.strstart&&(tl(o,t.adler>>>16),tl(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(r=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),Xs(t),r=o.pending,o.pending!==o.pending_buf_size));)Js(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){r=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),Xs(t),r=o.pending,o.pending===o.pending_buf_size)){a=1;break}a=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,Js(o,a)}while(0!==a);o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),0===a&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){r=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),Xs(t),r=o.pending,o.pending===o.pending_buf_size)){a=1;break}a=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,Js(o,a)}while(0!==a);o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),0===a&&(o.status=$s)}else o.status=$s;if(o.status===$s&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Xs(t),o.pending+2<=o.pending_buf_size&&(Js(o,255&t.adler),Js(o,t.adler>>8&255),t.adler=0,o.status=Ws)):o.status=Ws),0!==o.pending){if(Xs(t),0===t.avail_out)return o.last_flush=-1,0}else if(0===t.avail_in&&Ks(e)<=Ks(n)&&4!==e)return Gs(t,-5);if(o.status===Zs&&0!==t.avail_in)return Gs(t,-5);if(0!==t.avail_in||0!==o.lookahead||0!==e&&o.status!==Zs){var s=2===o.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(nl(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=Hs(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}(o,e):3===o.strategy?function(t,e){for(var n,o,r,a,i=t.window;;){if(t.lookahead<=Ds){if(nl(t),t.lookahead<=Ds&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(o=i[r=t.strstart-1])===i[++r]&&o===i[++r]&&o===i[++r]){a=t.strstart+Ds;do{}while(o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&r<a);t.match_length=Ds-(a-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=Hs(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=Hs(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}(o,e):qs[o.level].func(o,e);if(3!==s&&4!==s||(o.status=Zs),1===s||3===s)return 0===t.avail_out&&(o.last_flush=-1),0;if(2===s&&(1===e?Bs(o):5!==e&&(Ls(o,0,0,!1),3===e&&(Ys(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),Xs(t),0===t.avail_out))return o.last_flush=-1,0}return 4!==e?0:o.wrap<=0?1:(2===o.wrap?(Js(o,255&t.adler),Js(o,t.adler>>8&255),Js(o,t.adler>>16&255),Js(o,t.adler>>24&255),Js(o,255&t.total_in),Js(o,t.total_in>>8&255),Js(o,t.total_in>>16&255),Js(o,t.total_in>>24&255)):(tl(o,t.adler>>>16),tl(o,65535&t.adler)),Xs(t),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)}qs=[new al(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nl(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var o=t.block_start+n;if((0===t.strstart||t.strstart>=o)&&(t.lookahead=t.strstart-o,t.strstart=o,Qs(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-Us&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Qs(t,!1),t.strm.avail_out),1)})),new al(4,4,8,4,ol),new al(4,5,16,8,ol),new al(4,6,32,32,ol),new al(4,4,16,16,rl),new al(8,16,32,32,rl),new al(8,16,128,128,rl),new al(8,32,128,256,rl),new al(32,128,258,1024,rl),new al(32,258,258,4096,rl)];function ul(t,e){var n,o,r,a,i,s,l,u,c,h,d,f,p,v,g,m,y,w,b,_,M,x,A,P,C;n=t.state,o=t.next_in,P=t.input,r=o+(t.avail_in-5),a=t.next_out,C=t.output,i=a-(e-t.avail_out),s=a+(t.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;t:do{p<15&&(f+=P[o++]<<p,p+=8,f+=P[o++]<<p,p+=8),w=v[f&m];e:for(;;){if(f>>>=b=w>>>24,p-=b,0===(b=w>>>16&255))C[a++]=65535&w;else{if(!(16&b)){if(0==(64&b)){w=v[(65535&w)+(f&(1<<b)-1)];continue e}if(32&b){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}_=65535&w,(b&=15)&&(p<b&&(f+=P[o++]<<p,p+=8),_+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=P[o++]<<p,p+=8,f+=P[o++]<<p,p+=8),w=g[f&y];n:for(;;){if(f>>>=b=w>>>24,p-=b,!(16&(b=w>>>16&255))){if(0==(64&b)){w=g[(65535&w)+(f&(1<<b)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(M=65535&w,p<(b&=15)&&(f+=P[o++]<<p,(p+=8)<b&&(f+=P[o++]<<p,p+=8)),(M+=f&(1<<b)-1)>l){t.msg="invalid distance too far back",n.mode=30;break t}if(f>>>=b,p-=b,M>(b=a-i)){if((b=M-b)>c&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(x=0,A=d,0===h){if(x+=u-b,b<_){_-=b;do{C[a++]=d[x++]}while(--b);x=a-M,A=C}}else if(h<b){if(x+=u+h-b,(b-=h)<_){_-=b;do{C[a++]=d[x++]}while(--b);if(x=0,h<_){_-=b=h;do{C[a++]=d[x++]}while(--b);x=a-M,A=C}}}else if(x+=h-b,b<_){_-=b;do{C[a++]=d[x++]}while(--b);x=a-M,A=C}for(;_>2;)C[a++]=A[x++],C[a++]=A[x++],C[a++]=A[x++],_-=3;_&&(C[a++]=A[x++],_>1&&(C[a++]=A[x++]))}else{x=a-M;do{C[a++]=C[x++],C[a++]=C[x++],C[a++]=C[x++],_-=3}while(_>2);_&&(C[a++]=C[x++],_>1&&(C[a++]=C[x++]))}break}}break}}while(o<r&&a<s);o-=_=p>>3,f&=(1<<(p-=_<<3))-1,t.next_in=o,t.next_out=a,t.avail_in=o<r?r-o+5:5-(o-r),t.avail_out=a<s?s-a+257:257-(a-s),n.hold=f,n.bits=p}var cl=15,hl=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],dl=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],fl=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],pl=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function vl(t,e,n,o,r,a,i,s){var l,u,c,h,d,f,p,v,g,m=s.bits,y=0,w=0,b=0,_=0,M=0,x=0,A=0,P=0,C=0,j=0,z=null,k=0,O=new Yi(16),T=new Yi(16),S=null,E=0;for(y=0;y<=cl;y++)O[y]=0;for(w=0;w<o;w++)O[e[n+w]]++;for(M=m,_=cl;_>=1&&0===O[_];_--);if(M>_&&(M=_),0===_)return r[a++]=20971520,r[a++]=20971520,s.bits=1,0;for(b=1;b<_&&0===O[b];b++);for(M<b&&(M=b),P=1,y=1;y<=cl;y++)if(P<<=1,(P-=O[y])<0)return-1;if(P>0&&(0===t||1!==_))return-1;for(T[1]=0,y=1;y<cl;y++)T[y+1]=T[y]+O[y];for(w=0;w<o;w++)0!==e[n+w]&&(i[T[e[n+w]]++]=w);if(0===t?(z=S=i,f=19):1===t?(z=hl,k-=257,S=dl,E-=257,f=256):(z=fl,S=pl,f=-1),j=0,w=0,y=b,d=a,x=M,A=0,c=-1,h=(C=1<<M)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){p=y-A,i[w]<f?(v=0,g=i[w]):i[w]>f?(v=S[E+i[w]],g=z[k+i[w]]):(v=96,g=0),l=1<<y-A,b=u=1<<x;do{r[d+(j>>A)+(u-=l)]=p<<24|v<<16|g|0}while(0!==u);for(l=1<<y-1;j&l;)l>>=1;if(0!==l?(j&=l-1,j+=l):j=0,w++,0==--O[y]){if(y===_)break;y=e[n+i[w]]}if(y>M&&(j&h)!==c){for(0===A&&(A=M),d+=b,P=1<<(x=y-A);x+A<_&&!((P-=O[x+A])<=0);)x++,P<<=1;if(C+=1<<x,1===t&&C>852||2===t&&C>592)return 1;r[c=j&h]=M<<24|x<<16|d-a|0}}return 0!==j&&(r[d+j]=y-A<<24|64<<16|0),s.bits=M,0}var gl=-2,ml=12,yl=30;function wl(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function bl(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Yi(320),this.work=new Yi(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _l(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,function(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Xi(852),e.distcode=e.distdyn=new Xi(592),e.sane=1,e.back=-1,0):gl}(t)):gl}function Ml(t,e){var n,o;return t?(o=new bl,t.state=o,o.window=null,n=function(t,e){var n,o;return t&&t.state?(o=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?gl:(null!==o.window&&o.wbits!==e&&(o.window=null),o.wrap=n,o.wbits=e,_l(t))):gl}(t,e),0!==n&&(t.state=null),n):gl}var xl,Al,Pl=!0;function Cl(t){if(Pl){var e;for(xl=new Xi(512),Al=new Xi(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(vl(1,t.lens,0,288,xl,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;vl(2,t.lens,0,32,Al,0,t.work,{bits:5}),Pl=!1}t.lencode=xl,t.lenbits=9,t.distcode=Al,t.distbits=5}function jl(t,e){var n,o,r,a,i,s,l,u,c,h,d,f,p,v,g,m,y,w,b,_,M,x,A,P,C=0,j=new Ki(4),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return gl;(n=t.state).mode===ml&&(n.mode=13),i=t.next_out,r=t.output,l=t.avail_out,a=t.next_in,o=t.input,s=t.avail_in,u=n.hold,c=n.bits,h=s,d=l,x=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(2&n.wrap&&35615===u){n.check=0,j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg="incorrect header check",n.mode=yl;break}if(8!=(15&u)){t.msg="unknown compression method",n.mode=yl;break}if(c-=4,M=8+(15&(u>>>=4)),0===n.wbits)n.wbits=M;else if(M>n.wbits){t.msg="invalid window size",n.mode=yl;break}n.dmax=1<<M,t.adler=n.check=1,n.mode=512&u?10:ml,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(n.flags=u,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=yl;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=yl;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,j[2]=u>>>16&255,j[3]=u>>>24&255,n.check=Is(n.check,j,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(M=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Gi(n.head.extra,o,a,f,M)),512&n.flags&&(n.check=Is(n.check,o,f,a)),s-=f,a+=f,n.length-=f),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break t;f=0;do{M=o[a+f++],n.head&&M&&n.length<65536&&(n.head.name+=String.fromCharCode(M))}while(M&&f<s);if(512&n.flags&&(n.check=Is(n.check,o,f,a)),s-=f,a+=f,M)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break t;f=0;do{M=o[a+f++],n.head&&M&&n.length<65536&&(n.head.comment+=String.fromCharCode(M))}while(M&&f<s);if(512&n.flags&&(n.check=Is(n.check,o,f,a)),s-=f,a+=f,M)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(u!==(65535&n.check)){t.msg="header crc mismatch",n.mode=yl;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=ml;break;case 10:for(;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}t.adler=n.check=wl(u),u=0,c=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=i,t.avail_out=l,t.next_in=a,t.avail_in=s,n.hold=u,n.bits=c,2;t.adler=n.check=1,n.mode=ml;case ml:if(5===e||6===e)break t;case 13:if(n.last){u>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=14;break;case 1:if(Cl(n),n.mode=20,6===e){u>>>=2,c-=2;break t}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=yl}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){t.msg="invalid stored block lengths",n.mode=yl;break}if(n.length=65535&u,u=0,c=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break t;Gi(r,o,a,f,i),s-=f,a+=f,l-=f,i+=f,n.length-=f;break}n.mode=ml;break;case 17:for(;c<14;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(n.nlen=257+(31&u),u>>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=yl;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.lens[z[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,A={bits:n.lenbits},x=vl(0,n.lens,0,19,n.lencode,0,n.work,A),n.lenbits=A.bits,x){t.msg="invalid code lengths set",n.mode=yl;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;m=(C=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,y=65535&C,!((g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(y<16)u>>>=g,c-=g,n.lens[n.have++]=y;else{if(16===y){for(P=g+2;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(u>>>=g,c-=g,0===n.have){t.msg="invalid bit length repeat",n.mode=yl;break}M=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===y){for(P=g+3;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}c-=g,M=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(P=g+7;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}c-=g,M=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=yl;break}for(;f--;)n.lens[n.have++]=M}}if(n.mode===yl)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=yl;break}if(n.lenbits=9,A={bits:n.lenbits},x=vl(1,n.lens,0,n.nlen,n.lencode,0,n.work,A),n.lenbits=A.bits,x){t.msg="invalid literal/lengths set",n.mode=yl;break}if(n.distbits=6,n.distcode=n.distdyn,A={bits:n.distbits},x=vl(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,A),n.distbits=A.bits,x){t.msg="invalid distances set",n.mode=yl;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(s>=6&&l>=258){t.next_out=i,t.avail_out=l,t.next_in=a,t.avail_in=s,n.hold=u,n.bits=c,ul(t,d),i=t.next_out,r=t.output,l=t.avail_out,a=t.next_in,o=t.input,s=t.avail_in,u=n.hold,c=n.bits,n.mode===ml&&(n.back=-1);break}for(n.back=0;m=(C=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,y=65535&C,!((g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(m&&0==(240&m)){for(w=g,b=m,_=y;m=(C=n.lencode[_+((u&(1<<w+b)-1)>>w)])>>>16&255,y=65535&C,!(w+(g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}u>>>=w,c-=w,n.back+=w}if(u>>>=g,c-=g,n.back+=g,n.length=y,0===m){n.mode=26;break}if(32&m){n.back=-1,n.mode=ml;break}if(64&m){t.msg="invalid literal/length code",n.mode=yl;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(P=n.extra;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(C=n.distcode[u&(1<<n.distbits)-1])>>>16&255,y=65535&C,!((g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(0==(240&m)){for(w=g,b=m,_=y;m=(C=n.distcode[_+((u&(1<<w+b)-1)>>w)])>>>16&255,y=65535&C,!(w+(g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}u>>>=w,c-=w,n.back+=w}if(u>>>=g,c-=g,n.back+=g,64&m){t.msg="invalid distance code",n.mode=yl;break}n.offset=y,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(P=n.extra;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=yl;break}n.mode=25;case 25:if(0===l)break t;if(f=d-l,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=yl;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),v=n.window}else v=r,p=i-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{r[i++]=v[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break t;r[i++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(0===s)break t;s--,u|=o[a++]<<c,c+=8}if(d-=l,t.total_out+=d,n.total+=d,d&&(t.adler=n.check=n.flags?Is(n.check,r,d,i-d):Rs(n.check,r,d,i-d)),d=l,(n.flags?u:wl(u))!==n.check){t.msg="incorrect data check",n.mode=yl;break}u=0,c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(u!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=yl;break}u=0,c=0}n.mode=29;case 29:x=1;break t;case yl:x=-3;break t;case 31:return-4;default:return gl}return t.next_out=i,t.avail_out=l,t.next_in=a,t.avail_in=s,n.hold=u,n.bits=c,(n.wsize||d!==t.avail_out&&n.mode<yl&&(n.mode<27||4!==e))&&function(t,e,n,o){var r,a=t.state;null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ki(a.wsize)),o>=a.wsize?(Gi(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((r=a.wsize-a.wnext)>o&&(r=o),Gi(a.window,e,n-o,r,a.wnext),(o-=r)?(Gi(a.window,e,n-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r)))}(t,t.output,t.next_out,d-t.avail_out),h-=t.avail_in,d-=t.avail_out,t.total_in+=h,t.total_out+=d,n.total+=d,n.wrap&&d&&(t.adler=n.check=n.flags?Is(n.check,r,d,t.next_out-d):Rs(n.check,r,d,t.next_out-d)),t.data_type=n.bits+(n.last?64:0)+(n.mode===ml?128:0)+(20===n.mode||15===n.mode?256:0),(0===h&&0===d||4===e)&&0===x&&(x=-5),x}var zl;function kl(t){if(t<1||t>7)throw new TypeError("Bad argument");this.mode=t,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function Ol(t,e){for(var n=0;n<t.length;n++)this[e+n]=t[n]}kl.prototype.init=function(t,e,n,o,r){var a;switch(this.windowBits=t,this.level=e,this.memLevel=n,this.strategy=o,3!==this.mode&&4!==this.mode||(this.windowBits+=16),7===this.mode&&(this.windowBits+=32),5!==this.mode&&6!==this.mode||(this.windowBits=-this.windowBits),this.strm=new Zi,this.mode){case 1:case 3:case 5:a=function(t,e,n,o,r,a){if(!t)return Fs;var i=1;if(-1===e&&(e=6),o<0?(i=0,o=-o):o>15&&(i=2,o-=16),r<1||r>9||8!==n||o<8||o>15||e<0||e>9||a<0||a>4)return Gs(t,Fs);8===o&&(o=9);var s=new il;return t.state=s,s.strm=t,s.wrap=i,s.gzhead=null,s.w_bits=o,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=r+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Ki(2*s.w_size),s.head=new Yi(s.hash_size),s.prev=new Yi(s.w_size),s.lit_bufsize=1<<r+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Ki(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=a,s.method=n,sl(t)}(this.strm,this.level,8,this.windowBits,this.memLevel,this.strategy);break;case 2:case 4:case 6:case 7:a=Ml(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}0===a?(this.write_in_progress=!1,this.init_done=!0):this._error(a)},kl.prototype.params=function(){throw new Error("deflateParams Not supported")},kl.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(0===this.mode)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},kl.prototype.write=function(t,e,n,o,r,a,i){this._writeCheck(),this.write_in_progress=!0;var s=this;return $e.nextTick((function(){s.write_in_progress=!1;var l=s._write(t,e,n,o,r,a,i);s.callback(l[0],l[1]),s.pending_close&&s.close()})),this},kl.prototype.writeSync=function(t,e,n,o,r,a,i){return this._writeCheck(),this._write(t,e,n,o,r,a,i)},kl.prototype._write=function(t,e,n,o,r,a,i){if(this.write_in_progress=!0,0!==t&&1!==t&&2!==t&&3!==t&&4!==t&&5!==t)throw new Error("Invalid flush value");null==e&&(e=new yn(0),o=0,n=0),r._set?r.set=r._set:r.set=Ol;var s,l=this.strm;switch(l.avail_in=o,l.input=e,l.next_in=n,l.avail_out=i,l.output=r,l.next_out=a,this.mode){case 1:case 3:case 5:s=ll(l,t);break;case 7:case 2:case 4:case 6:s=jl(l,t);break;default:throw new Error("Unknown mode "+this.mode)}return 1!==s&&0!==s&&this._error(s),this.write_in_progress=!1,[l.avail_in,l.avail_out]},kl.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,1===this.mode||3===this.mode||5===this.mode?function(t){var e;t&&t.state&&(42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&e!==$s&&e!==Ws&&e!==Zs?Gs(t,Fs):(t.state=null,e===Ws&&Gs(t,-3)))}(this.strm):function(t){if(!t||!t.state)return gl;var e=t.state;e.window&&(e.window=null),t.state=null}(this.strm),this.mode=0)},kl.prototype.reset=function(){switch(this.mode){case 1:case 5:zl=sl(this.strm);break;case 2:case 6:zl=_l(this.strm)}0!==zl&&this._error(zl)},kl.prototype._error=function(t){this.onerror(Wi[t]+": "+this.strm.msg,t),this.write_in_progress=!1,this.pending_close&&this.close()};var Tl=Object.freeze({__proto__:null,NONE:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8,Zlib:kl});var Sl={};Object.keys(Tl).forEach((function(t){Sl[t]=Tl[t]})),Sl.Z_MIN_WINDOWBITS=8,Sl.Z_MAX_WINDOWBITS=15,Sl.Z_DEFAULT_WINDOWBITS=15,Sl.Z_MIN_CHUNK=64,Sl.Z_MAX_CHUNK=1/0,Sl.Z_DEFAULT_CHUNK=16384,Sl.Z_MIN_MEMLEVEL=1,Sl.Z_MAX_MEMLEVEL=9,Sl.Z_DEFAULT_MEMLEVEL=8,Sl.Z_MIN_LEVEL=-1,Sl.Z_MAX_LEVEL=9,Sl.Z_DEFAULT_LEVEL=Sl.Z_DEFAULT_COMPRESSION;var El={Z_OK:Sl.Z_OK,Z_STREAM_END:Sl.Z_STREAM_END,Z_NEED_DICT:Sl.Z_NEED_DICT,Z_ERRNO:Sl.Z_ERRNO,Z_STREAM_ERROR:Sl.Z_STREAM_ERROR,Z_DATA_ERROR:Sl.Z_DATA_ERROR,Z_MEM_ERROR:Sl.Z_MEM_ERROR,Z_BUF_ERROR:Sl.Z_BUF_ERROR,Z_VERSION_ERROR:Sl.Z_VERSION_ERROR};function Ll(t,e,n){var o=[],r=0;function a(){for(var e;null!==(e=t.read());)o.push(e),r+=e.length;t.once("readable",a)}function i(){var e=yn.concat(o,r);o=[],n(null,e),t.close()}t.on("error",(function(e){t.removeListener("end",i),t.removeListener("readable",a),n(e)})),t.on("end",i),t.end(e),a()}function Bl(t,e){if("string"==typeof e&&(e=new yn(e)),!yn.isBuffer(e))throw new TypeError("Not a string or buffer");var n=Sl.Z_FINISH;return t._processChunk(e,n)}function Nl(t){if(!(this instanceof Nl))return new Nl(t);Dl.call(this,t,Sl.DEFLATE)}function Hl(t){if(!(this instanceof Hl))return new Hl(t);Dl.call(this,t,Sl.INFLATE)}function Rl(t){if(!(this instanceof Rl))return new Rl(t);Dl.call(this,t,Sl.GZIP)}function Vl(t){if(!(this instanceof Vl))return new Vl(t);Dl.call(this,t,Sl.GUNZIP)}function Il(t){if(!(this instanceof Il))return new Il(t);Dl.call(this,t,Sl.DEFLATERAW)}function ql(t){if(!(this instanceof ql))return new ql(t);Dl.call(this,t,Sl.INFLATERAW)}function Fl(t){if(!(this instanceof Fl))return new Fl(t);Dl.call(this,t,Sl.UNZIP)}function Dl(t,e){if(this._opts=t=t||{},this._chunkSize=t.chunkSize||Sl.Z_DEFAULT_CHUNK,Zr.call(this,t),t.flush&&t.flush!==Sl.Z_NO_FLUSH&&t.flush!==Sl.Z_PARTIAL_FLUSH&&t.flush!==Sl.Z_SYNC_FLUSH&&t.flush!==Sl.Z_FULL_FLUSH&&t.flush!==Sl.Z_FINISH&&t.flush!==Sl.Z_BLOCK)throw new Error("Invalid flush flag: "+t.flush);if(this._flushFlag=t.flush||Sl.Z_NO_FLUSH,t.chunkSize&&(t.chunkSize<Sl.Z_MIN_CHUNK||t.chunkSize>Sl.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBits<Sl.Z_MIN_WINDOWBITS||t.windowBits>Sl.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.level<Sl.Z_MIN_LEVEL||t.level>Sl.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevel<Sl.Z_MIN_MEMLEVEL||t.memLevel>Sl.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=Sl.Z_FILTERED&&t.strategy!=Sl.Z_HUFFMAN_ONLY&&t.strategy!=Sl.Z_RLE&&t.strategy!=Sl.Z_FIXED&&t.strategy!=Sl.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!yn.isBuffer(t.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new Sl.Zlib(e);var n=this;this._hadError=!1,this._binding.onerror=function(t,e){n._binding=null,n._hadError=!0;var o=new Error(t);o.errno=e,o.code=Sl.codes[e],n.emit("error",o)};var o=Sl.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(o=t.level);var r=Sl.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(r=t.strategy),this._binding.init(t.windowBits||Sl.Z_DEFAULT_WINDOWBITS,o,t.memLevel||Sl.Z_DEFAULT_MEMLEVEL,r,t.dictionary),this._buffer=new yn(this._chunkSize),this._offset=0,this._closed=!1,this._level=o,this._strategy=r,this.once("end",this.close)}Object.keys(El).forEach((function(t){El[El[t]]=t})),go(Dl,Zr),Dl.prototype.params=function(t,e,n){if(t<Sl.Z_MIN_LEVEL||t>Sl.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(e!=Sl.Z_FILTERED&&e!=Sl.Z_HUFFMAN_ONLY&&e!=Sl.Z_RLE&&e!=Sl.Z_FIXED&&e!=Sl.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+e);if(this._level!==t||this._strategy!==e){var o=this;this.flush(Sl.Z_SYNC_FLUSH,(function(){o._binding.params(t,e),o._hadError||(o._level=t,o._strategy=e,n&&n())}))}else $e.nextTick(n)},Dl.prototype.reset=function(){return this._binding.reset()},Dl.prototype._flush=function(t){this._transform(new yn(0),"",t)},Dl.prototype.flush=function(t,e){var n=this._writableState;if(("function"==typeof t||void 0===t&&!e)&&(e=t,t=Sl.Z_FULL_FLUSH),n.ended)e&&$e.nextTick(e);else if(n.ending)e&&this.once("end",e);else if(n.needDrain){var o=this;this.once("drain",(function(){o.flush(e)}))}else this._flushFlag=t,this.write(new yn(0),"",e)},Dl.prototype.close=function(t){if(t&&$e.nextTick(t),!this._closed){this._closed=!0,this._binding.close();var e=this;$e.nextTick((function(){e.emit("close")}))}},Dl.prototype._transform=function(t,e,n){var o,r=this._writableState,a=(r.ending||r.ended)&&(!t||r.length===t.length);if(null===!t&&!yn.isBuffer(t))return n(new Error("invalid input"));a?o=Sl.Z_FINISH:(o=this._flushFlag,t.length>=r.length&&(this._flushFlag=this._opts.flush||Sl.Z_NO_FLUSH)),this._processChunk(t,o,n)},Dl.prototype._processChunk=function(t,e,n){var o=t&&t.length,r=this._chunkSize-this._offset,a=0,i=this,s="function"==typeof n;if(!s){var l,u=[],c=0;this.on("error",(function(t){l=t}));do{var h=this._binding.writeSync(e,t,a,o,this._buffer,this._offset,r)}while(!this._hadError&&p(h[0],h[1]));if(this._hadError)throw l;var d=yn.concat(u,c);return this.close(),d}var f=this._binding.write(e,t,a,o,this._buffer,this._offset,r);function p(l,h){if(!i._hadError){var d=r-h;if(function(t,e){if(!t)throw new Error(e)}(d>=0,"have should not go down"),d>0){var f=i._buffer.slice(i._offset,i._offset+d);i._offset+=d,s?i.push(f):(u.push(f),c+=f.length)}if((0===h||i._offset>=i._chunkSize)&&(r=i._chunkSize,i._offset=0,i._buffer=new yn(i._chunkSize)),0===h){if(a+=o-l,o=l,!s)return!0;var v=i._binding.write(e,t,a,o,i._buffer,i._offset,i._chunkSize);return v.callback=p,void(v.buffer=t)}if(!s)return!1;n()}}f.buffer=t,f.callback=p},go(Nl,Dl),go(Hl,Dl),go(Rl,Dl),go(Vl,Dl),go(Il,Dl),go(ql,Dl),go(Fl,Dl);var Ul={codes:El,createDeflate:function(t){return new Nl(t)},createInflate:function(t){return new Hl(t)},createDeflateRaw:function(t){return new Il(t)},createInflateRaw:function(t){return new ql(t)},createGzip:function(t){return new Rl(t)},createGunzip:function(t){return new Vl(t)},createUnzip:function(t){return new Fl(t)},deflate:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Nl(e),t,n)},deflateSync:function(t,e){return Bl(new Nl(e),t)},gzip:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Rl(e),t,n)},gzipSync:function(t,e){return Bl(new Rl(e),t)},deflateRaw:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Il(e),t,n)},deflateRawSync:function(t,e){return Bl(new Il(e),t)},unzip:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Fl(e),t,n)},unzipSync:function(t,e){return Bl(new Fl(e),t)},inflate:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Hl(e),t,n)},inflateSync:function(t,e){return Bl(new Hl(e),t)},gunzip:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Vl(e),t,n)},gunzipSync:function(t,e){return Bl(new Vl(e),t)},inflateRaw:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new ql(e),t,n)},inflateRawSync:function(t,e){return Bl(new ql(e),t)},Deflate:Nl,Inflate:Hl,Gzip:Rl,Gunzip:Vl,DeflateRaw:Il,InflateRaw:ql,Unzip:Fl,Zlib:Dl},$l="0.26.1",Wl=Ui.http,Zl=Ui.https,Gl=$l,Kl=/https:?/;function Yl(t,e,n){if(t.hostname=e.host,t.host=e.host,t.port=e.port,t.path=n,e.auth){var o=yn.from(e.auth.username+":"+e.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+o}t.beforeRedirect=function(t){t.headers.host=t.host,Yl(t,e,t.href)}}var Xl=function(t){return new Promise((function(e,n){var o;function r(){t.cancelToken&&t.cancelToken.unsubscribe(o),t.signal&&t.signal.removeEventListener("abort",o)}var a=function(t){r(),e(t)},i=!1,s=function(t){r(),i=!0,n(t)},l=t.data,u=t.headers,c={};if(Object.keys(u).forEach((function(t){c[t.toLowerCase()]=t})),"user-agent"in c?u[c["user-agent"]]||delete u[c["user-agent"]]:u["User-Agent"]="axios/"+Gl,l&&!ve.isStream(l)){if(yn.isBuffer(l));else if(ve.isArrayBuffer(l))l=yn.from(new Uint8Array(l));else{if(!ve.isString(l))return s(Ke("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));l=yn.from(l,"utf-8")}if(t.maxBodyLength>-1&&l.length>t.maxBodyLength)return s(Ke("Request body larger than maxBodyLength limit",t));c["content-length"]||(u["Content-Length"]=l.length)}var h=void 0;t.auth&&(h=(t.auth.username||"")+":"+(t.auth.password||""));var d=Qe(t.baseURL,t.url),f=ya.parse(d),p=f.protocol||"http:";if(!h&&f.auth){var v=f.auth.split(":");h=(v[0]||"")+":"+(v[1]||"")}h&&c.authorization&&delete u[c.authorization];var g=Kl.test(p),m=g?t.httpsAgent:t.httpAgent;try{me(f.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(e){var y=new Error(e.message);y.config=t,y.url=t.url,y.exists=!0,s(y)}var w={path:me(f.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:u,agent:m,agents:{http:t.httpAgent,https:t.httpsAgent},auth:h};t.socketPath?w.socketPath=t.socketPath:(w.hostname=f.hostname,w.port=f.port);var b,_=t.proxy;if(!_&&!1!==_){var M=p.slice(0,-1)+"_proxy",x=$e.env[M]||$e.env[M.toUpperCase()];if(x){var A=ya.parse(x),P=$e.env.no_proxy||$e.env.NO_PROXY,C=!0;if(P){var j=P.split(",").map((function(t){return t.trim()}));C=!j.some((function(t){return!!t&&("*"===t||("."===t[0]&&f.hostname.substr(f.hostname.length-t.length)===t||f.hostname===t))}))}if(C&&(_={host:A.hostname,port:A.port,protocol:A.protocol},A.auth)){var z=A.auth.split(":");_.auth={username:z[0],password:z[1]}}}}_&&(w.headers.host=f.hostname+(f.port?":"+f.port:""),Yl(w,_,p+"//"+f.hostname+(f.port?":"+f.port:"")+w.path));var k=g&&(!_||Kl.test(_.protocol));t.transport?b=t.transport:0===t.maxRedirects?b=Ra:(t.maxRedirects&&(w.maxRedirects=t.maxRedirects),b=k?Zl:Wl),t.maxBodyLength>-1&&(w.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(w.insecureHTTPParser=t.insecureHTTPParser);var O=b.request(w,(function(e){if(!O.aborted){var n=e,o=e.req||O;if(204!==e.statusCode&&"HEAD"!==o.method&&!1!==t.decompress)switch(e.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(Ul.createUnzip()),delete e.headers["content-encoding"]}var r={status:e.statusCode,statusText:e.statusMessage,headers:e.headers,config:t,request:o};if("stream"===t.responseType)r.data=n,Ye(a,s,r);else{var l=[],u=0;n.on("data",(function(e){l.push(e),u+=e.length,t.maxContentLength>-1&&u>t.maxContentLength&&(i=!0,n.destroy(),s(Ke("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,o)))})),n.on("aborted",(function(){i||(n.destroy(),s(Ke("error request aborted",t,"ERR_REQUEST_ABORTED",o)))})),n.on("error",(function(e){O.aborted||s(Ze(e,t,null,o))})),n.on("end",(function(){try{var e=1===l.length?l[0]:yn.concat(l);"arraybuffer"!==t.responseType&&(e=e.toString(t.responseEncoding),t.responseEncoding&&"utf8"!==t.responseEncoding||(e=ve.stripBOM(e))),r.data=e}catch(e){s(Ze(e,t,e.code,r.request,r))}Ye(a,s,r)}))}}}));if(O.on("error",(function(e){O.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==e.code||s(Ze(e,t,null,O))})),O.on("socket",(function(t){t.setKeepAlive(!0,6e4)})),t.timeout){var T=parseInt(t.timeout,10);if(isNaN(T))return void s(Ke("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",O));O.setTimeout(T,(function(){O.abort();var e="";e=t.timeoutErrorMessage?t.timeoutErrorMessage:"timeout of "+t.timeout+"ms exceeded";var n=t.transitional||Ge;s(Ke(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",O))}))}(t.cancelToken||t.signal)&&(o=function(t){O.aborted||(O.abort(),s(!t||t&&t.type?new nn("canceled"):t))},t.cancelToken&&t.cancelToken.subscribe(o),t.signal&&(t.signal.aborted?o():t.signal.addEventListener("abort",o))),ve.isStream(l)?l.on("error",(function(e){s(Ze(e,t,null,O))})).pipe(O):O.end(l)}))},Ql={"Content-Type":"application/x-www-form-urlencoded"};function Jl(t,e){!ve.isUndefined(t)&&ve.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var tu,eu={transitional:Ge,adapter:("undefined"!=typeof XMLHttpRequest?tu=on:void 0!==$e&&"[object process]"===Object.prototype.toString.call($e)&&(tu=Xl),tu),transformRequest:[function(t,e){return We(e,"Accept"),We(e,"Content-Type"),ve.isFormData(t)||ve.isArrayBuffer(t)||ve.isBuffer(t)||ve.isStream(t)||ve.isFile(t)||ve.isBlob(t)?t:ve.isArrayBufferView(t)?t.buffer:ve.isURLSearchParams(t)?(Jl(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ve.isObject(t)||e&&"application/json"===e["Content-Type"]?(Jl(e,"application/json"),function(t,e,n){if(ve.isString(t))try{return(e||JSON.parse)(t),ve.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||eu.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||o&&ve.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw Ze(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ve.forEach(["delete","get","head"],(function(t){eu.headers[t]={}})),ve.forEach(["post","put","patch"],(function(t){eu.headers[t]=ve.merge(Ql)}));var nu=eu,ou=function(t,e,n){var o=this||nu;return ve.forEach(n,(function(n){t=n.call(o,t,e)})),t},ru=function(t){return!(!t||!t.__CANCEL__)};function au(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new nn("canceled")}var iu=function(t){return au(t),t.headers=t.headers||{},t.data=ou.call(t,t.data,t.headers,t.transformRequest),t.headers=ve.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),ve.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||nu.adapter)(t).then((function(e){return au(t),e.data=ou.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return ru(e)||(au(t),e&&e.response&&(e.response.data=ou.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},su=function(t,e){e=e||{};var n={};function o(t,e){return ve.isPlainObject(t)&&ve.isPlainObject(e)?ve.merge(t,e):ve.isPlainObject(e)?ve.merge({},e):ve.isArray(e)?e.slice():e}function r(n){return ve.isUndefined(e[n])?ve.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function a(t){if(!ve.isUndefined(e[t]))return o(void 0,e[t])}function i(n){return ve.isUndefined(e[n])?ve.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function s(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s};return ve.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||r,o=e(t);ve.isUndefined(o)&&e!==s||(n[t]=o)})),n},lu=$l,uu={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){uu[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var cu={};uu.transitional=function(t,e,n){function o(t,e){return"[Axios v"+lu+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(o(r," has been removed"+(e?" in "+e:"")));return e&&!cu[r]&&(cu[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}};var hu={assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var o=Object.keys(t),r=o.length;r-- >0;){var a=o[r],i=e[a];if(i){var s=t[a],l=void 0===s||i(s,a,t);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:uu},du=hu.validators;function fu(t){this.defaults=t,this.interceptors={request:new we,response:new we}}fu.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=su(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&hu.assertOptions(n,{silentJSONParsing:du.transitional(du.boolean),forcedJSONParsing:du.transitional(du.boolean),clarifyTimeoutError:du.transitional(du.boolean)},!1);var o=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));var a,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var s=[iu,void 0];for(Array.prototype.unshift.apply(s,o),s=s.concat(i),a=Promise.resolve(e);s.length;)a=a.then(s.shift(),s.shift());return a}for(var l=e;o.length;){var u=o.shift(),c=o.shift();try{l=u(l)}catch(t){c(t);break}}try{a=iu(l)}catch(t){return Promise.reject(t)}for(;i.length;)a=a.then(i.shift(),i.shift());return a},fu.prototype.getUri=function(t){return t=su(this.defaults,t),me(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},ve.forEach(["delete","get","head","options"],(function(t){fu.prototype[t]=function(e,n){return this.request(su(n||{},{method:t,url:e,data:(n||{}).data}))}})),ve.forEach(["post","put","patch"],(function(t){fu.prototype[t]=function(e,n,o){return this.request(su(o||{},{method:t,url:e,data:n}))}}));var pu=fu;function vu(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,o=n._listeners.length;for(e=0;e<o;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,o=new Promise((function(t){n.subscribe(t),e=t})).then(t);return o.cancel=function(){n.unsubscribe(e)},o},t((function(t){n.reason||(n.reason=new nn(t),e(n.reason))}))}vu.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},vu.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},vu.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},vu.source=function(){var t;return{token:new vu((function(e){t=e})),cancel:t}};var gu=vu;var mu=function t(e){var n=new pu(e),o=ie(pu.prototype.request,n);return ve.extend(o,pu.prototype,n),ve.extend(o,n),o.create=function(n){return t(su(e,n))},o}(nu);mu.Axios=pu,mu.Cancel=nn,mu.CancelToken=gu,mu.isCancel=ru,mu.VERSION=$l,mu.all=function(t){return Promise.all(t)},mu.spread=function(t){return function(e){return t.apply(null,e)}},mu.isAxiosError=function(t){return ve.isObject(t)&&!0===t.isAxiosError};var yu=mu,wu=mu;yu.default=wu;var bu=yu,_u={components:{PLayoutSection:_,PBanner:ae},name:"Banners",props:{type:{type:String,validator:function(t){return["header","footer"].includes(t)},default:function(){return"header"}}},data:function(){return{dismissedBanners:[],staticContent:{}}},computed:{mappedStaticContentHeaders:function(){return this.staticContent[this.banner_type]},banner_type:function(){return"header"===this.type?"headers":"footers"}},methods:{dismissBanner:function(t){this.staticContent[this.banner_type].splice(t,1)}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/marketing-banners")).catch((function(t){console.error(t)}));case 2:n=e.sent,o=n.data,t.staticContent=o.banners;case 5:case"end":return e.stop()}}),e)})))()}},Mu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mappedStaticContentHeaders&&t.mappedStaticContentHeaders.length?n("PLayoutSection",t._l(t.mappedStaticContentHeaders,(function(e,o){return n("PBanner",{key:o,attrs:{id:"static-content-header-"+o,status:e.status},on:{dismiss:function(){return t.dismissBanner(o)}}},[n("span",{domProps:{innerHTML:t._s(e.content)}})])})),1):t._e()},staticRenderFns:[]},undefined,_u,"data-v-bad609aa",false,undefined,!1,void 0,void 0,void 0),xu={components:{PBanner:ae,PLayoutSection:_},name:"PlanBanners",data:function(){return{staticContent:{}}},computed:{mappedStaticContentPlan:function(){return this.staticContent.plans}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/marketing-banners")).catch((function(t){console.error(t)}));case 2:n=e.sent,o=n.data,t.staticContent=o.banners;case 5:case"end":return e.stop()}}),e)})))()}},Au=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mappedStaticContentPlan&&t.mappedStaticContentPlan.length?n("PLayoutSection",{staticClass:"app-manager-plan-footer"},t._l(t.mappedStaticContentPlan,(function(e,o){return n("div",{key:o},["banner"===e.type?n("PBanner",{attrs:{id:"static-content-header-"+o,status:e.status},on:{dismiss:function(){return t.dismissBanner(o)}}},[n("div",{domProps:{innerHTML:t._s(e.content)}})]):n("div",{domProps:{innerHTML:t._s(e.content)}})],1)})),0):t._e()},staticRenderFns:[]},undefined,xu,"data-v-1e8f044e",false,undefined,!1,void 0,void 0,void 0),Pu={components:{PLayoutSection:_},name:"YearlyPlanPromotion",data:function(){return{staticContent:{}}},computed:{mappedStaticContent:function(){return this.staticContent.yearlyPlanPromotions}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/marketing-banners")).catch((function(t){console.error(t)}));case 2:n=e.sent,o=n.data,t.staticContent=o.banners;case 5:case"end":return e.stop()}}),e)})))()}},Cu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mappedStaticContent&&t.mappedStaticContent.length?n("PLayoutSection",{staticClass:"app-manager-plan-footer"},t._l(t.mappedStaticContent,(function(e,o){return n("div",{key:o},[n("div",{domProps:{innerHTML:t._s(e.content)}})])})),0):n("span",[n("p",{staticStyle:{"font-size":"17px","font-weight":"500"},attrs:{slot:"default"},slot:"default"},[t._v(t._s("Annually"))])])},staticRenderFns:[]},undefined,Pu,"data-v-b2c54672",false,undefined,!1,void 0,void 0,void 0);r(r(r({},X),Q),{},{index:Number});var ju="code";var zu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PTextStyle",props:{variation:r({type:String,default:null},C("variation",["positive","negative","strong","subdued","code"]))},computed:{className:function(){return g(this.variation&&"Polaris-TextStyle--".concat(m("variation",this.variation)))},element:function(){return function(t){if(-1!==["positive","negative","strong","subdued","code",null].indexOf(t))return t===ju?"code":"span"}(this.variation)}},methods:{}},undefined,false,undefined,!1,void 0,void 0,void 0),ku=y({},undefined,{name:"PBreadcrumbs",components:{PUnstyledLink:O,PIcon:j},props:{breadcrumbs:r({type:Array,default:function(){return[]}},H("breadcrumbs",{content:[String,Object],url:String,to:[String,Object],accessibilityLabel:String,onAction:Function}))},render:function(t){var e=this.breadcrumbs[this.breadcrumbs.length-1];if(null==e)return null;var n=e.content,o=e.onAction,r=this.$createElement("span",{class:"Polaris-Breadcrumbs__ContentWrapper"},[this.$createElement("span",{class:"Polaris-Breadcrumbs__Icon"},[this.$createElement(j,{attrs:{source:"ChevronLeftMinor"}})]),this.$createElement("span",{class:"Polaris-Breadcrumbs__Content"},n)]),a=g("Polaris-Breadcrumbs__Breadcrumb"),i="url"in e||"to"in e?this.$createElement(O,{class:a,attrs:{key:n,url:e.url,to:e.to,ariaLabel:e.accessibilityLabel},nativeOn:{click:o||function(){}}},[r]):this.$createElement("button",{class:a,attrs:{key:n,type:"button",ariaLabel:e.accessibilityLabel},on:{click:o||function(){}}},[r]);return this.$createElement("nav",{attrs:{role:"navigation"}},[i])}},undefined,undefined,undefined,!1,void 0,void 0,void 0),Ou=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{class:t.className},[t.previousURL?n("PUnstyledLink",{class:t.previousClassName,attrs:{url:t.previousURL}},[n("PIcon",{attrs:{source:"ArrowLeftMinor"}})],1):n("button",{class:t.previousClassName,attrs:{type:"button",disabled:!t.hasPrevious},on:{click:function(e){return t.onPrevious()}}},[n("PIcon",{attrs:{source:"ArrowLeftMinor"}})],1),t._v(" "),t.label?n("div",{staticClass:"Polaris-Pagination__Label"},[t.hasNext&&t.hasPrevious?n("PTextStyle",[t._v(t._s(t.label))]):n("PTextStyle",{attrs:{variation:"subdued"}},[t._v(t._s(t.label))])],1):t._e(),t._v(" "),t.nextURL?n("PUnstyledLink",{class:t.nextClassName,attrs:{url:t.nextURL}},[n("PIcon",{attrs:{source:"ArrowRightMinor"}})],1):n("button",{class:t.nextClassName,attrs:{type:"button",disabled:!t.hasNext},on:{click:function(e){return t.onNext()}}},[n("PIcon",{attrs:{source:"ArrowRightMinor"}})],1)],1)},staticRenderFns:[]},undefined,{name:"PPagination",components:{PUnstyledLink:O,PIcon:j,PTextStyle:zu},props:{nextURL:{type:String},previousURL:{type:String},label:{type:String},hasNext:{type:Boolean},hasPrevious:{type:Boolean},onPrevious:{type:Function,default:null},onNext:{type:Function,default:null}},computed:{className:function(){return g("Polaris-Pagination")},previousClassName:function(){return g("Polaris-Pagination__Button",!this.label&&"Polaris-Pagination__PreviousButton")},nextClassName:function(){return g("Polaris-Pagination__Button",!this.label&&"Polaris-Pagination__NextButton")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Tu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PPopover",{attrs:{id:"Popover"+this._uid,active:t.rollupOpen,preferredAlignment:"right",hideOnPrint:""},on:{close:t.toggleRollupOpen}},[n("div",{staticClass:"Polaris-ActionMenu-RollupActions__RollupActivator",attrs:{slot:"activator"},slot:"activator"},[n("PButton",{attrs:{plain:!0,outline:!1,icon:"HorizontalDotsMinor",type:"button"},on:{click:t.toggleRollupOpen}})],1),t._v(" "),n("PActionList",{attrs:{slot:"content",items:t.items,sections:t.sections},on:{"item-action":t.toggleRollupOpen},slot:"content"})],1)},staticRenderFns:[]},undefined,{name:"PActionMenuRollupActions",components:{PPopover:E,PButton:et,PActionList:q},props:{items:r({type:Array},H("items",G)),sections:r({type:Array},H("sections",K))},data:function(){return{rollupOpen:!1}},methods:{toggleRollupOpen:function(){this.rollupOpen=!this.rollupOpen}}},undefined,false,undefined,!1,void 0,void 0,void 0);r(r({},Y),{},{disclosure:Boolean});var Su=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.url?n("PUnstyledLink",{ref:t.id,class:t.menuActionClassNames,attrs:{url:t.url,external:t.external}},[t.icon||t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__ContentWrapper"},[t.icon?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:t.icon}})],1):t._e(),t._v(" "),n("span",{staticClass:"Polaris-ActionMenu-MenuAction__Content"},[t._v(t._s(t.content))]),t._v(" "),t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:"CaretDownMinor"}})],1):t._e()]):[t._v(t._s(t.content))]],2):n("button",{ref:t.id,class:t.menuActionClassNames,attrs:{type:"button",disabled:t.disabled},on:{click:function(e){return e.stopPropagation(),t.onAction()}}},[t.icon||t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__ContentWrapper"},[t.icon?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:t.icon}})],1):t._e(),t._v(" "),n("span",{staticClass:"Polaris-ActionMenu-MenuAction__Content"},[t._v(t._s(t.content))]),t._v(" "),t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:"CaretDownMinor"}})],1):t._e()]):[t._v(t._s(t.content))]],2)},staticRenderFns:[]},undefined,{name:"PActionMenuMenuAction",components:{PUnstyledLink:O,PIcon:j},props:{id:{type:[String,Number],default:"ActionMenuMenuAction".concat((new Date).getUTCMilliseconds())},content:{type:String},url:{type:String},external:{type:Boolean},icon:{type:String},disclosure:{type:Boolean},disabled:{type:Boolean},onAction:{type:Function,default:function(){return 0}},getOffsetWidth:{type:Function,default:function(){return 0}}},computed:{menuActionClassNames:function(){return g("Polaris-ActionMenu-MenuAction",this.disabled&&"Polaris-ActionMenu-MenuAction--disabled")}},mounted:function(){var t=this.$refs[this.id];"function"==typeof this.getOffsetWidth&&t&&t.offsetWidth&&this.getOffsetWidth(t.offsetWidth)}},undefined,false,undefined,!1,void 0,void 0,void 0),Eu={name:"PActionMenuMenuGroup",components:{PPopover:E,PActionList:q,PActionMenuMenuAction:Su},props:{active:{type:Boolean},title:{type:String},icon:{type:String,default:null},onAction:{type:Function},getOffsetWidth:{type:Function},actions:r({type:Array},H("actions",G))},methods:{handleClose:function(){this.onAction(this.title)},handleOpen:function(){this.$emit("open",this.title)}}},Lu={name:"PActionMenu",components:{PActionMenuActions:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.id,staticClass:"Polaris-ActionMenu-Actions__ActionsLayout"},[t._l(t.overriddenActions,(function(e,o){return["title"in e?[e.actions.length>0?n("div",{key:"MenuGroup-"+o},[n("PActionMenuMenuGroup",t._b({attrs:{title:e.title,active:e.title===t.computedActiveMenuGroup,actions:t.computedHiddenActions.concat(e.actions),onAction:t.handleMenuGroupClose,getOffsetWidth:t.handleActionsOffsetWidth},on:{open:t.handleMenuGroupToggle,close:t.handleMenuGroupClose}},"PActionMenuMenuGroup",e,!1))],1):t._e()]:t.computedHiddenActions.includes(e)?t._e():n("PActionMenuMenuAction",t._b({key:"MenuAction-"+o,attrs:{getOffsetWidth:t.handleActionsOffsetWidth,content:e.content}},"PActionMenuMenuAction",e,!1))]}))],2)},staticRenderFns:[]},undefined,{name:"PActionMenuActions",components:{PActionMenuMenuGroup:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PPopover",{attrs:{id:"Popover"+this._uid,active:Boolean(t.active),preferredAlignment:"left",hideOnPrint:""},on:{close:t.handleClose}},[n("PActionMenuMenuAction",{attrs:{slot:"activator",disclosure:"",content:t.title,getOffsetWidth:t.getOffsetWidth,icon:t.icon,onAction:t.handleOpen},slot:"activator"}),t._v(" "),n("PActionList",{attrs:{slot:"content",items:t.actions},on:{"item-action":t.handleClose},slot:"content"}),t._v(" "),t.$slots.details?n("div",{},[t._t("details")],2):t._e()],1)},staticRenderFns:[]},undefined,Eu,undefined,false,undefined,!1,void 0,void 0,void 0),PActionMenuMenuAction:Su},props:{id:{type:[String,Number],default:"ActionMenuLayout".concat((new Date).getUTCMilliseconds())},actions:r({type:Array},H("actions",X)),groups:r({type:Array},H("actions",Q))},data:function(){return{activeMenuGroup:"",hiddenActions:[],showableActions:[],availableWidthRef:0,timesMeasured:0,actionsAndGroupsLengthRef:0,actionWidthsRef:[]}},computed:{lastMenuGroupWidth:function(){return d(this.actionWidthsRef).pop()||0},lastMenuGroup:function(){return d(this.groups).pop()},computedShowableActions:{get:function(){return this.showableActions},set:function(t){this.showableActions=t}},computedHiddenActions:{get:function(){return this.hiddenActions},set:function(t){this.hiddenActions=t}},computedActiveMenuGroup:{get:function(){return this.activeMenuGroup},set:function(t){this.activeMenuGroup=t}},menuActions:function(){return[].concat(d(this.actions),d(this.groups))},overriddenActions:function(){return function(t){var e=t.filter((function(t){return void 0!==t.index}));if(0===e.length)return t;var n=e.sort((function(t,e){return t.index-e.index})),o=d(t.filter((function(t){return void 0===t.index})));return n.forEach((function(t){o.splice(t.index,0,t)})),o}(this.menuActions)}},methods:{handleMenuGroupToggle:function(t){"string"==typeof t&&(this.computedActiveMenuGroup=this.computedActiveMenuGroup?void 0:t)},handleMenuGroupClose:function(){this.computedActiveMenuGroup=void 0},handleResize:function(){var t=this.$refs[this.id];this.availableWidthRef=t.offsetWidth,this.timesMeasured=0,this.measureActions()},handleActionsOffsetWidth:function(t){this.actionWidthsRef=[].concat(d(this.actionWidthsRef),[t])},measureActions:function(){var t=this;if(0!==this.actionWidthsRef.length&&0!==this.availableWidthRef){var e=[].concat(d(this.actions),d(this.groups));if(1===e.length)return this.showableActions=e,void(this.hiddenActions=[]);var n=this.availableWidthRef,o=[],r=[];e.forEach((function(e,a){if(t.actionWidthsRef[a]+0+8+t.lastMenuGroupWidth<=n)n-=t.actionWidthsRef[a]+16,o=[].concat(d(o),[e]);else{if(n=0,e===t.lastMenuGroup)return;r=[].concat(d(r),[e])}})),this.showableActions=o,this.computedHiddenActions=r,this.timesMeasured+=1,this.actionsAndGroupsLengthRef=e.length}}},mounted:function(){window.addEventListener("resize",this.handleResize),this.handleResize()},destroyed:function(){window.removeEventListener("resize",this.handleResize)}},undefined,false,undefined,!1,void 0,void 0,void 0),PActionMenuRollupActions:Tu},props:{actions:r({type:Array},H("actions",X)),groups:r({type:Array},H("groups",Q)),rollup:{type:Boolean,default:!1}},computed:{rollupSections:function(){var t=this;return this.groups.map((function(e){return t.convertGroupToSection(e)}))},actionMenuClassNames:function(){return g("Polaris-ActionMenu",this.rollup&&"Polaris-ActionMenu--rollup")}},methods:{convertGroupToSection:function(t){return{title:t.title,items:t.actions}}}},Bu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.actionMenuClassNames},[t.rollup?n("PActionMenuRollupActions",{attrs:{items:t.actions,sections:t.rollupSections}}):n("PActionMenuActions",{attrs:{actions:t.actions,groups:t.groups}})],1)},staticRenderFns:[]},undefined,Lu,undefined,false,undefined,!1,void 0,void 0,void 0),Nu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return"span"===t.element?n("span",[t._t("default")],2):n(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDisplayText",props:{size:r({type:String,default:"medium"},C("size",["small","medium","large","extraLarge"])),element:r({type:String,default:"p"},C("element",["h1","h2","h3","h4","h5","h6","p","span"]))},computed:{className:function(){return g("Polaris-DisplayText",this.size&&"Polaris-DisplayText--".concat(m("size",this.size)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Hu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("img",{class:t.className,attrs:{alt:t.alt,src:t.source}})},staticRenderFns:[]},undefined,{name:"PImage",props:{source:{type:String,default:null},alt:{type:String,default:null},imgClass:{type:String,default:null}},computed:{className:function(){return g(this.imgClass)}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ru={name:"PThumbnail",components:{PImage:Hu,PIcon:j},props:{size:r({type:String,default:"medium"},C("size",["small","medium","large"])),source:{type:String,default:null},alt:{type:String,default:null}},computed:{className:function(){return g("Polaris-Thumbnail",this.size&&"Polaris-Thumbnail--".concat(m("size",this.size)))}},methods:{isSvg:function(t){return new RegExp(/(<svg)([^<]*|[^>]*)/).test(t)}}},Vu="PENDING",Iu="LOADED",qu="ERRORED",Fu={name:"PPageHeader",components:{PBreadcrumbs:ku,PPagination:Ou,PPageHeaderTitle:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.pageTitleClassName},[t.source?n("div",[n("PThumbnail",{attrs:{size:"medium",source:t.source,alt:t.alt}})],1):t._e(),t._v(" "),t.title||t.subtitle?n("div",{staticClass:"Polaris-Header-Title__TitleAndSubtitleWrapper"},[n("div",{staticClass:"Polaris-Header-Title__TitleWithMetadataWrapper"},[n("PDisplayText",{staticClass:"Polaris-Header-Title",attrs:{element:"h1"},domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t.titleMetadata||t.$slots.hasOwnProperty("titleMetadata")?n("div",{staticClass:"Polaris-Header-Title__TitleMetadata"},[t.titleMetadata?[t._v(t._s(t.titleMetadata))]:t._t("titleMetadata")],2):t._e()],1),t._v(" "),t.subtitle?n("div",{staticClass:"Polaris-Header-Title__SubTitle"},[n("p",[t._v(t._s(t.subtitle))])]):t._e()]):t._e()])},staticRenderFns:[]},undefined,{name:"PPageHeaderTitle",components:{PDisplayText:Nu,PTextStyle:zu,PThumbnail:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className},[t.isSvg(t.source)?n("PIcon",{attrs:{alt:t.alt,source:t.source}}):n("PImage",t._b({staticClass:"Polaris-Thumbnail__Image",attrs:{source:t.source,alt:t.alt}},"PImage",t.$attrs,!1))],1)},staticRenderFns:[]},undefined,Ru,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},source:{type:String},alt:{type:String},subtitle:{type:String},titleMetadata:{type:String}},computed:{pageTitleClassName:function(){return g(this.source&&"Polaris-Header-Title--hasThumbnail")}},methods:{hasThumbnailSlot:function(){return!!this.$slots.thumbnail}}},undefined,false,undefined,!1,void 0,void 0,void 0),PActionMenu:Bu,PTextStyle:zu,PButton:et,PPopover:E,PActionList:q,PButtonGroup:ne,PAvatar:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className,attrs:{role:"img"}},[t.hasImage?t._e():n("span",{staticClass:"Polaris-Avatar__Initials"},[n("svg",{staticClass:"Polaris-Avatar__Svg",attrs:{viewBox:"0 0 40 40"}},[t.customer||!t.initials?n("path",{attrs:{fill:"currentColor",d:"M8.28 27.5A14.95 14.95 0 0120 21.8c4.76 0 8.97 2.24 11.72 5.7a14.02 14.02 0 01-8.25 5.91 14.82 14.82 0 01-6.94 0 14.02 14.02 0 01-8.25-5.9zM13.99 12.78a6.02 6.02 0 1112.03 0 6.02 6.02 0 01-12.03 0z"}}):n("text",{attrs:{x:"50%",y:"50%",dy:"0.35em",fill:"currentColor","font-size":"20","text-anchor":"middle"}},[t._v(t._s(t.initials))])])]),t._v(" "),t.source&&"ERRORED"!==t.status?n("PImage",{staticClass:"Polaris-Avatar__Image",attrs:{source:t.source,alt:"",role:"presentation"}}):t._e()],1)},staticRenderFns:[]},undefined,{name:"PAvatar",components:{PImage:Hu},props:{size:{type:String,default:"medium",validator:function(t){return-1!==["small","medium","large"].indexOf(t)}},customer:{type:Boolean,default:!1},name:{type:String,default:null},initials:{type:String,default:null},source:{type:String,default:null}},data:function(){return{status:Vu,nameString:this.name||this.initials}},computed:{className:function(){return g("Polaris-Avatar",this.size&&"Polaris-Avatar--".concat(m("size",this.size)),!this.customer&&"Polaris-Avatar--".concat(m("style",this.styleClass(this.nameString))),(this.hasImage||this.initials&&0===this.initials.length)&&status!==Iu&&"Polaris-Avatar--hidden",this.hasImage&&"Polaris-Avatar--hasImage")},hasImage:function(){return this.source&&this.status!==qu}},methods:{styleClass:function(t){var e=["one","two","three","four","five"];return t?e[t.charCodeAt(0)%e.length]:e[0]}}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subtitle:{type:String},thumbnail:{type:String},thumbnailAlt:{type:String},titleMetadata:{type:String},avatar:{type:String},avatarInitials:{type:String},additionalMetaData:{type:String},titleHidden:{type:Boolean,default:!1},separator:{type:Boolean},primaryAction:{type:Object,default:function(){return{}}},pagination:{type:Object,default:function(){return{}}},breadcrumbs:{type:Array,default:function(){return[]}},secondaryActions:{type:Array,default:function(){return[]}},actionGroups:{type:Array,default:function(){return[]}}},data:function(){return{isNavigationCollapsed:{rollup:!1},bulkActionsShown:!1}},computed:{headerClassNames:function(){return g("Polaris-Page-Header",this.titleHidden&&"Polaris-Page-Header--titleHidden",this.separator&&"Polaris-Page-Header--separator",this.hasNavigation&&"Polaris-Page-Header--hasNavigation",this.hasActionMenu&&"Polaris-Page-Header--hasActionMenu",this.title&&"Polaris-Page-Header--mediumTitle",this.isNavigationCollapsed.rollup&&"Polaris-Page-Header--mobileView")},hasNavigation:function(){return this.breadcrumbs.length>0||this.$slots.additionalNavigation||this.pagination},hasActions:function(){return this.hasActionMenu||Object.keys(this.primaryAction).length>0||Object.keys(this.pagination).length>0||this.$props.hasOwnProperty("primaryAction")},hasActionMenu:function(){return this.secondaryActions.length>0||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return 0!==t.length&&t.some((function(t){if(t.actions)return t.actions.length>0}))}(this.actionGroups)},hasTitle:function(){return this.title||this.subtitle||this.titleMetadata||this.thumbnail||this.$slots.hasOwnProperty("titleMetadata")},hasAvatar:function(){return this.avatar||this.avatarInitials}},methods:{useMediaQuery:function(){window.innerWidth<=768?this.$set(this.isNavigationCollapsed,"rollup",!0):this.$set(this.isNavigationCollapsed,"rollup",!1)}},created:function(){window.addEventListener("resize",this.useMediaQuery),this.useMediaQuery()},destroyed:function(){window.removeEventListener("resize",this.useMediaQuery)}},Du=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.hasHeaderContent?n("PPageHeader",t._g(t._b({attrs:{title:t.title,breadcrumbs:t.breadcrumbs,primaryAction:t.primaryAction,secondaryActions:t.secondaryActions,actionGroups:t.actionGroups,thumbnail:t.thumbnail,thumbnailAlt:t.thumbnailAlt,pagination:t.pagination}},"PPageHeader",t.$attrs,!1),t.$listeners),[t._t("primaryAction",null,{slot:"primaryAction"}),t._v(" "),t._t("titleMetadata",null,{slot:"titleMetadata"}),t._v(" "),t._t("additionalNavigation",null,{slot:"additionalNavigation"})],2):t._e(),t._v(" "),n("div",{staticClass:"Polaris-Page__Content"},[t._t("default")],2)],1)},staticRenderFns:[]},undefined,{name:"PPage",components:{PPageHeader:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.headerClassNames},[n("div",{staticClass:"Polaris-Page-Header__Row"},[t.breadcrumbs.length>0?n("div",{staticClass:"Polaris-Page-Header__BreadcrumbWrapper"},[n("PBreadcrumbs",{attrs:{breadcrumbs:t.breadcrumbs}})],1):t._e(),t._v(" "),t.hasTitle?n("div",{staticClass:"Polaris-Page-Header__TitleWrapper"},[n("PPageHeaderTitle",{attrs:{title:t.title,subtitle:t.subtitle,titleMetadata:t.titleMetadata,alt:t.thumbnailAlt,source:t.thumbnail}},[t._t("titleMetadata",null,{slot:"titleMetadata"})],2)],1):t._e(),t._v(" "),n("div",{staticClass:"Polaris-Page-Header__RightAlign"},[t.hasActions?n("div",{staticClass:"Polaris-Page-Header__Actions"},[t.hasActionMenu?n("PActionMenu",{attrs:{groups:t.actionGroups,actions:t.secondaryActions,rollup:t.isNavigationCollapsed.rollup}}):t._e(),t._v(" "),Object.keys(t.primaryAction).length>0||t.$slots.hasOwnProperty("primaryAction")?n("div",{staticClass:"Polaris-Page-Header__PrimaryActionWrapper"},[t._t("primaryAction",(function(){return[t.primaryAction?n("PButton",t._b({attrs:{primary:void 0===t.primaryAction.primary||t.primaryAction.primary},on:{click:function(e){return t.primaryAction.onAction()}}},"PButton",t.primaryAction,!1),[t._v(t._s(t.primaryAction.content)+"\n ")]):t._e()]}))],2):t._e(),t._v(" "),Object.keys(t.pagination).length>0&&!t.isNavigationCollapsed.rollup?n("div",{staticClass:"Polaris-Page-Header__PaginationWrapper"},[n("nav",{attrs:{"aria-label":"Pagination"}},[n("PPagination",t._b({},"PPagination",t.pagination,!1))],1)]):t._e()],1):t._e()])]),t._v(" "),t.$slots.hasOwnProperty("additionalNavigation")||t.avatar||t.avatarInitials?n("div",{staticClass:"Polaris-Page-Header__Row"},[n("div",{staticClass:"Polaris-Page-Header__LeftAlign"}),t._v(" "),n("div",{staticClass:"Polaris-Page-Header__RightAlign"},[n("div",{staticClass:"Polaris-Page-Header__AdditionalNavigationWrapper"},[t.avatarInitials||t.avatar?n("div",[n("PAvatar",{attrs:{source:t.avatar,initials:t.avatarInitials}})],1):t._e(),t._v(" "),t._t("additionalNavigation")],2)])]):t._e()])},staticRenderFns:[]},undefined,Fu,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{fullWidth:{type:Boolean,default:!1},narrowWidth:{type:Boolean,default:!1},title:{type:String,default:null},thumbnail:{type:String,default:null},thumbnailAlt:{type:String,default:null},primaryAction:{type:Object,default:function(){return{}}},secondaryActions:{type:Array,default:function(){return[]}},actionGroups:{type:Array,default:function(){return[]}},breadcrumbs:{type:Array,default:function(){return[]}},pagination:{type:Object,default:function(){return{}}}},computed:{className:function(){return g("Polaris-Page",this.fullWidth&&"Polaris-Page--fullWidth",this.narrowWidth&&"Polaris-Page--narrowWidth")},hasHeaderContent:function(){return null!=this.title&&""!==this.title||null!=this.primaryAction||this.thumbnail||null!=this.secondaryActions&&this.secondaryActions.length>0||null!=this.actionGroups&&this.actionGroups.length>0||this.$slots.hasOwnProperty("primaryAction")||this.$slots.hasOwnProperty("additionalNavigation")||null!=this.breadcrumbs&&this.breadcrumbs.length>0}}},undefined,false,undefined,!1,void 0,void 0,void 0),Uu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,style:t.style},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PStackItem",props:{fill:{type:Boolean,default:!1},width:{type:[String,Number]}},computed:{className:function(){return g("Polaris-Stack__Item",this.fill&&"Polaris-Stack__Item--fill")},style:function(){return this.width?{width:/^\d+$/.test(this.width)?this.width+"px":this.width}:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),$u=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PStack",components:{PStackItem:Uu},props:{vertical:{type:Boolean},wrap:{type:Boolean,default:!0},spacing:r({type:String,default:null},C("spacing",["extraTight","tight","loose","extraLoose","none"])),distribution:r({type:String,default:null},C("distribution",["equalSpacing","leading","trailing","center","fill","fillEvenly"])),alignment:r({type:String,default:null},C("alignment",["leading","trailing","center","fill","baseline"]))},computed:{className:function(){return g("Polaris-Stack",this.vertical&&"Polaris-Stack--vertical",this.spacing&&"Polaris-Stack--".concat(m("spacing",this.spacing)),this.distribution&&"Polaris-Stack--".concat(m("distribution",this.distribution)),this.alignment&&"Polaris-Stack--".concat(m("alignment",this.alignment)),!this.wrap&&"Polaris-Stack--noWrap")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Wu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Layout"},[t.sectioned?[n("PLayoutSection",[t._t("default")],2)]:[t._t("default")]],2)},staticRenderFns:[]},undefined,{name:"PLayout",components:{PLayoutSection:_},props:{sectioned:{type:Boolean,default:!1}}},undefined,false,undefined,!1,void 0,void 0,void 0),Zu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PTextContainer",props:{spacing:r({type:String,default:null},C("spacing",["tight","loose",null]))},computed:{className:function(){return g("Polaris-TextContainer",this.spacing&&"Polaris-TextContainer--".concat(m("spacing",this.spacing)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Gu=["ascending","descending","none"],Ku={name:"PDataTableCellNew",components:{PIcon:j},props:{header:{type:Boolean},content:{type:[String,Number]},value:{type:[String,Number,Boolean,Object,Array]},width:{type:[String,Number]},sort:r({type:Object},I("sort",{value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:Gu}})),sortable:{type:Boolean,default:!0},defaultSortDirection:r({type:String,default:"ascending"},C("defaultSortDirection",Gu)),contentType:{type:String},firstColumn:{type:Boolean},truncate:{type:Boolean},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"])),total:{type:Boolean},totalInFooter:{type:Boolean},headerValue:{type:String}},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.header&&"Polaris-DataTable__Cell--header",this.total&&"Polaris-DataTable__Cell--total",this.totalInFooter&&"Polaris-DataTable--cellTotalFooter",this.numeric&&"Polaris-DataTable__Cell--numeric",this.sorted&&"Polaris-DataTable__Cell--sorted ",this.sortable&&"Polaris-DataTable__Cell--sortable",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))},headerClassName:function(){return g("Polaris-DataTable__Heading","text"===this.contentType&&"Polaris-DataTable__Heading--left")},direction:function(){return this.sorted&&this.sort.direction?this.sort.direction:this.defaultSortDirection},source:function(){return"descending"===this.direction?"CaretDownMinor":"CaretUpMinor"},numeric:function(){return"numeric"===this.contentType},sorted:function(){return this.sort&&this.sort.value===this.value},sortLabel:function(){return this.sort&&this.sort.value===this.value?this.sort.direction:""}},methods:{handleSortChange:function(){var t="ascending"===this.sort.direction?"descending":"ascending";this.$emit("sort-changed",this.value,t)}}};const Yu="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function Xu(t){return(t,e)=>function(t,e){const n=Yu?e.media||"default":t,o=Ju[n]||(Ju[n]={ids:new Set,styles:[]});if(!o.ids.has(t)){o.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",e.media&&o.element.setAttribute("media",e.media),void 0===Qu&&(Qu=document.head||document.getElementsByTagName("head")[0]),Qu.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const t=o.ids.size-1,e=document.createTextNode(n),r=o.element.childNodes;r[t]&&o.element.removeChild(r[t]),r.length?o.element.insertBefore(e,r[t]):o.element.appendChild(e)}}}(t,e)}let Qu;const Ju={};var tc=Ku,ec=function(t){t&&t("data-v-53aa9556_0",{source:"th[data-v-53aa9556]:last-child{text-align:right}td[data-v-53aa9556]:last-child{text-align:right}td:last-child>*[data-v-53aa9556]{float:right}",map:void 0,media:void 0})},nc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.header?n("th",{class:t.className,attrs:{"data-polaris-header-cell":"true",width:t.width,scope:"col","aria-sort":t.sortLabel}},[t.sortable?[n("button",{class:t.headerClassName,on:{click:t.handleSortChange}},[n("span",{staticClass:"Polaris-DataTable__Icon"},[n("PIcon",{attrs:{source:t.source}})],1),t._v("\n "+t._s(t.content)+"\n ")])]:[t._v("\n "+t._s(t.content)+"\n ")]],2):t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t._t("item."+t.headerValue,(function(){return[t._v("\n "+t._s(t.value)+"\n ")]}),{item:t.headerValue})],2):n("td",{class:t.className},[t._t("item."+t.headerValue,(function(){return[t._v("\n "+t._s(t.value)+"\n ")]}),{item:t.headerValue})],2)},staticRenderFns:[]},ec,tc,"data-v-53aa9556",false,undefined,!1,Xu,void 0,void 0),oc=nc,rc={name:"PLink",components:{PButton:et,PUnstyledLink:O,PIcon:j},props:{id:{type:[String,Number],default:null},url:{type:String,default:null},to:{type:[String,Object],default:null},external:{type:Boolean,default:!1},monochrome:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-Link",this.monochrome&&"Polaris-Link--monochrome")},isStringSlot:function(){var t=this.$slots.default||[];return this.external&&1===t.length&&t[0].text}}},ac=rc,ic=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.url||t.to?n("PUnstyledLink",t._g({class:t.className,attrs:{id:t.id,to:t.to,url:t.url,external:t.external,"data-polaris-unstyled":"true"}},t.$listeners),[t._t("default"),t._v(" "),t.isStringSlot?n("span",{staticClass:"Polaris-Link__IconLockup"},[n("span",{staticClass:"Polaris-Link__IconLayout"},[n("PIcon",{attrs:{source:"ExternalSmallMinor"}})],1)]):t._e()],2):n("button",t._g({class:t.className,attrs:{type:"button",id:t.id}},t.$listeners),[t._t("default"),t._v(" "),t.isStringSlot?n("span",{staticClass:"Polaris-Link__IconLockup"},[n("span",{staticClass:"Polaris-Link__IconLayout"},[n("PIcon",{attrs:{source:"ExternalSmallMinor"}})],1)]):t._e()],2)},staticRenderFns:[]},undefined,ac,undefined,false,undefined,!1,void 0,void 0,void 0),sc=ic,lc={name:"PToggle",props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},propsClass:{type:String,default:null},value:{type:[String,Boolean,Number]},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1}},methods:{onChange:function(t){var e=t.target||t.srcElement;this.$emit("change",{checked:e.checked,value:e.value})}}},uc=lc,cc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.propsClass},[n("label",{staticClass:"switch",style:t.label?"margin-right:3px":""},[n("input",{attrs:{type:"checkbox",id:t.id,disabled:t.disabled},domProps:{value:t.value,checked:!t.disabled&&t.checked},on:{change:t.onChange}}),t._v(" "),n("span",{staticClass:"slider round"})]),t._v(" "),t.$slots.label?t._t("label"):[t._v(t._s(t.label))]],2)},staticRenderFns:[]},undefined,uc,undefined,false,undefined,!1,void 0,void 0,void 0),hc=cc,dc={name:"PBadge",props:{status:r({type:String,default:null},C("status",["success","info","attention","warning","new","critical",null,""])),progress:r({type:String,default:null},C("progress",["incomplete","partiallyComplete","complete",null,""])),background:{type:String,default:null},color:{type:String,default:null},size:r({type:String,default:"medium"},C("size",["small","medium"]))},computed:{className:function(){return g("Polaris-Badge",!this.color&&!this.background&&this.status&&"Polaris-Badge--".concat(m("status",this.status)),this.progress&&"Polaris-Badge--".concat(m("progress",this.progress)),this.size&&"medium"!==this.size&&"Polaris-Badge--".concat(m("size",this.size)))}}},fc=dc,pc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className,style:{"background-color":t.background,color:t.color}},[t.progress?n("span",{staticClass:"Polaris-Badge__Pip"},[n("span",{staticClass:"Polaris-VisuallyHidden"},[t._v(t._s(t.progress))])]):t._e(),t._v(" "),n("span",{staticClass:"Polaris-Badge__Content"},[t._t("default")],2)])},staticRenderFns:[]},undefined,fc,undefined,false,undefined,!1,void 0,void 0,void 0),vc=pc,gc=["ascending","descending","none"],mc={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:gc}},yc={name:"PDataTableCell",components:{PIcon:j,PButton:et,PButtonGroup:ne,PLink:sc,PToggle:hc,PBadge:vc},props:{content:{type:[String,Number]},contentType:{type:String},value:{type:[String,Number]},firstColumn:{type:Boolean},truncate:{type:Boolean},header:{type:Boolean},total:{type:Boolean},sortable:{type:Boolean},width:{type:[String,Number]},sort:r({type:Object},I("sort",mc)),defaultSortDirection:r({type:String,default:"ascending"},C("defaultSortDirection",gc)),totalInFooter:{type:Boolean},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"])),actions:{type:Array,default:function(){return[]}},action:{type:Object,default:function(){return{}}},badge:{type:Object,default:function(){return{}}},toggle:{type:Object,default:function(){return{}}}},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.header&&"Polaris-DataTable__Cell--header",this.total&&"Polaris-DataTable__Cell--total",this.totalInFooter&&"Polaris-DataTable--cellTotalFooter",this.numeric&&"Polaris-DataTable__Cell--numeric",this.sorted&&"Polaris-DataTable__Cell--sorted ",this.sortable&&"Polaris-DataTable__Cell--sortable",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))},headerClassName:function(){return g("Polaris-DataTable__Heading","text"===this.contentType&&"Polaris-DataTable__Heading--left")},direction:function(){return this.sorted&&this.sort.direction?this.sort.direction:this.defaultSortDirection},source:function(){return"descending"===this.direction?"CaretDownMinor":"CaretUpMinor"},numeric:function(){return"numeric"===this.contentType},hasActions:function(){return this.actions&&this.actions.length>0},hasAction:function(){return this.action||this.badge||this.toggle},sorted:function(){return this.sort&&this.sort.value===this.value},sortLabel:function(){return this.sort&&this.sort.value===this.value?this.sort.direction:""}},methods:{handleSortChange:function(){var t="ascending"===this.sort.direction?"descending":"ascending";this.$emit("sort-changed",this.value,t)}}},wc=yc,bc=function(t){t&&t("data-v-9c6b238c_0",{source:"th[data-v-9c6b238c]:last-child{text-align:right}td[data-v-9c6b238c]:last-child{text-align:right}td:last-child>*[data-v-9c6b238c]{float:right}",map:void 0,media:void 0})},_c=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.header?n("th",{class:t.className,attrs:{"data-polaris-header-cell":"true",width:t.width,scope:"col","aria-sort":t.sortLabel}},[t.sortable?[n("button",{class:t.headerClassName,on:{click:t.handleSortChange}},[n("span",{staticClass:"Polaris-DataTable__Icon"},[n("PIcon",{attrs:{source:t.source}})],1),t._v("\n "+t._s(t.content)+"\n ")])]:[t._v("\n "+t._s(t.content)+"\n ")]],2):t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t.hasAction?[t.action&&t.action.to?n("PButton",{attrs:{plain:"",to:t.action.to}},[t._v(t._s(t.action.content))]):t._e(),t._v(" "),t.action&&(t.action.url||t.action.external)?n("PLink",{attrs:{url:t.action.url,external:t.action.external,monochrome:t.action.monochrome}},[t._v(t._s(t.action.content?t.action.content:t.action.url)+"\n ")]):t._e(),t._v(" "),t.badge?n("PBadge",{attrs:{status:t.badge.status,progress:t.badge.progress}},[t._v("Badge"+t._s(t.badge.content))]):t._e(),t._v(" "),t.toggle?n("PToggle",{attrs:{checked:t.toggle.status,value:t.toggle.id},on:{change:t.toggle.onAction}}):t._e()]:[t._v("\n "+t._s(t.content)+"\n ")]],2):n("td",{class:t.className},[t.hasActions?[n("PButtonGroup",{attrs:{segmented:""}},t._l(t.actions,(function(e,o){return n("PButton",t._b({key:o,attrs:{primary:e.primary,destructive:e.destructive},on:{click:function(n){return e.onAction(t.value)}}},"PButton",e,!1),[t._v(t._s(e.content)+"\n ")])})),1)]:[t.hasAction?[t.action&&t.action.to?n("PButton",{attrs:{plain:"",to:t.action.to}},[t._v(t._s(t.action.content))]):t._e(),t._v(" "),t.action&&(t.action.url||t.action.external)?n("PLink",{attrs:{url:t.action.url,external:t.action.external,monochrome:t.action.monochrome}},[t._v(t._s(t.action.content?t.action.content:t.action.url)+"\n ")]):t._e(),t._v(" "),t.badge?n("PBadge",{attrs:{status:t.badge.status,progress:t.badge.progress}},[t._v(t._s(t.badge.content))]):t._e(),t._v(" "),t.toggle?n("PToggle",{attrs:{checked:t.toggle.status,value:t.toggle.id},on:{change:t.toggle.onAction}}):t._e()]:[t._v("\n "+t._s(t.content)+"\n ")]]],2)},staticRenderFns:[]},bc,wc,"data-v-9c6b238c",false,undefined,!1,Xu,void 0,void 0),Mc=_c,xc={name:"PSpinner",components:{PIcon:j},methods:{onClick:function(){this.$emit("click")},handleStep:function(t){this.$emit("change",t)}}},Ac=xc,Pc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-TextField__Spinner",attrs:{"aria-hidden":"true"},on:{click:t.onClick}},[n("div",{staticClass:"Polaris-TextField__Segment",attrs:{role:"button",tabindex:"-1"},on:{click:function(e){return t.handleStep(1)}}},[n("div",{staticClass:"Polaris-TextField__SpinnerIcon"},[n("PIcon",{attrs:{source:"CaretUpMinor"}})],1)]),t._v(" "),n("div",{staticClass:"Polaris-TextField__Segment",attrs:{role:"button",tabindex:"-1"},on:{click:function(e){return t.handleStep(-1)}}},[n("div",{staticClass:"Polaris-TextField__SpinnerIcon"},[n("PIcon",{attrs:{source:"CaretDownMinor"}})],1)])])},staticRenderFns:[]},undefined,Ac,"data-v-4925112a",false,undefined,!1,void 0,void 0,void 0),Cc=Pc,jc={"&":"&amp;","<":"&lt;",">":"&gt;","\n":"<br>"},zc=/[\n&<>]/g,kc={name:"PFieldResizer",props:{contents:{type:String},currentHeight:{type:Number},minimumLines:{type:Number}},computed:{finalContents:function(){return this.contents?this.contents.replace(zc,this.replaceEntity)+"<br>":"<br>"},minimumLinesContent:function(){for(var t="",e=0;e<this.minimumLines;e++)t+="<br>";return t}},methods:{handleHeightCheck:function(){if(null!==this.$refs.dummyInput&&null!==this.$refs.minimumLines){var t=this.$refs.dummyInput,e=this.$refs.minimumLines,n=t.offsetHeight,o=e?e.offsetHeight:0,r=Math.max(n,o);this.currentHeight!==r&&this.$emit("heightchange",r)}},replaceEntity:function(t){return jc[t]||t}},mounted:function(){this.handleHeightCheck()},watch:{finalContents:function(t,e){this.handleHeightCheck()}}},Oc=kc,Tc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-TextField__Resizer",attrs:{"aria-hidden":""}},[n("div",{ref:"dummyInput",staticClass:"Polaris-TextField__DummyInput",domProps:{innerHTML:t._s(t.finalContents)}}),t._v(" "),t.minimumLines?n("div",{staticClass:"Polaris-TextField__DummyInput",domProps:{innerHTML:t._s(t.minimumLinesContent)}}):t._e()])},staticRenderFns:[]},undefined,Oc,undefined,false,undefined,!1,void 0,void 0,void 0),Sc=Tc,Ec=ai((function(t,e){
2
+ var na=2147483647,oa=/[^\x20-\x7E]/,ra=/[\x2E\u3002\uFF0E\uFF61]/g,aa={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ia=Math.floor,sa=String.fromCharCode;function la(t){throw new RangeError(aa[t])}function ua(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function ca(t,e,n){var o=0;for(t=n?ia(t/700):t>>1,t+=ia(t/e);t>455;o+=36)t=ia(t/35);return ia(o+36*t/(t+38))}function ha(t){return function(t,e){var n=t.split("@"),o="";n.length>1&&(o=n[0]+"@",t=n[1]);var r=function(t,e){for(var n=t.length,o=[];n--;)o[n]=e(t[n]);return o}((t=t.replace(ra,".")).split("."),e).join(".");return o+r}(t,(function(t){return oa.test(t)?"xn--"+function(t){var e,n,o,r,a,i,s,l,u,c,h,d,f,p,v,g=[];for(t=function(t){for(var e,n,o=[],r=0,a=t.length;r<a;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<a?56320==(64512&(n=t.charCodeAt(r++)))?o.push(((1023&e)<<10)+(1023&n)+65536):(o.push(e),r--):o.push(e);return o}(t),d=t.length,e=128,n=0,a=72,i=0;i<d;++i)(h=t[i])<128&&g.push(sa(h));for(o=r=g.length,r&&g.push("-");o<d;){for(s=na,i=0;i<d;++i)(h=t[i])>=e&&h<s&&(s=h);for(s-e>ia((na-n)/(f=o+1))&&la("overflow"),n+=(s-e)*f,e=s,i=0;i<d;++i)if((h=t[i])<e&&++n>na&&la("overflow"),h==e){for(l=n,u=36;!(l<(c=u<=a?1:u>=a+26?26:u-a));u+=36)v=l-c,p=36-c,g.push(sa(ua(c+v%p,0))),l=ia(v/p);g.push(sa(ua(l,0))),a=ca(n,f,o==r),n=0,++o}++n,++e}return g.join("")}(t):t}))}function da(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var fa=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function pa(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function va(t,e){if(t.map)return t.map(e);for(var n=[],o=0;o<t.length;o++)n.push(e(t[o],o));return n}var ga=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e};function ma(t,e,n,o){e=e||"&",n=n||"=";var r={};if("string"!=typeof t||0===t.length)return r;var a=/\+/g;t=t.split(e);var i=1e3;o&&"number"==typeof o.maxKeys&&(i=o.maxKeys);var s=t.length;i>0&&s>i&&(s=i);for(var l=0;l<s;++l){var u,c,h,d,f=t[l].replace(a,"%20"),p=f.indexOf(n);p>=0?(u=f.substr(0,p),c=f.substr(p+1)):(u=f,c=""),h=decodeURIComponent(u),d=decodeURIComponent(c),da(r,h)?fa(r[h])?r[h].push(d):r[h]=[r[h],d]:r[h]=d}return r}var ya={parse:Sa,resolve:function(t,e){return Sa(t,!1,!0).resolve(e)},resolveObject:function(t,e){return t?Sa(t,!1,!0).resolveObject(e):e},format:function(t){Lo(t)&&(t=Ea({},t));return La(t)},Url:wa};function wa(){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 ba=/^([a-z0-9.+-]+:)/i,_a=/:[0-9]*$/,Ma=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xa=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Aa=["'"].concat(xa),Pa=["%","/","?",";","#"].concat(Aa),Ca=["/","?","#"],ja=/^[+a-z0-9A-Z_-]{0,63}$/,za=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ka={javascript:!0,"javascript:":!0},Oa={javascript:!0,"javascript:":!0},Ta={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Sa(t,e,n){if(t&&Ho(t)&&t instanceof wa)return t;var o=new wa;return o.parse(t,e,n),o}function Ea(t,e,n,o){if(!Lo(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),a=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(a);i[0]=i[0].replace(/\\/g,"/");var s=e=i.join(a);if(s=s.trim(),!o&&1===e.split("#").length){var l=Ma.exec(s);if(l)return t.path=s,t.href=s,t.pathname=l[1],l[2]?(t.search=l[2],t.query=n?ma(t.search.substr(1)):t.search.substr(1)):n&&(t.search="",t.query={}),t}var u,c,h,d,f=ba.exec(s);if(f){var p=(f=f[0]).toLowerCase();t.protocol=p,s=s.substr(f.length)}if(o||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var v="//"===s.substr(0,2);!v||f&&Oa[f]||(s=s.substr(2),t.slashes=!0)}if(!Oa[f]&&(v||f&&!Ta[f])){var g,m,y=-1;for(u=0;u<Ca.length;u++)-1!==(c=s.indexOf(Ca[u]))&&(-1===y||c<y)&&(y=c);for(-1!==(m=-1===y?s.lastIndexOf("@"):s.lastIndexOf("@",y))&&(g=s.slice(0,m),s=s.slice(m+1),t.auth=decodeURIComponent(g)),y=-1,u=0;u<Pa.length;u++)-1!==(c=s.indexOf(Pa[u]))&&(-1===y||c<y)&&(y=c);-1===y&&(y=s.length),t.host=s.slice(0,y),s=s.slice(y),Ba(t),t.hostname=t.hostname||"";var w="["===t.hostname[0]&&"]"===t.hostname[t.hostname.length-1];if(!w){var b=t.hostname.split(/\./);for(u=0,h=b.length;u<h;u++){var _=b[u];if(_&&!_.match(ja)){for(var M="",x=0,A=_.length;x<A;x++)_.charCodeAt(x)>127?M+="x":M+=_[x];if(!M.match(ja)){var P=b.slice(0,u),C=b.slice(u+1),j=_.match(za);j&&(P.push(j[1]),C.unshift(j[2])),C.length&&(s="/"+C.join(".")+s),t.hostname=P.join(".");break}}}}t.hostname.length>255?t.hostname="":t.hostname=t.hostname.toLowerCase(),w||(t.hostname=ha(t.hostname)),d=t.port?":"+t.port:"";var z=t.hostname||"";t.host=z+d,t.href+=t.host,w&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!ka[p])for(u=0,h=Aa.length;u<h;u++){var k=Aa[u];if(-1!==s.indexOf(k)){var O=encodeURIComponent(k);O===k&&(O=escape(k)),s=s.split(k).join(O)}}var T=s.indexOf("#");-1!==T&&(t.hash=s.substr(T),s=s.slice(0,T));var S=s.indexOf("?");if(-1!==S?(t.search=s.substr(S),t.query=s.substr(S+1),n&&(t.query=ma(t.query)),s=s.slice(0,S)):n&&(t.search="",t.query={}),s&&(t.pathname=s),Ta[p]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){d=t.pathname||"";var E=t.search||"";t.path=d+E}return t.href=La(t),t}function La(t){var e=t.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var n,o,r,a,i=t.protocol||"",s=t.pathname||"",l=t.hash||"",u=!1,c="";t.host?u=e+t.host:t.hostname&&(u=e+(-1===t.hostname.indexOf(":")?t.hostname:"["+this.hostname+"]"),t.port&&(u+=":"+t.port)),t.query&&Ho(t.query)&&Object.keys(t.query).length&&(n=t.query,o=o||"&",r=r||"=",null===n&&(n=void 0),c="object"==typeof n?va(ga(n),(function(t){var e=encodeURIComponent(pa(t))+r;return fa(n[t])?va(n[t],(function(t){return e+encodeURIComponent(pa(t))})).join(o):e+encodeURIComponent(pa(n[t]))})).join(o):a?encodeURIComponent(pa(a))+r+encodeURIComponent(pa(n)):"");var h=t.search||c&&"?"+c||"";return i&&":"!==i.substr(-1)&&(i+=":"),t.slashes||(!i||Ta[i])&&!1!==u?(u="//"+(u||""),s&&"/"!==s.charAt(0)&&(s="/"+s)):u||(u=""),l&&"#"!==l.charAt(0)&&(l="#"+l),h&&"?"!==h.charAt(0)&&(h="?"+h),i+u+(s=s.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(h=h.replace("#","%23"))+l}function Ba(t){var e=t.host,n=_a.exec(e);n&&(":"!==(n=n[0])&&(t.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(t.hostname=e)}function Na(t,e){"string"==typeof t&&(t=Sa(t));var n=-1===be.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||n,r=t.hostname||t.host,a=t.port,i=t.path||"/";r&&-1!==r.indexOf(":")&&(r="["+r+"]"),t.url=(r?o+"//"+r:"")+(a?":"+a:"")+i,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var s=new ta(t);return e&&s.on("response",e),s}function Ha(){}wa.prototype.parse=function(t,e,n){return Ea(this,t,e,n)},wa.prototype.format=function(){return La(this)},wa.prototype.resolve=function(t){return this.resolveObject(Sa(t,!1,!0)).format()},wa.prototype.resolveObject=function(t){if(Lo(t)){var e=new wa;e.parse(t,!1,!0),t=e}for(var n,o=new wa,r=Object.keys(this),a=0;a<r.length;a++){var i=r[a];o[i]=this[i]}if(o.hash=t.hash,""===t.href)return o.href=o.format(),o;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(o[u]=t[u])}return Ta[o.protocol]&&o.hostname&&!o.pathname&&(o.path=o.pathname="/"),o.href=o.format(),o}if(t.protocol&&t.protocol!==o.protocol){if(!Ta[t.protocol]){for(var c=Object.keys(t),h=0;h<c.length;h++){var d=c[h];o[d]=t[d]}return o.href=o.format(),o}if(o.protocol=t.protocol,t.host||Oa[t.protocol])o.pathname=t.pathname;else{for(n=(t.pathname||"").split("/");n.length&&!(t.host=n.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==n[0]&&n.unshift(""),n.length<2&&n.unshift(""),o.pathname=n.join("/")}if(o.search=t.search,o.query=t.query,o.host=t.host||"",o.auth=t.auth,o.hostname=t.hostname||t.host,o.port=t.port,o.pathname||o.search){var f=o.pathname||"",p=o.search||"";o.path=f+p}return o.slashes=o.slashes||t.slashes,o.href=o.format(),o}var v,g=o.pathname&&"/"===o.pathname.charAt(0),m=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=m||g||o.host&&t.pathname,w=y,b=o.pathname&&o.pathname.split("/")||[],_=o.protocol&&!Ta[o.protocol];if(n=t.pathname&&t.pathname.split("/")||[],_&&(o.hostname="",o.port=null,o.host&&(""===b[0]?b[0]=o.host:b.unshift(o.host)),o.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===n[0]?n[0]=t.host:n.unshift(t.host)),t.host=null),y=y&&(""===n[0]||""===b[0])),m)o.host=t.host||""===t.host?t.host:o.host,o.hostname=t.hostname||""===t.hostname?t.hostname:o.hostname,o.search=t.search,o.query=t.query,b=n;else if(n.length)b||(b=[]),b.pop(),b=b.concat(n),o.search=t.search,o.query=t.query;else if(!So(t.search))return _&&(o.hostname=o.host=b.shift(),(v=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=v.shift(),o.host=o.hostname=v.shift())),o.search=t.search,o.query=t.query,To(o.pathname)&&To(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.href=o.format(),o;if(!b.length)return o.pathname=null,o.search?o.path="/"+o.search:o.path=null,o.href=o.format(),o;for(var M=b.slice(-1)[0],x=(o.host||t.host||b.length>1)&&("."===M||".."===M)||""===M,A=0,P=b.length;P>=0;P--)"."===(M=b[P])?b.splice(P,1):".."===M?(b.splice(P,1),A++):A&&(b.splice(P,1),A--);if(!y&&!w)for(;A--;A)b.unshift("..");!y||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),x&&"/"!==b.join("/").substr(-1)&&b.push("");var C=""===b[0]||b[0]&&"/"===b[0].charAt(0);return _&&(o.hostname=o.host=C?"":b.length?b.shift():"",(v=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=v.shift(),o.host=o.hostname=v.shift())),(y=y||o.host&&b.length)&&!C&&b.unshift(""),b.length?o.pathname=b.join("/"):(o.pathname=null,o.path=null),To(o.pathname)&&To(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.auth=t.auth||o.auth,o.slashes=o.slashes||t.slashes,o.href=o.format(),o},wa.prototype.parseHost=function(){return Ba(this)},Ha.defaultMaxSockets=4;var Ra={request:Na,get:function(t,e){var n=Na(t,e);return n.end(),n},Agent:Ha,METHODS:["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"],STATUS_CODES:{100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}};function Va(t,e){if(t===e)return 0;for(var n=t.length,o=e.length,r=0,a=Math.min(n,o);r<a;++r)if(t[r]!==e[r]){n=t[r],o=e[r];break}return n<o?-1:o<n?1:0}var Ia,qa=Object.prototype.hasOwnProperty,Fa=Object.keys||function(t){var e=[];for(var n in t)qa.call(t,n)&&e.push(n);return e},Da=Array.prototype.slice;function Ua(){return void 0!==Ia?Ia:Ia="foo"===function(){}.name}function $a(t){return Object.prototype.toString.call(t)}function Wa(t){return!eo(t)&&("function"==typeof be.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}function Za(t,e){t||Ja(t,!0,e,"==",ti)}var Ga=/\s*function\s+([^\(\s]*)\s*/;function Ka(t){if(Io(t)){if(Ua())return t.name;var e=t.toString().match(Ga);return e&&e[1]}}function Ya(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return Xa(Qa(t.actual),128)+" "+t.operator+" "+Xa(Qa(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||Ja;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var o=n.stack,r=Ka(e),a=o.indexOf("\n"+r);if(a>=0){var i=o.indexOf("\n",a+1);o=o.substring(i+1)}this.stack=o}}}function Xa(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function Qa(t){if(Ua()||!Io(t))return xo(t);var e=Ka(t);return"[Function"+(e?": "+e:"")+"]"}function Ja(t,e,n,o,r){throw new Ya({message:n,actual:t,expected:e,operator:o,stackStartFunction:r})}function ti(t,e){t||Ja(t,!0,e,"==",ti)}function ei(t,e,n,o){if(t===e)return!0;if(eo(t)&&eo(e))return 0===Va(t,e);if(Ro(t)&&Ro(e))return t.getTime()===e.getTime();if(No(t)&&No(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(Wa(t)&&Wa(e)&&$a(t)===$a(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===Va(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(eo(t)!==eo(e))return!1;var r=(o=o||{actual:[],expected:[]}).actual.indexOf(t);return-1!==r&&r===o.expected.indexOf(e)||(o.actual.push(t),o.expected.push(e),function(t,e,n,o){if(null==t||null==e)return!1;if(qo(t)||qo(e))return t===e;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var r=ni(t),a=ni(e);if(r&&!a||!r&&a)return!1;if(r)return ei(t=Da.call(t),e=Da.call(e),n);var i,s,l=Fa(t),u=Fa(e);if(l.length!==u.length)return!1;for(l.sort(),u.sort(),s=l.length-1;s>=0;s--)if(l[s]!==u[s])return!1;for(s=l.length-1;s>=0;s--)if(!ei(t[i=l[s]],e[i],n,o))return!1;return!0}(t,e,n,o))}return n?t===e:t==e}function ni(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function oi(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function ri(t,e,n,o){var r;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(o=n,n=null),r=function(t){var e;try{t()}catch(t){e=t}return e}(e),o=(n&&n.name?" ("+n.name+").":".")+(o?" "+o:"."),t&&!r&&Ja(r,n,"Missing expected exception"+o);var a="string"==typeof o,i=!t&&r&&!n;if((!t&&Vo(r)&&a&&oi(r,n)||i)&&Ja(r,n,"Got unwanted exception"+o),t&&r&&n&&!oi(r,n)||!t&&r)throw r}Za.AssertionError=Ya,go(Ya,Error),Za.fail=Ja,Za.ok=ti,Za.equal=function t(e,n,o){e!=n&&Ja(e,n,o,"==",t)},Za.notEqual=function t(e,n,o){e==n&&Ja(e,n,o,"!=",t)},Za.deepEqual=function t(e,n,o){ei(e,n,!1)||Ja(e,n,o,"deepEqual",t)},Za.deepStrictEqual=function t(e,n,o){ei(e,n,!0)||Ja(e,n,o,"deepStrictEqual",t)},Za.notDeepEqual=function t(e,n,o){ei(e,n,!1)&&Ja(e,n,o,"notDeepEqual",t)},Za.notDeepStrictEqual=function t(e,n,o){ei(e,n,!0)&&Ja(e,n,o,"notDeepStrictEqual",t)},Za.strictEqual=function t(e,n,o){e!==n&&Ja(e,n,o,"===",t)},Za.notStrictEqual=function t(e,n,o){e===n&&Ja(e,n,o,"!==",t)},Za.throws=function(t,e,n){ri(!0,t,e,n)},Za.doesNotThrow=function(t,e,n){ri(!1,t,e,n)},Za.ifError=function(t){if(t)throw t};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ai(t,e,n){return n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},t(n,n.exports),n.exports}var ii=1e3,si=60*ii,li=60*si,ui=24*li,ci=7*ui,hi=365.25*ui,di=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*hi;case"weeks":case"week":case"w":return n*ci;case"days":case"day":case"d":return n*ui;case"hours":case"hour":case"hrs":case"hr":case"h":return n*li;case"minutes":case"minute":case"mins":case"min":case"m":return n*si;case"seconds":case"second":case"secs":case"sec":case"s":return n*ii;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=ui)return fi(t,e,ui,"day");if(e>=li)return fi(t,e,li,"hour");if(e>=si)return fi(t,e,si,"minute");if(e>=ii)return fi(t,e,ii,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=ui)return Math.round(t/ui)+"d";if(e>=li)return Math.round(t/li)+"h";if(e>=si)return Math.round(t/si)+"m";if(e>=ii)return Math.round(t/ii)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function fi(t,e,n,o){var r=e>=1.5*n;return Math.round(t/n)+" "+o+(r?"s":"")}var pi=function(t){function e(t){let o,r,a,i=null;function s(...t){if(!s.enabled)return;const n=s,r=Number(new Date),a=r-(o||r);n.diff=a,n.prev=o,n.curr=r,o=r,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let i=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";i++;const a=e.formatters[r];if("function"==typeof a){const e=t[i];o=a.call(n,e),t.splice(i,1),i--}return o})),e.formatArgs.call(n,t);(n.log||e.log).apply(n,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=n,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==e.namespaces&&(r=e.namespaces,a=e.enabled(t)),a),set:t=>{i=t}}),"function"==typeof e.init&&e.init(s),s}function n(t,n){const o=e(this.namespace+(void 0===n?":":n)+t);return o.log=this.log,o}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const o=("string"==typeof t?t:"").split(/[\s,]+/),r=o.length;for(n=0;n<r;n++)o[n]&&("-"===(t=o[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,o;for(n=0,o=e.skips.length;n<o;n++)if(e.skips[n].test(t))return!1;for(n=0,o=e.names.length;n<o;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=di,e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e},vi=ai((function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let o=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(o++,"%c"===t&&(r=o))})),e.splice(r,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&void 0!==$e&&"env"in $e&&(t=$e.env.DEBUG);return t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=pi(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}));var gi,mi={isatty:function(){return!1},ReadStream:function(){throw new Error("tty.ReadStream is not implemented")},WriteStream:function(){throw new Error("tty.ReadStream is not implemented")}};function yi(){return"/tmp"}var wi={EOL:"\n",tmpdir:yi,tmpDir:yi,networkInterfaces:function(){},getNetworkInterfaces:function(){},release:function(){return void 0!==be.navigator?be.navigator.appVersion:""},type:function(){return"Browser"},cpus:function(){return[]},totalmem:function(){return Number.MAX_VALUE},freemem:function(){return Number.MAX_VALUE},uptime:function(){return 0},loadavg:function(){return[]},hostname:function(){return void 0!==be.location?be.location.hostname:""},endianness:function(){if(void 0===gi){var t=new ArrayBuffer(2),e=new Uint8Array(t),n=new Uint16Array(t);if(e[0]=1,e[1]=2,258===n[0])gi="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");gi="LE"}}return gi}},bi=(t,e)=>{e=e||$e.argv;const n=t.startsWith("-")?"":1===t.length?"-":"--",o=e.indexOf(n+t),r=e.indexOf("--");return-1!==o&&(-1===r||o<r)};const _i=$e.env;let Mi;function xi(t){const e=function(t){if(!1===Mi)return 0;if(bi("color=16m")||bi("color=full")||bi("color=truecolor"))return 3;if(bi("color=256"))return 2;if(t&&!t.isTTY&&!0!==Mi)return 0;const e=Mi?1:0;if("win32"===$e.platform){const t=wi.release().split(".");return Number($e.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in _i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in _i))||"codeship"===_i.CI_NAME?1:e;if("TEAMCITY_VERSION"in _i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(_i.TEAMCITY_VERSION)?1:0;if("truecolor"===_i.COLORTERM)return 3;if("TERM_PROGRAM"in _i){const t=parseInt((_i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(_i.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(_i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(_i.TERM)||"COLORTERM"in _i?1:(_i.TERM,e)}(t);return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(e)}bi("no-color")||bi("no-colors")||bi("color=false")?Mi=!1:(bi("color")||bi("colors")||bi("color=true")||bi("color=always"))&&(Mi=!0),"FORCE_COLOR"in _i&&(Mi=0===_i.FORCE_COLOR.length||0!==parseInt(_i.FORCE_COLOR,10));var Ai,Pi={supportsColor:xi,stdout:xi($e.stdout),stderr:xi($e.stderr)},Ci=ai((function(t,e){e.init=function(t){t.inspectOpts={};const n=Object.keys(e.inspectOpts);for(let o=0;o<n.length;o++)t.inspectOpts[n[o]]=e.inspectOpts[n[o]]},e.log=function(...t){return $e.stderr.write(Go.format(...t)+"\n")},e.formatArgs=function(n){const{namespace:o,useColors:r}=this;if(r){const e=this.color,r="[3"+(e<8?e:"8;5;"+e),a=` ${r};1m${o} `;n[0]=a+n[0].split("\n").join("\n"+a),n.push(r+"m+"+t.exports.humanize(this.diff)+"")}else n[0]=function(){if(e.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+o+" "+n[0]},e.save=function(t){t?$e.env.DEBUG=t:delete $e.env.DEBUG},e.load=function(){return $e.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?Boolean(e.inspectOpts.colors):mi.isatty($e.stderr.fd)},e.destroy=Go.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{const t=Pi;t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}e.inspectOpts=Object.keys($e.env).filter((t=>/^debug_/i.test(t))).reduce(((t,e)=>{const n=e.substring(6).toLowerCase().replace(/_([a-z])/g,((t,e)=>e.toUpperCase()));let o=$e.env[e];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),t[n]=o,t}),{}),t.exports=pi(e);const{formatters:n}=t.exports;n.o=function(t){return this.inspectOpts.colors=this.useColors,Go.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")},n.O=function(t){return this.inspectOpts.colors=this.useColors,Go.inspect(t,this.inspectOpts)}})),ji=ai((function(t){void 0===$e||"renderer"===$e.type||!0===$e.browser||$e.__nwjs?t.exports=vi:t.exports=Ci})),zi=function(){if(!Ai){try{Ai=ji("follow-redirects")}catch(t){}"function"!=typeof Ai&&(Ai=function(){})}Ai.apply(null,arguments)},ki=ya.URL,Oi=Yr.Writable,Ti=["abort","aborted","connect","error","socket","timeout"],Si=Object.create(null);Ti.forEach((function(t){Si[t]=function(e,n,o){this._redirectable.emit(t,e,n,o)}}));var Ei=Fi("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Li=Fi("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Bi=Fi("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ni=Fi("ERR_STREAM_WRITE_AFTER_END","write after end");function Hi(t,e){Oi.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(t){n._processResponse(t)},this._performRequest()}function Ri(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach((function(o){var r=o+":",a=n[r]=t[o],i=e[o]=Object.create(a);Object.defineProperties(i,{request:{value:function(t,o,a){if("string"==typeof t){var i=t;try{t=Ii(new ki(i))}catch(e){t=ya.parse(i)}}else ki&&t instanceof ki?t=Ii(t):(a=o,o=t,t={protocol:r});return"function"==typeof o&&(a=o,o=null),(o=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},t,o)).nativeProtocols=n,Za.equal(o.protocol,r,"protocol mismatch"),zi("options",o),new Hi(o,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(t,e,n){var o=i.request(t,e,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),e}function Vi(){}function Ii(t){var e={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return""!==t.port&&(e.port=Number(t.port)),e}function qi(t,e){var n;for(var o in e)t.test(o)&&(n=e[o],delete e[o]);return null==n?void 0:String(n).trim()}function Fi(t,e){function n(t){Error.captureStackTrace(this,this.constructor),t?(this.message=e+": "+t.message,this.cause=t):this.message=e}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+t+"]",n.prototype.code=t,n}function Di(t){for(var e=0;e<Ti.length;e++)t.removeListener(Ti[e],Si[Ti[e]]);t.on("error",Vi),t.abort()}Hi.prototype=Object.create(Oi.prototype),Hi.prototype.abort=function(){Di(this._currentRequest),this.emit("abort")},Hi.prototype.write=function(t,e,n){if(this._ending)throw new Ni;if(!("string"==typeof t||"object"==typeof t&&"length"in t))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof e&&(n=e,e=null),0!==t.length?this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new Bi),this.abort()):n&&n()},Hi.prototype.end=function(t,e,n){if("function"==typeof t?(n=t,t=e=null):"function"==typeof e&&(n=e,e=null),t){var o=this,r=this._currentRequest;this.write(t,e,(function(){o._ended=!0,r.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},Hi.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)},Hi.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)},Hi.prototype.setTimeout=function(t,e){var n=this;function o(e){e.setTimeout(t),e.removeListener("timeout",e.destroy),e.addListener("timeout",e.destroy)}function r(e){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),a()}),t),o(e)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",r)}return e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",o),this.on("abort",a),this.on("error",a),this.on("response",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(t){Hi.prototype[t]=function(e,n){return this._currentRequest[t](e,n)}})),["aborted","connection","socket"].forEach((function(t){Object.defineProperty(Hi.prototype,t,{get:function(){return this._currentRequest[t]}})})),Hi.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}},Hi.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(e){if(this._options.agents){var n=t.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=e.request(this._options,this._onNativeResponse);this._currentUrl=ya.format(this._options),o._redirectable=this;for(var r=0;r<Ti.length;r++)o.on(Ti[r],Si[Ti[r]]);if(this._isRedirect){var a=0,i=this,s=this._requestBodyBuffers;!function t(e){if(o===i._currentRequest)if(e)i.emit("error",e);else if(a<s.length){var n=s[a++];o.finished||o.write(n.data,n.encoding,t)}else i._ended&&o.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},Hi.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var n=t.headers.location;if(!n||!1===this._options.followRedirects||e<300||e>=400)return t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),void(this._requestBodyBuffers=[]);if(Di(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new Li);else{var o,r=this._options.beforeRedirect;r&&(o=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var a=this._options.method;((301===e||302===e)&&"POST"===this._options.method||303===e&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],qi(/^content-/i,this._options.headers));var i,s=qi(/^host$/i,this._options.headers),l=ya.parse(this._currentUrl),u=s||l.host,c=/^\w+:/.test(n)?this._currentUrl:ya.format(Object.assign(l,{host:u}));try{i=ya.resolve(c,n)}catch(t){return void this.emit("error",new Ei(t))}zi("redirecting to",i),this._isRedirect=!0;var h=ya.parse(i);if(Object.assign(this._options,h),(h.protocol!==l.protocol&&"https:"!==h.protocol||h.host!==u&&!function(t,e){const n=t.length-e.length-1;return n>0&&"."===t[n]&&t.endsWith(e)}(h.host,u))&&qi(/^(?:authorization|cookie)$/i,this._options.headers),"function"==typeof r){var d={headers:t.headers,statusCode:e},f={url:c,method:a,headers:o};try{r(this._options,d,f)}catch(t){return void this.emit("error",t)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(t){this.emit("error",new Ei(t))}}};var Ui=Ri({http:Ra,https:Ra}),$i=Ri;Ui.wrap=$i;var Wi={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function Zi(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function Gi(t,e,n,o,r){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+o),r);else for(var a=0;a<o;a++)t[r+a]=e[n+a]}var Ki=Uint8Array,Yi=Uint16Array,Xi=Int32Array;function Qi(t){for(var e=t.length;--e>=0;)t[e]=0}var Ji=256,ts=286,es=30,ns=15,os=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],rs=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],as=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],is=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ss=new Array(576);Qi(ss);var ls=new Array(60);Qi(ls);var us=new Array(512);Qi(us);var cs=new Array(256);Qi(cs);var hs=new Array(29);Qi(hs);var ds,fs,ps,vs=new Array(es);function gs(t,e,n,o,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=o,this.max_length=r,this.has_stree=t&&t.length}function ms(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function ys(t){return t<256?us[t]:us[256+(t>>>7)]}function ws(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function bs(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,ws(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function _s(t,e,n){bs(t,n[2*e],n[2*e+1])}function Ms(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function xs(t,e,n){var o,r,a=new Array(16),i=0;for(o=1;o<=ns;o++)a[o]=i=i+n[o-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=Ms(a[s]++,s))}}function As(t){var e;for(e=0;e<ts;e++)t.dyn_ltree[2*e]=0;for(e=0;e<es;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function Ps(t){t.bi_valid>8?ws(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function Cs(t,e,n,o){var r=2*e,a=2*n;return t[r]<t[a]||t[r]===t[a]&&o[e]<=o[n]}function js(t,e,n){for(var o=t.heap[n],r=n<<1;r<=t.heap_len&&(r<t.heap_len&&Cs(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!Cs(e,o,t.heap[r],t.depth));)t.heap[n]=t.heap[r],n=r,r<<=1;t.heap[n]=o}function zs(t,e,n){var o,r,a,i,s=0;if(0!==t.last_lit)do{o=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],r=t.pending_buf[t.l_buf+s],s++,0===o?_s(t,r,e):(_s(t,(a=cs[r])+Ji+1,e),0!==(i=os[a])&&bs(t,r-=hs[a],i),_s(t,a=ys(--o),n),0!==(i=rs[a])&&bs(t,o-=vs[a],i))}while(s<t.last_lit);_s(t,256,e)}function ks(t,e){var n,o,r,a=e.dyn_tree,i=e.stat_desc.static_tree,s=e.stat_desc.has_stree,l=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<l;n++)0!==a[2*n]?(t.heap[++t.heap_len]=u=n,t.depth[n]=0):a[2*n+1]=0;for(;t.heap_len<2;)a[2*(r=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[r]=0,t.opt_len--,s&&(t.static_len-=i[2*r+1]);for(e.max_code=u,n=t.heap_len>>1;n>=1;n--)js(t,a,n);r=l;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],js(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=o,a[2*r]=a[2*n]+a[2*o],t.depth[r]=(t.depth[n]>=t.depth[o]?t.depth[n]:t.depth[o])+1,a[2*n+1]=a[2*o+1]=r,t.heap[1]=r++,js(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,o,r,a,i,s,l=e.dyn_tree,u=e.max_code,c=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,v=0;for(a=0;a<=ns;a++)t.bl_count[a]=0;for(l[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(a=l[2*l[2*(o=t.heap[n])+1]+1]+1)>p&&(a=p,v++),l[2*o+1]=a,o>u||(t.bl_count[a]++,i=0,o>=f&&(i=d[o-f]),s=l[2*o],t.opt_len+=s*(a+i),h&&(t.static_len+=s*(c[2*o+1]+i)));if(0!==v){do{for(a=p-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[p]--,v-=2}while(v>0);for(a=p;0!==a;a--)for(o=t.bl_count[a];0!==o;)(r=t.heap[--n])>u||(l[2*r+1]!==a&&(t.opt_len+=(a-l[2*r+1])*l[2*r],l[2*r+1]=a),o--)}}(t,e),xs(a,u,t.bl_count)}function Os(t,e,n){var o,r,a=-1,i=e[1],s=0,l=7,u=4;for(0===i&&(l=138,u=3),e[2*(n+1)+1]=65535,o=0;o<=n;o++)r=i,i=e[2*(o+1)+1],++s<l&&r===i||(s<u?t.bl_tree[2*r]+=s:0!==r?(r!==a&&t.bl_tree[2*r]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,a=r,0===i?(l=138,u=3):r===i?(l=6,u=3):(l=7,u=4))}function Ts(t,e,n){var o,r,a=-1,i=e[1],s=0,l=7,u=4;for(0===i&&(l=138,u=3),o=0;o<=n;o++)if(r=i,i=e[2*(o+1)+1],!(++s<l&&r===i)){if(s<u)do{_s(t,r,t.bl_tree)}while(0!=--s);else 0!==r?(r!==a&&(_s(t,r,t.bl_tree),s--),_s(t,16,t.bl_tree),bs(t,s-3,2)):s<=10?(_s(t,17,t.bl_tree),bs(t,s-3,3)):(_s(t,18,t.bl_tree),bs(t,s-11,7));s=0,a=r,0===i?(l=138,u=3):r===i?(l=6,u=3):(l=7,u=4)}}Qi(vs);var Ss=!1;function Es(t){Ss||(!function(){var t,e,n,o,r,a=new Array(16);for(n=0,o=0;o<28;o++)for(hs[o]=n,t=0;t<1<<os[o];t++)cs[n++]=o;for(cs[n-1]=o,r=0,o=0;o<16;o++)for(vs[o]=r,t=0;t<1<<rs[o];t++)us[r++]=o;for(r>>=7;o<es;o++)for(vs[o]=r<<7,t=0;t<1<<rs[o]-7;t++)us[256+r++]=o;for(e=0;e<=ns;e++)a[e]=0;for(t=0;t<=143;)ss[2*t+1]=8,t++,a[8]++;for(;t<=255;)ss[2*t+1]=9,t++,a[9]++;for(;t<=279;)ss[2*t+1]=7,t++,a[7]++;for(;t<=287;)ss[2*t+1]=8,t++,a[8]++;for(xs(ss,287,a),t=0;t<es;t++)ls[2*t+1]=5,ls[2*t]=Ms(t,5);ds=new gs(ss,os,257,ts,ns),fs=new gs(ls,rs,0,es,ns),ps=new gs(new Array(0),as,0,19,7)}(),Ss=!0),t.l_desc=new ms(t.dyn_ltree,ds),t.d_desc=new ms(t.dyn_dtree,fs),t.bl_desc=new ms(t.bl_tree,ps),t.bi_buf=0,t.bi_valid=0,As(t)}function Ls(t,e,n,o){bs(t,0+(o?1:0),3),function(t,e,n,o){Ps(t),o&&(ws(t,n),ws(t,~n)),Gi(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n,!0)}function Bs(t){bs(t,2,3),_s(t,256,ss),function(t){16===t.bi_valid?(ws(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}function Ns(t,e,n,o){var r,a,i=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<Ji;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),ks(t,t.l_desc),ks(t,t.d_desc),i=function(t){var e;for(Os(t,t.dyn_ltree,t.l_desc.max_code),Os(t,t.dyn_dtree,t.d_desc.max_code),ks(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*is[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=r&&(r=a)):r=a=n+5,n+4<=r&&-1!==e?Ls(t,e,n,o):4===t.strategy||a===r?(bs(t,2+(o?1:0),3),zs(t,ss,ls)):(bs(t,4+(o?1:0),3),function(t,e,n,o){var r;for(bs(t,e-257,5),bs(t,n-1,5),bs(t,o-4,4),r=0;r<o;r++)bs(t,t.bl_tree[2*is[r]+1],3);Ts(t,t.dyn_ltree,e-1),Ts(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,i+1),zs(t,t.dyn_ltree,t.dyn_dtree)),As(t),o&&Ps(t)}function Hs(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(cs[n]+Ji+1)]++,t.dyn_dtree[2*ys(e)]++),t.last_lit===t.lit_bufsize-1}function Rs(t,e,n,o){for(var r=65535&t|0,a=t>>>16&65535|0,i=0;0!==n;){n-=i=n>2e3?2e3:n;do{a=a+(r=r+e[o++]|0)|0}while(--i);r%=65521,a%=65521}return r|a<<16|0}var Vs=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var o=0;o<8;o++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();function Is(t,e,n,o){var r=Vs,a=o+n;t^=-1;for(var i=o;i<a;i++)t=t>>>8^r[255&(t^e[i])];return-1^t}var qs,Fs=-2,Ds=258,Us=262,$s=103,Ws=113,Zs=666;function Gs(t,e){return t.msg=Wi[e],e}function Ks(t){return(t<<1)-(t>4?9:0)}function Ys(t){for(var e=t.length;--e>=0;)t[e]=0}function Xs(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(Gi(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function Qs(t,e){Ns(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Xs(t.strm)}function Js(t,e){t.pending_buf[t.pending++]=e}function tl(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function el(t,e){var n,o,r=t.max_chain_length,a=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-Us?t.strstart-(t.w_size-Us):0,u=t.window,c=t.w_mask,h=t.prev,d=t.strstart+Ds,f=u[a+i-1],p=u[a+i];t.prev_length>=t.good_match&&(r>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(n=e)+i]===p&&u[n+i-1]===f&&u[n]===u[a]&&u[++n]===u[a+1]){a+=2,n++;do{}while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<d);if(o=Ds-(d-a),a=d-Ds,o>i){if(t.match_start=e,i=o,o>=s)break;f=u[a+i-1],p=u[a+i]}}}while((e=h[e&c])>l&&0!=--r);return i<=t.lookahead?i:t.lookahead}function nl(t){var e,n,o,r,a,i,s,l,u,c,h=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=h+(h-Us)){Gi(t.window,t.window,h,h,0),t.match_start-=h,t.strstart-=h,t.block_start-=h,e=n=t.hash_size;do{o=t.head[--e],t.head[e]=o>=h?o-h:0}while(--n);e=n=h;do{o=t.prev[--e],t.prev[e]=o>=h?o-h:0}while(--n);r+=h}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=r,c=void 0,(c=i.avail_in)>u&&(c=u),n=0===c?0:(i.avail_in-=c,Gi(s,i.input,i.next_in,c,l),1===i.state.wrap?i.adler=Rs(i.adler,s,c,l):2===i.state.wrap&&(i.adler=Is(i.adler,s,c,l)),i.next_in+=c,i.total_in+=c,c),t.lookahead+=n,t.lookahead+t.insert>=3)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+3-1])&t.hash_mask,t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<Us&&0!==t.strm.avail_in)}function ol(t,e){for(var n,o;;){if(t.lookahead<Us){if(nl(t),t.lookahead<Us&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-Us&&(t.match_length=el(t,n)),t.match_length>=3)if(o=Hs(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else o=Hs(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(o&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}function rl(t,e){for(var n,o,r;;){if(t.lookahead<Us){if(nl(t),t.lookahead<Us&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-Us&&(t.match_length=el(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,o=Hs(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,o&&(Qs(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((o=Hs(t,0,t.window[t.strstart-1]))&&Qs(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(o=Hs(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}function al(t,e,n,o,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=o,this.func=r}function il(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Yi(1146),this.dyn_dtree=new Yi(122),this.bl_tree=new Yi(78),Ys(this.dyn_ltree),Ys(this.dyn_dtree),Ys(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Yi(16),this.heap=new Yi(573),Ys(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Yi(573),Ys(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function sl(t){var e=function(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:Ws,t.adler=2===e.wrap?0:1,e.last_flush=0,Es(e),0):Gs(t,Fs)}(t);return 0===e&&function(t){t.window_size=2*t.w_size,Ys(t.head),t.max_lazy_match=qs[t.level].max_lazy,t.good_match=qs[t.level].good_length,t.nice_match=qs[t.level].nice_length,t.max_chain_length=qs[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0}(t.state),e}function ll(t,e){var n,o,r,a;if(!t||!t.state||e>5||e<0)return t?Gs(t,Fs):Fs;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||o.status===Zs&&4!==e)return Gs(t,0===t.avail_out?-5:Fs);if(o.strm=t,n=o.last_flush,o.last_flush=e,42===o.status)if(2===o.wrap)t.adler=0,Js(o,31),Js(o,139),Js(o,8),o.gzhead?(Js(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),Js(o,255&o.gzhead.time),Js(o,o.gzhead.time>>8&255),Js(o,o.gzhead.time>>16&255),Js(o,o.gzhead.time>>24&255),Js(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),Js(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(Js(o,255&o.gzhead.extra.length),Js(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=Is(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(Js(o,0),Js(o,0),Js(o,0),Js(o,0),Js(o,0),Js(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),Js(o,3),o.status=Ws);else{var i=8+(o.w_bits-8<<4)<<8;i|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(i|=32),i+=31-i%31,o.status=Ws,tl(o,i),0!==o.strstart&&(tl(o,t.adler>>>16),tl(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(r=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),Xs(t),r=o.pending,o.pending!==o.pending_buf_size));)Js(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){r=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),Xs(t),r=o.pending,o.pending===o.pending_buf_size)){a=1;break}a=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,Js(o,a)}while(0!==a);o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),0===a&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){r=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),Xs(t),r=o.pending,o.pending===o.pending_buf_size)){a=1;break}a=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,Js(o,a)}while(0!==a);o.gzhead.hcrc&&o.pending>r&&(t.adler=Is(t.adler,o.pending_buf,o.pending-r,r)),0===a&&(o.status=$s)}else o.status=$s;if(o.status===$s&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Xs(t),o.pending+2<=o.pending_buf_size&&(Js(o,255&t.adler),Js(o,t.adler>>8&255),t.adler=0,o.status=Ws)):o.status=Ws),0!==o.pending){if(Xs(t),0===t.avail_out)return o.last_flush=-1,0}else if(0===t.avail_in&&Ks(e)<=Ks(n)&&4!==e)return Gs(t,-5);if(o.status===Zs&&0!==t.avail_in)return Gs(t,-5);if(0!==t.avail_in||0!==o.lookahead||0!==e&&o.status!==Zs){var s=2===o.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(nl(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=Hs(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}(o,e):3===o.strategy?function(t,e){for(var n,o,r,a,i=t.window;;){if(t.lookahead<=Ds){if(nl(t),t.lookahead<=Ds&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(o=i[r=t.strstart-1])===i[++r]&&o===i[++r]&&o===i[++r]){a=t.strstart+Ds;do{}while(o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&o===i[++r]&&r<a);t.match_length=Ds-(a-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=Hs(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=Hs(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Qs(t,!1),0===t.strm.avail_out)?1:2}(o,e):qs[o.level].func(o,e);if(3!==s&&4!==s||(o.status=Zs),1===s||3===s)return 0===t.avail_out&&(o.last_flush=-1),0;if(2===s&&(1===e?Bs(o):5!==e&&(Ls(o,0,0,!1),3===e&&(Ys(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),Xs(t),0===t.avail_out))return o.last_flush=-1,0}return 4!==e?0:o.wrap<=0?1:(2===o.wrap?(Js(o,255&t.adler),Js(o,t.adler>>8&255),Js(o,t.adler>>16&255),Js(o,t.adler>>24&255),Js(o,255&t.total_in),Js(o,t.total_in>>8&255),Js(o,t.total_in>>16&255),Js(o,t.total_in>>24&255)):(tl(o,t.adler>>>16),tl(o,65535&t.adler)),Xs(t),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)}qs=[new al(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nl(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var o=t.block_start+n;if((0===t.strstart||t.strstart>=o)&&(t.lookahead=t.strstart-o,t.strstart=o,Qs(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-Us&&(Qs(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Qs(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Qs(t,!1),t.strm.avail_out),1)})),new al(4,4,8,4,ol),new al(4,5,16,8,ol),new al(4,6,32,32,ol),new al(4,4,16,16,rl),new al(8,16,32,32,rl),new al(8,16,128,128,rl),new al(8,32,128,256,rl),new al(32,128,258,1024,rl),new al(32,258,258,4096,rl)];function ul(t,e){var n,o,r,a,i,s,l,u,c,h,d,f,p,v,g,m,y,w,b,_,M,x,A,P,C;n=t.state,o=t.next_in,P=t.input,r=o+(t.avail_in-5),a=t.next_out,C=t.output,i=a-(e-t.avail_out),s=a+(t.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;t:do{p<15&&(f+=P[o++]<<p,p+=8,f+=P[o++]<<p,p+=8),w=v[f&m];e:for(;;){if(f>>>=b=w>>>24,p-=b,0===(b=w>>>16&255))C[a++]=65535&w;else{if(!(16&b)){if(0==(64&b)){w=v[(65535&w)+(f&(1<<b)-1)];continue e}if(32&b){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}_=65535&w,(b&=15)&&(p<b&&(f+=P[o++]<<p,p+=8),_+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=P[o++]<<p,p+=8,f+=P[o++]<<p,p+=8),w=g[f&y];n:for(;;){if(f>>>=b=w>>>24,p-=b,!(16&(b=w>>>16&255))){if(0==(64&b)){w=g[(65535&w)+(f&(1<<b)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(M=65535&w,p<(b&=15)&&(f+=P[o++]<<p,(p+=8)<b&&(f+=P[o++]<<p,p+=8)),(M+=f&(1<<b)-1)>l){t.msg="invalid distance too far back",n.mode=30;break t}if(f>>>=b,p-=b,M>(b=a-i)){if((b=M-b)>c&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(x=0,A=d,0===h){if(x+=u-b,b<_){_-=b;do{C[a++]=d[x++]}while(--b);x=a-M,A=C}}else if(h<b){if(x+=u+h-b,(b-=h)<_){_-=b;do{C[a++]=d[x++]}while(--b);if(x=0,h<_){_-=b=h;do{C[a++]=d[x++]}while(--b);x=a-M,A=C}}}else if(x+=h-b,b<_){_-=b;do{C[a++]=d[x++]}while(--b);x=a-M,A=C}for(;_>2;)C[a++]=A[x++],C[a++]=A[x++],C[a++]=A[x++],_-=3;_&&(C[a++]=A[x++],_>1&&(C[a++]=A[x++]))}else{x=a-M;do{C[a++]=C[x++],C[a++]=C[x++],C[a++]=C[x++],_-=3}while(_>2);_&&(C[a++]=C[x++],_>1&&(C[a++]=C[x++]))}break}}break}}while(o<r&&a<s);o-=_=p>>3,f&=(1<<(p-=_<<3))-1,t.next_in=o,t.next_out=a,t.avail_in=o<r?r-o+5:5-(o-r),t.avail_out=a<s?s-a+257:257-(a-s),n.hold=f,n.bits=p}var cl=15,hl=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],dl=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],fl=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],pl=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function vl(t,e,n,o,r,a,i,s){var l,u,c,h,d,f,p,v,g,m=s.bits,y=0,w=0,b=0,_=0,M=0,x=0,A=0,P=0,C=0,j=0,z=null,k=0,O=new Yi(16),T=new Yi(16),S=null,E=0;for(y=0;y<=cl;y++)O[y]=0;for(w=0;w<o;w++)O[e[n+w]]++;for(M=m,_=cl;_>=1&&0===O[_];_--);if(M>_&&(M=_),0===_)return r[a++]=20971520,r[a++]=20971520,s.bits=1,0;for(b=1;b<_&&0===O[b];b++);for(M<b&&(M=b),P=1,y=1;y<=cl;y++)if(P<<=1,(P-=O[y])<0)return-1;if(P>0&&(0===t||1!==_))return-1;for(T[1]=0,y=1;y<cl;y++)T[y+1]=T[y]+O[y];for(w=0;w<o;w++)0!==e[n+w]&&(i[T[e[n+w]]++]=w);if(0===t?(z=S=i,f=19):1===t?(z=hl,k-=257,S=dl,E-=257,f=256):(z=fl,S=pl,f=-1),j=0,w=0,y=b,d=a,x=M,A=0,c=-1,h=(C=1<<M)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){p=y-A,i[w]<f?(v=0,g=i[w]):i[w]>f?(v=S[E+i[w]],g=z[k+i[w]]):(v=96,g=0),l=1<<y-A,b=u=1<<x;do{r[d+(j>>A)+(u-=l)]=p<<24|v<<16|g|0}while(0!==u);for(l=1<<y-1;j&l;)l>>=1;if(0!==l?(j&=l-1,j+=l):j=0,w++,0==--O[y]){if(y===_)break;y=e[n+i[w]]}if(y>M&&(j&h)!==c){for(0===A&&(A=M),d+=b,P=1<<(x=y-A);x+A<_&&!((P-=O[x+A])<=0);)x++,P<<=1;if(C+=1<<x,1===t&&C>852||2===t&&C>592)return 1;r[c=j&h]=M<<24|x<<16|d-a|0}}return 0!==j&&(r[d+j]=y-A<<24|64<<16|0),s.bits=M,0}var gl=-2,ml=12,yl=30;function wl(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function bl(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Yi(320),this.work=new Yi(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _l(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,function(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Xi(852),e.distcode=e.distdyn=new Xi(592),e.sane=1,e.back=-1,0):gl}(t)):gl}function Ml(t,e){var n,o;return t?(o=new bl,t.state=o,o.window=null,n=function(t,e){var n,o;return t&&t.state?(o=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?gl:(null!==o.window&&o.wbits!==e&&(o.window=null),o.wrap=n,o.wbits=e,_l(t))):gl}(t,e),0!==n&&(t.state=null),n):gl}var xl,Al,Pl=!0;function Cl(t){if(Pl){var e;for(xl=new Xi(512),Al=new Xi(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(vl(1,t.lens,0,288,xl,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;vl(2,t.lens,0,32,Al,0,t.work,{bits:5}),Pl=!1}t.lencode=xl,t.lenbits=9,t.distcode=Al,t.distbits=5}function jl(t,e){var n,o,r,a,i,s,l,u,c,h,d,f,p,v,g,m,y,w,b,_,M,x,A,P,C=0,j=new Ki(4),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return gl;(n=t.state).mode===ml&&(n.mode=13),i=t.next_out,r=t.output,l=t.avail_out,a=t.next_in,o=t.input,s=t.avail_in,u=n.hold,c=n.bits,h=s,d=l,x=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(2&n.wrap&&35615===u){n.check=0,j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg="incorrect header check",n.mode=yl;break}if(8!=(15&u)){t.msg="unknown compression method",n.mode=yl;break}if(c-=4,M=8+(15&(u>>>=4)),0===n.wbits)n.wbits=M;else if(M>n.wbits){t.msg="invalid window size",n.mode=yl;break}n.dmax=1<<M,t.adler=n.check=1,n.mode=512&u?10:ml,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(n.flags=u,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=yl;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=yl;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,j[2]=u>>>16&255,j[3]=u>>>24&255,n.check=Is(n.check,j,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&(j[0]=255&u,j[1]=u>>>8&255,n.check=Is(n.check,j,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(M=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Gi(n.head.extra,o,a,f,M)),512&n.flags&&(n.check=Is(n.check,o,f,a)),s-=f,a+=f,n.length-=f),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break t;f=0;do{M=o[a+f++],n.head&&M&&n.length<65536&&(n.head.name+=String.fromCharCode(M))}while(M&&f<s);if(512&n.flags&&(n.check=Is(n.check,o,f,a)),s-=f,a+=f,M)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break t;f=0;do{M=o[a+f++],n.head&&M&&n.length<65536&&(n.head.comment+=String.fromCharCode(M))}while(M&&f<s);if(512&n.flags&&(n.check=Is(n.check,o,f,a)),s-=f,a+=f,M)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(u!==(65535&n.check)){t.msg="header crc mismatch",n.mode=yl;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=ml;break;case 10:for(;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}t.adler=n.check=wl(u),u=0,c=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=i,t.avail_out=l,t.next_in=a,t.avail_in=s,n.hold=u,n.bits=c,2;t.adler=n.check=1,n.mode=ml;case ml:if(5===e||6===e)break t;case 13:if(n.last){u>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=14;break;case 1:if(Cl(n),n.mode=20,6===e){u>>>=2,c-=2;break t}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=yl}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){t.msg="invalid stored block lengths",n.mode=yl;break}if(n.length=65535&u,u=0,c=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break t;Gi(r,o,a,f,i),s-=f,a+=f,l-=f,i+=f,n.length-=f;break}n.mode=ml;break;case 17:for(;c<14;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(n.nlen=257+(31&u),u>>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=yl;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.lens[z[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,A={bits:n.lenbits},x=vl(0,n.lens,0,19,n.lencode,0,n.work,A),n.lenbits=A.bits,x){t.msg="invalid code lengths set",n.mode=yl;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;m=(C=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,y=65535&C,!((g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(y<16)u>>>=g,c-=g,n.lens[n.have++]=y;else{if(16===y){for(P=g+2;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(u>>>=g,c-=g,0===n.have){t.msg="invalid bit length repeat",n.mode=yl;break}M=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===y){for(P=g+3;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}c-=g,M=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(P=g+7;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}c-=g,M=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=yl;break}for(;f--;)n.lens[n.have++]=M}}if(n.mode===yl)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=yl;break}if(n.lenbits=9,A={bits:n.lenbits},x=vl(1,n.lens,0,n.nlen,n.lencode,0,n.work,A),n.lenbits=A.bits,x){t.msg="invalid literal/lengths set",n.mode=yl;break}if(n.distbits=6,n.distcode=n.distdyn,A={bits:n.distbits},x=vl(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,A),n.distbits=A.bits,x){t.msg="invalid distances set",n.mode=yl;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(s>=6&&l>=258){t.next_out=i,t.avail_out=l,t.next_in=a,t.avail_in=s,n.hold=u,n.bits=c,ul(t,d),i=t.next_out,r=t.output,l=t.avail_out,a=t.next_in,o=t.input,s=t.avail_in,u=n.hold,c=n.bits,n.mode===ml&&(n.back=-1);break}for(n.back=0;m=(C=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,y=65535&C,!((g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(m&&0==(240&m)){for(w=g,b=m,_=y;m=(C=n.lencode[_+((u&(1<<w+b)-1)>>w)])>>>16&255,y=65535&C,!(w+(g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}u>>>=w,c-=w,n.back+=w}if(u>>>=g,c-=g,n.back+=g,n.length=y,0===m){n.mode=26;break}if(32&m){n.back=-1,n.mode=ml;break}if(64&m){t.msg="invalid literal/length code",n.mode=yl;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(P=n.extra;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(C=n.distcode[u&(1<<n.distbits)-1])>>>16&255,y=65535&C,!((g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(0==(240&m)){for(w=g,b=m,_=y;m=(C=n.distcode[_+((u&(1<<w+b)-1)>>w)])>>>16&255,y=65535&C,!(w+(g=C>>>24)<=c);){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}u>>>=w,c-=w,n.back+=w}if(u>>>=g,c-=g,n.back+=g,64&m){t.msg="invalid distance code",n.mode=yl;break}n.offset=y,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(P=n.extra;c<P;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=yl;break}n.mode=25;case 25:if(0===l)break t;if(f=d-l,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=yl;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),v=n.window}else v=r,p=i-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{r[i++]=v[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break t;r[i++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(0===s)break t;s--,u|=o[a++]<<c,c+=8}if(d-=l,t.total_out+=d,n.total+=d,d&&(t.adler=n.check=n.flags?Is(n.check,r,d,i-d):Rs(n.check,r,d,i-d)),d=l,(n.flags?u:wl(u))!==n.check){t.msg="incorrect data check",n.mode=yl;break}u=0,c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(0===s)break t;s--,u+=o[a++]<<c,c+=8}if(u!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=yl;break}u=0,c=0}n.mode=29;case 29:x=1;break t;case yl:x=-3;break t;case 31:return-4;default:return gl}return t.next_out=i,t.avail_out=l,t.next_in=a,t.avail_in=s,n.hold=u,n.bits=c,(n.wsize||d!==t.avail_out&&n.mode<yl&&(n.mode<27||4!==e))&&function(t,e,n,o){var r,a=t.state;null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ki(a.wsize)),o>=a.wsize?(Gi(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((r=a.wsize-a.wnext)>o&&(r=o),Gi(a.window,e,n-o,r,a.wnext),(o-=r)?(Gi(a.window,e,n-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r)))}(t,t.output,t.next_out,d-t.avail_out),h-=t.avail_in,d-=t.avail_out,t.total_in+=h,t.total_out+=d,n.total+=d,n.wrap&&d&&(t.adler=n.check=n.flags?Is(n.check,r,d,t.next_out-d):Rs(n.check,r,d,t.next_out-d)),t.data_type=n.bits+(n.last?64:0)+(n.mode===ml?128:0)+(20===n.mode||15===n.mode?256:0),(0===h&&0===d||4===e)&&0===x&&(x=-5),x}var zl;function kl(t){if(t<1||t>7)throw new TypeError("Bad argument");this.mode=t,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function Ol(t,e){for(var n=0;n<t.length;n++)this[e+n]=t[n]}kl.prototype.init=function(t,e,n,o,r){var a;switch(this.windowBits=t,this.level=e,this.memLevel=n,this.strategy=o,3!==this.mode&&4!==this.mode||(this.windowBits+=16),7===this.mode&&(this.windowBits+=32),5!==this.mode&&6!==this.mode||(this.windowBits=-this.windowBits),this.strm=new Zi,this.mode){case 1:case 3:case 5:a=function(t,e,n,o,r,a){if(!t)return Fs;var i=1;if(-1===e&&(e=6),o<0?(i=0,o=-o):o>15&&(i=2,o-=16),r<1||r>9||8!==n||o<8||o>15||e<0||e>9||a<0||a>4)return Gs(t,Fs);8===o&&(o=9);var s=new il;return t.state=s,s.strm=t,s.wrap=i,s.gzhead=null,s.w_bits=o,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=r+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Ki(2*s.w_size),s.head=new Yi(s.hash_size),s.prev=new Yi(s.w_size),s.lit_bufsize=1<<r+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Ki(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=a,s.method=n,sl(t)}(this.strm,this.level,8,this.windowBits,this.memLevel,this.strategy);break;case 2:case 4:case 6:case 7:a=Ml(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}0===a?(this.write_in_progress=!1,this.init_done=!0):this._error(a)},kl.prototype.params=function(){throw new Error("deflateParams Not supported")},kl.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(0===this.mode)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},kl.prototype.write=function(t,e,n,o,r,a,i){this._writeCheck(),this.write_in_progress=!0;var s=this;return $e.nextTick((function(){s.write_in_progress=!1;var l=s._write(t,e,n,o,r,a,i);s.callback(l[0],l[1]),s.pending_close&&s.close()})),this},kl.prototype.writeSync=function(t,e,n,o,r,a,i){return this._writeCheck(),this._write(t,e,n,o,r,a,i)},kl.prototype._write=function(t,e,n,o,r,a,i){if(this.write_in_progress=!0,0!==t&&1!==t&&2!==t&&3!==t&&4!==t&&5!==t)throw new Error("Invalid flush value");null==e&&(e=new yn(0),o=0,n=0),r._set?r.set=r._set:r.set=Ol;var s,l=this.strm;switch(l.avail_in=o,l.input=e,l.next_in=n,l.avail_out=i,l.output=r,l.next_out=a,this.mode){case 1:case 3:case 5:s=ll(l,t);break;case 7:case 2:case 4:case 6:s=jl(l,t);break;default:throw new Error("Unknown mode "+this.mode)}return 1!==s&&0!==s&&this._error(s),this.write_in_progress=!1,[l.avail_in,l.avail_out]},kl.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,1===this.mode||3===this.mode||5===this.mode?function(t){var e;t&&t.state&&(42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&e!==$s&&e!==Ws&&e!==Zs?Gs(t,Fs):(t.state=null,e===Ws&&Gs(t,-3)))}(this.strm):function(t){if(!t||!t.state)return gl;var e=t.state;e.window&&(e.window=null),t.state=null}(this.strm),this.mode=0)},kl.prototype.reset=function(){switch(this.mode){case 1:case 5:zl=sl(this.strm);break;case 2:case 6:zl=_l(this.strm)}0!==zl&&this._error(zl)},kl.prototype._error=function(t){this.onerror(Wi[t]+": "+this.strm.msg,t),this.write_in_progress=!1,this.pending_close&&this.close()};var Tl=Object.freeze({__proto__:null,NONE:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8,Zlib:kl});var Sl={};Object.keys(Tl).forEach((function(t){Sl[t]=Tl[t]})),Sl.Z_MIN_WINDOWBITS=8,Sl.Z_MAX_WINDOWBITS=15,Sl.Z_DEFAULT_WINDOWBITS=15,Sl.Z_MIN_CHUNK=64,Sl.Z_MAX_CHUNK=1/0,Sl.Z_DEFAULT_CHUNK=16384,Sl.Z_MIN_MEMLEVEL=1,Sl.Z_MAX_MEMLEVEL=9,Sl.Z_DEFAULT_MEMLEVEL=8,Sl.Z_MIN_LEVEL=-1,Sl.Z_MAX_LEVEL=9,Sl.Z_DEFAULT_LEVEL=Sl.Z_DEFAULT_COMPRESSION;var El={Z_OK:Sl.Z_OK,Z_STREAM_END:Sl.Z_STREAM_END,Z_NEED_DICT:Sl.Z_NEED_DICT,Z_ERRNO:Sl.Z_ERRNO,Z_STREAM_ERROR:Sl.Z_STREAM_ERROR,Z_DATA_ERROR:Sl.Z_DATA_ERROR,Z_MEM_ERROR:Sl.Z_MEM_ERROR,Z_BUF_ERROR:Sl.Z_BUF_ERROR,Z_VERSION_ERROR:Sl.Z_VERSION_ERROR};function Ll(t,e,n){var o=[],r=0;function a(){for(var e;null!==(e=t.read());)o.push(e),r+=e.length;t.once("readable",a)}function i(){var e=yn.concat(o,r);o=[],n(null,e),t.close()}t.on("error",(function(e){t.removeListener("end",i),t.removeListener("readable",a),n(e)})),t.on("end",i),t.end(e),a()}function Bl(t,e){if("string"==typeof e&&(e=new yn(e)),!yn.isBuffer(e))throw new TypeError("Not a string or buffer");var n=Sl.Z_FINISH;return t._processChunk(e,n)}function Nl(t){if(!(this instanceof Nl))return new Nl(t);Dl.call(this,t,Sl.DEFLATE)}function Hl(t){if(!(this instanceof Hl))return new Hl(t);Dl.call(this,t,Sl.INFLATE)}function Rl(t){if(!(this instanceof Rl))return new Rl(t);Dl.call(this,t,Sl.GZIP)}function Vl(t){if(!(this instanceof Vl))return new Vl(t);Dl.call(this,t,Sl.GUNZIP)}function Il(t){if(!(this instanceof Il))return new Il(t);Dl.call(this,t,Sl.DEFLATERAW)}function ql(t){if(!(this instanceof ql))return new ql(t);Dl.call(this,t,Sl.INFLATERAW)}function Fl(t){if(!(this instanceof Fl))return new Fl(t);Dl.call(this,t,Sl.UNZIP)}function Dl(t,e){if(this._opts=t=t||{},this._chunkSize=t.chunkSize||Sl.Z_DEFAULT_CHUNK,Zr.call(this,t),t.flush&&t.flush!==Sl.Z_NO_FLUSH&&t.flush!==Sl.Z_PARTIAL_FLUSH&&t.flush!==Sl.Z_SYNC_FLUSH&&t.flush!==Sl.Z_FULL_FLUSH&&t.flush!==Sl.Z_FINISH&&t.flush!==Sl.Z_BLOCK)throw new Error("Invalid flush flag: "+t.flush);if(this._flushFlag=t.flush||Sl.Z_NO_FLUSH,t.chunkSize&&(t.chunkSize<Sl.Z_MIN_CHUNK||t.chunkSize>Sl.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBits<Sl.Z_MIN_WINDOWBITS||t.windowBits>Sl.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.level<Sl.Z_MIN_LEVEL||t.level>Sl.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevel<Sl.Z_MIN_MEMLEVEL||t.memLevel>Sl.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=Sl.Z_FILTERED&&t.strategy!=Sl.Z_HUFFMAN_ONLY&&t.strategy!=Sl.Z_RLE&&t.strategy!=Sl.Z_FIXED&&t.strategy!=Sl.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!yn.isBuffer(t.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new Sl.Zlib(e);var n=this;this._hadError=!1,this._binding.onerror=function(t,e){n._binding=null,n._hadError=!0;var o=new Error(t);o.errno=e,o.code=Sl.codes[e],n.emit("error",o)};var o=Sl.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(o=t.level);var r=Sl.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(r=t.strategy),this._binding.init(t.windowBits||Sl.Z_DEFAULT_WINDOWBITS,o,t.memLevel||Sl.Z_DEFAULT_MEMLEVEL,r,t.dictionary),this._buffer=new yn(this._chunkSize),this._offset=0,this._closed=!1,this._level=o,this._strategy=r,this.once("end",this.close)}Object.keys(El).forEach((function(t){El[El[t]]=t})),go(Dl,Zr),Dl.prototype.params=function(t,e,n){if(t<Sl.Z_MIN_LEVEL||t>Sl.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(e!=Sl.Z_FILTERED&&e!=Sl.Z_HUFFMAN_ONLY&&e!=Sl.Z_RLE&&e!=Sl.Z_FIXED&&e!=Sl.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+e);if(this._level!==t||this._strategy!==e){var o=this;this.flush(Sl.Z_SYNC_FLUSH,(function(){o._binding.params(t,e),o._hadError||(o._level=t,o._strategy=e,n&&n())}))}else $e.nextTick(n)},Dl.prototype.reset=function(){return this._binding.reset()},Dl.prototype._flush=function(t){this._transform(new yn(0),"",t)},Dl.prototype.flush=function(t,e){var n=this._writableState;if(("function"==typeof t||void 0===t&&!e)&&(e=t,t=Sl.Z_FULL_FLUSH),n.ended)e&&$e.nextTick(e);else if(n.ending)e&&this.once("end",e);else if(n.needDrain){var o=this;this.once("drain",(function(){o.flush(e)}))}else this._flushFlag=t,this.write(new yn(0),"",e)},Dl.prototype.close=function(t){if(t&&$e.nextTick(t),!this._closed){this._closed=!0,this._binding.close();var e=this;$e.nextTick((function(){e.emit("close")}))}},Dl.prototype._transform=function(t,e,n){var o,r=this._writableState,a=(r.ending||r.ended)&&(!t||r.length===t.length);if(null===!t&&!yn.isBuffer(t))return n(new Error("invalid input"));a?o=Sl.Z_FINISH:(o=this._flushFlag,t.length>=r.length&&(this._flushFlag=this._opts.flush||Sl.Z_NO_FLUSH)),this._processChunk(t,o,n)},Dl.prototype._processChunk=function(t,e,n){var o=t&&t.length,r=this._chunkSize-this._offset,a=0,i=this,s="function"==typeof n;if(!s){var l,u=[],c=0;this.on("error",(function(t){l=t}));do{var h=this._binding.writeSync(e,t,a,o,this._buffer,this._offset,r)}while(!this._hadError&&p(h[0],h[1]));if(this._hadError)throw l;var d=yn.concat(u,c);return this.close(),d}var f=this._binding.write(e,t,a,o,this._buffer,this._offset,r);function p(l,h){if(!i._hadError){var d=r-h;if(function(t,e){if(!t)throw new Error(e)}(d>=0,"have should not go down"),d>0){var f=i._buffer.slice(i._offset,i._offset+d);i._offset+=d,s?i.push(f):(u.push(f),c+=f.length)}if((0===h||i._offset>=i._chunkSize)&&(r=i._chunkSize,i._offset=0,i._buffer=new yn(i._chunkSize)),0===h){if(a+=o-l,o=l,!s)return!0;var v=i._binding.write(e,t,a,o,i._buffer,i._offset,i._chunkSize);return v.callback=p,void(v.buffer=t)}if(!s)return!1;n()}}f.buffer=t,f.callback=p},go(Nl,Dl),go(Hl,Dl),go(Rl,Dl),go(Vl,Dl),go(Il,Dl),go(ql,Dl),go(Fl,Dl);var Ul={codes:El,createDeflate:function(t){return new Nl(t)},createInflate:function(t){return new Hl(t)},createDeflateRaw:function(t){return new Il(t)},createInflateRaw:function(t){return new ql(t)},createGzip:function(t){return new Rl(t)},createGunzip:function(t){return new Vl(t)},createUnzip:function(t){return new Fl(t)},deflate:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Nl(e),t,n)},deflateSync:function(t,e){return Bl(new Nl(e),t)},gzip:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Rl(e),t,n)},gzipSync:function(t,e){return Bl(new Rl(e),t)},deflateRaw:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Il(e),t,n)},deflateRawSync:function(t,e){return Bl(new Il(e),t)},unzip:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Fl(e),t,n)},unzipSync:function(t,e){return Bl(new Fl(e),t)},inflate:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Hl(e),t,n)},inflateSync:function(t,e){return Bl(new Hl(e),t)},gunzip:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new Vl(e),t,n)},gunzipSync:function(t,e){return Bl(new Vl(e),t)},inflateRaw:function(t,e,n){return"function"==typeof e&&(n=e,e={}),Ll(new ql(e),t,n)},inflateRawSync:function(t,e){return Bl(new ql(e),t)},Deflate:Nl,Inflate:Hl,Gzip:Rl,Gunzip:Vl,DeflateRaw:Il,InflateRaw:ql,Unzip:Fl,Zlib:Dl},$l="0.26.1",Wl=Ui.http,Zl=Ui.https,Gl=$l,Kl=/https:?/;function Yl(t,e,n){if(t.hostname=e.host,t.host=e.host,t.port=e.port,t.path=n,e.auth){var o=yn.from(e.auth.username+":"+e.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+o}t.beforeRedirect=function(t){t.headers.host=t.host,Yl(t,e,t.href)}}var Xl=function(t){return new Promise((function(e,n){var o;function r(){t.cancelToken&&t.cancelToken.unsubscribe(o),t.signal&&t.signal.removeEventListener("abort",o)}var a=function(t){r(),e(t)},i=!1,s=function(t){r(),i=!0,n(t)},l=t.data,u=t.headers,c={};if(Object.keys(u).forEach((function(t){c[t.toLowerCase()]=t})),"user-agent"in c?u[c["user-agent"]]||delete u[c["user-agent"]]:u["User-Agent"]="axios/"+Gl,l&&!ve.isStream(l)){if(yn.isBuffer(l));else if(ve.isArrayBuffer(l))l=yn.from(new Uint8Array(l));else{if(!ve.isString(l))return s(Ke("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));l=yn.from(l,"utf-8")}if(t.maxBodyLength>-1&&l.length>t.maxBodyLength)return s(Ke("Request body larger than maxBodyLength limit",t));c["content-length"]||(u["Content-Length"]=l.length)}var h=void 0;t.auth&&(h=(t.auth.username||"")+":"+(t.auth.password||""));var d=Qe(t.baseURL,t.url),f=ya.parse(d),p=f.protocol||"http:";if(!h&&f.auth){var v=f.auth.split(":");h=(v[0]||"")+":"+(v[1]||"")}h&&c.authorization&&delete u[c.authorization];var g=Kl.test(p),m=g?t.httpsAgent:t.httpAgent;try{me(f.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(e){var y=new Error(e.message);y.config=t,y.url=t.url,y.exists=!0,s(y)}var w={path:me(f.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:u,agent:m,agents:{http:t.httpAgent,https:t.httpsAgent},auth:h};t.socketPath?w.socketPath=t.socketPath:(w.hostname=f.hostname,w.port=f.port);var b,_=t.proxy;if(!_&&!1!==_){var M=p.slice(0,-1)+"_proxy",x=$e.env[M]||$e.env[M.toUpperCase()];if(x){var A=ya.parse(x),P=$e.env.no_proxy||$e.env.NO_PROXY,C=!0;if(P){var j=P.split(",").map((function(t){return t.trim()}));C=!j.some((function(t){return!!t&&("*"===t||("."===t[0]&&f.hostname.substr(f.hostname.length-t.length)===t||f.hostname===t))}))}if(C&&(_={host:A.hostname,port:A.port,protocol:A.protocol},A.auth)){var z=A.auth.split(":");_.auth={username:z[0],password:z[1]}}}}_&&(w.headers.host=f.hostname+(f.port?":"+f.port:""),Yl(w,_,p+"//"+f.hostname+(f.port?":"+f.port:"")+w.path));var k=g&&(!_||Kl.test(_.protocol));t.transport?b=t.transport:0===t.maxRedirects?b=Ra:(t.maxRedirects&&(w.maxRedirects=t.maxRedirects),b=k?Zl:Wl),t.maxBodyLength>-1&&(w.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(w.insecureHTTPParser=t.insecureHTTPParser);var O=b.request(w,(function(e){if(!O.aborted){var n=e,o=e.req||O;if(204!==e.statusCode&&"HEAD"!==o.method&&!1!==t.decompress)switch(e.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(Ul.createUnzip()),delete e.headers["content-encoding"]}var r={status:e.statusCode,statusText:e.statusMessage,headers:e.headers,config:t,request:o};if("stream"===t.responseType)r.data=n,Ye(a,s,r);else{var l=[],u=0;n.on("data",(function(e){l.push(e),u+=e.length,t.maxContentLength>-1&&u>t.maxContentLength&&(i=!0,n.destroy(),s(Ke("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,o)))})),n.on("aborted",(function(){i||(n.destroy(),s(Ke("error request aborted",t,"ERR_REQUEST_ABORTED",o)))})),n.on("error",(function(e){O.aborted||s(Ze(e,t,null,o))})),n.on("end",(function(){try{var e=1===l.length?l[0]:yn.concat(l);"arraybuffer"!==t.responseType&&(e=e.toString(t.responseEncoding),t.responseEncoding&&"utf8"!==t.responseEncoding||(e=ve.stripBOM(e))),r.data=e}catch(e){s(Ze(e,t,e.code,r.request,r))}Ye(a,s,r)}))}}}));if(O.on("error",(function(e){O.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==e.code||s(Ze(e,t,null,O))})),O.on("socket",(function(t){t.setKeepAlive(!0,6e4)})),t.timeout){var T=parseInt(t.timeout,10);if(isNaN(T))return void s(Ke("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",O));O.setTimeout(T,(function(){O.abort();var e="";e=t.timeoutErrorMessage?t.timeoutErrorMessage:"timeout of "+t.timeout+"ms exceeded";var n=t.transitional||Ge;s(Ke(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",O))}))}(t.cancelToken||t.signal)&&(o=function(t){O.aborted||(O.abort(),s(!t||t&&t.type?new nn("canceled"):t))},t.cancelToken&&t.cancelToken.subscribe(o),t.signal&&(t.signal.aborted?o():t.signal.addEventListener("abort",o))),ve.isStream(l)?l.on("error",(function(e){s(Ze(e,t,null,O))})).pipe(O):O.end(l)}))},Ql={"Content-Type":"application/x-www-form-urlencoded"};function Jl(t,e){!ve.isUndefined(t)&&ve.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var tu,eu={transitional:Ge,adapter:("undefined"!=typeof XMLHttpRequest?tu=on:void 0!==$e&&"[object process]"===Object.prototype.toString.call($e)&&(tu=Xl),tu),transformRequest:[function(t,e){return We(e,"Accept"),We(e,"Content-Type"),ve.isFormData(t)||ve.isArrayBuffer(t)||ve.isBuffer(t)||ve.isStream(t)||ve.isFile(t)||ve.isBlob(t)?t:ve.isArrayBufferView(t)?t.buffer:ve.isURLSearchParams(t)?(Jl(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ve.isObject(t)||e&&"application/json"===e["Content-Type"]?(Jl(e,"application/json"),function(t,e,n){if(ve.isString(t))try{return(e||JSON.parse)(t),ve.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||eu.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||o&&ve.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw Ze(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ve.forEach(["delete","get","head"],(function(t){eu.headers[t]={}})),ve.forEach(["post","put","patch"],(function(t){eu.headers[t]=ve.merge(Ql)}));var nu=eu,ou=function(t,e,n){var o=this||nu;return ve.forEach(n,(function(n){t=n.call(o,t,e)})),t},ru=function(t){return!(!t||!t.__CANCEL__)};function au(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new nn("canceled")}var iu=function(t){return au(t),t.headers=t.headers||{},t.data=ou.call(t,t.data,t.headers,t.transformRequest),t.headers=ve.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),ve.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||nu.adapter)(t).then((function(e){return au(t),e.data=ou.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return ru(e)||(au(t),e&&e.response&&(e.response.data=ou.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},su=function(t,e){e=e||{};var n={};function o(t,e){return ve.isPlainObject(t)&&ve.isPlainObject(e)?ve.merge(t,e):ve.isPlainObject(e)?ve.merge({},e):ve.isArray(e)?e.slice():e}function r(n){return ve.isUndefined(e[n])?ve.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function a(t){if(!ve.isUndefined(e[t]))return o(void 0,e[t])}function i(n){return ve.isUndefined(e[n])?ve.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function s(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s};return ve.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||r,o=e(t);ve.isUndefined(o)&&e!==s||(n[t]=o)})),n},lu=$l,uu={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){uu[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var cu={};uu.transitional=function(t,e,n){function o(t,e){return"[Axios v"+lu+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(o(r," has been removed"+(e?" in "+e:"")));return e&&!cu[r]&&(cu[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}};var hu={assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var o=Object.keys(t),r=o.length;r-- >0;){var a=o[r],i=e[a];if(i){var s=t[a],l=void 0===s||i(s,a,t);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:uu},du=hu.validators;function fu(t){this.defaults=t,this.interceptors={request:new we,response:new we}}fu.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=su(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&hu.assertOptions(n,{silentJSONParsing:du.transitional(du.boolean),forcedJSONParsing:du.transitional(du.boolean),clarifyTimeoutError:du.transitional(du.boolean)},!1);var o=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));var a,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var s=[iu,void 0];for(Array.prototype.unshift.apply(s,o),s=s.concat(i),a=Promise.resolve(e);s.length;)a=a.then(s.shift(),s.shift());return a}for(var l=e;o.length;){var u=o.shift(),c=o.shift();try{l=u(l)}catch(t){c(t);break}}try{a=iu(l)}catch(t){return Promise.reject(t)}for(;i.length;)a=a.then(i.shift(),i.shift());return a},fu.prototype.getUri=function(t){return t=su(this.defaults,t),me(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},ve.forEach(["delete","get","head","options"],(function(t){fu.prototype[t]=function(e,n){return this.request(su(n||{},{method:t,url:e,data:(n||{}).data}))}})),ve.forEach(["post","put","patch"],(function(t){fu.prototype[t]=function(e,n,o){return this.request(su(o||{},{method:t,url:e,data:n}))}}));var pu=fu;function vu(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,o=n._listeners.length;for(e=0;e<o;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,o=new Promise((function(t){n.subscribe(t),e=t})).then(t);return o.cancel=function(){n.unsubscribe(e)},o},t((function(t){n.reason||(n.reason=new nn(t),e(n.reason))}))}vu.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},vu.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},vu.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},vu.source=function(){var t;return{token:new vu((function(e){t=e})),cancel:t}};var gu=vu;var mu=function t(e){var n=new pu(e),o=ie(pu.prototype.request,n);return ve.extend(o,pu.prototype,n),ve.extend(o,n),o.create=function(n){return t(su(e,n))},o}(nu);mu.Axios=pu,mu.Cancel=nn,mu.CancelToken=gu,mu.isCancel=ru,mu.VERSION=$l,mu.all=function(t){return Promise.all(t)},mu.spread=function(t){return function(e){return t.apply(null,e)}},mu.isAxiosError=function(t){return ve.isObject(t)&&!0===t.isAxiosError};var yu=mu,wu=mu;yu.default=wu;var bu=yu,_u={components:{PLayoutSection:_,PBanner:ae},name:"Banners",props:{type:{type:String,validator:function(t){return["header","footer"].includes(t)},default:function(){return"header"}}},data:function(){return{dismissedBanners:[],staticContent:{}}},computed:{mappedStaticContentHeaders:function(){return this.staticContent[this.banner_type]},banner_type:function(){return"header"===this.type?"headers":"footers"}},methods:{dismissBanner:function(t){this.staticContent[this.banner_type].splice(t,1)}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/marketing-banners")).catch((function(t){console.error(t)}));case 2:n=e.sent,o=n.data,t.staticContent=o.banners;case 5:case"end":return e.stop()}}),e)})))()}},Mu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mappedStaticContentHeaders&&t.mappedStaticContentHeaders.length?n("PLayoutSection",t._l(t.mappedStaticContentHeaders,(function(e,o){return n("PBanner",{key:o,attrs:{id:"static-content-header-"+o,status:e.status,title:e.title},on:{dismiss:function(){return t.dismissBanner(o)}}},[n("span",{domProps:{innerHTML:t._s(e.content)}})])})),1):t._e()},staticRenderFns:[]},undefined,_u,"data-v-567642a6",false,undefined,!1,void 0,void 0,void 0),xu={components:{PBanner:ae,PLayoutSection:_},name:"PlanBanners",data:function(){return{staticContent:{}}},computed:{mappedStaticContentPlan:function(){return this.staticContent.plans}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/marketing-banners")).catch((function(t){console.error(t)}));case 2:n=e.sent,o=n.data,t.staticContent=o.banners;case 5:case"end":return e.stop()}}),e)})))()}},Au=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mappedStaticContentPlan&&t.mappedStaticContentPlan.length?n("PLayoutSection",{staticClass:"app-manager-plan-footer"},t._l(t.mappedStaticContentPlan,(function(e,o){return n("div",{key:o},["banner"===e.type?n("PBanner",{attrs:{id:"static-content-header-"+o,status:e.status},on:{dismiss:function(){return t.dismissBanner(o)}}},[n("div",{domProps:{innerHTML:t._s(e.content)}})]):n("div",{domProps:{innerHTML:t._s(e.content)}})],1)})),0):t._e()},staticRenderFns:[]},undefined,xu,"data-v-1e8f044e",false,undefined,!1,void 0,void 0,void 0),Pu={components:{PLayoutSection:_},name:"YearlyPlanPromotion",data:function(){return{staticContent:{}}},computed:{mappedStaticContent:function(){return this.staticContent.yearlyPlanPromotions}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/marketing-banners")).catch((function(t){console.error(t)}));case 2:n=e.sent,o=n.data,t.staticContent=o.banners;case 5:case"end":return e.stop()}}),e)})))()}},Cu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mappedStaticContent&&t.mappedStaticContent.length?n("PLayoutSection",{staticClass:"app-manager-plan-footer"},t._l(t.mappedStaticContent,(function(e,o){return n("div",{key:o},[n("div",{domProps:{innerHTML:t._s(e.content)}})])})),0):n("span",[n("p",{staticStyle:{"font-size":"17px","font-weight":"500"},attrs:{slot:"default"},slot:"default"},[t._v(t._s("Annually"))])])},staticRenderFns:[]},undefined,Pu,"data-v-b2c54672",false,undefined,!1,void 0,void 0,void 0);r(r(r({},X),Q),{},{index:Number});var ju="code";var zu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PTextStyle",props:{variation:r({type:String,default:null},C("variation",["positive","negative","strong","subdued","code"]))},computed:{className:function(){return g(this.variation&&"Polaris-TextStyle--".concat(m("variation",this.variation)))},element:function(){return function(t){if(-1!==["positive","negative","strong","subdued","code",null].indexOf(t))return t===ju?"code":"span"}(this.variation)}},methods:{}},undefined,false,undefined,!1,void 0,void 0,void 0),ku=y({},undefined,{name:"PBreadcrumbs",components:{PUnstyledLink:O,PIcon:j},props:{breadcrumbs:r({type:Array,default:function(){return[]}},H("breadcrumbs",{content:[String,Object],url:String,to:[String,Object],accessibilityLabel:String,onAction:Function}))},render:function(t){var e=this.breadcrumbs[this.breadcrumbs.length-1];if(null==e)return null;var n=e.content,o=e.onAction,r=this.$createElement("span",{class:"Polaris-Breadcrumbs__ContentWrapper"},[this.$createElement("span",{class:"Polaris-Breadcrumbs__Icon"},[this.$createElement(j,{attrs:{source:"ChevronLeftMinor"}})]),this.$createElement("span",{class:"Polaris-Breadcrumbs__Content"},n)]),a=g("Polaris-Breadcrumbs__Breadcrumb"),i="url"in e||"to"in e?this.$createElement(O,{class:a,attrs:{key:n,url:e.url,to:e.to,ariaLabel:e.accessibilityLabel},nativeOn:{click:o||function(){}}},[r]):this.$createElement("button",{class:a,attrs:{key:n,type:"button",ariaLabel:e.accessibilityLabel},on:{click:o||function(){}}},[r]);return this.$createElement("nav",{attrs:{role:"navigation"}},[i])}},undefined,undefined,undefined,!1,void 0,void 0,void 0),Ou=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{class:t.className},[t.previousURL?n("PUnstyledLink",{class:t.previousClassName,attrs:{url:t.previousURL}},[n("PIcon",{attrs:{source:"ArrowLeftMinor"}})],1):n("button",{class:t.previousClassName,attrs:{type:"button",disabled:!t.hasPrevious},on:{click:function(e){return t.onPrevious()}}},[n("PIcon",{attrs:{source:"ArrowLeftMinor"}})],1),t._v(" "),t.label?n("div",{staticClass:"Polaris-Pagination__Label"},[t.hasNext&&t.hasPrevious?n("PTextStyle",[t._v(t._s(t.label))]):n("PTextStyle",{attrs:{variation:"subdued"}},[t._v(t._s(t.label))])],1):t._e(),t._v(" "),t.nextURL?n("PUnstyledLink",{class:t.nextClassName,attrs:{url:t.nextURL}},[n("PIcon",{attrs:{source:"ArrowRightMinor"}})],1):n("button",{class:t.nextClassName,attrs:{type:"button",disabled:!t.hasNext},on:{click:function(e){return t.onNext()}}},[n("PIcon",{attrs:{source:"ArrowRightMinor"}})],1)],1)},staticRenderFns:[]},undefined,{name:"PPagination",components:{PUnstyledLink:O,PIcon:j,PTextStyle:zu},props:{nextURL:{type:String},previousURL:{type:String},label:{type:String},hasNext:{type:Boolean},hasPrevious:{type:Boolean},onPrevious:{type:Function,default:null},onNext:{type:Function,default:null}},computed:{className:function(){return g("Polaris-Pagination")},previousClassName:function(){return g("Polaris-Pagination__Button",!this.label&&"Polaris-Pagination__PreviousButton")},nextClassName:function(){return g("Polaris-Pagination__Button",!this.label&&"Polaris-Pagination__NextButton")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Tu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PPopover",{attrs:{id:"Popover"+this._uid,active:t.rollupOpen,preferredAlignment:"right",hideOnPrint:""},on:{close:t.toggleRollupOpen}},[n("div",{staticClass:"Polaris-ActionMenu-RollupActions__RollupActivator",attrs:{slot:"activator"},slot:"activator"},[n("PButton",{attrs:{plain:!0,outline:!1,icon:"HorizontalDotsMinor",type:"button"},on:{click:t.toggleRollupOpen}})],1),t._v(" "),n("PActionList",{attrs:{slot:"content",items:t.items,sections:t.sections},on:{"item-action":t.toggleRollupOpen},slot:"content"})],1)},staticRenderFns:[]},undefined,{name:"PActionMenuRollupActions",components:{PPopover:E,PButton:et,PActionList:q},props:{items:r({type:Array},H("items",G)),sections:r({type:Array},H("sections",K))},data:function(){return{rollupOpen:!1}},methods:{toggleRollupOpen:function(){this.rollupOpen=!this.rollupOpen}}},undefined,false,undefined,!1,void 0,void 0,void 0);r(r({},Y),{},{disclosure:Boolean});var Su=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.url?n("PUnstyledLink",{ref:t.id,class:t.menuActionClassNames,attrs:{url:t.url,external:t.external}},[t.icon||t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__ContentWrapper"},[t.icon?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:t.icon}})],1):t._e(),t._v(" "),n("span",{staticClass:"Polaris-ActionMenu-MenuAction__Content"},[t._v(t._s(t.content))]),t._v(" "),t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:"CaretDownMinor"}})],1):t._e()]):[t._v(t._s(t.content))]],2):n("button",{ref:t.id,class:t.menuActionClassNames,attrs:{type:"button",disabled:t.disabled},on:{click:function(e){return e.stopPropagation(),t.onAction()}}},[t.icon||t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__ContentWrapper"},[t.icon?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:t.icon}})],1):t._e(),t._v(" "),n("span",{staticClass:"Polaris-ActionMenu-MenuAction__Content"},[t._v(t._s(t.content))]),t._v(" "),t.disclosure?n("span",{staticClass:"Polaris-ActionMenu-MenuAction__IconWrapper"},[n("PIcon",{attrs:{source:"CaretDownMinor"}})],1):t._e()]):[t._v(t._s(t.content))]],2)},staticRenderFns:[]},undefined,{name:"PActionMenuMenuAction",components:{PUnstyledLink:O,PIcon:j},props:{id:{type:[String,Number],default:"ActionMenuMenuAction".concat((new Date).getUTCMilliseconds())},content:{type:String},url:{type:String},external:{type:Boolean},icon:{type:String},disclosure:{type:Boolean},disabled:{type:Boolean},onAction:{type:Function,default:function(){return 0}},getOffsetWidth:{type:Function,default:function(){return 0}}},computed:{menuActionClassNames:function(){return g("Polaris-ActionMenu-MenuAction",this.disabled&&"Polaris-ActionMenu-MenuAction--disabled")}},mounted:function(){var t=this.$refs[this.id];"function"==typeof this.getOffsetWidth&&t&&t.offsetWidth&&this.getOffsetWidth(t.offsetWidth)}},undefined,false,undefined,!1,void 0,void 0,void 0),Eu={name:"PActionMenuMenuGroup",components:{PPopover:E,PActionList:q,PActionMenuMenuAction:Su},props:{active:{type:Boolean},title:{type:String},icon:{type:String,default:null},onAction:{type:Function},getOffsetWidth:{type:Function},actions:r({type:Array},H("actions",G))},methods:{handleClose:function(){this.onAction(this.title)},handleOpen:function(){this.$emit("open",this.title)}}},Lu={name:"PActionMenu",components:{PActionMenuActions:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.id,staticClass:"Polaris-ActionMenu-Actions__ActionsLayout"},[t._l(t.overriddenActions,(function(e,o){return["title"in e?[e.actions.length>0?n("div",{key:"MenuGroup-"+o},[n("PActionMenuMenuGroup",t._b({attrs:{title:e.title,active:e.title===t.computedActiveMenuGroup,actions:t.computedHiddenActions.concat(e.actions),onAction:t.handleMenuGroupClose,getOffsetWidth:t.handleActionsOffsetWidth},on:{open:t.handleMenuGroupToggle,close:t.handleMenuGroupClose}},"PActionMenuMenuGroup",e,!1))],1):t._e()]:t.computedHiddenActions.includes(e)?t._e():n("PActionMenuMenuAction",t._b({key:"MenuAction-"+o,attrs:{getOffsetWidth:t.handleActionsOffsetWidth,content:e.content}},"PActionMenuMenuAction",e,!1))]}))],2)},staticRenderFns:[]},undefined,{name:"PActionMenuActions",components:{PActionMenuMenuGroup:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PPopover",{attrs:{id:"Popover"+this._uid,active:Boolean(t.active),preferredAlignment:"left",hideOnPrint:""},on:{close:t.handleClose}},[n("PActionMenuMenuAction",{attrs:{slot:"activator",disclosure:"",content:t.title,getOffsetWidth:t.getOffsetWidth,icon:t.icon,onAction:t.handleOpen},slot:"activator"}),t._v(" "),n("PActionList",{attrs:{slot:"content",items:t.actions},on:{"item-action":t.handleClose},slot:"content"}),t._v(" "),t.$slots.details?n("div",{},[t._t("details")],2):t._e()],1)},staticRenderFns:[]},undefined,Eu,undefined,false,undefined,!1,void 0,void 0,void 0),PActionMenuMenuAction:Su},props:{id:{type:[String,Number],default:"ActionMenuLayout".concat((new Date).getUTCMilliseconds())},actions:r({type:Array},H("actions",X)),groups:r({type:Array},H("actions",Q))},data:function(){return{activeMenuGroup:"",hiddenActions:[],showableActions:[],availableWidthRef:0,timesMeasured:0,actionsAndGroupsLengthRef:0,actionWidthsRef:[]}},computed:{lastMenuGroupWidth:function(){return d(this.actionWidthsRef).pop()||0},lastMenuGroup:function(){return d(this.groups).pop()},computedShowableActions:{get:function(){return this.showableActions},set:function(t){this.showableActions=t}},computedHiddenActions:{get:function(){return this.hiddenActions},set:function(t){this.hiddenActions=t}},computedActiveMenuGroup:{get:function(){return this.activeMenuGroup},set:function(t){this.activeMenuGroup=t}},menuActions:function(){return[].concat(d(this.actions),d(this.groups))},overriddenActions:function(){return function(t){var e=t.filter((function(t){return void 0!==t.index}));if(0===e.length)return t;var n=e.sort((function(t,e){return t.index-e.index})),o=d(t.filter((function(t){return void 0===t.index})));return n.forEach((function(t){o.splice(t.index,0,t)})),o}(this.menuActions)}},methods:{handleMenuGroupToggle:function(t){"string"==typeof t&&(this.computedActiveMenuGroup=this.computedActiveMenuGroup?void 0:t)},handleMenuGroupClose:function(){this.computedActiveMenuGroup=void 0},handleResize:function(){var t=this.$refs[this.id];this.availableWidthRef=t.offsetWidth,this.timesMeasured=0,this.measureActions()},handleActionsOffsetWidth:function(t){this.actionWidthsRef=[].concat(d(this.actionWidthsRef),[t])},measureActions:function(){var t=this;if(0!==this.actionWidthsRef.length&&0!==this.availableWidthRef){var e=[].concat(d(this.actions),d(this.groups));if(1===e.length)return this.showableActions=e,void(this.hiddenActions=[]);var n=this.availableWidthRef,o=[],r=[];e.forEach((function(e,a){if(t.actionWidthsRef[a]+0+8+t.lastMenuGroupWidth<=n)n-=t.actionWidthsRef[a]+16,o=[].concat(d(o),[e]);else{if(n=0,e===t.lastMenuGroup)return;r=[].concat(d(r),[e])}})),this.showableActions=o,this.computedHiddenActions=r,this.timesMeasured+=1,this.actionsAndGroupsLengthRef=e.length}}},mounted:function(){window.addEventListener("resize",this.handleResize),this.handleResize()},destroyed:function(){window.removeEventListener("resize",this.handleResize)}},undefined,false,undefined,!1,void 0,void 0,void 0),PActionMenuRollupActions:Tu},props:{actions:r({type:Array},H("actions",X)),groups:r({type:Array},H("groups",Q)),rollup:{type:Boolean,default:!1}},computed:{rollupSections:function(){var t=this;return this.groups.map((function(e){return t.convertGroupToSection(e)}))},actionMenuClassNames:function(){return g("Polaris-ActionMenu",this.rollup&&"Polaris-ActionMenu--rollup")}},methods:{convertGroupToSection:function(t){return{title:t.title,items:t.actions}}}},Bu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.actionMenuClassNames},[t.rollup?n("PActionMenuRollupActions",{attrs:{items:t.actions,sections:t.rollupSections}}):n("PActionMenuActions",{attrs:{actions:t.actions,groups:t.groups}})],1)},staticRenderFns:[]},undefined,Lu,undefined,false,undefined,!1,void 0,void 0,void 0),Nu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return"span"===t.element?n("span",[t._t("default")],2):n(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDisplayText",props:{size:r({type:String,default:"medium"},C("size",["small","medium","large","extraLarge"])),element:r({type:String,default:"p"},C("element",["h1","h2","h3","h4","h5","h6","p","span"]))},computed:{className:function(){return g("Polaris-DisplayText",this.size&&"Polaris-DisplayText--".concat(m("size",this.size)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Hu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("img",{class:t.className,attrs:{alt:t.alt,src:t.source}})},staticRenderFns:[]},undefined,{name:"PImage",props:{source:{type:String,default:null},alt:{type:String,default:null},imgClass:{type:String,default:null}},computed:{className:function(){return g(this.imgClass)}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ru={name:"PThumbnail",components:{PImage:Hu,PIcon:j},props:{size:r({type:String,default:"medium"},C("size",["small","medium","large"])),source:{type:String,default:null},alt:{type:String,default:null}},computed:{className:function(){return g("Polaris-Thumbnail",this.size&&"Polaris-Thumbnail--".concat(m("size",this.size)))}},methods:{isSvg:function(t){return new RegExp(/(<svg)([^<]*|[^>]*)/).test(t)}}},Vu="PENDING",Iu="LOADED",qu="ERRORED",Fu={name:"PPageHeader",components:{PBreadcrumbs:ku,PPagination:Ou,PPageHeaderTitle:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.pageTitleClassName},[t.source?n("div",[n("PThumbnail",{attrs:{size:"medium",source:t.source,alt:t.alt}})],1):t._e(),t._v(" "),t.title||t.subtitle?n("div",{staticClass:"Polaris-Header-Title__TitleAndSubtitleWrapper"},[n("div",{staticClass:"Polaris-Header-Title__TitleWithMetadataWrapper"},[n("PDisplayText",{staticClass:"Polaris-Header-Title",attrs:{element:"h1"},domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t.titleMetadata||t.$slots.hasOwnProperty("titleMetadata")?n("div",{staticClass:"Polaris-Header-Title__TitleMetadata"},[t.titleMetadata?[t._v(t._s(t.titleMetadata))]:t._t("titleMetadata")],2):t._e()],1),t._v(" "),t.subtitle?n("div",{staticClass:"Polaris-Header-Title__SubTitle"},[n("p",[t._v(t._s(t.subtitle))])]):t._e()]):t._e()])},staticRenderFns:[]},undefined,{name:"PPageHeaderTitle",components:{PDisplayText:Nu,PTextStyle:zu,PThumbnail:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className},[t.isSvg(t.source)?n("PIcon",{attrs:{alt:t.alt,source:t.source}}):n("PImage",t._b({staticClass:"Polaris-Thumbnail__Image",attrs:{source:t.source,alt:t.alt}},"PImage",t.$attrs,!1))],1)},staticRenderFns:[]},undefined,Ru,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},source:{type:String},alt:{type:String},subtitle:{type:String},titleMetadata:{type:String}},computed:{pageTitleClassName:function(){return g(this.source&&"Polaris-Header-Title--hasThumbnail")}},methods:{hasThumbnailSlot:function(){return!!this.$slots.thumbnail}}},undefined,false,undefined,!1,void 0,void 0,void 0),PActionMenu:Bu,PTextStyle:zu,PButton:et,PPopover:E,PActionList:q,PButtonGroup:ne,PAvatar:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className,attrs:{role:"img"}},[t.hasImage?t._e():n("span",{staticClass:"Polaris-Avatar__Initials"},[n("svg",{staticClass:"Polaris-Avatar__Svg",attrs:{viewBox:"0 0 40 40"}},[t.customer||!t.initials?n("path",{attrs:{fill:"currentColor",d:"M8.28 27.5A14.95 14.95 0 0120 21.8c4.76 0 8.97 2.24 11.72 5.7a14.02 14.02 0 01-8.25 5.91 14.82 14.82 0 01-6.94 0 14.02 14.02 0 01-8.25-5.9zM13.99 12.78a6.02 6.02 0 1112.03 0 6.02 6.02 0 01-12.03 0z"}}):n("text",{attrs:{x:"50%",y:"50%",dy:"0.35em",fill:"currentColor","font-size":"20","text-anchor":"middle"}},[t._v(t._s(t.initials))])])]),t._v(" "),t.source&&"ERRORED"!==t.status?n("PImage",{staticClass:"Polaris-Avatar__Image",attrs:{source:t.source,alt:"",role:"presentation"}}):t._e()],1)},staticRenderFns:[]},undefined,{name:"PAvatar",components:{PImage:Hu},props:{size:{type:String,default:"medium",validator:function(t){return-1!==["small","medium","large"].indexOf(t)}},customer:{type:Boolean,default:!1},name:{type:String,default:null},initials:{type:String,default:null},source:{type:String,default:null}},data:function(){return{status:Vu,nameString:this.name||this.initials}},computed:{className:function(){return g("Polaris-Avatar",this.size&&"Polaris-Avatar--".concat(m("size",this.size)),!this.customer&&"Polaris-Avatar--".concat(m("style",this.styleClass(this.nameString))),(this.hasImage||this.initials&&0===this.initials.length)&&status!==Iu&&"Polaris-Avatar--hidden",this.hasImage&&"Polaris-Avatar--hasImage")},hasImage:function(){return this.source&&this.status!==qu}},methods:{styleClass:function(t){var e=["one","two","three","four","five"];return t?e[t.charCodeAt(0)%e.length]:e[0]}}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subtitle:{type:String},thumbnail:{type:String},thumbnailAlt:{type:String},titleMetadata:{type:String},avatar:{type:String},avatarInitials:{type:String},additionalMetaData:{type:String},titleHidden:{type:Boolean,default:!1},separator:{type:Boolean},primaryAction:{type:Object,default:function(){return{}}},pagination:{type:Object,default:function(){return{}}},breadcrumbs:{type:Array,default:function(){return[]}},secondaryActions:{type:Array,default:function(){return[]}},actionGroups:{type:Array,default:function(){return[]}}},data:function(){return{isNavigationCollapsed:{rollup:!1},bulkActionsShown:!1}},computed:{headerClassNames:function(){return g("Polaris-Page-Header",this.titleHidden&&"Polaris-Page-Header--titleHidden",this.separator&&"Polaris-Page-Header--separator",this.hasNavigation&&"Polaris-Page-Header--hasNavigation",this.hasActionMenu&&"Polaris-Page-Header--hasActionMenu",this.title&&"Polaris-Page-Header--mediumTitle",this.isNavigationCollapsed.rollup&&"Polaris-Page-Header--mobileView")},hasNavigation:function(){return this.breadcrumbs.length>0||this.$slots.additionalNavigation||this.pagination},hasActions:function(){return this.hasActionMenu||Object.keys(this.primaryAction).length>0||Object.keys(this.pagination).length>0||this.$props.hasOwnProperty("primaryAction")},hasActionMenu:function(){return this.secondaryActions.length>0||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return 0!==t.length&&t.some((function(t){if(t.actions)return t.actions.length>0}))}(this.actionGroups)},hasTitle:function(){return this.title||this.subtitle||this.titleMetadata||this.thumbnail||this.$slots.hasOwnProperty("titleMetadata")},hasAvatar:function(){return this.avatar||this.avatarInitials}},methods:{useMediaQuery:function(){window.innerWidth<=768?this.$set(this.isNavigationCollapsed,"rollup",!0):this.$set(this.isNavigationCollapsed,"rollup",!1)}},created:function(){window.addEventListener("resize",this.useMediaQuery),this.useMediaQuery()},destroyed:function(){window.removeEventListener("resize",this.useMediaQuery)}},Du=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.hasHeaderContent?n("PPageHeader",t._g(t._b({attrs:{title:t.title,breadcrumbs:t.breadcrumbs,primaryAction:t.primaryAction,secondaryActions:t.secondaryActions,actionGroups:t.actionGroups,thumbnail:t.thumbnail,thumbnailAlt:t.thumbnailAlt,pagination:t.pagination}},"PPageHeader",t.$attrs,!1),t.$listeners),[t._t("primaryAction",null,{slot:"primaryAction"}),t._v(" "),t._t("titleMetadata",null,{slot:"titleMetadata"}),t._v(" "),t._t("additionalNavigation",null,{slot:"additionalNavigation"})],2):t._e(),t._v(" "),n("div",{staticClass:"Polaris-Page__Content"},[t._t("default")],2)],1)},staticRenderFns:[]},undefined,{name:"PPage",components:{PPageHeader:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.headerClassNames},[n("div",{staticClass:"Polaris-Page-Header__Row"},[t.breadcrumbs.length>0?n("div",{staticClass:"Polaris-Page-Header__BreadcrumbWrapper"},[n("PBreadcrumbs",{attrs:{breadcrumbs:t.breadcrumbs}})],1):t._e(),t._v(" "),t.hasTitle?n("div",{staticClass:"Polaris-Page-Header__TitleWrapper"},[n("PPageHeaderTitle",{attrs:{title:t.title,subtitle:t.subtitle,titleMetadata:t.titleMetadata,alt:t.thumbnailAlt,source:t.thumbnail}},[t._t("titleMetadata",null,{slot:"titleMetadata"})],2)],1):t._e(),t._v(" "),n("div",{staticClass:"Polaris-Page-Header__RightAlign"},[t.hasActions?n("div",{staticClass:"Polaris-Page-Header__Actions"},[t.hasActionMenu?n("PActionMenu",{attrs:{groups:t.actionGroups,actions:t.secondaryActions,rollup:t.isNavigationCollapsed.rollup}}):t._e(),t._v(" "),Object.keys(t.primaryAction).length>0||t.$slots.hasOwnProperty("primaryAction")?n("div",{staticClass:"Polaris-Page-Header__PrimaryActionWrapper"},[t._t("primaryAction",(function(){return[t.primaryAction?n("PButton",t._b({attrs:{primary:void 0===t.primaryAction.primary||t.primaryAction.primary},on:{click:function(e){return t.primaryAction.onAction()}}},"PButton",t.primaryAction,!1),[t._v(t._s(t.primaryAction.content)+"\n ")]):t._e()]}))],2):t._e(),t._v(" "),Object.keys(t.pagination).length>0&&!t.isNavigationCollapsed.rollup?n("div",{staticClass:"Polaris-Page-Header__PaginationWrapper"},[n("nav",{attrs:{"aria-label":"Pagination"}},[n("PPagination",t._b({},"PPagination",t.pagination,!1))],1)]):t._e()],1):t._e()])]),t._v(" "),t.$slots.hasOwnProperty("additionalNavigation")||t.avatar||t.avatarInitials?n("div",{staticClass:"Polaris-Page-Header__Row"},[n("div",{staticClass:"Polaris-Page-Header__LeftAlign"}),t._v(" "),n("div",{staticClass:"Polaris-Page-Header__RightAlign"},[n("div",{staticClass:"Polaris-Page-Header__AdditionalNavigationWrapper"},[t.avatarInitials||t.avatar?n("div",[n("PAvatar",{attrs:{source:t.avatar,initials:t.avatarInitials}})],1):t._e(),t._v(" "),t._t("additionalNavigation")],2)])]):t._e()])},staticRenderFns:[]},undefined,Fu,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{fullWidth:{type:Boolean,default:!1},narrowWidth:{type:Boolean,default:!1},title:{type:String,default:null},thumbnail:{type:String,default:null},thumbnailAlt:{type:String,default:null},primaryAction:{type:Object,default:function(){return{}}},secondaryActions:{type:Array,default:function(){return[]}},actionGroups:{type:Array,default:function(){return[]}},breadcrumbs:{type:Array,default:function(){return[]}},pagination:{type:Object,default:function(){return{}}}},computed:{className:function(){return g("Polaris-Page",this.fullWidth&&"Polaris-Page--fullWidth",this.narrowWidth&&"Polaris-Page--narrowWidth")},hasHeaderContent:function(){return null!=this.title&&""!==this.title||null!=this.primaryAction||this.thumbnail||null!=this.secondaryActions&&this.secondaryActions.length>0||null!=this.actionGroups&&this.actionGroups.length>0||this.$slots.hasOwnProperty("primaryAction")||this.$slots.hasOwnProperty("additionalNavigation")||null!=this.breadcrumbs&&this.breadcrumbs.length>0}}},undefined,false,undefined,!1,void 0,void 0,void 0),Uu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,style:t.style},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PStackItem",props:{fill:{type:Boolean,default:!1},width:{type:[String,Number]}},computed:{className:function(){return g("Polaris-Stack__Item",this.fill&&"Polaris-Stack__Item--fill")},style:function(){return this.width?{width:/^\d+$/.test(this.width)?this.width+"px":this.width}:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),$u=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PStack",components:{PStackItem:Uu},props:{vertical:{type:Boolean},wrap:{type:Boolean,default:!0},spacing:r({type:String,default:null},C("spacing",["extraTight","tight","loose","extraLoose","none"])),distribution:r({type:String,default:null},C("distribution",["equalSpacing","leading","trailing","center","fill","fillEvenly"])),alignment:r({type:String,default:null},C("alignment",["leading","trailing","center","fill","baseline"]))},computed:{className:function(){return g("Polaris-Stack",this.vertical&&"Polaris-Stack--vertical",this.spacing&&"Polaris-Stack--".concat(m("spacing",this.spacing)),this.distribution&&"Polaris-Stack--".concat(m("distribution",this.distribution)),this.alignment&&"Polaris-Stack--".concat(m("alignment",this.alignment)),!this.wrap&&"Polaris-Stack--noWrap")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Wu=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Layout"},[t.sectioned?[n("PLayoutSection",[t._t("default")],2)]:[t._t("default")]],2)},staticRenderFns:[]},undefined,{name:"PLayout",components:{PLayoutSection:_},props:{sectioned:{type:Boolean,default:!1}}},undefined,false,undefined,!1,void 0,void 0,void 0),Zu=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PTextContainer",props:{spacing:r({type:String,default:null},C("spacing",["tight","loose",null]))},computed:{className:function(){return g("Polaris-TextContainer",this.spacing&&"Polaris-TextContainer--".concat(m("spacing",this.spacing)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Gu=["ascending","descending","none"],Ku={name:"PDataTableCellNew",components:{PIcon:j},props:{header:{type:Boolean},content:{type:[String,Number]},value:{type:[String,Number,Boolean,Object,Array]},width:{type:[String,Number]},sort:r({type:Object},I("sort",{value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:Gu}})),sortable:{type:Boolean,default:!0},defaultSortDirection:r({type:String,default:"ascending"},C("defaultSortDirection",Gu)),contentType:{type:String},firstColumn:{type:Boolean},truncate:{type:Boolean},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"])),total:{type:Boolean},totalInFooter:{type:Boolean},headerValue:{type:String}},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.header&&"Polaris-DataTable__Cell--header",this.total&&"Polaris-DataTable__Cell--total",this.totalInFooter&&"Polaris-DataTable--cellTotalFooter",this.numeric&&"Polaris-DataTable__Cell--numeric",this.sorted&&"Polaris-DataTable__Cell--sorted ",this.sortable&&"Polaris-DataTable__Cell--sortable",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))},headerClassName:function(){return g("Polaris-DataTable__Heading","text"===this.contentType&&"Polaris-DataTable__Heading--left")},direction:function(){return this.sorted&&this.sort.direction?this.sort.direction:this.defaultSortDirection},source:function(){return"descending"===this.direction?"CaretDownMinor":"CaretUpMinor"},numeric:function(){return"numeric"===this.contentType},sorted:function(){return this.sort&&this.sort.value===this.value},sortLabel:function(){return this.sort&&this.sort.value===this.value?this.sort.direction:""}},methods:{handleSortChange:function(){var t="ascending"===this.sort.direction?"descending":"ascending";this.$emit("sort-changed",this.value,t)}}};const Yu="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function Xu(t){return(t,e)=>function(t,e){const n=Yu?e.media||"default":t,o=Ju[n]||(Ju[n]={ids:new Set,styles:[]});if(!o.ids.has(t)){o.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",e.media&&o.element.setAttribute("media",e.media),void 0===Qu&&(Qu=document.head||document.getElementsByTagName("head")[0]),Qu.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const t=o.ids.size-1,e=document.createTextNode(n),r=o.element.childNodes;r[t]&&o.element.removeChild(r[t]),r.length?o.element.insertBefore(e,r[t]):o.element.appendChild(e)}}}(t,e)}let Qu;const Ju={};var tc=Ku,ec=function(t){t&&t("data-v-53aa9556_0",{source:"th[data-v-53aa9556]:last-child{text-align:right}td[data-v-53aa9556]:last-child{text-align:right}td:last-child>*[data-v-53aa9556]{float:right}",map:void 0,media:void 0})},nc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.header?n("th",{class:t.className,attrs:{"data-polaris-header-cell":"true",width:t.width,scope:"col","aria-sort":t.sortLabel}},[t.sortable?[n("button",{class:t.headerClassName,on:{click:t.handleSortChange}},[n("span",{staticClass:"Polaris-DataTable__Icon"},[n("PIcon",{attrs:{source:t.source}})],1),t._v("\n "+t._s(t.content)+"\n ")])]:[t._v("\n "+t._s(t.content)+"\n ")]],2):t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t._t("item."+t.headerValue,(function(){return[t._v("\n "+t._s(t.value)+"\n ")]}),{item:t.headerValue})],2):n("td",{class:t.className},[t._t("item."+t.headerValue,(function(){return[t._v("\n "+t._s(t.value)+"\n ")]}),{item:t.headerValue})],2)},staticRenderFns:[]},ec,tc,"data-v-53aa9556",false,undefined,!1,Xu,void 0,void 0),oc=nc,rc={name:"PLink",components:{PButton:et,PUnstyledLink:O,PIcon:j},props:{id:{type:[String,Number],default:null},url:{type:String,default:null},to:{type:[String,Object],default:null},external:{type:Boolean,default:!1},monochrome:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-Link",this.monochrome&&"Polaris-Link--monochrome")},isStringSlot:function(){var t=this.$slots.default||[];return this.external&&1===t.length&&t[0].text}}},ac=rc,ic=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.url||t.to?n("PUnstyledLink",t._g({class:t.className,attrs:{id:t.id,to:t.to,url:t.url,external:t.external,"data-polaris-unstyled":"true"}},t.$listeners),[t._t("default"),t._v(" "),t.isStringSlot?n("span",{staticClass:"Polaris-Link__IconLockup"},[n("span",{staticClass:"Polaris-Link__IconLayout"},[n("PIcon",{attrs:{source:"ExternalSmallMinor"}})],1)]):t._e()],2):n("button",t._g({class:t.className,attrs:{type:"button",id:t.id}},t.$listeners),[t._t("default"),t._v(" "),t.isStringSlot?n("span",{staticClass:"Polaris-Link__IconLockup"},[n("span",{staticClass:"Polaris-Link__IconLayout"},[n("PIcon",{attrs:{source:"ExternalSmallMinor"}})],1)]):t._e()],2)},staticRenderFns:[]},undefined,ac,undefined,false,undefined,!1,void 0,void 0,void 0),sc=ic,lc={name:"PToggle",props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},propsClass:{type:String,default:null},value:{type:[String,Boolean,Number]},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1}},methods:{onChange:function(t){var e=t.target||t.srcElement;this.$emit("change",{checked:e.checked,value:e.value})}}},uc=lc,cc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.propsClass},[n("label",{staticClass:"switch",style:t.label?"margin-right:3px":""},[n("input",{attrs:{type:"checkbox",id:t.id,disabled:t.disabled},domProps:{value:t.value,checked:!t.disabled&&t.checked},on:{change:t.onChange}}),t._v(" "),n("span",{staticClass:"slider round"})]),t._v(" "),t.$slots.label?t._t("label"):[t._v(t._s(t.label))]],2)},staticRenderFns:[]},undefined,uc,undefined,false,undefined,!1,void 0,void 0,void 0),hc=cc,dc={name:"PBadge",props:{status:r({type:String,default:null},C("status",["success","info","attention","warning","new","critical",null,""])),progress:r({type:String,default:null},C("progress",["incomplete","partiallyComplete","complete",null,""])),background:{type:String,default:null},color:{type:String,default:null},size:r({type:String,default:"medium"},C("size",["small","medium"]))},computed:{className:function(){return g("Polaris-Badge",!this.color&&!this.background&&this.status&&"Polaris-Badge--".concat(m("status",this.status)),this.progress&&"Polaris-Badge--".concat(m("progress",this.progress)),this.size&&"medium"!==this.size&&"Polaris-Badge--".concat(m("size",this.size)))}}},fc=dc,pc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className,style:{"background-color":t.background,color:t.color}},[t.progress?n("span",{staticClass:"Polaris-Badge__Pip"},[n("span",{staticClass:"Polaris-VisuallyHidden"},[t._v(t._s(t.progress))])]):t._e(),t._v(" "),n("span",{staticClass:"Polaris-Badge__Content"},[t._t("default")],2)])},staticRenderFns:[]},undefined,fc,undefined,false,undefined,!1,void 0,void 0,void 0),vc=pc,gc=["ascending","descending","none"],mc={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:gc}},yc={name:"PDataTableCell",components:{PIcon:j,PButton:et,PButtonGroup:ne,PLink:sc,PToggle:hc,PBadge:vc},props:{content:{type:[String,Number]},contentType:{type:String},value:{type:[String,Number]},firstColumn:{type:Boolean},truncate:{type:Boolean},header:{type:Boolean},total:{type:Boolean},sortable:{type:Boolean},width:{type:[String,Number]},sort:r({type:Object},I("sort",mc)),defaultSortDirection:r({type:String,default:"ascending"},C("defaultSortDirection",gc)),totalInFooter:{type:Boolean},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"])),actions:{type:Array,default:function(){return[]}},action:{type:Object,default:function(){return{}}},badge:{type:Object,default:function(){return{}}},toggle:{type:Object,default:function(){return{}}}},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.header&&"Polaris-DataTable__Cell--header",this.total&&"Polaris-DataTable__Cell--total",this.totalInFooter&&"Polaris-DataTable--cellTotalFooter",this.numeric&&"Polaris-DataTable__Cell--numeric",this.sorted&&"Polaris-DataTable__Cell--sorted ",this.sortable&&"Polaris-DataTable__Cell--sortable",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))},headerClassName:function(){return g("Polaris-DataTable__Heading","text"===this.contentType&&"Polaris-DataTable__Heading--left")},direction:function(){return this.sorted&&this.sort.direction?this.sort.direction:this.defaultSortDirection},source:function(){return"descending"===this.direction?"CaretDownMinor":"CaretUpMinor"},numeric:function(){return"numeric"===this.contentType},hasActions:function(){return this.actions&&this.actions.length>0},hasAction:function(){return this.action||this.badge||this.toggle},sorted:function(){return this.sort&&this.sort.value===this.value},sortLabel:function(){return this.sort&&this.sort.value===this.value?this.sort.direction:""}},methods:{handleSortChange:function(){var t="ascending"===this.sort.direction?"descending":"ascending";this.$emit("sort-changed",this.value,t)}}},wc=yc,bc=function(t){t&&t("data-v-9c6b238c_0",{source:"th[data-v-9c6b238c]:last-child{text-align:right}td[data-v-9c6b238c]:last-child{text-align:right}td:last-child>*[data-v-9c6b238c]{float:right}",map:void 0,media:void 0})},_c=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.header?n("th",{class:t.className,attrs:{"data-polaris-header-cell":"true",width:t.width,scope:"col","aria-sort":t.sortLabel}},[t.sortable?[n("button",{class:t.headerClassName,on:{click:t.handleSortChange}},[n("span",{staticClass:"Polaris-DataTable__Icon"},[n("PIcon",{attrs:{source:t.source}})],1),t._v("\n "+t._s(t.content)+"\n ")])]:[t._v("\n "+t._s(t.content)+"\n ")]],2):t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t.hasAction?[t.action&&t.action.to?n("PButton",{attrs:{plain:"",to:t.action.to}},[t._v(t._s(t.action.content))]):t._e(),t._v(" "),t.action&&(t.action.url||t.action.external)?n("PLink",{attrs:{url:t.action.url,external:t.action.external,monochrome:t.action.monochrome}},[t._v(t._s(t.action.content?t.action.content:t.action.url)+"\n ")]):t._e(),t._v(" "),t.badge?n("PBadge",{attrs:{status:t.badge.status,progress:t.badge.progress}},[t._v("Badge"+t._s(t.badge.content))]):t._e(),t._v(" "),t.toggle?n("PToggle",{attrs:{checked:t.toggle.status,value:t.toggle.id},on:{change:t.toggle.onAction}}):t._e()]:[t._v("\n "+t._s(t.content)+"\n ")]],2):n("td",{class:t.className},[t.hasActions?[n("PButtonGroup",{attrs:{segmented:""}},t._l(t.actions,(function(e,o){return n("PButton",t._b({key:o,attrs:{primary:e.primary,destructive:e.destructive},on:{click:function(n){return e.onAction(t.value)}}},"PButton",e,!1),[t._v(t._s(e.content)+"\n ")])})),1)]:[t.hasAction?[t.action&&t.action.to?n("PButton",{attrs:{plain:"",to:t.action.to}},[t._v(t._s(t.action.content))]):t._e(),t._v(" "),t.action&&(t.action.url||t.action.external)?n("PLink",{attrs:{url:t.action.url,external:t.action.external,monochrome:t.action.monochrome}},[t._v(t._s(t.action.content?t.action.content:t.action.url)+"\n ")]):t._e(),t._v(" "),t.badge?n("PBadge",{attrs:{status:t.badge.status,progress:t.badge.progress}},[t._v(t._s(t.badge.content))]):t._e(),t._v(" "),t.toggle?n("PToggle",{attrs:{checked:t.toggle.status,value:t.toggle.id},on:{change:t.toggle.onAction}}):t._e()]:[t._v("\n "+t._s(t.content)+"\n ")]]],2)},staticRenderFns:[]},bc,wc,"data-v-9c6b238c",false,undefined,!1,Xu,void 0,void 0),Mc=_c,xc={name:"PSpinner",components:{PIcon:j},methods:{onClick:function(){this.$emit("click")},handleStep:function(t){this.$emit("change",t)}}},Ac=xc,Pc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-TextField__Spinner",attrs:{"aria-hidden":"true"},on:{click:t.onClick}},[n("div",{staticClass:"Polaris-TextField__Segment",attrs:{role:"button",tabindex:"-1"},on:{click:function(e){return t.handleStep(1)}}},[n("div",{staticClass:"Polaris-TextField__SpinnerIcon"},[n("PIcon",{attrs:{source:"CaretUpMinor"}})],1)]),t._v(" "),n("div",{staticClass:"Polaris-TextField__Segment",attrs:{role:"button",tabindex:"-1"},on:{click:function(e){return t.handleStep(-1)}}},[n("div",{staticClass:"Polaris-TextField__SpinnerIcon"},[n("PIcon",{attrs:{source:"CaretDownMinor"}})],1)])])},staticRenderFns:[]},undefined,Ac,"data-v-4925112a",false,undefined,!1,void 0,void 0,void 0),Cc=Pc,jc={"&":"&amp;","<":"&lt;",">":"&gt;","\n":"<br>"},zc=/[\n&<>]/g,kc={name:"PFieldResizer",props:{contents:{type:String},currentHeight:{type:Number},minimumLines:{type:Number}},computed:{finalContents:function(){return this.contents?this.contents.replace(zc,this.replaceEntity)+"<br>":"<br>"},minimumLinesContent:function(){for(var t="",e=0;e<this.minimumLines;e++)t+="<br>";return t}},methods:{handleHeightCheck:function(){if(null!==this.$refs.dummyInput&&null!==this.$refs.minimumLines){var t=this.$refs.dummyInput,e=this.$refs.minimumLines,n=t.offsetHeight,o=e?e.offsetHeight:0,r=Math.max(n,o);this.currentHeight!==r&&this.$emit("heightchange",r)}},replaceEntity:function(t){return jc[t]||t}},mounted:function(){this.handleHeightCheck()},watch:{finalContents:function(t,e){this.handleHeightCheck()}}},Oc=kc,Tc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-TextField__Resizer",attrs:{"aria-hidden":""}},[n("div",{ref:"dummyInput",staticClass:"Polaris-TextField__DummyInput",domProps:{innerHTML:t._s(t.finalContents)}}),t._v(" "),t.minimumLines?n("div",{staticClass:"Polaris-TextField__DummyInput",domProps:{innerHTML:t._s(t.minimumLinesContent)}}):t._e()])},staticRenderFns:[]},undefined,Oc,undefined,false,undefined,!1,void 0,void 0,void 0),Sc=Tc,Ec=ai((function(t,e){
3
3
  /*!
4
4
  * Quill Editor v1.3.7
5
5
  * https://quilljs.com/
6
6
  * Copyright (c) 2014, Jason Chen
7
7
  * Copyright (c) 2013, salesforce.com
8
8
  */
9
- var n;"undefined"!=typeof self&&self,n=function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),r=n(18),a=n(19),i=n(45),s=n(46),l=n(47),u=n(48),c=n(49),h=n(12),d=n(32),f=n(33),p=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:o.default,Format:r.default,Leaf:a.default,Embed:u.default,Scroll:i.default,Block:l.default,Inline:s.default,Text:c.default,Attributor:{Attribute:h.default,Class:d.default,Style:f.default,Store:p.default}};e.default=g},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=a;var i,s={},l={},u={},c={};function h(t,e){var n;if(void 0===e&&(e=i.ANY),"string"==typeof t)n=c[t]||s[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=c.text;else if("number"==typeof t)t&i.LEVEL&i.BLOCK?n=c.block:t&i.LEVEL&i.INLINE&&(n=c.inline);else if(t instanceof HTMLElement){var o=(t.getAttribute("class")||"").split(/\s+/);for(var r in o)if(n=l[o[r]])break;n=n||u[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=function(t,e){var n=h(t);if(null==n)throw new a("Unable to create "+t+" blot");var o=n,r=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:o.create(e);return new o(r,e)},e.find=function t(n,o){return void 0===o&&(o=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:o?t(n.parentNode,o):null},e.query=h,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map((function(e){return t(e)}));var o=e[0];if("string"!=typeof o.blotName&&"string"!=typeof o.attrName)throw new a("Invalid definition");if("abstract"===o.blotName)throw new a("Cannot register abstract class");if(c[o.blotName||o.attrName]=o,"string"==typeof o.keyName)s[o.keyName]=o;else if(null!=o.className&&(l[o.className]=o),null!=o.tagName){Array.isArray(o.tagName)?o.tagName=o.tagName.map((function(t){return t.toUpperCase()})):o.tagName=o.tagName.toUpperCase();var r=Array.isArray(o.tagName)?o.tagName:[o.tagName];r.forEach((function(t){null!=u[t]&&null!=o.className||(u[t]=o)}))}return o}},function(t,e,n){var o=n(51),r=n(11),a=n(3),i=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=a(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(o){(t(o)?e:n).push(o)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+i.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+i.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],o=i.iterator(this.ops),r=0;r<e&&o.hasNext();){var a;r<t?a=o.next(t-r):(a=o.next(e-r),n.push(a)),r+=i.length(a)}return new l(n)},l.prototype.compose=function(t){var e=i.iterator(this.ops),n=i.iterator(t.ops),o=[],a=n.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var s=a.retain;"insert"===e.peekType()&&e.peekLength()<=s;)s-=e.peekLength(),o.push(e.next());a.retain-s>0&&n.next(a.retain-s)}for(var u=new l(o);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),h=e.next(c),d=n.next(c);if("number"==typeof d.retain){var f={};"number"==typeof h.retain?f.retain=c:f.insert=h.insert;var p=i.attributes.compose(h.attributes,d.attributes,"number"==typeof h.retain);if(p&&(f.attributes=p),u.push(f),!n.hasNext()&&r(u.ops[u.ops.length-1],f)){var v=new l(e.rest());return u.concat(v).chop()}}else"number"==typeof d.delete&&"number"==typeof h.retain&&u.push(d)}return u.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),a=new l,u=o(n[0],n[1],e),c=i.iterator(this.ops),h=i.iterator(t.ops);return u.forEach((function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case o.INSERT:n=Math.min(h.peekLength(),e),a.push(h.next(n));break;case o.DELETE:n=Math.min(e,c.peekLength()),c.next(n),a.delete(n);break;case o.EQUAL:n=Math.min(c.peekLength(),h.peekLength(),e);var s=c.next(n),l=h.next(n);r(s.insert,l.insert)?a.retain(n,i.attributes.diff(s.attributes,l.attributes)):a.push(l).delete(n)}e-=n}})),a.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=i.iterator(this.ops),o=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var a=n.peek(),s=i.length(a)-n.peekLength(),u="string"==typeof a.insert?a.insert.indexOf(e,s)-s:-1;if(u<0)o.push(n.next());else if(u>0)o.push(n.next(u));else{if(!1===t(o,n.next(1).attributes||{},r))return;r+=1,o=new l}}o.length()>0&&t(o,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=i.iterator(this.ops),o=i.iterator(t.ops),r=new l;n.hasNext()||o.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===o.peekType())if("insert"===o.peekType())r.push(o.next());else{var a=Math.min(n.peekLength(),o.peekLength()),s=n.next(a),u=o.next(a);if(s.delete)continue;u.delete?r.push(u):r.retain(a,i.attributes.transform(s.attributes,u.attributes,e))}else r.retain(i.length(n.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=i.iterator(this.ops),o=0;n.hasNext()&&o<=t;){var r=n.peekLength(),a=n.peekType();n.next(),"delete"!==a?("insert"===a&&(o<t||!e)&&(t+=r),o+=r):t-=Math.min(r,t-o)}return t},t.exports=l},function(t,e){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===o.call(t)},s=function(t){if(!t||"[object Object]"!==o.call(t))return!1;var e,r=n.call(t,"constructor"),a=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!a)return!1;for(e in t);return void 0===e||n.call(t,e)},l=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(a)return a(t,e).value}return t[e]};t.exports=function t(){var e,n,o,r,a,c,h=arguments[0],d=1,f=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<f;++d)if(null!=(e=arguments[d]))for(n in e)o=u(h,n),h!==(r=u(e,n))&&(p&&r&&(s(r)||(a=i(r)))?(a?(a=!1,c=o&&i(o)?o:[]):c=o&&s(o)?o:{},l(h,{name:n,newValue:t(p,c,r)})):void 0!==r&&l(h,{name:n,newValue:r}));return h}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=h(n(3)),i=h(n(2)),s=h(n(0)),l=h(n(16)),u=h(n(6)),c=h(n(7));function h(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return d(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),o(e,[{key:"attach",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new i.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=s.default.query(t,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,o){this.format(n,o)}},{key:"insertAt",value:function(t,n,o){if("string"==typeof n&&n.endsWith("\n")){var a=s.default.create(g.blotName);this.parent.insertBefore(a,0===t?this:this.next),a.insertAt(0,n.slice(0,-1))}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,o)}}]),e}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(t){function e(t){d(this,e);var n=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return p(e,t),o(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),m(e))}),new i.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,o,a){n<=0||(s.default.query(o,s.default.Scope.BLOCK)?t+n===this.length()&&this.format(o,a):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),o,a),this.cache={})}},{key:"insertAt",value:function(t,n,o){if(null!=o)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,o);if(0!==n.length){var a=n.split("\n"),i=a.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var s=this;a.reduce((function(t,e){return(s=s.split(t,!0)).insertAt(0,e),e.length}),t+i.length)}}},{key:"insertBefore",value:function(t,n){var o=this.children.head;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),o instanceof l.default&&o.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var o=this.clone();return 0===t?(this.parent.insertBefore(o,this),this):(this.parent.insertBefore(o,this.next),o)}var a=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},a}}]),e}(s.default.Block);function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:m(t.parent,e))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[u.default,s.default.Embed,c.default],e.bubbleFormats=m,e.BlockEmbed=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n(50);var i=g(n(2)),s=g(n(14)),l=g(n(8)),u=g(n(9)),c=g(n(0)),h=n(15),d=g(h),f=g(n(3)),p=g(n(10)),v=g(n(34));function g(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var w=(0,p.default)("quill"),b=function(){function t(e){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,t),this.options=_(e,o),this.container=this.options.container,null==this.container)return w.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new d.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(t,e){var o=n.selection.lastRange,r=o&&0===o.length?o.index:void 0;M.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var a=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(a),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),p.default.level(t)}},{key:"find",value:function(t){return t.__quill||c.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&w.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var r=t.attrName||t.blotName;"string"==typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(o){n.register(o,t[o],e)}))}else null==this.imports[t]||o||w.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?c.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),a(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var o=this,a=x(t,e,n),i=r(a,4);return t=i[0],e=i[1],n=i[3],M.call(this,(function(){return o.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return M.call(this,(function(){var o=n.getSelection(!0),r=new i.default;if(null==o)return r;if(c.default.query(t,c.default.Scope.BLOCK))r=n.editor.formatLine(o.index,o.length,m({},t,e));else{if(0===o.length)return n.selection.format(t,e),r;r=n.editor.formatText(o.index,o.length,m({},t,e))}return n.setSelection(o,l.default.sources.SILENT),r}),o)}},{key:"formatLine",value:function(t,e,n,o,a){var i,s=this,l=x(t,e,n,o,a),u=r(l,4);return t=u[0],e=u[1],i=u[2],a=u[3],M.call(this,(function(){return s.editor.formatLine(t,e,i)}),a,t,0)}},{key:"formatText",value:function(t,e,n,o,a){var i,s=this,l=x(t,e,n,o,a),u=r(l,4);return t=u[0],e=u[1],i=u[2],a=u[3],M.call(this,(function(){return s.editor.formatText(t,e,i)}),a,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=x(t,e),o=r(n,2);return t=o[0],e=o[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=x(t,e),o=r(n,2);return t=o[0],e=o[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,o){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return M.call(this,(function(){return r.editor.insertEmbed(e,n,o)}),a,e)}},{key:"insertText",value:function(t,e,n,o,a){var i,s=this,l=x(t,0,n,o,a),u=r(l,4);return t=u[0],i=u[2],a=u[3],M.call(this,(function(){return s.editor.insertText(t,e,i)}),a,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var o=this,a=x(t,e,n),i=r(a,4);return t=i[0],e=i[1],n=i[3],M.call(this,(function(){return o.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return M.call(this,(function(){t=new i.default(t);var n=e.getLength(),o=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),a=r.ops[r.ops.length-1];return null!=a&&"string"==typeof a.insert&&"\n"===a.insert[a.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1)),o.compose(r)}),n)}},{key:"setSelection",value:function(e,n,o){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var a=x(e,n,o),i=r(a,4);e=i[0],n=i[1],o=i[3],this.selection.setRange(new h.Range(e,n),o),o!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new i.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return M.call(this,(function(){return t=new i.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function _(t,e){if((e=(0,f.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==b.DEFAULTS.theme){if(e.theme=b.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=v.default;var n=(0,f.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var o=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=b.import("modules/"+e);return null==n?w.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,f.default)(!0,{},b.DEFAULTS,{modules:o},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function M(t,e,n,o){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new i.default;var r=null==n?null:this.getSelection(),a=this.editor.delta,s=t();if(null!=r&&(!0===n&&(n=r.index),null==o?r=A(r,s,e):0!==o&&(r=A(r,n,o,e)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var u,c,h=[l.default.events.TEXT_CHANGE,s,a,e];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(h)),e!==l.default.sources.SILENT&&(c=this.emitter).emit.apply(c,h)}return s}function x(t,e,n,r,a){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(a=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(a=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":o(n))?(i=n,a=r):"string"==typeof n&&(null!=r?i[n]=r:a=n),[t,e,i,a=a||l.default.sources.API]}function A(t,e,n,o){if(null==t)return null;var a=void 0,s=void 0;if(e instanceof i.default){var u=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,o!==l.default.sources.USER)})),c=r(u,2);a=c[0],s=c[1]}else{var d=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&o===l.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),f=r(d,2);a=f[0],s=f[1]}return new h.Range(a,s-a)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:i.default,parchment:c.default,"core/module":u.default,"core/theme":v.default},e.expandConfig=_,e.overload=x,e.default=b},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=s(n(7)),i=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"formatAt",value:function(t,n,o,a){if(e.compare(this.statics.blotName,o)<0&&i.default.query(o,i.default.Scope.BLOT)){var s=this.isolate(t,n);a&&s.wrap(o,a)}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,o,a)}},{key:"optimize",value:function(t){if(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var o=e.order.indexOf(t),r=e.order.indexOf(n);return o>=0||r>=0?o-r:t===n?0:t<n?-1:1}}]),e}(i.default.Inline);c.allowedChildren=[c,i.default.Embed,a.default],c.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(0);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default.Text);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=i(n(54));function i(t){return t&&t.__esModule?t:{default:t}}var s=(0,i(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",s.error),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"emit",value:function(){s.log.apply(s,arguments),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];(this.listeners[t.type]||[]).forEach((function(e){var o=e.node,r=e.handler;(t.target===o||o.contains(t.target))&&r.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(a.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},e.default=l},function(t,e,n){function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=["error","warn","log","info"],r="warn";function a(t){if(o.indexOf(t)<=o.indexOf(r)){for(var e,n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];(e=console)[t].apply(e,a)}}function i(t){return o.reduce((function(e,n){return e[n]=a.bind(console,n,t),e}),{})}a.level=i.level=function(t){r=t},e.default=i},function(t,e,n){var o=Array.prototype.slice,r=n(52),a=n(53),i=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var u,c;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(a(t))return!!a(e)&&(t=o.call(t),e=o.call(e),i(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var h=r(t),d=r(e)}catch(t){return!1}if(h.length!=d.length)return!1;for(h.sort(),d.sort(),u=h.length-1;u>=0;u--)if(h[u]!=d[u])return!1;for(u=h.length-1;u>=0;u--)if(c=h[u],!i(t[c],e[c],n))return!1;return typeof t==typeof e}(t,e,n))};function s(t){return null==t}function l(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=o.Scope.TYPE&o.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&o.Scope.LEVEL|r:this.scope=o.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=o.query(t,o.Scope.BLOT&(this.scope|o.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=h(n(2)),s=h(n(0)),l=h(n(4)),u=h(n(6)),c=h(n(7));function h(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return d(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),e}(u.default);v.blotName="code",v.tagName="CODE";var g=function(t){function e(){return d(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),r(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new i.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(c.default,this.length()-1),i=o(r,1)[0];null!=i&&i.deleteAt(i.length()-1,1),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,o,r){if(0!==n&&null!=s.default.query(o,s.default.Scope.BLOCK)&&(o!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var a=this.newlineIndex(t);if(!(a<0||a>=t+n)){var i=this.newlineIndex(t,!0)+1,l=a-i+1,u=this.isolate(i,l),c=u.next;u.format(o,r),c instanceof e&&c.formatAt(0,t-i+n-l,o,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(c.default,t),a=o(r,2),i=a[0],s=a[1];i.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",e.Code=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=m(n(2)),s=m(n(20)),l=m(n(0)),u=m(n(13)),c=m(n(24)),h=n(4),d=m(h),f=m(n(16)),p=m(n(21)),v=m(n(11)),g=m(n(3));function m(t){return t&&t.__esModule?t:{default:t}}var y=/^[ -~]*$/,w=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return a(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var a=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,p.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,p.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var o=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(o,e.attributes)}return t.push(e)}),new i.default)}(t)).reduce((function(t,i){var u=i.retain||i.delete||i.insert.length||1,c=i.attributes||{};if(null!=i.insert){if("string"==typeof i.insert){var f=i.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),t>=a&&!f.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,f);var p=e.scroll.line(t),v=r(p,2),m=v[0],y=v[1],w=(0,g.default)({},(0,h.bubbleFormats)(m));if(m instanceof d.default){var b=m.descendant(l.default.Leaf,y),_=r(b,1)[0];w=(0,g.default)(w,(0,h.bubbleFormats)(_))}c=s.default.attributes.diff(w,c)||{}}else if("object"===o(i.insert)){var M=Object.keys(i.insert)[0];if(null==M)return t;e.scroll.insertAt(t,M,i.insert[M])}a+=u}return Object.keys(c).forEach((function(n){e.scroll.formatAt(t,u,n,c[n])})),t+u}),0),t.reduce((function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new i.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(o).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var a=n.scroll.lines(t,Math.max(e,1)),i=e;a.forEach((function(e){var a=e.length();if(e instanceof u.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+i)-s+1;e.formatAt(s,l,r,o[r])}else e.format(r,o[r]);i-=a}))}})),this.scroll.optimize(),this.update((new i.default).retain(t).retain(e,(0,p.default)(o)))}},{key:"formatText",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(o).forEach((function(r){n.scroll.formatAt(t,e,r,o[r])})),this.update((new i.default).retain(t).retain(e,(0,p.default)(o)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new i.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],o=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1)[0];e instanceof d.default?n.push(e):e instanceof l.default.Leaf&&o.push(e)})):(n=this.scroll.lines(t,e),o=this.scroll.descendants(l.default.Leaf,t,e));var a=[n,o].map((function(t){if(0===t.length)return{};for(var e=(0,h.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=b((0,h.bubbleFormats)(n),e)}return e}));return g.default.apply(g.default,a)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"==typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new i.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(o).forEach((function(r){n.scroll.formatAt(t,e.length,r,o[r])})),this.update((new i.default).retain(t).insert(e,(0,p.default)(o)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===d.default.blotName&&!(t.children.length>1)&&t.children.head instanceof f.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),o=this.scroll.line(t+e),a=r(o,2),s=a[0],l=a[1],c=0,h=new i.default;null!=s&&(c=s instanceof u.default?s.newlineIndex(l)-l+1:s.length()-l,h=s.delta().slice(l,l+c-1).insert("\n"));var d=this.getContents(t,e+c).diff((new i.default).insert(n).concat(h)),f=(new i.default).retain(t).concat(d);return this.applyDelta(f)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(y)&&l.default.find(e[0].target)){var r=l.default.find(e[0].target),a=(0,h.bubbleFormats)(r),s=r.offset(this.scroll),u=e[0].oldValue.replace(c.default.CONTENTS,""),d=(new i.default).insert(u),f=(new i.default).insert(r.value()),p=(new i.default).retain(s).concat(d.diff(f,n));t=p.reduce((function(t,e){return e.insert?t.insert(e.insert,a):t.push(e)}),new i.default),this.delta=o.compose(t)}else this.delta=this.getDelta(),t&&(0,v.default)(o.compose(t),this.delta)||(t=o.diff(this.delta,n));return t}}]),t}();function b(t,e){return Object.keys(e).reduce((function(n,o){return null==t[o]||(e[o]===t[o]?n[o]=e[o]:Array.isArray(e[o])?e[o].indexOf(t[o])<0&&(n[o]=e[o].concat([t[o]])):n[o]=[e[o],t[o]]),n}),{})}e.default=w},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=u(n(0)),i=u(n(21)),s=u(n(11)),l=u(n(8));function u(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=(0,u(n(10)).default)("quill:selection"),f=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;h(this,t),this.index=e,this.length=n},p=function(){function t(e,n){var o=this;h(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){o.mouseDown||setTimeout(o.update.bind(o,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&o.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(o.hasFocus()){var t=o.getNativeRange();null!=t&&t.start.node!==o.cursor.textNode&&o.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{o.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,a=n.startOffset,i=n.endNode,s=n.endOffset;o.setNativeRange(r,a,i,s)}})),this.update(l.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(t,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var o=a.default.find(n.start.node,!1);if(null==o)return;if(o instanceof a.default.Leaf){var r=o.split(n.start.offset);o.parent.insertBefore(this.cursor,r)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,a=this.scroll.leaf(t),i=o(a,2),s=i[0],l=i[1];if(null==s)return null;var u=s.position(l,!0),c=o(u,2);r=c[0],l=c[1];var h=document.createRange();if(e>0){h.setStart(r,l);var d=this.scroll.leaf(t+e),f=o(d,2);if(s=f[0],l=f[1],null==s)return null;var p=s.position(l,!0),v=o(p,2);return r=v[0],l=v[1],h.setEnd(r,l),h.getBoundingClientRect()}var g="left",m=void 0;return r instanceof Text?(l<r.data.length?(h.setStart(r,l),h.setEnd(r,l+1)):(h.setStart(r,l-1),h.setEnd(r,l),g="right"),m=h.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return d.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=o(t,2),r=n[0],i=n[1],s=a.default.find(r,!0),l=s.offset(e.scroll);return 0===i?l:s instanceof a.default.Container?l+s.length():l+s.index(r,i)})),i=Math.min(Math.max.apply(Math,c(r)),this.scroll.length()-1),s=Math.min.apply(Math,[i].concat(c(r)));return new f(s,i-s)}},{key:"normalizeNative",value:function(t){if(!v(this.root,t.startContainer)||!t.collapsed&&!v(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],a=this.scroll.length();return n.forEach((function(t,n){t=Math.min(a-1,t);var i,s=e.scroll.leaf(t),l=o(s,2),u=l[0],c=l[1],h=u.position(c,0!==n),d=o(h,2);i=d[0],c=d[1],r.push(i,c)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,a=this.scroll.line(Math.min(e.index,r)),i=o(a,1)[0],s=i;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,r));s=o(l,1)[0]}if(null!=i&&null!=s){var u=t.getBoundingClientRect();n.top<u.top?t.scrollTop-=u.top-n.top:n.bottom>u.bottom&&(t.scrollTop+=n.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",t,e,n,o),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var a=document.getSelection();if(null!=a)if(null!=t){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||r||t!==i.startContainer||e!==i.startOffset||n!==i.endContainer||o!==i.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(o=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,o),a.removeAllRanges(),a.addRange(s)}}else a.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof e&&(n=e,e=!1),d.info("setRange",t),null!=t){var o=this.rangeToNative(t);this.setNativeRange.apply(this,c(o).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),r=o(n,2),a=r[0],u=r[1];if(this.lastRange=a,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var c;!this.composing&&null!=u&&u.native.collapsed&&u.start.node!==this.cursor.textNode&&this.cursor.restore();var h,d=[l.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(e),t];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT&&(h=this.emitter).emit.apply(h,d)}}}]),t}();function v(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=f,e.default=p},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"insertInto",value:function(t,n){0===t.children.length?a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default.Embed);u.blotName="break",u.tagName="BR",e.default=u},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(44),i=n(30),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new a.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=u(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof s.ParchmentError)return;throw t}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var o=this.children.find(n),r=o[0],a=o[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,a]:r instanceof e?r.descendant(t,a):[null,-1]},e.prototype.descendants=function(t,n,o){void 0===n&&(n=0),void 0===o&&(o=Number.MAX_VALUE);var r=[],a=o;return this.children.forEachAt(n,o,(function(n,o,i){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,o,a))),a-=i})),r},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,o){this.children.forEachAt(t,e,(function(t,e,r){t.formatAt(e,r,n,o)}))},e.prototype.insertAt=function(t,e,n){var o=this.children.find(t),r=o[0],a=o[1];if(r)r.insertAt(a,e,n);else{var i=null==n?s.create("text",e):s.create(e,n);this.appendChild(i)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new s.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var o=this.children.find(t,n),r=o[0],a=o[1],i=[[this,t]];return r instanceof e?i.concat(r.path(a,n)):(null!=r&&i.push([r,a]),i)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,o,r){t=t.split(o,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],r=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),r.push.apply(r,t.removedNodes))})),r.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=s.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),o.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=s.find(t.nextSibling));var o=u(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))}))},e}(i.default);function u(t){var e=s.find(t);if(null==e)try{e=s.create(t)}catch(n){e=s.create(s.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(12),i=n(31),s=n(17),l=n(1),u=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=l.query(t);n instanceof a.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var o=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(o),o},e.prototype.update=function(e,n){var o=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===o.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,o){var r=t.prototype.wrap.call(this,n,o);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(s.default);e.default=u},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(30),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(a.default);e.default=s},function(t,e,n){var o=n(11),r=n(3),a={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var o=r(!0,{},e);for(var a in n||(o=Object.keys(o).reduce((function(t,e){return null!=o[e]&&(t[e]=o[e]),t}),{})),t)void 0!==t[a]&&void 0===e[a]&&(o[a]=t[a]);return Object.keys(o).length>0?o:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var o=Object.keys(e).reduce((function(n,o){return void 0===t[o]&&(n[o]=e[o]),n}),{});return Object.keys(o).length>0?o:void 0}}},iterator:function(t){return new i(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function i(t){this.ops=t,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,o=a.length(e);if(t>=o-n?(t=o-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},i.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),o=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(o)}return[]},t.exports=a},function(t,e){var n=function(){function t(t,e){return null!=e&&t instanceof e}var e,n,o;try{e=Map}catch(t){e=function(){}}try{n=Set}catch(t){n=function(){}}try{o=Promise}catch(t){o=function(){}}function r(a,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var h=[],d=[];return void 0===s&&(s=!0),void 0===l&&(l=1/0),function a(l,f){if(null===l)return null;if(0===f)return l;var p,v;if("object"!=typeof l)return l;if(t(l,e))p=new e;else if(t(l,n))p=new n;else if(t(l,o))p=new o((function(t,e){l.then((function(e){t(a(e,f-1))}),(function(t){e(a(t,f-1))}))}));else if(r.__isArray(l))p=[];else if(r.__isRegExp(l))p=new RegExp(l.source,i(l)),l.lastIndex&&(p.lastIndex=l.lastIndex);else if(r.__isDate(l))p=new Date(l.getTime());else{if(yn.isBuffer(l))return p=yn.allocUnsafe?yn.allocUnsafe(l.length):new yn(l.length),l.copy(p),p;t(l,Error)?p=Object.create(l):void 0===u?(v=Object.getPrototypeOf(l),p=Object.create(v)):(p=Object.create(u),v=u)}if(s){var g=h.indexOf(l);if(-1!=g)return d[g];h.push(l),d.push(p)}for(var m in t(l,e)&&l.forEach((function(t,e){var n=a(e,f-1),o=a(t,f-1);p.set(n,o)})),t(l,n)&&l.forEach((function(t){var e=a(t,f-1);p.add(e)})),l){var y;v&&(y=Object.getOwnPropertyDescriptor(v,m)),y&&null==y.set||(p[m]=a(l[m],f-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(l);for(m=0;m<w.length;m++){var b=w[m];(!(M=Object.getOwnPropertyDescriptor(l,b))||M.enumerable||c)&&(p[b]=a(l[b],f-1),M.enumerable||Object.defineProperty(p,b,{enumerable:!1}))}}if(c){var _=Object.getOwnPropertyNames(l);for(m=0;m<_.length;m++){var M,x=_[m];(M=Object.getOwnPropertyDescriptor(l,x))&&M.enumerable||(p[x]=a(l[x],f-1),Object.defineProperty(p,x,{enumerable:!1}))}}return p}(a,l)}function a(t){return Object.prototype.toString.call(t)}function i(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return r.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},r.__objToStr=a,r.__isDate=function(t){return"object"==typeof t&&"[object Date]"===a(t)},r.__isArray=function(t){return"object"==typeof t&&"[object Array]"===a(t)},r.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===a(t)},r.__getRegExpFlags=i,r}();"object"==typeof t&&t.exports&&(t.exports=n)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=f(n(0)),s=f(n(8)),l=n(4),u=f(l),c=f(n(16)),h=f(n(13)),d=f(n(25));function f(t){return t&&t.__esModule?t:{default:t}}function p(t){return t instanceof u.default||t instanceof l.BlockEmbed}var v=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.emitter=n.emitter,Array.isArray(n.whitelist)&&(o.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),o.domNode.addEventListener("DOMNodeInserted",(function(){})),o.optimize(),o.enable(),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),i=o(r,2),s=i[0],u=i[1],d=this.line(t+n),f=o(d,1)[0];if(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&s!==f&&u>0){if(s instanceof l.BlockEmbed||f instanceof l.BlockEmbed)return void this.optimize();if(s instanceof h.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1))===f)return void this.optimize()}else if(f instanceof h.default){var v=f.newlineIndex(0);v>-1&&f.split(v+1)}var g=f.children.head instanceof c.default?null:f.children.head;s.moveChildren(f,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,o,r){(null==this.whitelist||this.whitelist[o])&&(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,o,r),this.optimize())}},{key:"insertAt",value:function(t,n,o){if(null==o||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==o||null==i.default.query(n,i.default.Scope.BLOCK)){var r=i.default.create(this.statics.defaultChild);this.appendChild(r),null==o&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,o)}else{var s=i.default.create(n,o);this.appendChild(s)}else a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,o);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===i.default.Scope.INLINE_BLOT){var o=i.default.create(this.statics.defaultChild);o.appendChild(t),t=o}a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(p,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,o){var r=[],a=o;return e.children.forEachAt(n,o,(function(e,n,o){p(e)?r.push(e):e instanceof i.default.Container&&(r=r.concat(t(e,n,a))),a-=o})),r};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(i.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[u.default,l.BlockEmbed,d.default],e.default=v},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=v(n(21)),s=v(n(11)),l=v(n(3)),u=v(n(2)),c=v(n(20)),h=v(n(0)),d=v(n(5)),f=v(n(10)),p=v(n(9));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=(0,f.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",w=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.bindings={},Object.keys(o.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&o.options.bindings[e]&&o.addBinding(o.options.bindings[e])})),o.addBinding({key:e.keys.ENTER,shiftKey:null},A),o.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(o.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},_),o.addBinding({key:e.keys.DELETE},{collapsed:!0},M)):(o.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),o.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},M)),o.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},x),o.addBinding({key:e.keys.DELETE},{collapsed:!1},x),o.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),o.listen(),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,null,[{key:"match",value:function(t,e){return e=j(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),a(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=j(t);if(null==o||null==o.key)return m.warn("Attempted to add invalid keyboard binding",o);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),o=(0,l.default)(o,e,n),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var a=n.which||n.keyCode,i=(t.bindings[a]||[]).filter((function(t){return e.match(n,t)}));if(0!==i.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var u=t.quill.getLine(l.index),c=r(u,2),d=c[0],f=c[1],p=t.quill.getLeaf(l.index),v=r(p,2),g=v[0],m=v[1],y=0===l.length?[g,m]:t.quill.getLeaf(l.index+l.length),w=r(y,2),b=w[0],_=w[1],M=g instanceof h.default.Text?g.value().slice(0,m):"",x=b instanceof h.default.Text?b.value().slice(_):"",A={collapsed:0===l.length,empty:0===l.length&&d.length()<=1,format:t.quill.getFormat(l),offset:f,prefix:M,suffix:x},P=i.some((function(e){if(null!=e.collapsed&&e.collapsed!==A.collapsed)return!1;if(null!=e.empty&&e.empty!==A.empty)return!1;if(null!=e.offset&&e.offset!==A.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==A.format[t]})))return!1}else if("object"===o(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=A.format[t]:!1===e.format[t]?null==A.format[t]:(0,s.default)(e.format[t],A.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(A.prefix)||null!=e.suffix&&!e.suffix.test(A.suffix)||!0===e.handler.call(t,l,A))}));P&&n.preventDefault()}}}}))}}]),e}(p.default);function b(t,e){var n,o=t===w.keys.LEFT?"prefix":"suffix";return g(n={key:t,shiftKey:e,altKey:null},o,/^$/),g(n,"handler",(function(n){var o=n.index;t===w.keys.RIGHT&&(o+=n.length+1);var a=this.quill.getLeaf(o);return!(r(a,1)[0]instanceof h.default.Embed&&(t===w.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),1))})),n}function _(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),o=r(n,1)[0],a={};if(0===e.offset){var i=this.quill.getLine(t.index-1),s=r(i,1)[0];if(null!=s&&s.length()>1){var l=o.formats(),u=this.quill.getFormat(t.index-1,1);a=c.default.attributes.diff(l,u)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-h,h,d.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index-h,h,a,d.default.sources.USER),this.quill.focus()}}function M(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var o={},a=0,i=this.quill.getLine(t.index),s=r(i,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),u=r(l,1)[0];if(u){var h=s.formats(),f=this.quill.getFormat(t.index,1);o=c.default.attributes.diff(h,f)||{},a=u.length()}}this.quill.deleteText(t.index,n,d.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index+a-1,n,o,d.default.sources.USER)}}function x(t){var e=this.quill.getLines(t),n={};if(e.length>1){var o=e[0].formats(),r=e[e.length-1].formats();n=c.default.attributes.diff(r,o)||{}}this.quill.deleteText(t,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,d.default.sources.USER),this.quill.setSelection(t.index,d.default.sources.SILENT),this.quill.focus()}function A(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var o=Object.keys(e.format).reduce((function(t,n){return h.default.query(n,h.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",o,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==o[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],d.default.sources.USER))}))}function P(t){return{key:w.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=h.default.query("code-block"),o=e.index,a=e.length,i=this.quill.scroll.descendant(n,o),s=r(i,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),f=l.newlineIndex(u,!0)+1,p=l.newlineIndex(c+u+a),v=l.domNode.textContent.slice(f,p).split("\n");u=0,v.forEach((function(e,r){t?(l.insertAt(f+u,n.TAB),u+=n.TAB.length,0===r?o+=n.TAB.length:a+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(f+u,n.TAB.length),u-=n.TAB.length,0===r?o-=n.TAB.length:a-=n.TAB.length),u+=e.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(o,a,d.default.sources.SILENT)}}}}function C(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],d.default.sources.USER)}}}function j(t){if("string"==typeof t||"number"==typeof t)return j({key:t});if("object"===(void 0===t?"undefined":o(t))&&(t=(0,i.default)(t,!1)),"string"==typeof t.key)if(null!=w.keys[t.key.toUpperCase()])t.key=w.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[y]=t.shortKey,delete t.shortKey),t}w.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},w.DEFAULTS={bindings:{bold:C("bold"),italic:C("italic"),underline:C("underline"),indent:{key:w.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:w.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",d.default.sources.USER)}},"outdent backspace":{key:w.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",d.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":P(!0),"outdent code-block":P(!1),"remove tab":{key:w.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,d.default.sources.USER)}},tab:{key:w.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new u.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,d.default.sources.SILENT)}},"list empty enter":{key:w.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,d.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:w.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),o=n[0],a=n[1],i=(0,l.default)({},o.formats(),{list:"checked"}),s=(new u.default).retain(t.index).insert("\n",i).retain(o.length()-a-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:w.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),o=r(n,2),a=o[0],i=o[1],s=(new u.default).retain(t.index).insert("\n",e.format).retain(a.length()-i-1).retain(1,{header:null});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,o=this.quill.getLine(t.index),a=r(o,2),i=a[0],s=a[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",d.default.sources.USER),this.quill.history.cutoff();var c=(new u.default).retain(t.index-s).delete(n+1).retain(i.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,d.default.sources.SILENT)}},"code exit":{key:w.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),o=n[0],a=n[1],i=(new u.default).retain(t.index+o.length()-a-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,d.default.sources.USER)}},"embed left":b(w.keys.LEFT,!1),"embed left shift":b(w.keys.LEFT,!0),"embed right":b(w.keys.RIGHT,!1),"embed right shift":b(w.keys.RIGHT,!0)}},e.default=w,e.SHORTKEY=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=l(n(0)),s=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.selection=n,o.textNode=document.createTextNode(e.CONTENTS),o.domNode.appendChild(o.textNode),o._length=0,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,null,[{key:"value",value:function(){}}]),a(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var o=this,a=0;null!=o&&o.statics.scope!==i.default.Scope.BLOCK_BLOT;)a+=o.offset(o.parent),o=o.parent;null!=o&&(this._length=e.CONTENTS.length,o.optimize(),o.formatAt(a,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,a=void 0,l=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var u=[t,n.start.offset,n.end.offset];r=u[0],a=u[1],l=u[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var c=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=e.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(i.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=a){var h=[a,l].map((function(t){return Math.max(0,Math.min(r.data.length,t-1))})),d=o(h,2);return a=d[0],l=d[1],{startNode:r,startOffset:a,endNode:r,endOffset:l}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var o=this.restore();o&&(e.range=o)}}},{key:"value",value:function(){return""}}]),e}(i.default.Embed);u.blotName="cursor",u.className="ql-cursor",u.tagName="span",u.CONTENTS="\ufeff",e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=i(n(0)),r=n(4),a=i(r);function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(o.default.Container);u.allowedChildren=[a.default,r.BlockEmbed,u],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(s.default.Attributor.Style),h=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),d=new c("color","color",{scope:s.default.Scope.INLINE});e.ColorAttributor=c,e.ColorClass=h,e.ColorStyle=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return c(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);function c(t,e){var n=document.createElement("a");n.href=t;var o=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(o)>-1}u.blotName="link",u.tagName="A",u.SANITIZED_URL="about:blank",u.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=u,e.sanitize=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=s(n(23)),i=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function u(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var c=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:n.togglePicker();break;case a.default.keys.ESCAPE:n.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),u(this.label,"aria-expanded"),u(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case a.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=i.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var o=t.buildItem(n);e.appendChild(o),!0===n.selected&&t.selectItem(o)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":o(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=m(n(0)),r=m(n(5)),a=n(4),i=m(a),s=m(n(16)),l=m(n(25)),u=m(n(24)),c=m(n(35)),h=m(n(6)),d=m(n(22)),f=m(n(7)),p=m(n(55)),v=m(n(42)),g=m(n(23));function m(t){return t&&t.__esModule?t:{default:t}}r.default.register({"blots/block":i.default,"blots/block/embed":a.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":u.default,"blots/embed":c.default,"blots/inline":h.default,"blots/scroll":d.default,"blots/text":f.default,"modules/clipboard":p.default,"modules/history":v.default,"modules/keyboard":g.default}),o.default.register(i.default,s.default,u.default,h.default,d.default,f.default),e.default=r.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=function(){function t(t){this.domNode=t,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new o.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return o.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,r){var a=this.isolate(t,e);if(null!=o.query(n,o.Scope.BLOT)&&r)a.wrap(n,r);else if(null!=o.query(n,o.Scope.ATTRIBUTE)){var i=o.create(this.statics.scope);a.wrap(i),i.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?o.create("text",e):o.create(e,n),a=this.split(t);this.parent.insertBefore(r,a)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[o.DATA_KEY]&&delete this.domNode[o.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?o.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?o.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(12),r=n(32),a=n(33),i=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=o.default.keys(this.domNode),n=r.default.keys(this.domNode),s=a.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=i.query(e,i.Scope.ATTRIBUTE);n instanceof o.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var o=e.attributes[n].value(e.domNode);t.format(n,o)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function a(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){a(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(a(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function a(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[a(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[a(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[a(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n,this.modules={}}return o(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();r.DEFAULTS={modules:{}},r.themes={default:r},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=s(n(0)),i=s(n(7));function s(t){return t&&t.__esModule?t:{default:t}}var l="\ufeff",u=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,o=t.data.split(l).join("");if(t===this.leftGuard)if(this.prev instanceof i.default){var r=this.prev.length();this.prev.insertAt(r,o),e={startNode:this.prev.domNode,startOffset:r+o.length}}else n=document.createTextNode(o),this.parent.insertBefore(a.default.create(n),this),e={startNode:n,startOffset:o.length};else t===this.rightGuard&&(this.next instanceof i.default?(this.next.insertAt(0,o),e={startNode:this.next.domNode,startOffset:o.length}):(n=document.createTextNode(o),this.parent.insertBefore(a.default.create(n),this.next),e={startNode:n,startOffset:o.length}));return t.data=l,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var o=n.restore(t.target);o&&(e.range=o)}}))}}]),e}(a.default.Embed);e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i={scope:a.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new a.default.Attributor.Attribute("align","align",i),l=new a.default.Attributor.Class("align","ql-align",i),u=new a.default.Attributor.Style("align","text-align",i);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i=n(26),s=new a.default.Attributor.Class("background","ql-bg",{scope:a.default.Scope.INLINE}),l=new i.ColorAttributor("background","background-color",{scope:a.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i={scope:a.default.Scope.BLOCK,whitelist:["rtl"]},s=new a.default.Attributor.Attribute("direction","dir",i),l=new a.default.Attributor.Class("direction","ql-direction",i),u=new a.default.Attributor.Style("direction","direction",i);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},h=new s.default.Attributor.Class("font","ql-font",c),d=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(s.default.Attributor.Style),f=new d("font","font-family",c);e.FontStyle=f,e.FontClass=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i=new a.default.Attributor.Class("size","ql-size",{scope:a.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new a.default.Attributor.Style("size","font-size",{scope:a.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=i,e.SizeStyle=s},function(t,e,n){t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=i(n(0)),a=i(n(5));function i(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.lastRecorded=0,o.ignoreChange=!1,o.clear(),o.quill.on(a.default.events.EDITOR_CHANGE,(function(t,e,n,r){t!==a.default.events.TEXT_CHANGE||o.ignoreChange||(o.options.userOnly&&r!==a.default.sources.USER?o.transform(e):o.record(e,n))})),o.quill.keyboard.addBinding({key:"Z",shortKey:!0},o.undo.bind(o)),o.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},o.redo.bind(o)),/Win/i.test(navigator.platform)&&o.quill.keyboard.addBinding({key:"Y",shortKey:!0},o.redo.bind(o)),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],a.default.sources.USER),this.ignoreChange=!1;var o=l(n[t]);this.quill.setSelection(o)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),o=Date.now();if(this.lastRecorded+this.options.delay>o&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=o;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(i(n(9)).default);function l(t){var e=t.reduce((function(t,e){return t+=e.delete||0}),0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=r.default.query(t,r.default.Scope.BLOCK)})))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=p(n(3)),i=p(n(2)),s=p(n(8)),l=p(n(23)),u=p(n(34)),c=p(n(59)),h=p(n(60)),d=p(n(28)),f=p(n(61));function p(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[!1,"center","right","justify"],w=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],_=["1","2","3",!1],M=["small",!1,"large","huge"],x=function(t){function e(t,n){v(this,e);var o=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,(function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==o.tooltip||o.tooltip.root.contains(n.target)||document.activeElement===o.tooltip.textbox||o.quill.hasFocus()||o.tooltip.hide(),null!=o.pickers&&o.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))})),o}return m(e,t),o(e,[{key:"addModule",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){(t.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var o=t.value||"";null!=o&&e[n][o]&&(t.innerHTML=e[n][o])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&P(t,y),new h.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&P(t,w,"background"===n?"#ffffff":"#000000"),new c.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?P(t,b):t.classList.contains("ql-header")?P(t,_):t.classList.contains("ql-size")&&P(t,M)),new d.default(t)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(t){t.update()}))}))}}]),e}(u.default);x.DEFAULTS=(0,a.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var o=t.quill.getSelection(!0);t.quill.updateContents((new i.default).retain(o.index).delete(o.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(o.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var A=function(t){function e(t,n){v(this,e);var o=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.textbox=o.root.querySelector('input[type="text"]'),o.listen(),o}return m(e,t),o(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var o=n.index+n.length;this.quill.insertEmbed(o,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(o+1," ",s.default.sources.USER),this.quill.setSelection(o+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(f.default);function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var o=document.createElement("option");e===n?o.setAttribute("selected","selected"):o.setAttribute("value",e),t.appendChild(o)}))}e.BaseTooltip=A,e.default=x},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,o=this.iterator();n=o();){var r=n.length();if(t<r||e&&t===r&&(null==n.next||0!==n.next.length()))return[n,t];t-=r}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var o,r=this.find(t),a=r[0],i=t-r[1],s=this.iterator(a);(o=s())&&i<t+e;){var l=o.length();t>i?n(o,t-i,Math.min(e,i+l-t)):n(o,0,Math.min(l,t+e-i)),i+=l}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){for(var n,o=this.iterator();n=o();)e=t(e,n);return e},t}();e.default=o},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(17),i=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,o,r){this.update(),t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.insertAt=function(e,n,o){this.update(),t.prototype.insertAt.call(this,e,n,o)},e.prototype.optimize=function(e,n){var o=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)e.push(r.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==o&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof a.default&&t.children.forEach(l),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof a.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),r=(u=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)e.push(r.pop())}},e.prototype.update=function(e,n){var o=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==o&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(a.default);e.default=l},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,o){var r=this;n!==this.statics.blotName||o?t.prototype.format.call(this,n,o):(this.children.forEach((function(t){t instanceof a.default||(t=t.wrap(e.blotName,!0)),r.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,o,r){null!=this.formats()[o]||i.query(o,i.Scope.ATTRIBUTE)?this.isolate(e,n).format(o,r):t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(o,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(a.default);e.default=s},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var o=i.query(e.blotName).tagName;if(n.tagName!==o)return t.formats.call(this,n)},e.prototype.format=function(n,o){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||o?t.prototype.format.call(this,n,o):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,o,r){null!=i.query(o,i.Scope.BLOCK)?this.format(o,r):t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.insertAt=function(e,n,o){if(null==o||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,o);else{var r=this.split(e),a=i.create(n,o);r.parent.insertBefore(a,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(a.default);e.default=s},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,o,r){0===e&&n===this.length()?this.format(o,r):t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=a},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(19),i=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,o){null==o?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,o)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(a.default);e.default=s},function(t,e,n){var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var o=n.indexOf(t,e);return-1!==o&&o===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),o=n.length>>>0,r=arguments[1],a=0;a<o;a++)if(e=n[a],t.call(r,e,a,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1;function o(t,e,l){if(t==e)return t?[[0,t]]:[];(l<0||t.length<l)&&(l=null);var c=a(t,e),h=t.substring(0,c);c=i(t=t.substring(c),e=e.substring(c));var d=t.substring(t.length-c),f=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,u=t.length>e.length?e:t,c=l.indexOf(u);if(-1!=c)return s=[[1,l.substring(0,c)],[0,u],[1,l.substring(c+u.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==u.length)return[[n,t],[1,e]];var h=function(t,e){var n=t.length>e.length?t:e,o=t.length>e.length?e:t;if(n.length<4||2*o.length<n.length)return null;function r(t,e,n){for(var o,r,s,l,u=t.substring(n,n+Math.floor(t.length/4)),c=-1,h="";-1!=(c=e.indexOf(u,c+1));){var d=a(t.substring(n),e.substring(c)),f=i(t.substring(0,n),e.substring(0,c));h.length<f+d&&(h=e.substring(c-f,c)+e.substring(c,c+d),o=t.substring(0,n-f),r=t.substring(n+d),s=e.substring(0,c-f),l=e.substring(c+d))}return 2*h.length>=t.length?[o,r,s,l,h]:null}var s,l,u,c,h,d=r(n,o,Math.ceil(n.length/4)),f=r(n,o,Math.ceil(n.length/2));if(!d&&!f)return null;s=f?d&&d[4].length>f[4].length?d:f:d,t.length>e.length?(l=s[0],u=s[1],c=s[2],h=s[3]):(c=s[0],h=s[1],l=s[2],u=s[3]);var p=s[4];return[l,u,c,h,p]}(t,e);if(h){var d=h[0],f=h[1],p=h[2],v=h[3],g=h[4],m=o(d,p),y=o(f,v);return m.concat([[0,g]],y)}return function(t,e){for(var o=t.length,a=e.length,i=Math.ceil((o+a)/2),s=i,l=2*i,u=new Array(l),c=new Array(l),h=0;h<l;h++)u[h]=-1,c[h]=-1;u[s+1]=0,c[s+1]=0;for(var d=o-a,f=d%2!=0,p=0,v=0,g=0,m=0,y=0;y<i;y++){for(var w=-y+p;w<=y-v;w+=2){for(var b=s+w,_=(C=w==-y||w!=y&&u[b-1]<u[b+1]?u[b+1]:u[b-1]+1)-w;C<o&&_<a&&t.charAt(C)==e.charAt(_);)C++,_++;if(u[b]=C,C>o)v+=2;else if(_>a)p+=2;else if(f&&(A=s+d-w)>=0&&A<l&&-1!=c[A]&&C>=(x=o-c[A]))return r(t,e,C,_)}for(var M=-y+g;M<=y-m;M+=2){for(var x,A=s+M,P=(x=M==-y||M!=y&&c[A-1]<c[A+1]?c[A+1]:c[A-1]+1)-M;x<o&&P<a&&t.charAt(o-x-1)==e.charAt(a-P-1);)x++,P++;if(c[A]=x,x>o)m+=2;else if(P>a)g+=2;else if(!f){var C;if((b=s+d-M)>=0&&b<l&&-1!=u[b])if(_=s+(C=u[b])-b,C>=(x=o-x))return r(t,e,C,_)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-c),e=e.substring(0,e.length-c));return h&&f.unshift([0,h]),d&&f.push([0,d]),s(f),null!=l&&(f=function(t,e){var o=function(t,e){if(0===e)return[0,t];for(var o=0,r=0;r<t.length;r++){var a=t[r];if(a[0]===n||0===a[0]){var i=o+a[1].length;if(e===i)return[r+1,t];if(e<i){t=t.slice();var s=e-o,l=[a[0],a[1].slice(0,s)],u=[a[0],a[1].slice(s)];return t.splice(r,1,l,u),[r+1,t]}o=i}}throw new Error("cursor_pos is out of bounds!")}(t,e),r=o[1],a=o[0],i=r[a],s=r[a+1];if(null==i)return t;if(0!==i[0])return t;if(null!=s&&i[1]+s[1]===s[1]+i[1])return r.splice(a,2,s,i),u(r,a,2);if(null!=s&&0===s[1].indexOf(i[1])){r.splice(a,2,[s[0],i[1]],[0,i[1]]);var l=s[1].slice(i[1].length);return l.length>0&&r.splice(a+2,0,[s[0],l]),u(r,a,3)}return t}(f,l)),f=function(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},a=2;a<t.length;a+=1)0===t[a-2][0]&&r(t[a-2][1])&&t[a-1][0]===n&&o(t[a-1][1])&&1===t[a][0]&&o(t[a][1])&&(e=!0,t[a-1][1]=t[a-2][1].slice(-1)+t[a-1][1],t[a][1]=t[a-2][1].slice(-1)+t[a][1],t[a-2][1]=t[a-2][1].slice(0,-1));if(!e)return t;var i=[];for(a=0;a<t.length;a+=1)t[a][1].length>0&&i.push(t[a]);return i}(f)}function r(t,e,n,r){var a=t.substring(0,n),i=e.substring(0,r),s=t.substring(n),l=e.substring(r),u=o(a,i),c=o(s,l);return u.concat(c)}function a(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,o=Math.min(t.length,e.length),r=o,a=0;n<r;)t.substring(a,r)==e.substring(a,r)?a=n=r:o=r,r=Math.floor((o-n)/2+n);return r}function i(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,o=Math.min(t.length,e.length),r=o,a=0;n<r;)t.substring(t.length-r,t.length-a)==e.substring(e.length-r,e.length-a)?a=n=r:o=r,r=Math.floor((o-n)/2+n);return r}function s(t){t.push([0,""]);for(var e,o=0,r=0,l=0,u="",c="";o<t.length;)switch(t[o][0]){case 1:l++,c+=t[o][1],o++;break;case n:r++,u+=t[o][1],o++;break;case 0:r+l>1?(0!==r&&0!==l&&(0!==(e=a(c,u))&&(o-r-l>0&&0==t[o-r-l-1][0]?t[o-r-l-1][1]+=c.substring(0,e):(t.splice(0,0,[0,c.substring(0,e)]),o++),c=c.substring(e),u=u.substring(e)),0!==(e=i(c,u))&&(t[o][1]=c.substring(c.length-e)+t[o][1],c=c.substring(0,c.length-e),u=u.substring(0,u.length-e))),0===r?t.splice(o-l,r+l,[1,c]):0===l?t.splice(o-r,r+l,[n,u]):t.splice(o-r-l,r+l,[n,u],[1,c]),o=o-r-l+(r?1:0)+(l?1:0)+1):0!==o&&0==t[o-1][0]?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,l=0,r=0,u="",c=""}""===t[t.length-1][1]&&t.pop();var h=!1;for(o=1;o<t.length-1;)0==t[o-1][0]&&0==t[o+1][0]&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)==t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),h=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),h=!0)),o++;h&&s(t)}var l=o;function u(t,e,n){for(var o=e+n-1;o>=0&&o>=e-1;o--)if(o+1<t.length){var r=t[o],a=t[o+1];r[0]===a[1]&&t.splice(o,2,[r[0],r[1]+a[1]])}return t}l.INSERT=1,l.DELETE=n,l.EQUAL=0,t.exports=l},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function o(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?o:r).supported=o,e.unsupported=r},function(t,e){var n=Object.prototype.hasOwnProperty,o="~";function r(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(o=!1)),i.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(o?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},i.prototype.listeners=function(t,e){var n=o?o+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,s=new Array(i);a<i;a++)s[a]=r[a].fn;return s},i.prototype.emit=function(t,e,n,r,a,i){var s=o?o+t:t;if(!this._events[s])return!1;var l,u,c=this._events[s],h=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,r),!0;case 5:return c.fn.call(c.context,e,n,r,a),!0;case 6:return c.fn.call(c.context,e,n,r,a,i),!0}for(u=1,l=new Array(h-1);u<h;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var d,f=c.length;for(u=0;u<f;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),h){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,r);break;default:if(!l)for(d=1,l=new Array(h-1);d<h;d++)l[d-1]=arguments[d];c[u].fn.apply(c[u].context,l)}}return!0},i.prototype.on=function(t,e,n){var r=new a(e,n||this),i=o?o+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.once=function(t,e,n){var r=new a(e,n||this,!0),i=o?o+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.removeListener=function(t,e,n,a){var i=o?o+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new r:delete this._events[i],this;var s=this._events[i];if(s.fn)s.fn!==e||a&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[i]);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==e||a&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[i]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new r:delete this._events[i]}return this},i.prototype.removeAllListeners=function(t){var e;return t?(e=o?o+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=o,i.EventEmitter=i,void 0!==t&&(t.exports=i)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=w(n(3)),s=w(n(2)),l=w(n(0)),u=w(n(5)),c=w(n(10)),h=w(n(9)),d=n(36),f=n(37),p=w(n(13)),v=n(26),g=n(38),m=n(39),y=n(40);function w(t){return t&&t.__esModule?t:{default:t}}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _=(0,c.default)("quill:clipboard"),M="__ql-matcher",x=[[Node.TEXT_NODE,H],[Node.TEXT_NODE,B],["br",function(t,e){return k(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,B],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,E],[Node.ELEMENT_NODE,function(t,e){var n={},o=t.style||{};return o.fontStyle&&"italic"===z(t).fontStyle&&(n.italic=!0),o.fontWeight&&(z(t).fontWeight.startsWith("bold")||parseInt(z(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=j(e,n)),parseFloat(o.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!k(e,"\n"))return e;for(var o=-1,r=t.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(o+=1),r=r.parentNode;return o<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:o}))}],["b",S.bind(S,"bold")],["i",S.bind(S,"italic")],["style",function(){return new s.default}]],A=[d.AlignAttribute,g.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),P=[d.AlignStyle,f.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,y.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),C=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.root.addEventListener("paste",o.onPaste.bind(o)),o.container=o.quill.addContainer("ql-clipboard"),o.container.setAttribute("contenteditable",!0),o.container.setAttribute("tabindex",-1),o.matchers=[],x.concat(o.options.matchers).forEach((function(t){var e=r(t,2),a=e[0],i=e[1];(n.matchVisual||i!==N)&&o.addMatcher(a,i)})),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[p.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},p.default.blotName,e[p.default.blotName]))}var o=this.prepareMatching(),a=r(o,2),i=a[0],l=a[1],u=T(this.container,i,l);return k(u,"\n")&&null==u.ops[u.ops.length-1].attributes&&(u=u.compose((new s.default).retain(u.length()-1).delete(1))),_.log("convert",this.container.innerHTML,u),this.container.innerHTML="",u}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,u.default.sources.SILENT);else{var o=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(o),n),this.quill.setSelection(t+o.length(),u.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),o=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(u.default.sources.SILENT),setTimeout((function(){o=o.concat(e.convert()).delete(n.length),e.quill.updateContents(o,u.default.sources.USER),e.quill.setSelection(o.length()-n.length,u.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(o){var a=r(o,2),i=a[0],s=a[1];switch(i){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(i),(function(t){t[M]=t[M]||[],t[M].push(s)}))}})),[e,n]}}]),e}(h.default);function j(t,e,n){return"object"===(void 0===e?"undefined":o(e))?Object.keys(e).reduce((function(t,n){return j(t,n,e[n])}),t):t.reduce((function(t,o){return o.attributes&&o.attributes[e]?t.push(o):t.insert(o.insert,(0,i.default)({},b({},e,n),o.attributes))}),new s.default)}function z(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function k(t,e){for(var n="",o=t.ops.length-1;o>=0&&n.length<e.length;--o){var r=t.ops[o];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*e.length)===e}function O(t){if(0===t.childNodes.length)return!1;var e=z(t);return["block","list-item"].indexOf(e.display)>-1}function T(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(o,r){var a=T(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(a=e.reduce((function(t,e){return e(r,t)}),a),a=(r[M]||[]).reduce((function(t,e){return e(r,t)}),a)),o.concat(a)}),new s.default):new s.default}function S(t,e,n){return j(n,t,!0)}function E(t,e){var n=l.default.Attributor.Attribute.keys(t),o=l.default.Attributor.Class.keys(t),r=l.default.Attributor.Style.keys(t),a={};return n.concat(o).concat(r).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(a[n.attrName]=n.value(t),a[n.attrName])||(null==(n=A[e])||n.attrName!==e&&n.keyName!==e||(a[n.attrName]=n.value(t)||void 0),null==(n=P[e])||n.attrName!==e&&n.keyName!==e||(n=P[e],a[n.attrName]=n.value(t)||void 0))})),Object.keys(a).length>0&&(e=j(e,a)),e}function L(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var o={},r=n.value(t);null!=r&&(o[n.blotName]=r,e=(new s.default).insert(o,n.formats(t)))}else"function"==typeof n.formats&&(e=j(e,n.blotName,n.formats(t)));return e}function B(t,e){return k(e,"\n")||(O(t)||e.length()>0&&t.nextSibling&&O(t.nextSibling))&&e.insert("\n"),e}function N(t,e){if(O(t)&&null!=t.nextElementSibling&&!k(e,"\n\n")){var n=t.offsetHeight+parseFloat(z(t).marginTop)+parseFloat(z(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function H(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!z(t.parentNode).whiteSpace.startsWith("pre")){var o=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,o.bind(o,!0)),(null==t.previousSibling&&O(t.parentNode)||null!=t.previousSibling&&O(t.previousSibling))&&(n=n.replace(/^\s+/,o.bind(o,!1))),(null==t.nextSibling&&O(t.parentNode)||null!=t.nextSibling&&O(t.nextSibling))&&(n=n.replace(/\s+$/,o.bind(o,!1)))}return e.insert(n)}C.DEFAULTS={matchers:[],matchVisual:!0},e.default=C,e.matchAttributor=E,e.matchBlot=L,e.matchNewline=B,e.matchSpacing=N,e.matchText=H},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"optimize",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);u.blotName="bold",u.tagName=["STRONG","B"],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=c(n(2)),i=c(n(0)),s=c(n(5)),l=c(n(10)),u=c(n(9));function c(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var d=(0,l.default)("quill:toolbar"),f=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r,a=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(a.options.container)){var i=document.createElement("div");v(i,a.options.container),t.container.parentNode.insertBefore(i,t.container),a.container=i}else"string"==typeof a.options.container?a.container=document.querySelector(a.options.container):a.container=a.options.container;return a.container instanceof HTMLElement?(a.container.classList.add("ql-toolbar"),a.controls=[],a.handlers={},Object.keys(a.options.handlers).forEach((function(t){a.addHandler(t,a.options.handlers[t])})),[].forEach.call(a.container.querySelectorAll("button, select"),(function(t){a.attach(t)})),a.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e){t===s.default.events.SELECTION_CHANGE&&a.update(e)})),a.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var t=a.quill.selection.getRange(),e=o(t,1)[0];a.update(e)})),a):(r=d.error("Container required for toolbar",a.options),h(a,r))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void d.warn("ignoring attaching to disabled format",n,t);if(null==i.default.query(n))return void d.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,(function(r){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var u=t.options[t.selectedIndex];l=!u.hasAttribute("selected")&&(u.value||!1)}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var c=e.quill.selection.getRange(),h=o(c,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(i.default.query(n).prototype instanceof i.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new a.default).retain(h.index).delete(h.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,l)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(h)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var r=o(n,2),a=r[0],i=r[1];if("SELECT"===i.tagName){var s=void 0;if(null==t)s=null;else if(null==e[a])s=i.querySelector("option[selected]");else if(!Array.isArray(e[a])){var l=e[a];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=i.querySelector('option[value="'+l+'"]')}null==s?(i.value="",i.selectedIndex=-1):s.selected=!0}else if(null==t)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var u=e[a]===i.getAttribute("value")||null!=e[a]&&e[a].toString()===i.getAttribute("value")||null==e[a]&&!i.getAttribute("value");i.classList.toggle("ql-active",u)}else i.classList.toggle("ql-active",null!=e[a])}))}}]),e}(u.default);function p(t,e,n){var o=document.createElement("button");o.setAttribute("type","button"),o.classList.add("ql-"+e),null!=n&&(o.value=n),t.appendChild(o)}function v(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"==typeof t)p(n,t);else{var e=Object.keys(t)[0],o=t[e];Array.isArray(o)?function(t,e,n){var o=document.createElement("select");o.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),o.appendChild(e)})),t.appendChild(o)}(n,e,o):p(n,e,o)}})),t.appendChild(n)}))}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=i.default.query(e,i.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),o=parseInt(n.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",o+r,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=f,e.addControls=v},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.label.innerHTML=n,o.container.classList.add("ql-color-picker"),[].slice.call(o.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"buildItem",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var o=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";o&&("line"===o.tagName?o.style.stroke=r:o.style.fill=r)}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.container.classList.add("ql-icon-picker"),[].forEach.call(o.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),o.defaultItem=o.container.querySelector(".ql-selected"),o.selectItem(o.defaultItem),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function(){function t(e,n){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"})),this.hide()}return o(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var o=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),a=0;if(r.right>o.right&&(a=o.right-r.right,this.root.style.left=e+a+"px"),r.left<o.left&&(a=o.left-r.left,this.root.style.left=e+a+"px"),r.bottom>o.bottom){var i=r.bottom-r.top,s=t.bottom-t.top+i;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return a}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=f(n(3)),s=f(n(8)),l=n(43),u=f(l),c=f(n(27)),h=n(15),d=f(n(41));function f(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(t){function e(t,n){p(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var o=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.container.classList.add("ql-snow"),o}return g(e,t),a(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),d.default),this.tooltip=new w(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers.link.call(t,!n.format.link)}))}}]),e}(u.default);y.DEFAULTS=(0,i.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var w=function(t){function e(t,n){p(this,e);var o=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.preview=o.root.querySelector("a.ql-preview"),o}return g(e,t),a(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===s.default.sources.USER){var a=t.quill.scroll.descendant(c.default,e.index),i=o(a,2),l=i[0],u=i[1];if(null!=l){t.linkRange=new h.Range(e.index-u,l.length());var d=c.default.formats(l.domNode);return t.preview.textContent=d,t.preview.setAttribute("href",d),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(l.BaseTooltip);w.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=B(n(29)),r=n(36),a=n(38),i=n(64),s=B(n(65)),l=B(n(66)),u=n(67),c=B(u),h=n(37),d=n(26),f=n(39),p=n(40),v=B(n(56)),g=B(n(68)),m=B(n(27)),y=B(n(69)),w=B(n(70)),b=B(n(71)),_=B(n(72)),M=B(n(73)),x=n(13),A=B(x),P=B(n(74)),C=B(n(75)),j=B(n(57)),z=B(n(41)),k=B(n(28)),O=B(n(59)),T=B(n(60)),S=B(n(61)),E=B(n(108)),L=B(n(62));function B(t){return t&&t.__esModule?t:{default:t}}o.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":p.SizeStyle},!0),o.default.register({"formats/align":r.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":i.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":f.FontClass,"formats/size":p.SizeClass,"formats/blockquote":s.default,"formats/code-block":A.default,"formats/header":l.default,"formats/list":c.default,"formats/bold":v.default,"formats/code":x.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":y.default,"formats/strike":w.default,"formats/underline":b.default,"formats/image":_.default,"formats/video":M.default,"formats/list/item":u.ListItem,"modules/formula":P.default,"modules/syntax":C.default,"modules/toolbar":j.default,"themes/bubble":E.default,"themes/snow":L.default,"ui/icons":z.default,"ui/picker":k.default,"ui/icon-picker":T.default,"ui/color-picker":O.default,"ui/tooltip":S.default},!0),e.default=o.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var o=this.value(t)||0;n="+1"===n?o+1:o-1}return 0===n?(this.remove(t),!0):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(s.default.Attributor.Class),h=new c("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(4);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(4);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=function(t){function e(){return i(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((o=a)&&o.__esModule?o:{default:o}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=l(n(0)),i=l(n(4)),s=l(n(25));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,[{key:"format",value:function(t,n){t!==f.blotName||n?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:r(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(i.default);d.blotName="list-item",d.tagName="LI";var f=function(t){function e(t){u(this,e);var n=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),o=function(e){if(e.target.parentNode===t){var o=n.statics.formats(t),r=a.default.find(e.target);"checked"===o?r.format("list","unchecked"):"unchecked"===o&&r.format("list","checked")}};return t.addEventListener("touchstart",o),t.addEventListener("mousedown",o),n}return h(e,t),o(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",o=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||o.setAttribute("data-checked","checked"===t),o}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),o(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof d)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var o=null==n?this.length():n.offset(this),a=this.split(o);a.parent.insertBefore(t,a)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);f.blotName="list",f.scope=a.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[d],e.ListItem=d,e.default=f},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(56);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);u.blotName="script",u.tagName=["SUB","SUP"],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(6);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(6);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o},l=n(27);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=["alt","height","width"],d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){h.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.default.Embed);d.blotName="image",d.tagName="IMG",e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(4),s=n(27),l=(o=s)&&o.__esModule?o:{default:o};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=["height","width"],d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){h.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=l(n(35)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,null,[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(a.default);d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var f=function(t){function e(){u(this,e);var t=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return h(e,t),o(e,null,[{key:"register",value:function(){i.default.register(d,!0)}}]),e}(s.default);e.FormulaBlot=d,e.default=f},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=l(n(0)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);d.className="ql-syntax";var f=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),p=function(t){function e(t,n){u(this,e);var o=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof o.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return o.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){o.highlight(),r=null}),o.options.interval)})),o.highlight(),o}return h(e,t),o(e,null,[{key:"register",value:function(){i.default.register(f,!0),i.default.register(d,!0)}}]),o(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(i.default.sources.SILENT),null!=e&&this.quill.setSelection(e,i.default.sources.SILENT)}}}]),e}(s.default);p.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=d,e.CodeToken=f,e.default=p},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var o=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=h(n(3)),i=h(n(8)),s=n(43),l=h(s),u=n(15),c=h(n(41));function h(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(t){function e(t,n){d(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var o=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.container.classList.add("ql-bubble"),o}return p(e,t),r(e,[{key:"extendToolbar",value:function(t){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),c.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),c.default)}}]),e}(l.default);g.DEFAULTS=(0,a.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(t){function e(t,n){d(this,e);var o=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.on(i.default.events.EDITOR_CHANGE,(function(t,e,n,r){if(t===i.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===i.default.sources.USER){o.show(),o.root.style.left="0px",o.root.style.width="",o.root.style.width=o.root.offsetWidth+"px";var a=o.quill.getLines(e.index,e.length);if(1===a.length)o.position(o.quill.getBounds(e));else{var s=a[a.length-1],l=o.quill.getIndex(s),c=Math.min(s.length()-1,e.index+e.length-l),h=o.quill.getBounds(new u.Range(l,c));o.position(h)}}else document.activeElement!==o.textbox&&o.quill.hasFocus()&&o.hide()})),o}return p(e,t),r(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=m,e.default=g},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()})),Lc=ai((function(t,e){var n;t.exports=(n=Ec,function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=2)}([function(t,e){t.exports=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),r=n.n(o),a=n(6),i=n(5)(r.a,a.a,!1,null,null,null);e.default=i.exports},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.quillEditor=e.Quill=void 0;var r=o(n(0)),a=o(n(1)),i=window.Quill||r.default,s=function(t,e){e&&(a.default.props.globalOptions.default=function(){return e}),t.component(a.default.name,a.default)},l={Quill:i,quillEditor:a.default,install:s};e.default=l,e.Quill=i,e.quillEditor=a.default,e.install=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(0)),a=o(n(3)),i=window.Quill||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),o=1;o<arguments.length;o++){var r=arguments[o];if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])}return n},writable:!0,configurable:!0}),e.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:a.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new i(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)})),this.quill.on("text-change",(function(e,n,o){var r=t.$refs.editor.children[0].innerHTML,a=t.quill,i=t.quill.getText();"<p><br></p>"===r&&(r=""),t._content=r,t.$emit("input",t._content),t.$emit("change",{html:r,text:i,quill:a})})),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(t,e){t.exports=function(t,e,n,o,r,a){var i,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(i=t,s=t.default);var u,c="function"==typeof s?s.options:s;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId=r),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=o),u){var h=c.functional,d=h?c.render:c.beforeCreate;h?(c._injectStyles=u,c.render=function(t,e){return u.call(e),d(t,e)}):c.beforeCreate=d?[].concat(d,u):[u]}return{esModule:i,exports:s,options:c}}},function(t,e,n){var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quill-editor"},[t._t("toolbar"),t._v(" "),n("div",{ref:"editor"})],2)},r={render:o,staticRenderFns:[]};e.a=r}]))})),Bc={name:"PInput",components:{PFieldResizer:Sc,PSpinner:Cc,PIcon:j,quillEditor:Lc.quillEditor},props:{id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},value:{type:[String,Number,Object,Array,Boolean,FileList],default:null},type:r({type:String},C("type",["text","email","number","password","search","tel","url","date","datetime-local","month","time","week","currency","file"])),align:{type:String},placeholder:{type:String},multiline:{type:[Boolean,Number]},richEditor:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},showInput:{type:Boolean,default:!0},clearable:{type:Boolean},showCharacterCount:{type:Boolean},prefixClass:{type:String},autoFocus:{type:Boolean},autoComplete:{type:Boolean},labelClass:{type:String},inputClass:{type:String},suffix:{type:String},prefix:{type:String},name:{type:String},hasError:{type:Boolean},maxLength:{type:[String,Number]},minLength:{type:[String,Number]},step:{type:Number},minHeight:{type:Number,default:0},min:{type:[String,Number]},max:{type:[String,Number]},describedBy:{type:String},multiple:{type:Boolean},accept:{type:String},label:{type:String},floatingLabel:{type:Boolean}},data:function(){return{content:null!==this.value?this.value:"",height:this.minHeight,editorConfig:{modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]},"blockquote"],["bold","italic","underline",{color:[]},{background:[]}],[{align:[]}],["link","image","video"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},"clean"]],syntax:{highlight:function(t){return t}}}},characterCountLabel:this.maxLength||"characterCountLabel",characterCount:this.value&&this.value.length}},computed:{className:function(){return g("Polaris-TextField",Boolean(this.content)&&"Polaris-TextField--hasValue",this.disabled&&"Polaris-TextField--disabled",this.readOnly&&"Polaris-TextField--readOnly",this.hasError&&"Polaris-TextField--error")},inputClassName:function(){return g(this.floatingLabel?"Polaris-FloatingLabels__Input":"Polaris-TextField__Input",this.inputClass,this.align&&"Polaris-TextField__Input Polaris-TextField__Input--align".concat(this.textAlign),this.floatingLabel&&this.multiline&&"Polaris-FloatingLabel__TextArea",this.floatingLabel&&this.showPrefix&&"Polaris-FloatingLabels__Input--prefix",this.floatingLabel&&this.showSuffix&&"Polaris-FloatingLabels__Input--suffix",(this.showCharacterCount||"number"===this.type)&&"Polaris-FloatingLabels__Input--number",this.floatingLabel&&this.hasError&&"Polaris-FloatingLabels__Input--error")},characterCountClassName:function(){return g("Polaris-TextField__CharacterCount",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},clearButtonClassName:function(){return g("Polaris-TextField__ClearButton",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},floatingLabelClassName:function(){return g("Polaris-Floating--label","Polaris-Floating--label--visible",this.showPrefix&&"Polaris-Floating--label__prefix",this.showSuffix&&"Polaris-Floating--label__suffix")},characterCountText:function(){return this.maxLength?"".concat(this.characterCount,"/").concat(this.maxLength):this.characterCount},inputType:function(){return"currency"===this.type?"text":this.type},showPrefix:function(){return this.prefix||this.$slots.prefix},showSuffix:function(){return this.suffix||this.$slots.suffix},textAlign:function(){return this.align.replace(/^_*(.)|_+(.)/g,(function(t,e,n){return e?e.toUpperCase():" "+n.toUpperCase()}))},labelledBy:function(){var t=[this.id+"Label"];return this.showPrefix&&t.push(this.id+"Prefix"),this.showSuffix&&t.push(this.id+"Suffix"),t.join(" ")},computedHeight:{get:function(){return this.height},set:function(t){this.height=t}},computedValue:{get:function(){return"number"===this.type?Number(this.content):this.content},set:function(t){"number"===this.type?this.content=Number(t):this.content=t,this.$emit("input","number"===this.type?Number(t):t)}},computedStyle:function(){return{height:this.multiline&&this.computedHeight?this.computedHeight+"px":null,overflow:this.multiline&&this.computedHeight?"hidden":null}},computedPlaceholder:function(){return this.floatingLabel?"Enter input":this.placeholder}},methods:{onInput:function(t){"file"!==this.type?t.target&&(this.computedValue=t.target.value):this.computedValue=t.target.files},onClear:function(t){this.computedValue=void 0},handleNumberChange:function(t){var e=this.computedValue?parseFloat(this.computedValue):0,n=function(t){return(t.toString().split(".")[1]||[]).length};if(!isNaN(e)&&!this.disabled){var o=this.min||-1/0,r=this.max||1/0,a=this.step||1,i=Math.max(n(e),n(a)),s=Math.min(Number(r),Math.max(e+t*a,Number(o)));isNaN(s)||(this.computedValue=s.toFixed(i))}},handleExpandingResize:function(t){this.computedHeight=t<this.minHeight?this.minHeight:t},normalizeAutoComplete:function(t){return!0===t?"on":!1===t?"off":t}},watch:{value:function(t,e){this.content=t,this.characterCount=t?t.length:0}}},Nc=Bc,Hc=function(t){t&&t("data-v-1f41cf22_0",{source:'.ql-container.ql-snow{background:#fff}.ql-toolbar.ql-snow{background:#fafafa;padding:5px}.quill-editor.editor{width:100%}.ql-snow .ql-picker{font-weight:400}.ql-toolbar.ql-snow>.ql-formats:not(:first-child):before{content:"";height:calc(100% + 4px);width:1px;background:#c4c4c4;position:absolute;display:block;top:-2px;left:-10px}.ql-toolbar.ql-snow .ql-formats{position:relative;margin-right:10px;margin-left:10px}',map:void 0,media:void 0})},Rc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showInput,expression:"showInput"}],class:t.className},[t.showPrefix?n("div",{staticClass:"Polaris-TextField__Prefix",attrs:{id:t.id+"Prefix"}},[t._v("\n "+t._s(t.prefix)+"\n "),t.$slots.prefix?t._t("prefix"):t._e()],2):t._e(),t._v(" "),n("div",{staticStyle:{width:"100%"}},[t.richEditor?n("quill-editor",{ref:"myTextEditor",staticClass:"editor",attrs:{id:t.id,options:t.editorConfig,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{input:t.onInput},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}}):t.multiline?n("textarea",{class:t.inputClassName,style:t.computedStyle,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,minlength:t.minLength,maxlength:t.maxLength,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue,textContent:t._s(t.multiline?t.computedValue:"")},on:{input:t.onInput}}):"file"===t.type?n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,type:"file",multiple:t.multiple,accept:t.accept,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{change:t.onInput}}):n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),min:t.min,max:t.max,step:t.step,minlength:t.minLength,maxlength:t.maxLength,type:t.inputType,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue},on:{input:t.onInput}}),t._v(" "),t.floatingLabel&&!t.richEditor&&"file"!==t.type?n("label",{class:t.floatingLabelClassName,attrs:{for:t.id}},[t._t("label",(function(){return[t._v("\n "+t._s(t.label)+"\n ")]}))],2):t._e(),t._v(" "),t.richEditor?t._e():n("div",{staticClass:"Polaris-TextField__Backdrop"})],1),t._v(" "),t.showSuffix?n("div",{staticClass:"Polaris-TextField__Suffix",attrs:{id:t.id+"Suffix"}},[t._v("\n "+t._s(t.suffix)+"\n "),t.$slots.suffix?t._t("suffix"):t._e()],2):t._e(),t._v(" "),t.showCharacterCount?n("div",{class:t.characterCountClassName,attrs:{id:"CharacterCounter","aria-label":t.characterCountLabel}},[t._v("\n "+t._s(t.characterCountText)+"\n ")]):t._e(),t._v(" "),t.computedValue&&t.clearable?n("button",{class:t.clearButtonClassName,attrs:{type:"button"},on:{click:t.onClear}},[n("span",{staticClass:"Polaris-VisuallyHidden"},[t._v("Clear")]),t._v(" "),n("PIcon",{attrs:{source:"CircleCancelMinor",color:"base"}})],1):t._e(),t._v(" "),"number"===t.type?n("PSpinner",{on:{change:t.handleNumberChange}}):t._e(),t._v(" "),t.multiline?n("PFieldResizer",{attrs:{contents:t.value||t.placeholder,"current-height":t.computedHeight,"minimum-lines":"number"==typeof t.multiline?t.multiline:1},on:{heightchange:t.handleExpandingResize}}):t._e()],1)},staticRenderFns:[]},Hc,Nc,undefined,false,undefined,!1,Xu,void 0,void 0),Vc=Rc,Ic={name:"PConnectedItem",props:{position:r({type:String},C("position",["Left","Primary","Right"])),children:{type:String},focused:{type:Boolean}},computed:{className:function(){return g("Polaris-Connected__Item",this.focused&&"Polaris-Connected__Item--focused","Primary"===this.position&&"Polaris-Connected__Item--primary","Primary"!==this.position&&"Polaris-Connected__Item--connection")}}},qc=Ic,Fc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[!t.floatingLabel&&(t.label||t.emptyLabel||t.$slots.hasOwnProperty("label"))?n("div",{staticClass:"Polaris-Labelled__LabelWrapper",class:t.labelClass},[t._t("label",(function(){return[n("div",{staticClass:"Polaris-Label"},[n("label",{staticClass:"Polaris-Label__Text",attrs:{id:t.id+"Label",for:t.id},domProps:{innerHTML:t._s(t.emptyLabel?"&nbsp":t.label)}})])]}))],2):t._e(),t._v(" "),t.connected?n("PConnected",[t.$slots.hasOwnProperty("connectedLeft")?n("template",{slot:"left"},[t._t("connectedLeft",(function(){return[t._v(t._s(t.connectedLeft))]}))],2):t._e(),t._v(" "),t.$slots.hasOwnProperty("connectedRight")?n("template",{slot:"right"},[t._t("connectedRight",(function(){return[t._v(t._s(t.connectedRight))]}))],2):t._e(),t._v(" "),n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2)],2):n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id,floatingLabel:t.floatingLabel,label:t.label}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("label",null,{slot:"label"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2),t._v(" "),t.helpText?n("div",{staticClass:"Polaris-Labelled__HelpText"},[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t._t("error",(function(){return[t.error?n("PFieldError",{attrs:{error:t.error}}):t._e()]}))],2)},staticRenderFns:[]},(function(t){t&&t("data-v-0b34995c_0",{source:".ck.ck-editor{position:relative;width:100%}",map:void 0,media:void 0})}),{name:"PTextField",components:{PInput:Vc,PConnected:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Connected"},[t.$slots.left||t.left?n("PConnectedItem",{attrs:{position:"Left"}},[t._t("left",(function(){return[t._v(t._s(t.left))]}))],2):t._e(),t._v(" "),n("PConnectedItem",{attrs:{position:"Primary"}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v("\n "+t._s(t.children)+"\n ")]})),t._v(" "),t._t("children")],2),t._v(" "),t.$slots.right||t.right?n("PConnectedItem",{attrs:{position:"Right"}},[t._t("right",(function(){return[t._v(t._s(t.right))]}))],2):t._e()],1)},staticRenderFns:[]},undefined,{name:"PConnected",components:{PConnectedItem:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,on:{blur:function(e){t.focused=!1},focus:function(e){t.focused=!0}}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v(t._s(t.children))]})),t._v(" "),t._t("children")],2)},staticRenderFns:[]},undefined,qc,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{left:{type:String},right:{type:String},children:{type:String}}},undefined,false,undefined,!1,void 0,void 0,void 0),PFieldError:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Labelled__Error"},[n("div",{staticClass:"Polaris-InlineError",attrs:{id:"PolarisTextField6Error"}},[n("div",{staticClass:"Polaris-InlineError__Icon"},[n("PIcon",{attrs:{source:"AlertMinor"}})],1),t._v("\n "+t._s(t.error)+"\n ")])])},staticRenderFns:[]},undefined,{name:"PFieldError",components:{PIcon:j},props:{error:{type:String,default:null}}},"data-v-4535eab1",false,undefined,!1,void 0,void 0,void 0)},props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},labelClass:{type:String,default:null},helpText:{type:String,default:null},connectedLeft:{type:String,default:null},connectedRight:{type:String,default:null},connected:{type:Boolean,default:!1},error:{type:String,default:null},labelHidden:{type:Boolean,default:!1},emptyLabel:{type:Boolean,default:!1},richEditor:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},accept:{type:String,default:null},type:{type:String},floatingLabel:{type:Boolean,default:!1},readOnly:{type:Boolean}},computed:{className:function(){return g(this.computedLabelHidden&&"Polaris-Labelled--hidden",this.floatingLabel&&!this.richEditor&&"file"!==this.type&&"Polaris-Floating")},labelClassName:function(){return g(!this.floatingLabel&&"Polaris-Labelled__LabelWrapper")},computedLabelHidden:function(){return this.floatingLabel||this.labelHidden}},methods:{handleInput:function(t){this.$emit("input",t)}}},undefined,false,undefined,!1,Xu,void 0,void 0),Dc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className},[n("span",{staticClass:"Polaris-Tag__TagText",attrs:{title:t.tag.value}},[t._v(t._s(t.tag.value))]),t._v(" "),t.removable?n("button",{staticClass:"Polaris-Tag__Button",attrs:{type:"button","aria-label":"Remove "+t.tag.value},on:{click:t.handleRemove}},[n("PIcon",{attrs:{source:"CancelSmallMinor"}})],1):t._e()])},staticRenderFns:[]},undefined,{name:"PTag",components:{PIcon:j},props:{tag:r({type:Object,default:function(){return{}}},I("tag",{value:{type:[String,Number],required:!0},key:{type:[String,Number],required:!0}})),removable:{type:Boolean,default:!1},size:r({type:String,default:"medium"},C("size",["small","medium",null,""]))},computed:{className:function(){return g("Polaris-Tag",this.removable&&"Polaris-Tag--removable","small"===this.size&&"Polaris-Tag--small")}},methods:{handleRemove:function(){this.$emit("remove-tag",this.tag.key)}}},undefined,false,undefined,!1,void 0,void 0,void 0),Uc=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Item"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PFilterItem"},undefined,false,undefined,!1,void 0,void 0,void 0),$c={key:{type:String,required:!0},label:{type:String,required:!0},filter:{type:String,required:!0},shortcut:Boolean,disabled:Boolean,hideClearButton:Boolean},Wc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"Polaris-Filters"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Wrapper"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl Polaris-Filters-ConnectedFilterControl--right"},[t.hideQueryField?t._e():n("PFilterItemWrapper",{attrs:{position:"center"}},[n("PTextField",t._g({attrs:{id:"Polaris-Input-Filter",connected:"",labelHidden:"",showPrefix:"",showClearButton:"",placeholder:t.queryPlaceholder||t.resourceTitle||t.resource,value:t.queryValue||t.inputFilter,autoFocus:t.focused,label:t.queryPlaceholder||t.resourceTitle||t.resource,clearable:"",disabled:t.disabled},on:{input:t.handleQueryChange,blur:t.handleQueryBlur,focus:t.handleQueryFocus}},t.$listeners),[n("PIcon",{attrs:{slot:"prefix",source:"SearchMinor"},slot:"prefix"})],1)],1),t._v(" "),t.$slots.hasOwnProperty("default")?n("PFilterItemWrapper",{attrs:{position:"right"}},[t._t("default")],2):t._e()],1),t._v(" "),n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__AuxiliaryContainer"},[t._t("auxiliaryContainer")],2)]),t._v(" "),t.hideTags?t._e():n("div",{staticClass:"Polaris-Filters__TagsContainer"},t._l(t.appliedFilters,(function(e,o){return n("PTag",t._g({key:o,attrs:{removable:"",tag:e}},t.$listeners))})),1)])])},staticRenderFns:[]},undefined,{name:"PFilter",components:{PTextField:Fc,PIcon:j,PTag:Dc,PFilterItemWrapper:y({},undefined,{name:"PFilterItemWrapper",props:{position:{type:String}},computed:{className:function(){return g("center"===this.position&&"Polaris-Filters-ConnectedFilterControl__CenterContainer","right"===this.position&&"Polaris-Filters-ConnectedFilterControl__RightContainer")}},render:function(t){return t("div",{class:this.className},te.wrapNodesWithComponent(t,this.$slots.default,Uc))}},undefined,undefined,undefined,!1,void 0,void 0,void 0)},props:{resourceName:r({type:Object,default:function(){return{}}},I("resourceName",{singular:{type:String,required:!0},plural:{type:String,required:!0}})),resourceTitle:{type:String,default:null},inputFilter:{type:String,default:null},appliedFilters:{type:Array,default:function(){return[]}},queryValue:{type:String,default:null},queryPlaceholder:{type:String,default:null},focused:{type:Boolean,default:!1},filters:r({type:Array,default:function(){return[]}},H("filters",$c)),disabled:{type:Boolean,default:!1},helpText:{type:String,default:null},hideTags:{type:Boolean,default:!1},hideQueryField:{type:Boolean,default:!1}},data:function(){return{appliedFiltersCount:this.appliedFilters?this.appliedFilters.length:0}},computed:{prefix:function(){return this.resourceName.plural?"".concat(this.resourceName.plural.toLowerCase()):this.resourceName.plural},resource:function(){var t=this.resourceName;return t.plural?"Filter "+t.plural.toLowerCase():t.singular?"Filter "+t.singular.toLowerCase():""}},methods:{handleQueryChange:function(t){this.$emit("queryChange",t)},handleQueryClear:function(){this.$emit("queryClear")},handleQueryClearAll:function(){this.$emit("queryClearAll")},handleQueryBlur:function(){this.$emit("queryBlur")},handleQueryFocus:function(){this.$emit("queryFocus")}},mounted:function(){null!=this.resourceTitle&&console.error("Deprecation Notice: `resourceTitle` will be removed in version 4.0.0, use `resourceName` instead."),null!=this.inputFilter&&console.error("Deprecation Notice: `inputFilter` will be removed in version 4.0.0, use `queryValue` instead.")}},undefined,false,undefined,!1,void 0,void 0,void 0),Zc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Card__Header"},[n("PStack",{attrs:{alignment:"baseline"}},[n("PStackItem",{attrs:{fill:""}},[t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}))],2),t._v(" "),n("PStackItem",[t.actions?n("PButtonGroup",{attrs:{connectedTop:""}},t._l(t.actions,(function(e,o){return n(e.to?"PLink":"PButton",t._g({key:o,tag:"component",attrs:{plain:"",href:e.url?e.url:null,to:e.to?e.to:null}},e.onAction?{click:e.onAction}:{}),[t._v("\n "+t._s(e.content)+"\n ")])})),1):t._e()],1),t._v(" "),t.$slots.hasOwnProperty("children")?n("PStackItem",[t._t("children")],2):t._e()],1),t._v(" "),n("PStack",[n("PStackItem",[n("span",{staticClass:"Polaris-Card__TagLine"},[[t._t("short_description",(function(){return[t._v("\n "+t._s(t.shortDescription)+"\n ")]}))]],2)])],1)],1)},staticRenderFns:[]},undefined,{name:"PCardHeader",components:{PStack:$u,PStackItem:Uu,PHeading:nt,PButtonGroup:ne,PButton:et,PLink:sc},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},actions:{type:[Array,String],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),Gc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.title||t.$slots.hasOwnProperty("title")?n("div",{staticClass:"Polaris-Card__SectionHeader"},[t._t("title",(function(){return[n("PSubheading",t._b({},"PSubheading",t.$attrs,!1),[t._v("\n "+t._s(t.title)+"\n ")])]}))],2):t._e(),t._v(" "),t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardSection",components:{PSubheading:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PSubheading",props:{element:r({type:String,default:"h3"},C("element",["h1","h2","h3","h4","h5","h6","p"]))},computed:{className:function(){return"Polaris-Subheading"}}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subdued:{type:Boolean},fullWidth:{type:Boolean}},computed:{className:function(){return g("Polaris-Card__Section",this.subdued&&"Polaris-Card__Section--subdued",this.fullWidth&&"Polaris-Card__Section--fullWidth")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Kc={name:"PEmptyState",components:{PImage:Hu,PCard:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.$slots.hasOwnProperty("title")||t.title||t.$slots.hasOwnProperty("short_description")||t.shortDescription?[n("PCardHeader",{attrs:{actions:t.actions}},[t.$slots.hasOwnProperty("title")||t.title?t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}),{slot:"title"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("short_description")||t.shortDescription?t._t("short_description",(function(){return[n("PCaption",[t._v(t._s(t.shortDescription))])]}),{slot:"short_description"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("children")?n("template",{slot:"children"},[t._t("children")],2):t._e()],2)]:t._e(),t._v(" "),t.$slots.hasOwnProperty("default")?[t.sectioned?[n("PCardSection",[t._t("default")],2)]:[t._t("default")]]:n("div",[t._t("default")],2),t._v(" "),t.$slots.hasOwnProperty("footer")?[n("PCardFooter",[t._t("footer")],2)]:t._e()],2)},staticRenderFns:[]},undefined,{name:"PCard",components:{PCardFooter:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Card__Footer"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardFooter"},undefined,false,undefined,!1,void 0,void 0,void 0),PCardHeader:Zc,PCardSection:Gc,PHeading:nt,PCaption:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"Polaris-Caption",attrs:{id:t.id}},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCaption",props:{id:{type:[String,Number],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),PButtonGroup:ne,PLink:sc},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},subdued:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},actions:{type:[Array,String],default:null}},computed:{className:function(){return g("Polaris-Card",this.subdued&&"Polaris-Card__Section--subdued")}}},undefined,false,undefined,!1,void 0,void 0,void 0),PCardSection:Gc,PTextContainer:Zu,PDisplayText:Nu,PStack:$u,PStackItem:Uu,PButton:et},props:{heading:{type:String,default:null},fullWidth:{type:Boolean,default:!1},imageContained:{type:Boolean,default:!1},image:{type:String,default:null},primaryAction:r({type:Object,default:function(){return{}}},I("primaryAction",r(r({},D),U))),secondaryAction:r({type:Object,default:function(){return{}}},I("secondaryAction",Y))},computed:{className:function(){return g("Polaris-EmptyState","Polaris-EmptyState--withinContentContainer",this.fullWidth&&"Polaris-EmptyState--fullWidth",this.imageContained&&"Polaris-EmptyState--imageContained")},hasAction:function(){return this.primaryAction||this.secondaryAction}},methods:{styleClass:function(t){if("string"==typeof t){var e=["one","two","three","four","five","six"];return t?e[t.charCodeAt(0)%e.length]:e[0]}}}},Yc={content:{type:String,required:!0},value:{type:String,required:!0},type:{type:String,required:!0},sortable:Boolean,width:String},Xc={singular:{type:String,required:!0},plural:{type:String,required:!0}},Qc=["ascending","descending","none"],Jc={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:Qc}},th=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$slots.hasOwnProperty("filter")||t.hasFilter?n("PFilter",t._b({attrs:{resourceName:t.resource},on:{"remove-tag":t.onRemoveFilter,input:t.onFilterInputChanged}},"PFilter",t.$attrs,!1),[t.$slots.hasOwnProperty("filter")?t._t("filter"):t._e(),t._v(" "),n("template",{slot:"auxiliaryContainer"},[t._t("auxiliaryContainer")],2)],2):t._e(),t._v(" "),t.rows.length>0||t.$slots.hasOwnProperty("body")?n("div",{staticClass:"Polaris-DataTable"},[n("div",{staticClass:"Polaris-DataTable__ScrollContainer"},[n("table",{staticClass:"Polaris-DataTable__Table"},[n("thead",{ref:"thead"},[t._t("head",(function(){return[[n("tr",[t._l(t.headings,(function(e,o){return n("PDataTableCellNew",{key:"heading-cell-"+o,attrs:{header:"",content:e.content,value:e.value,width:e.width,sort:t.sort,sortable:e.sortable,"default-sort-direction":t.defaultSortDirection,"content-type":e.type?e.type:t.columnContentTypes[o],"first-column":0===o,truncate:t.truncate,verticalAlign:t.verticalAlign},on:{"sort-changed":t.handleSortChange}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{header:"",content:"Actions",sortable:!1,contentType:"text",firstColumn:!1,truncate:!1,verticalAlign:t.verticalAlign}}):t._e()],2),t._v(" "),t.showTotalsInFooter?t._e():n("tr",[t._l(t.totals,(function(e,o){return n("PDataTableCellNew",{key:"total-cell-"+o,attrs:{total:"",value:0===o?t.totalsRowHeading:e,"content-type":""!==e&&o>0?"numeric":t.columnContentTypes[o],"first-column":0===o,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]]}))],2),t._v(" "),t._t("tbody",(function(){return[n("tbody",{ref:"tbody"},[t.loading?[n("tr",{staticClass:"Polaris-ResourceList__SpinnerContainer",style:{"padding-top":t.topPadding+"px"}},[n("PSpinner",{attrs:{size:!t.$slots.hasOwnProperty("body")&&t.rows.length<2?"small":"large"}})],1),t._v(" "),n("tr",{staticClass:"Polaris-ResourceList__LoadingOverlay"})]:t._e(),t._v(" "),t._t("body",(function(){return[t.hasOldRows?t._l(t.rows,(function(e,o){return n("tr",{key:"row-"+o,staticClass:"Polaris-DataTable__TableRow"},[t._l(e,(function(e,r){return n("PDataTableCell",{key:"cell-"+r+"-row-"+o,attrs:{content:"object"!==a(e)?e:e.content,action:e.url||e.to||e.onAction?e:null,toggle:"boolean"==typeof e.status&&e.onAction?e:null,badge:"object"!==a(e)||e.url||e.to||e.onAction?null:e,contentType:t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],firstColumn:0===r,truncate:t.truncate,verticalAlign:t.verticalAlign}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{actions:t.actions,value:t.ids[o],verticalAlign:t.verticalAlign}}):t._e()],2)})):[t._l(t.rows,(function(e){return[t._t("item",(function(){return[n("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._l(t.headings,(function(o,r){return[n("PDataTableCellNew",{attrs:{value:e[o.value],"header-value":o.value,"first-column":0===r,"content-type":t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1},scopedSlots:t._u([{key:"item."+o.value,fn:function(n){return[t._t("item."+o.value,null,{item:e})]}}],null,!0)})]}))],2)]}),{item:e})]}))]]}))],2)]})),t._v(" "),t.showTotalsInFooter?n("tfoot",[n("tr",[t._l(t.totals,(function(e,o){return n("PDataTableCellNew",{key:"total-cell-"+o,attrs:{total:"","total-in-footer":t.showTotalsInFooter,value:0===o?t.totalsRowHeading:e,"content-type":""!==e&&o>0?"numeric":t.columnContentTypes[o],"first-column":0===o,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]):t._e()],2)]),t._v(" "),t.footerContent||t.$slots.footer?n("div",{staticClass:"Polaris-DataTable__Footer"},[t._t("footer",(function(){return[t._v("\n "+t._s(t.footerContent)+"\n ")]}))],2):t._e(),t._v(" "),t.hasPagination?n("div",{staticClass:"Polaris-DataTable__Pagination"},[n("PPagination",t._b({},"PPagination",t.pagination,!1))],1):t._e()]):n("div",[t._t("emptyState",(function(){return[n("PEmptyState",{attrs:{heading:t.emptyStateTitle,image:t.emptyStateImage}})]}))],2)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-157a18b9_0",{source:".Polaris-DataTable__Pagination[data-v-157a18b9]{text-align:center;padding:1.6rem;border-top:.1rem solid #e1e3e5;border-bottom-left-radius:.4rem;border-bottom-right-radius:.4rem}",map:void 0,media:void 0})}),{name:"PDataTable",components:{PDataTableCellNew:oc,PPagination:Ou,PFilter:Wc,PSpinner:k,PEmptyState:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PCard",[n("PCardSection",[n("div",{class:t.className},[n("div",{staticClass:"Polaris-EmptyState__Section"},[n("div",{staticClass:"Polaris-EmptyState__DetailsContainer"},[n("div",{staticClass:"Polaris-EmptyState__Details"},[n("PTextContainer",[n("PDisplayText",{attrs:{size:"small"}},[t._t("heading",(function(){return[t._v("\n "+t._s(t.heading)+"\n ")]}))],2),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__Content"},[t._t("default")],2)],1),t._v(" "),t.hasAction?n("div",{staticClass:"Polaris-EmptyState__Actions"},[t._t("actions",(function(){return[n("PStack",{attrs:{spacing:"tight",distribution:"center",alignment:"center"}},[Object.keys(t.primaryAction).length>0?n("PStackItem",[n("PButton",{attrs:{primary:""},on:{click:function(e){return t.primaryAction.onAction()}}},[t._v(t._s(t.primaryAction.content))])],1):t._e(),t._v(" "),Object.keys(t.secondaryAction).length>0?n("PStackItem",[n("PButton",{on:{click:function(e){return t.secondaryAction.onAction()}}},[t._v(t._s(t.secondaryAction.content))])],1):t._e()],1)]}))],2):t._e(),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__FooterContent"},[t._t("footer")],2)],1)]),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__ImageContainer"},[t._t("image",(function(){return[n("PImage",{staticClass:"Polaris-EmptyState__Image",attrs:{source:t.image}})]}))],2)])])])],1)},staticRenderFns:[]},undefined,Kc,undefined,false,undefined,!1,void 0,void 0,void 0),PDataTableCell:Mc},props:{columnContentTypes:{type:Array,default:function(){return[]}},defaultSortDirection:r({type:String,default:"ascending"},C("defaultSortDirection",Qc)),footerContent:{type:[String,Number,Object,Array]},headings:r({type:Array,default:function(){return[]}},H("headings",Yc)),rows:{type:Array,default:function(){return[[]]}},showTotalsInFooter:{type:Boolean,default:!1},totals:{type:Array,default:function(){return[]}},totalsName:r({type:Object,default:function(){return{}}},I("totalsName",Xc)),truncate:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"])),sort:r({type:Object,default:function(){return{}}},I("sort",Jc)),hasFilter:{type:Boolean,default:!1},hasPagination:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},pagination:{type:Object,default:function(){return{}}},emptyStateTitle:{type:String,default:"No record found!"},emptyStateImage:{type:String,default:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"},actions:{type:Array,default:function(){return[]}},ids:{type:Array,default:function(){return[]}},searchPlaceholder:{type:String,default:null}},data:function(){return{topPadding:8}},computed:{hasOldRows:function(){return this.rows.length>0&&this.rows[0].constructor===Array},hasActions:function(){return this.actions&&this.actions.length>0},resource:function(){return null!=this.searchPlaceholder?{singular:this.searchPlaceholder,plural:this.searchPlaceholder}:this.$attrs.resourceName},totalsRowHeading:function(){var t=Object.keys(this.totalsName).length>0?this.totalsName:{singular:"Total",plural:"Totals"};return this.totals.length>0&&this.totals.filter((function(t){return""!==t||a("number"!==t)})).length>1?t.plural:t.singular}},methods:{onRemoveFilter:function(t){this.$emit("filter-removed",t)},onFilterInputChanged:function(t){this.$emit("input-filter-changed",t)},handleSortChange:function(t,e){this.$emit("sort-changed",t,e)},handleDeprecations:function(){null!=this.searchPlaceholder&&console.error("Deprecation Notice: `searchPlaceholder` will be removed in version 4.0.0, use `resourceName` instead. Please check resourceName syntax here: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-filter--filter"),this.actions.length>0&&console.error("Deprecation Notice: `actions` will be removed in version 4.0.0, use `headings` with extra object. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row"),this.ids.length>0&&console.error("Deprecation Notice: `ids` will be removed in version 4.0.0. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row")}},mounted:function(){var t=0;if("undefined"!=typeof window&&this.$refs.hasOwnProperty("tbody")){var e=this.$refs.tbody.getBoundingClientRect(),n=Math.max(document.documentElement?document.documentElement.clientHeight:0,window.innerHeight||0),o=n-e.height,r=1===this.rows.length?28:45;t=o>0?(e.height-r)/2:(n-e.top-r)/2,t+=this.$refs.thead.getBoundingClientRect().height,this.topPadding=t>0?t:this.topPadding}this.handleDeprecations()}},"data-v-157a18b9",false,undefined,!1,Xu,void 0,void 0),eh={name:"AppManagerPlan",components:{YearlyPlanPromotion:Cu,PlanBanners:Au,PPage:Du,PStack:$u,PStackItem:Uu,PButton:et,PButtonGroup:ne,PHeading:nt,PLayout:Wu,PLayoutSection:_,PTextContainer:Zu,PDataTable:th,PDataTableCol:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t._t("default")],2):n("td",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-7d902277_0",{source:"th[data-v-7d902277]:last-child{text-align:right}td[data-v-7d902277]:last-child{text-align:right}td:last-child>*[data-v-7d902277]{float:right}",map:void 0,media:void 0})}),{name:"PDataTableCol",props:{firstColumn:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},numeric:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"]))},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.numeric&&"Polaris-DataTable__Cell--numeric",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))}}},"data-v-7d902277",false,undefined,!1,Xu,void 0,void 0),PDataTableRow:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDataTableRow"},"data-v-7a1bfd8a",false,undefined,!1,void 0,void 0,void 0),PIcon:j,PTextStyle:zu},props:["shop_domain"],data:function(){return{plan:{},plans:[],features:[],shopify_plan:"",default_plan_id:null,onboard:!0,subtitleContent:"",checkList:["60 days free trial"],selectedPlan:"monthly",monthlySelectedStyle:{height:"60px",backgroundColor:"#257f60",color:"#fff",position:"relative",right:"-5px",borderRadius:"8px",zIndex:1},yearlySelectedStyle:{height:"60px",backgroundColor:"#257f60",position:"relative",left:"-5px",borderRadius:"8px"},monthlyStyle:{height:"55px",backgroundColor:"#f0f8f5",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px",ZIndex:11},yearlyStyle:{color:"#258060",height:"55px",backgroundColor:"#f0f8f5",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"}}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},headings:function(){var t=["Plans & Features"];return this.plans.forEach((function(e){var n=e.name;e.price>0&&(n+=" ($".concat(e.price,"/mo)")),t.push(n)})),t},monthlyPlan:function(){var t=[];for(var e in this.plans)"EVERY_30_DAYS"===this.plans[e].interval&&t.push(this.plans[e]);return 0===t.length&&(this.selectedPlan="yearly"),t},yearlyPlan:function(){var t=[];for(var e in this.plans)"ANNUAL"===this.plans[e].interval&&t.push(this.plans[e]);return 0===t.length&&(this.selectedPlan="monthly"),t}},methods:{activePlanStyle:function(t){return[t.shopify_plans.includes(this.shop.shopify_plan)||!t.store_base_plan?{backgroundColor:"#f0f8f5",color:"#257f60"}:{}]},isCurrentPlan:function(t){return this.shop.plan&&(t.id===this.shop.plan.id||!t.is_custom&&t.base_plan===this.shop.plan.id)},isSamePlanInOtherInterval:function(t){return this.shop.plan&&t.shopify_plans===this.shop.plan.shopify_plans},format:function(t){return["double","integer"].includes(null==t?void 0:t.value_type)?"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format&&t.value<0?"Unlimited":t.value:["string","array"].includes(null==t?void 0:t.value_type)?t.value:void 0},calculateDiscountedPrice:function(t){return"percentage"===t.discount_type?t.price-t.price/t.discount:"amount"===t.discount_type?t.price-t.discount:void 0},getPlanUrl:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var o,r,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.shop.name,n.next=3,bu.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(t.id,"?shop=").concat(o)).catch((function(t){console.error(t)}));case 3:r=n.sent,(a=r.data.redirect_url)&&(window.top.location.href=a);case 6:case"end":return n.stop()}}),n)})))()},activePlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.activeWithoutPlan();case 2:!0===e.sent.data.status&&t.onboard&&(t.$emit("handlePlanSelect",{chose_later:!0}),t.onboard=!1);case 4:case"end":return e.stop()}}),e)})))()},activeWithoutPlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.post("".concat(t.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:t.shop.name,plan_id:t.shop.default_plan_id}).catch((function(t){console.error(t)}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},selectPlan:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.selectedPlan=t;case 1:case"end":return n.stop()}}),n)})))()},headerClasses:function(t){return{"Polaris-DataTable__Cell":!0,"Polaris-DataTable__Cell--header":!0,"Polaris-DataTable__Cell--verticalAlignMiddle":!0,"Polaris-DataTable__Cell--firstColumn":Boolean(t)}}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(t){console.error(t)}));case 2:return n=e.sent,t.features=n.data.features,t.features=t.features.sort((function(t,e){return parseInt(t.display_order)-parseInt(e.display_order)})),e.next=7,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:{shop_domain:t.shop_domain}}).catch((function(t){console.error(t)}));case 7:o=e.sent,t.plans=o.data.plans,t.plans=t.plans.sort((function(t,e){return parseFloat(t.price)-parseFloat(e.price)})),t.plans&&t.plans[0].store_base_plan&&(t.subtitleContent="App plans are based on your existing shopify plan"),t.shopify_plan=o.data.shopify_plan,t.plan=o.data.plan,t.default_plan_id=o.data.default_plan_id,t.onboard=!t.plan;case 15:case"end":return e.stop()}}),e)})))()}},nh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PPage",{staticClass:"app-manager-plan-page custom-title",attrs:{title:"Choose plan",subtitle:t.subtitleContent}},[n("PStack",{attrs:{slot:"primaryAction"},slot:"primaryAction"},[n("PStackItem",{staticStyle:{"margin-top":"20px"}},[n("PButtonGroup",{staticClass:"btn-group",attrs:{segmented:""}},[t.monthlyPlan.length&&t.yearlyPlan.length?n("PButton",{style:"monthly"===t.selectedPlan?t.monthlySelectedStyle:t.monthlyStyle,on:{click:function(e){return t.selectPlan("monthly")}}},[n("p",{staticStyle:{"font-size":"17px","font-weight":"500"},attrs:{slot:"default"},slot:"default"},[t._v(t._s("Monthly"))])]):t._e(),t._v(" "),t.yearlyPlan.length&&t.monthlyPlan.length?n("PButton",{style:"annually"===t.selectedPlan?t.yearlySelectedStyle:t.yearlyStyle,attrs:{primary:"annually"===t.selectedPlan},on:{click:function(e){return t.selectPlan("annually")}}},[n("YearlyPlanPromotion")],1):t._e()],1)],1)],1),t._v(" "),n("hr",{staticStyle:{width:"100%","margin-right":"auto","margin-left":"auto","margin-bottom":"20px"}}),t._v(" "),n("PLayout",{staticClass:"custom-plan"},[n("PLayoutSection",[[[n("PDataTable",{staticClass:"plan-table"},[n("template",{slot:"head"},["monthly"===t.selectedPlan?n("PDataTableRow",{staticStyle:{"box-shadow":"none!important"}},[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s("features"))])]),t._v(" "),t._l(t.monthlyPlan,(function(e,o){return[n("PDataTableCol",{class:{"first-column":0===o,"plan-heading":!0,"last-column":o+1===t.monthlyPlan.length},style:t.activePlanStyle(e)},[n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(e.name))]),t._v(" "),e.discount&&e.discount>0?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculateDiscountedPrice(e)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s("mo"))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s("mo"))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s("mo"))])],1)])])]}))],2):n("PDataTableRow",[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s("features"))])]),t._v(" "),t._l(t.yearlyPlan,(function(e,o){return[n("PDataTableCol",{class:{"first-column":0===o,"plan-heading":!0,"last-column":o+1===t.yearlyPlan.length},style:t.activePlanStyle(e)},[n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(e.name))]),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s("year"))])],1)])]}))],2)],1),t._v(" "),n("template",{slot:"body"},[t._l(t.features,(function(e,o){return n("PDataTableRow",{key:"row-"+o},[n("PDataTableCol",[t._v(t._s(e.name))]),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(r,a){return n("PDataTableCol",{key:"cell-"+a+"-row-"+o,style:t.activePlanStyle(r)},[r.features?["boolean"===e.value_type?[r.features[e.uuid]?n("PIcon",{attrs:{color:"success",source:"TickMinor"}}):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]:[r.features[e.uuid]?n("span",[t._v(t._s(t.format(r.features[e.uuid])))]):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]]:[n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]],2)}))],2)})),t._v(" "),t.plans.length?n("PDataTableRow",{staticClass:"row-alignment"},[n("PDataTableCol"),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(e,o){return n("PDataTableCol",{key:"cell-"+o+"-row-plan",staticStyle:{"max-width":"0"}},[t.isCurrentPlan(e)?n("PButton",{attrs:{disabled:t.isCurrentPlan(e),"full-width":"",pressed:t.isCurrentPlan(e)}},[t._v("\n "+t._s("Current Plan")+"\n ")]):!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)?n("PButton",{attrs:{"full-width":"",primary:!0},on:{click:function(n){!e||t.getPlanUrl(e)}}},[t._v("\n "+t._s("Choose Plan")+"\n ")]):n("PButton",{attrs:{disabled:!0,"full-width":"",pressed:!0}},[t._v("\n "+t._s("Not applicable")+"\n ")]),t._v(" "),e.store_base_plan&&t.shop.plan&&e.shopify_plans.includes(t.shop.shopify_plan)&&!t.isCurrentPlan(e)?n("PTextContainer",{staticClass:"footer-note-container"},[!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)||t.isCurrentPlan(e)||t.isSamePlanInOtherInterval(e)?t._e():n("PTextStyle",{staticClass:"text-break"},[t._v("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan")])],1):t._e()],1)}))],2):t._e()],2)],2)]],t._v(" "),t.onboard&&!t.shop.has_plan?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:t.activePlan}},[t._v(t._s("I will choose the plan later"))])],1)],1):t._e()],2),t._v(" "),n("PlanBanners")],1)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-3bea7199_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager-plan-page .active{background:#f0f8f5}.app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:12px;border-bottom-left-radius:12px}.app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 12px}.app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager-plan-page .custom-plan table tbody tr td:last-child{border-right:0!important;border-bottom:0!important;text-align:center!important}.app-manager-plan-page .custom-plan table thead tr td:last-child{border-right:0!important;border-bottom:0!important;text-align:center!important}.app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager-plan-page .custom-plan table tbody tr:last-child td{border:0!important;background:0 0}.app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager-plan-page .custom-plan table tbody tr:last-child{background:0 0;opacity:1}.app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden}.app-manager-plan-page .plan-heading{padding-top:30px}.app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}",map:void 0,media:void 0})}),eh,undefined,false,undefined,!1,Xu,void 0,void 0),oh=Object.freeze({__proto__:null,Banners:Mu,AppManagerPlan:nh,PlanBanners:Au}),rh={baseUrl:""},ah=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.entries(oh).forEach((function(e){var n=h(e,2),o=n[0],r=n[1];t.component(o,r)})),t.prototype.app_manager_config=r(r({},rh),e)},ih=Object.freeze({__proto__:null,default:ah,Banners:Mu,AppManagerPlan:nh,PlanBanners:Au});return Object.entries(ih).forEach((function(t){var e=h(t,2),n=e[0],o=e[1];"default"!==n&&(ah[n]=o)})),ah}(Vue);
9
+ var n;"undefined"!=typeof self&&self,n=function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),r=n(18),a=n(19),i=n(45),s=n(46),l=n(47),u=n(48),c=n(49),h=n(12),d=n(32),f=n(33),p=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:o.default,Format:r.default,Leaf:a.default,Embed:u.default,Scroll:i.default,Block:l.default,Inline:s.default,Text:c.default,Attributor:{Attribute:h.default,Class:d.default,Style:f.default,Store:p.default}};e.default=g},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=a;var i,s={},l={},u={},c={};function h(t,e){var n;if(void 0===e&&(e=i.ANY),"string"==typeof t)n=c[t]||s[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=c.text;else if("number"==typeof t)t&i.LEVEL&i.BLOCK?n=c.block:t&i.LEVEL&i.INLINE&&(n=c.inline);else if(t instanceof HTMLElement){var o=(t.getAttribute("class")||"").split(/\s+/);for(var r in o)if(n=l[o[r]])break;n=n||u[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=function(t,e){var n=h(t);if(null==n)throw new a("Unable to create "+t+" blot");var o=n,r=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:o.create(e);return new o(r,e)},e.find=function t(n,o){return void 0===o&&(o=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:o?t(n.parentNode,o):null},e.query=h,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map((function(e){return t(e)}));var o=e[0];if("string"!=typeof o.blotName&&"string"!=typeof o.attrName)throw new a("Invalid definition");if("abstract"===o.blotName)throw new a("Cannot register abstract class");if(c[o.blotName||o.attrName]=o,"string"==typeof o.keyName)s[o.keyName]=o;else if(null!=o.className&&(l[o.className]=o),null!=o.tagName){Array.isArray(o.tagName)?o.tagName=o.tagName.map((function(t){return t.toUpperCase()})):o.tagName=o.tagName.toUpperCase();var r=Array.isArray(o.tagName)?o.tagName:[o.tagName];r.forEach((function(t){null!=u[t]&&null!=o.className||(u[t]=o)}))}return o}},function(t,e,n){var o=n(51),r=n(11),a=n(3),i=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=a(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(o){(t(o)?e:n).push(o)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+i.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+i.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],o=i.iterator(this.ops),r=0;r<e&&o.hasNext();){var a;r<t?a=o.next(t-r):(a=o.next(e-r),n.push(a)),r+=i.length(a)}return new l(n)},l.prototype.compose=function(t){var e=i.iterator(this.ops),n=i.iterator(t.ops),o=[],a=n.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var s=a.retain;"insert"===e.peekType()&&e.peekLength()<=s;)s-=e.peekLength(),o.push(e.next());a.retain-s>0&&n.next(a.retain-s)}for(var u=new l(o);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),h=e.next(c),d=n.next(c);if("number"==typeof d.retain){var f={};"number"==typeof h.retain?f.retain=c:f.insert=h.insert;var p=i.attributes.compose(h.attributes,d.attributes,"number"==typeof h.retain);if(p&&(f.attributes=p),u.push(f),!n.hasNext()&&r(u.ops[u.ops.length-1],f)){var v=new l(e.rest());return u.concat(v).chop()}}else"number"==typeof d.delete&&"number"==typeof h.retain&&u.push(d)}return u.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),a=new l,u=o(n[0],n[1],e),c=i.iterator(this.ops),h=i.iterator(t.ops);return u.forEach((function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case o.INSERT:n=Math.min(h.peekLength(),e),a.push(h.next(n));break;case o.DELETE:n=Math.min(e,c.peekLength()),c.next(n),a.delete(n);break;case o.EQUAL:n=Math.min(c.peekLength(),h.peekLength(),e);var s=c.next(n),l=h.next(n);r(s.insert,l.insert)?a.retain(n,i.attributes.diff(s.attributes,l.attributes)):a.push(l).delete(n)}e-=n}})),a.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=i.iterator(this.ops),o=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var a=n.peek(),s=i.length(a)-n.peekLength(),u="string"==typeof a.insert?a.insert.indexOf(e,s)-s:-1;if(u<0)o.push(n.next());else if(u>0)o.push(n.next(u));else{if(!1===t(o,n.next(1).attributes||{},r))return;r+=1,o=new l}}o.length()>0&&t(o,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=i.iterator(this.ops),o=i.iterator(t.ops),r=new l;n.hasNext()||o.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===o.peekType())if("insert"===o.peekType())r.push(o.next());else{var a=Math.min(n.peekLength(),o.peekLength()),s=n.next(a),u=o.next(a);if(s.delete)continue;u.delete?r.push(u):r.retain(a,i.attributes.transform(s.attributes,u.attributes,e))}else r.retain(i.length(n.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=i.iterator(this.ops),o=0;n.hasNext()&&o<=t;){var r=n.peekLength(),a=n.peekType();n.next(),"delete"!==a?("insert"===a&&(o<t||!e)&&(t+=r),o+=r):t-=Math.min(r,t-o)}return t},t.exports=l},function(t,e){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===o.call(t)},s=function(t){if(!t||"[object Object]"!==o.call(t))return!1;var e,r=n.call(t,"constructor"),a=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!a)return!1;for(e in t);return void 0===e||n.call(t,e)},l=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(a)return a(t,e).value}return t[e]};t.exports=function t(){var e,n,o,r,a,c,h=arguments[0],d=1,f=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<f;++d)if(null!=(e=arguments[d]))for(n in e)o=u(h,n),h!==(r=u(e,n))&&(p&&r&&(s(r)||(a=i(r)))?(a?(a=!1,c=o&&i(o)?o:[]):c=o&&s(o)?o:{},l(h,{name:n,newValue:t(p,c,r)})):void 0!==r&&l(h,{name:n,newValue:r}));return h}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=h(n(3)),i=h(n(2)),s=h(n(0)),l=h(n(16)),u=h(n(6)),c=h(n(7));function h(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return d(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),o(e,[{key:"attach",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new i.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=s.default.query(t,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,o){this.format(n,o)}},{key:"insertAt",value:function(t,n,o){if("string"==typeof n&&n.endsWith("\n")){var a=s.default.create(g.blotName);this.parent.insertBefore(a,0===t?this:this.next),a.insertAt(0,n.slice(0,-1))}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,o)}}]),e}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(t){function e(t){d(this,e);var n=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return p(e,t),o(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),m(e))}),new i.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,o,a){n<=0||(s.default.query(o,s.default.Scope.BLOCK)?t+n===this.length()&&this.format(o,a):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),o,a),this.cache={})}},{key:"insertAt",value:function(t,n,o){if(null!=o)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,o);if(0!==n.length){var a=n.split("\n"),i=a.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var s=this;a.reduce((function(t,e){return(s=s.split(t,!0)).insertAt(0,e),e.length}),t+i.length)}}},{key:"insertBefore",value:function(t,n){var o=this.children.head;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),o instanceof l.default&&o.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var o=this.clone();return 0===t?(this.parent.insertBefore(o,this),this):(this.parent.insertBefore(o,this.next),o)}var a=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},a}}]),e}(s.default.Block);function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:m(t.parent,e))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[u.default,s.default.Embed,c.default],e.bubbleFormats=m,e.BlockEmbed=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n(50);var i=g(n(2)),s=g(n(14)),l=g(n(8)),u=g(n(9)),c=g(n(0)),h=n(15),d=g(h),f=g(n(3)),p=g(n(10)),v=g(n(34));function g(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var w=(0,p.default)("quill"),b=function(){function t(e){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,t),this.options=_(e,o),this.container=this.options.container,null==this.container)return w.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new d.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(t,e){var o=n.selection.lastRange,r=o&&0===o.length?o.index:void 0;M.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var a=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(a),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),p.default.level(t)}},{key:"find",value:function(t){return t.__quill||c.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&w.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var r=t.attrName||t.blotName;"string"==typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(o){n.register(o,t[o],e)}))}else null==this.imports[t]||o||w.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?c.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),a(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var o=this,a=x(t,e,n),i=r(a,4);return t=i[0],e=i[1],n=i[3],M.call(this,(function(){return o.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return M.call(this,(function(){var o=n.getSelection(!0),r=new i.default;if(null==o)return r;if(c.default.query(t,c.default.Scope.BLOCK))r=n.editor.formatLine(o.index,o.length,m({},t,e));else{if(0===o.length)return n.selection.format(t,e),r;r=n.editor.formatText(o.index,o.length,m({},t,e))}return n.setSelection(o,l.default.sources.SILENT),r}),o)}},{key:"formatLine",value:function(t,e,n,o,a){var i,s=this,l=x(t,e,n,o,a),u=r(l,4);return t=u[0],e=u[1],i=u[2],a=u[3],M.call(this,(function(){return s.editor.formatLine(t,e,i)}),a,t,0)}},{key:"formatText",value:function(t,e,n,o,a){var i,s=this,l=x(t,e,n,o,a),u=r(l,4);return t=u[0],e=u[1],i=u[2],a=u[3],M.call(this,(function(){return s.editor.formatText(t,e,i)}),a,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=x(t,e),o=r(n,2);return t=o[0],e=o[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=x(t,e),o=r(n,2);return t=o[0],e=o[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,o){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return M.call(this,(function(){return r.editor.insertEmbed(e,n,o)}),a,e)}},{key:"insertText",value:function(t,e,n,o,a){var i,s=this,l=x(t,0,n,o,a),u=r(l,4);return t=u[0],i=u[2],a=u[3],M.call(this,(function(){return s.editor.insertText(t,e,i)}),a,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var o=this,a=x(t,e,n),i=r(a,4);return t=i[0],e=i[1],n=i[3],M.call(this,(function(){return o.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return M.call(this,(function(){t=new i.default(t);var n=e.getLength(),o=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),a=r.ops[r.ops.length-1];return null!=a&&"string"==typeof a.insert&&"\n"===a.insert[a.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1)),o.compose(r)}),n)}},{key:"setSelection",value:function(e,n,o){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var a=x(e,n,o),i=r(a,4);e=i[0],n=i[1],o=i[3],this.selection.setRange(new h.Range(e,n),o),o!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new i.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return M.call(this,(function(){return t=new i.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function _(t,e){if((e=(0,f.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==b.DEFAULTS.theme){if(e.theme=b.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=v.default;var n=(0,f.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var o=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=b.import("modules/"+e);return null==n?w.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,f.default)(!0,{},b.DEFAULTS,{modules:o},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function M(t,e,n,o){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new i.default;var r=null==n?null:this.getSelection(),a=this.editor.delta,s=t();if(null!=r&&(!0===n&&(n=r.index),null==o?r=A(r,s,e):0!==o&&(r=A(r,n,o,e)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var u,c,h=[l.default.events.TEXT_CHANGE,s,a,e];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(h)),e!==l.default.sources.SILENT&&(c=this.emitter).emit.apply(c,h)}return s}function x(t,e,n,r,a){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(a=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(a=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":o(n))?(i=n,a=r):"string"==typeof n&&(null!=r?i[n]=r:a=n),[t,e,i,a=a||l.default.sources.API]}function A(t,e,n,o){if(null==t)return null;var a=void 0,s=void 0;if(e instanceof i.default){var u=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,o!==l.default.sources.USER)})),c=r(u,2);a=c[0],s=c[1]}else{var d=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&o===l.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),f=r(d,2);a=f[0],s=f[1]}return new h.Range(a,s-a)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:i.default,parchment:c.default,"core/module":u.default,"core/theme":v.default},e.expandConfig=_,e.overload=x,e.default=b},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=s(n(7)),i=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"formatAt",value:function(t,n,o,a){if(e.compare(this.statics.blotName,o)<0&&i.default.query(o,i.default.Scope.BLOT)){var s=this.isolate(t,n);a&&s.wrap(o,a)}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,o,a)}},{key:"optimize",value:function(t){if(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var o=e.order.indexOf(t),r=e.order.indexOf(n);return o>=0||r>=0?o-r:t===n?0:t<n?-1:1}}]),e}(i.default.Inline);c.allowedChildren=[c,i.default.Embed,a.default],c.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(0);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default.Text);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=i(n(54));function i(t){return t&&t.__esModule?t:{default:t}}var s=(0,i(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",s.error),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"emit",value:function(){s.log.apply(s,arguments),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];(this.listeners[t.type]||[]).forEach((function(e){var o=e.node,r=e.handler;(t.target===o||o.contains(t.target))&&r.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(a.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},e.default=l},function(t,e,n){function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=["error","warn","log","info"],r="warn";function a(t){if(o.indexOf(t)<=o.indexOf(r)){for(var e,n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];(e=console)[t].apply(e,a)}}function i(t){return o.reduce((function(e,n){return e[n]=a.bind(console,n,t),e}),{})}a.level=i.level=function(t){r=t},e.default=i},function(t,e,n){var o=Array.prototype.slice,r=n(52),a=n(53),i=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var u,c;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(a(t))return!!a(e)&&(t=o.call(t),e=o.call(e),i(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var h=r(t),d=r(e)}catch(t){return!1}if(h.length!=d.length)return!1;for(h.sort(),d.sort(),u=h.length-1;u>=0;u--)if(h[u]!=d[u])return!1;for(u=h.length-1;u>=0;u--)if(c=h[u],!i(t[c],e[c],n))return!1;return typeof t==typeof e}(t,e,n))};function s(t){return null==t}function l(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=o.Scope.TYPE&o.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&o.Scope.LEVEL|r:this.scope=o.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=o.query(t,o.Scope.BLOT&(this.scope|o.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=h(n(2)),s=h(n(0)),l=h(n(4)),u=h(n(6)),c=h(n(7));function h(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return d(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),e}(u.default);v.blotName="code",v.tagName="CODE";var g=function(t){function e(){return d(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),r(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new i.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(c.default,this.length()-1),i=o(r,1)[0];null!=i&&i.deleteAt(i.length()-1,1),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,o,r){if(0!==n&&null!=s.default.query(o,s.default.Scope.BLOCK)&&(o!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var a=this.newlineIndex(t);if(!(a<0||a>=t+n)){var i=this.newlineIndex(t,!0)+1,l=a-i+1,u=this.isolate(i,l),c=u.next;u.format(o,r),c instanceof e&&c.formatAt(0,t-i+n-l,o,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(c.default,t),a=o(r,2),i=a[0],s=a[1];i.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",e.Code=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=m(n(2)),s=m(n(20)),l=m(n(0)),u=m(n(13)),c=m(n(24)),h=n(4),d=m(h),f=m(n(16)),p=m(n(21)),v=m(n(11)),g=m(n(3));function m(t){return t&&t.__esModule?t:{default:t}}var y=/^[ -~]*$/,w=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return a(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var a=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,p.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,p.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var o=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(o,e.attributes)}return t.push(e)}),new i.default)}(t)).reduce((function(t,i){var u=i.retain||i.delete||i.insert.length||1,c=i.attributes||{};if(null!=i.insert){if("string"==typeof i.insert){var f=i.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),t>=a&&!f.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,f);var p=e.scroll.line(t),v=r(p,2),m=v[0],y=v[1],w=(0,g.default)({},(0,h.bubbleFormats)(m));if(m instanceof d.default){var b=m.descendant(l.default.Leaf,y),_=r(b,1)[0];w=(0,g.default)(w,(0,h.bubbleFormats)(_))}c=s.default.attributes.diff(w,c)||{}}else if("object"===o(i.insert)){var M=Object.keys(i.insert)[0];if(null==M)return t;e.scroll.insertAt(t,M,i.insert[M])}a+=u}return Object.keys(c).forEach((function(n){e.scroll.formatAt(t,u,n,c[n])})),t+u}),0),t.reduce((function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new i.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(o).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var a=n.scroll.lines(t,Math.max(e,1)),i=e;a.forEach((function(e){var a=e.length();if(e instanceof u.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+i)-s+1;e.formatAt(s,l,r,o[r])}else e.format(r,o[r]);i-=a}))}})),this.scroll.optimize(),this.update((new i.default).retain(t).retain(e,(0,p.default)(o)))}},{key:"formatText",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(o).forEach((function(r){n.scroll.formatAt(t,e,r,o[r])})),this.update((new i.default).retain(t).retain(e,(0,p.default)(o)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new i.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],o=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1)[0];e instanceof d.default?n.push(e):e instanceof l.default.Leaf&&o.push(e)})):(n=this.scroll.lines(t,e),o=this.scroll.descendants(l.default.Leaf,t,e));var a=[n,o].map((function(t){if(0===t.length)return{};for(var e=(0,h.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=b((0,h.bubbleFormats)(n),e)}return e}));return g.default.apply(g.default,a)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"==typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new i.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(o).forEach((function(r){n.scroll.formatAt(t,e.length,r,o[r])})),this.update((new i.default).retain(t).insert(e,(0,p.default)(o)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===d.default.blotName&&!(t.children.length>1)&&t.children.head instanceof f.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),o=this.scroll.line(t+e),a=r(o,2),s=a[0],l=a[1],c=0,h=new i.default;null!=s&&(c=s instanceof u.default?s.newlineIndex(l)-l+1:s.length()-l,h=s.delta().slice(l,l+c-1).insert("\n"));var d=this.getContents(t,e+c).diff((new i.default).insert(n).concat(h)),f=(new i.default).retain(t).concat(d);return this.applyDelta(f)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(y)&&l.default.find(e[0].target)){var r=l.default.find(e[0].target),a=(0,h.bubbleFormats)(r),s=r.offset(this.scroll),u=e[0].oldValue.replace(c.default.CONTENTS,""),d=(new i.default).insert(u),f=(new i.default).insert(r.value()),p=(new i.default).retain(s).concat(d.diff(f,n));t=p.reduce((function(t,e){return e.insert?t.insert(e.insert,a):t.push(e)}),new i.default),this.delta=o.compose(t)}else this.delta=this.getDelta(),t&&(0,v.default)(o.compose(t),this.delta)||(t=o.diff(this.delta,n));return t}}]),t}();function b(t,e){return Object.keys(e).reduce((function(n,o){return null==t[o]||(e[o]===t[o]?n[o]=e[o]:Array.isArray(e[o])?e[o].indexOf(t[o])<0&&(n[o]=e[o].concat([t[o]])):n[o]=[e[o],t[o]]),n}),{})}e.default=w},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=u(n(0)),i=u(n(21)),s=u(n(11)),l=u(n(8));function u(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=(0,u(n(10)).default)("quill:selection"),f=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;h(this,t),this.index=e,this.length=n},p=function(){function t(e,n){var o=this;h(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){o.mouseDown||setTimeout(o.update.bind(o,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&o.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(o.hasFocus()){var t=o.getNativeRange();null!=t&&t.start.node!==o.cursor.textNode&&o.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{o.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,a=n.startOffset,i=n.endNode,s=n.endOffset;o.setNativeRange(r,a,i,s)}})),this.update(l.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(t,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var o=a.default.find(n.start.node,!1);if(null==o)return;if(o instanceof a.default.Leaf){var r=o.split(n.start.offset);o.parent.insertBefore(this.cursor,r)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,a=this.scroll.leaf(t),i=o(a,2),s=i[0],l=i[1];if(null==s)return null;var u=s.position(l,!0),c=o(u,2);r=c[0],l=c[1];var h=document.createRange();if(e>0){h.setStart(r,l);var d=this.scroll.leaf(t+e),f=o(d,2);if(s=f[0],l=f[1],null==s)return null;var p=s.position(l,!0),v=o(p,2);return r=v[0],l=v[1],h.setEnd(r,l),h.getBoundingClientRect()}var g="left",m=void 0;return r instanceof Text?(l<r.data.length?(h.setStart(r,l),h.setEnd(r,l+1)):(h.setStart(r,l-1),h.setEnd(r,l),g="right"),m=h.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return d.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=o(t,2),r=n[0],i=n[1],s=a.default.find(r,!0),l=s.offset(e.scroll);return 0===i?l:s instanceof a.default.Container?l+s.length():l+s.index(r,i)})),i=Math.min(Math.max.apply(Math,c(r)),this.scroll.length()-1),s=Math.min.apply(Math,[i].concat(c(r)));return new f(s,i-s)}},{key:"normalizeNative",value:function(t){if(!v(this.root,t.startContainer)||!t.collapsed&&!v(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],a=this.scroll.length();return n.forEach((function(t,n){t=Math.min(a-1,t);var i,s=e.scroll.leaf(t),l=o(s,2),u=l[0],c=l[1],h=u.position(c,0!==n),d=o(h,2);i=d[0],c=d[1],r.push(i,c)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,a=this.scroll.line(Math.min(e.index,r)),i=o(a,1)[0],s=i;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,r));s=o(l,1)[0]}if(null!=i&&null!=s){var u=t.getBoundingClientRect();n.top<u.top?t.scrollTop-=u.top-n.top:n.bottom>u.bottom&&(t.scrollTop+=n.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",t,e,n,o),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var a=document.getSelection();if(null!=a)if(null!=t){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||r||t!==i.startContainer||e!==i.startOffset||n!==i.endContainer||o!==i.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(o=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,o),a.removeAllRanges(),a.addRange(s)}}else a.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof e&&(n=e,e=!1),d.info("setRange",t),null!=t){var o=this.rangeToNative(t);this.setNativeRange.apply(this,c(o).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),r=o(n,2),a=r[0],u=r[1];if(this.lastRange=a,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var c;!this.composing&&null!=u&&u.native.collapsed&&u.start.node!==this.cursor.textNode&&this.cursor.restore();var h,d=[l.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(e),t];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT&&(h=this.emitter).emit.apply(h,d)}}}]),t}();function v(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=f,e.default=p},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"insertInto",value:function(t,n){0===t.children.length?a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default.Embed);u.blotName="break",u.tagName="BR",e.default=u},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(44),i=n(30),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new a.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=u(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof s.ParchmentError)return;throw t}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var o=this.children.find(n),r=o[0],a=o[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,a]:r instanceof e?r.descendant(t,a):[null,-1]},e.prototype.descendants=function(t,n,o){void 0===n&&(n=0),void 0===o&&(o=Number.MAX_VALUE);var r=[],a=o;return this.children.forEachAt(n,o,(function(n,o,i){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,o,a))),a-=i})),r},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,o){this.children.forEachAt(t,e,(function(t,e,r){t.formatAt(e,r,n,o)}))},e.prototype.insertAt=function(t,e,n){var o=this.children.find(t),r=o[0],a=o[1];if(r)r.insertAt(a,e,n);else{var i=null==n?s.create("text",e):s.create(e,n);this.appendChild(i)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new s.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var o=this.children.find(t,n),r=o[0],a=o[1],i=[[this,t]];return r instanceof e?i.concat(r.path(a,n)):(null!=r&&i.push([r,a]),i)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,o,r){t=t.split(o,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],r=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),r.push.apply(r,t.removedNodes))})),r.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=s.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),o.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=s.find(t.nextSibling));var o=u(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))}))},e}(i.default);function u(t){var e=s.find(t);if(null==e)try{e=s.create(t)}catch(n){e=s.create(s.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(12),i=n(31),s=n(17),l=n(1),u=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=l.query(t);n instanceof a.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var o=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(o),o},e.prototype.update=function(e,n){var o=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===o.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,o){var r=t.prototype.wrap.call(this,n,o);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(s.default);e.default=u},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(30),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(a.default);e.default=s},function(t,e,n){var o=n(11),r=n(3),a={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var o=r(!0,{},e);for(var a in n||(o=Object.keys(o).reduce((function(t,e){return null!=o[e]&&(t[e]=o[e]),t}),{})),t)void 0!==t[a]&&void 0===e[a]&&(o[a]=t[a]);return Object.keys(o).length>0?o:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var o=Object.keys(e).reduce((function(n,o){return void 0===t[o]&&(n[o]=e[o]),n}),{});return Object.keys(o).length>0?o:void 0}}},iterator:function(t){return new i(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function i(t){this.ops=t,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,o=a.length(e);if(t>=o-n?(t=o-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},i.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),o=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(o)}return[]},t.exports=a},function(t,e){var n=function(){function t(t,e){return null!=e&&t instanceof e}var e,n,o;try{e=Map}catch(t){e=function(){}}try{n=Set}catch(t){n=function(){}}try{o=Promise}catch(t){o=function(){}}function r(a,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var h=[],d=[];return void 0===s&&(s=!0),void 0===l&&(l=1/0),function a(l,f){if(null===l)return null;if(0===f)return l;var p,v;if("object"!=typeof l)return l;if(t(l,e))p=new e;else if(t(l,n))p=new n;else if(t(l,o))p=new o((function(t,e){l.then((function(e){t(a(e,f-1))}),(function(t){e(a(t,f-1))}))}));else if(r.__isArray(l))p=[];else if(r.__isRegExp(l))p=new RegExp(l.source,i(l)),l.lastIndex&&(p.lastIndex=l.lastIndex);else if(r.__isDate(l))p=new Date(l.getTime());else{if(yn.isBuffer(l))return p=yn.allocUnsafe?yn.allocUnsafe(l.length):new yn(l.length),l.copy(p),p;t(l,Error)?p=Object.create(l):void 0===u?(v=Object.getPrototypeOf(l),p=Object.create(v)):(p=Object.create(u),v=u)}if(s){var g=h.indexOf(l);if(-1!=g)return d[g];h.push(l),d.push(p)}for(var m in t(l,e)&&l.forEach((function(t,e){var n=a(e,f-1),o=a(t,f-1);p.set(n,o)})),t(l,n)&&l.forEach((function(t){var e=a(t,f-1);p.add(e)})),l){var y;v&&(y=Object.getOwnPropertyDescriptor(v,m)),y&&null==y.set||(p[m]=a(l[m],f-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(l);for(m=0;m<w.length;m++){var b=w[m];(!(M=Object.getOwnPropertyDescriptor(l,b))||M.enumerable||c)&&(p[b]=a(l[b],f-1),M.enumerable||Object.defineProperty(p,b,{enumerable:!1}))}}if(c){var _=Object.getOwnPropertyNames(l);for(m=0;m<_.length;m++){var M,x=_[m];(M=Object.getOwnPropertyDescriptor(l,x))&&M.enumerable||(p[x]=a(l[x],f-1),Object.defineProperty(p,x,{enumerable:!1}))}}return p}(a,l)}function a(t){return Object.prototype.toString.call(t)}function i(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return r.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},r.__objToStr=a,r.__isDate=function(t){return"object"==typeof t&&"[object Date]"===a(t)},r.__isArray=function(t){return"object"==typeof t&&"[object Array]"===a(t)},r.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===a(t)},r.__getRegExpFlags=i,r}();"object"==typeof t&&t.exports&&(t.exports=n)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=f(n(0)),s=f(n(8)),l=n(4),u=f(l),c=f(n(16)),h=f(n(13)),d=f(n(25));function f(t){return t&&t.__esModule?t:{default:t}}function p(t){return t instanceof u.default||t instanceof l.BlockEmbed}var v=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.emitter=n.emitter,Array.isArray(n.whitelist)&&(o.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),o.domNode.addEventListener("DOMNodeInserted",(function(){})),o.optimize(),o.enable(),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),i=o(r,2),s=i[0],u=i[1],d=this.line(t+n),f=o(d,1)[0];if(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&s!==f&&u>0){if(s instanceof l.BlockEmbed||f instanceof l.BlockEmbed)return void this.optimize();if(s instanceof h.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1))===f)return void this.optimize()}else if(f instanceof h.default){var v=f.newlineIndex(0);v>-1&&f.split(v+1)}var g=f.children.head instanceof c.default?null:f.children.head;s.moveChildren(f,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,o,r){(null==this.whitelist||this.whitelist[o])&&(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,o,r),this.optimize())}},{key:"insertAt",value:function(t,n,o){if(null==o||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==o||null==i.default.query(n,i.default.Scope.BLOCK)){var r=i.default.create(this.statics.defaultChild);this.appendChild(r),null==o&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,o)}else{var s=i.default.create(n,o);this.appendChild(s)}else a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,o);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===i.default.Scope.INLINE_BLOT){var o=i.default.create(this.statics.defaultChild);o.appendChild(t),t=o}a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(p,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,o){var r=[],a=o;return e.children.forEachAt(n,o,(function(e,n,o){p(e)?r.push(e):e instanceof i.default.Container&&(r=r.concat(t(e,n,a))),a-=o})),r};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(i.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[u.default,l.BlockEmbed,d.default],e.default=v},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=v(n(21)),s=v(n(11)),l=v(n(3)),u=v(n(2)),c=v(n(20)),h=v(n(0)),d=v(n(5)),f=v(n(10)),p=v(n(9));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=(0,f.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",w=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.bindings={},Object.keys(o.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&o.options.bindings[e]&&o.addBinding(o.options.bindings[e])})),o.addBinding({key:e.keys.ENTER,shiftKey:null},A),o.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(o.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},_),o.addBinding({key:e.keys.DELETE},{collapsed:!0},M)):(o.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),o.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},M)),o.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},x),o.addBinding({key:e.keys.DELETE},{collapsed:!1},x),o.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),o.listen(),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,null,[{key:"match",value:function(t,e){return e=j(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),a(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=j(t);if(null==o||null==o.key)return m.warn("Attempted to add invalid keyboard binding",o);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),o=(0,l.default)(o,e,n),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var a=n.which||n.keyCode,i=(t.bindings[a]||[]).filter((function(t){return e.match(n,t)}));if(0!==i.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var u=t.quill.getLine(l.index),c=r(u,2),d=c[0],f=c[1],p=t.quill.getLeaf(l.index),v=r(p,2),g=v[0],m=v[1],y=0===l.length?[g,m]:t.quill.getLeaf(l.index+l.length),w=r(y,2),b=w[0],_=w[1],M=g instanceof h.default.Text?g.value().slice(0,m):"",x=b instanceof h.default.Text?b.value().slice(_):"",A={collapsed:0===l.length,empty:0===l.length&&d.length()<=1,format:t.quill.getFormat(l),offset:f,prefix:M,suffix:x},P=i.some((function(e){if(null!=e.collapsed&&e.collapsed!==A.collapsed)return!1;if(null!=e.empty&&e.empty!==A.empty)return!1;if(null!=e.offset&&e.offset!==A.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==A.format[t]})))return!1}else if("object"===o(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=A.format[t]:!1===e.format[t]?null==A.format[t]:(0,s.default)(e.format[t],A.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(A.prefix)||null!=e.suffix&&!e.suffix.test(A.suffix)||!0===e.handler.call(t,l,A))}));P&&n.preventDefault()}}}}))}}]),e}(p.default);function b(t,e){var n,o=t===w.keys.LEFT?"prefix":"suffix";return g(n={key:t,shiftKey:e,altKey:null},o,/^$/),g(n,"handler",(function(n){var o=n.index;t===w.keys.RIGHT&&(o+=n.length+1);var a=this.quill.getLeaf(o);return!(r(a,1)[0]instanceof h.default.Embed&&(t===w.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),1))})),n}function _(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),o=r(n,1)[0],a={};if(0===e.offset){var i=this.quill.getLine(t.index-1),s=r(i,1)[0];if(null!=s&&s.length()>1){var l=o.formats(),u=this.quill.getFormat(t.index-1,1);a=c.default.attributes.diff(l,u)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-h,h,d.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index-h,h,a,d.default.sources.USER),this.quill.focus()}}function M(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var o={},a=0,i=this.quill.getLine(t.index),s=r(i,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),u=r(l,1)[0];if(u){var h=s.formats(),f=this.quill.getFormat(t.index,1);o=c.default.attributes.diff(h,f)||{},a=u.length()}}this.quill.deleteText(t.index,n,d.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index+a-1,n,o,d.default.sources.USER)}}function x(t){var e=this.quill.getLines(t),n={};if(e.length>1){var o=e[0].formats(),r=e[e.length-1].formats();n=c.default.attributes.diff(r,o)||{}}this.quill.deleteText(t,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,d.default.sources.USER),this.quill.setSelection(t.index,d.default.sources.SILENT),this.quill.focus()}function A(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var o=Object.keys(e.format).reduce((function(t,n){return h.default.query(n,h.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",o,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==o[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],d.default.sources.USER))}))}function P(t){return{key:w.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=h.default.query("code-block"),o=e.index,a=e.length,i=this.quill.scroll.descendant(n,o),s=r(i,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),f=l.newlineIndex(u,!0)+1,p=l.newlineIndex(c+u+a),v=l.domNode.textContent.slice(f,p).split("\n");u=0,v.forEach((function(e,r){t?(l.insertAt(f+u,n.TAB),u+=n.TAB.length,0===r?o+=n.TAB.length:a+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(f+u,n.TAB.length),u-=n.TAB.length,0===r?o-=n.TAB.length:a-=n.TAB.length),u+=e.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(o,a,d.default.sources.SILENT)}}}}function C(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],d.default.sources.USER)}}}function j(t){if("string"==typeof t||"number"==typeof t)return j({key:t});if("object"===(void 0===t?"undefined":o(t))&&(t=(0,i.default)(t,!1)),"string"==typeof t.key)if(null!=w.keys[t.key.toUpperCase()])t.key=w.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[y]=t.shortKey,delete t.shortKey),t}w.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},w.DEFAULTS={bindings:{bold:C("bold"),italic:C("italic"),underline:C("underline"),indent:{key:w.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:w.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",d.default.sources.USER)}},"outdent backspace":{key:w.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",d.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":P(!0),"outdent code-block":P(!1),"remove tab":{key:w.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,d.default.sources.USER)}},tab:{key:w.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new u.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,d.default.sources.SILENT)}},"list empty enter":{key:w.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,d.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:w.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),o=n[0],a=n[1],i=(0,l.default)({},o.formats(),{list:"checked"}),s=(new u.default).retain(t.index).insert("\n",i).retain(o.length()-a-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:w.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),o=r(n,2),a=o[0],i=o[1],s=(new u.default).retain(t.index).insert("\n",e.format).retain(a.length()-i-1).retain(1,{header:null});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,o=this.quill.getLine(t.index),a=r(o,2),i=a[0],s=a[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",d.default.sources.USER),this.quill.history.cutoff();var c=(new u.default).retain(t.index-s).delete(n+1).retain(i.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,d.default.sources.SILENT)}},"code exit":{key:w.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),o=n[0],a=n[1],i=(new u.default).retain(t.index+o.length()-a-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,d.default.sources.USER)}},"embed left":b(w.keys.LEFT,!1),"embed left shift":b(w.keys.LEFT,!0),"embed right":b(w.keys.RIGHT,!1),"embed right shift":b(w.keys.RIGHT,!0)}},e.default=w,e.SHORTKEY=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=l(n(0)),s=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.selection=n,o.textNode=document.createTextNode(e.CONTENTS),o.domNode.appendChild(o.textNode),o._length=0,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,null,[{key:"value",value:function(){}}]),a(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var o=this,a=0;null!=o&&o.statics.scope!==i.default.Scope.BLOCK_BLOT;)a+=o.offset(o.parent),o=o.parent;null!=o&&(this._length=e.CONTENTS.length,o.optimize(),o.formatAt(a,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,a=void 0,l=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var u=[t,n.start.offset,n.end.offset];r=u[0],a=u[1],l=u[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var c=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=e.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(i.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=a){var h=[a,l].map((function(t){return Math.max(0,Math.min(r.data.length,t-1))})),d=o(h,2);return a=d[0],l=d[1],{startNode:r,startOffset:a,endNode:r,endOffset:l}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var o=this.restore();o&&(e.range=o)}}},{key:"value",value:function(){return""}}]),e}(i.default.Embed);u.blotName="cursor",u.className="ql-cursor",u.tagName="span",u.CONTENTS="\ufeff",e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=i(n(0)),r=n(4),a=i(r);function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(o.default.Container);u.allowedChildren=[a.default,r.BlockEmbed,u],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(s.default.Attributor.Style),h=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),d=new c("color","color",{scope:s.default.Scope.INLINE});e.ColorAttributor=c,e.ColorClass=h,e.ColorStyle=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return c(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);function c(t,e){var n=document.createElement("a");n.href=t;var o=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(o)>-1}u.blotName="link",u.tagName="A",u.SANITIZED_URL="about:blank",u.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=u,e.sanitize=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=s(n(23)),i=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function u(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var c=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:n.togglePicker();break;case a.default.keys.ESCAPE:n.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),u(this.label,"aria-expanded"),u(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case a.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=i.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var o=t.buildItem(n);e.appendChild(o),!0===n.selected&&t.selectItem(o)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":o(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=m(n(0)),r=m(n(5)),a=n(4),i=m(a),s=m(n(16)),l=m(n(25)),u=m(n(24)),c=m(n(35)),h=m(n(6)),d=m(n(22)),f=m(n(7)),p=m(n(55)),v=m(n(42)),g=m(n(23));function m(t){return t&&t.__esModule?t:{default:t}}r.default.register({"blots/block":i.default,"blots/block/embed":a.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":u.default,"blots/embed":c.default,"blots/inline":h.default,"blots/scroll":d.default,"blots/text":f.default,"modules/clipboard":p.default,"modules/history":v.default,"modules/keyboard":g.default}),o.default.register(i.default,s.default,u.default,h.default,d.default,f.default),e.default=r.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=function(){function t(t){this.domNode=t,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new o.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return o.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,r){var a=this.isolate(t,e);if(null!=o.query(n,o.Scope.BLOT)&&r)a.wrap(n,r);else if(null!=o.query(n,o.Scope.ATTRIBUTE)){var i=o.create(this.statics.scope);a.wrap(i),i.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?o.create("text",e):o.create(e,n),a=this.split(t);this.parent.insertBefore(r,a)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[o.DATA_KEY]&&delete this.domNode[o.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?o.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?o.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(12),r=n(32),a=n(33),i=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=o.default.keys(this.domNode),n=r.default.keys(this.domNode),s=a.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=i.query(e,i.Scope.ATTRIBUTE);n instanceof o.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var o=e.attributes[n].value(e.domNode);t.format(n,o)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function a(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){a(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(a(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function a(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[a(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[a(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[a(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n,this.modules={}}return o(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();r.DEFAULTS={modules:{}},r.themes={default:r},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=s(n(0)),i=s(n(7));function s(t){return t&&t.__esModule?t:{default:t}}var l="\ufeff",u=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,o=t.data.split(l).join("");if(t===this.leftGuard)if(this.prev instanceof i.default){var r=this.prev.length();this.prev.insertAt(r,o),e={startNode:this.prev.domNode,startOffset:r+o.length}}else n=document.createTextNode(o),this.parent.insertBefore(a.default.create(n),this),e={startNode:n,startOffset:o.length};else t===this.rightGuard&&(this.next instanceof i.default?(this.next.insertAt(0,o),e={startNode:this.next.domNode,startOffset:o.length}):(n=document.createTextNode(o),this.parent.insertBefore(a.default.create(n),this.next),e={startNode:n,startOffset:o.length}));return t.data=l,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var o=n.restore(t.target);o&&(e.range=o)}}))}}]),e}(a.default.Embed);e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i={scope:a.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new a.default.Attributor.Attribute("align","align",i),l=new a.default.Attributor.Class("align","ql-align",i),u=new a.default.Attributor.Style("align","text-align",i);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i=n(26),s=new a.default.Attributor.Class("background","ql-bg",{scope:a.default.Scope.INLINE}),l=new i.ColorAttributor("background","background-color",{scope:a.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i={scope:a.default.Scope.BLOCK,whitelist:["rtl"]},s=new a.default.Attributor.Attribute("direction","dir",i),l=new a.default.Attributor.Class("direction","ql-direction",i),u=new a.default.Attributor.Style("direction","direction",i);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},h=new s.default.Attributor.Class("font","ql-font",c),d=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(s.default.Attributor.Style),f=new d("font","font-family",c);e.FontStyle=f,e.FontClass=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var o,r=n(0),a=(o=r)&&o.__esModule?o:{default:o},i=new a.default.Attributor.Class("size","ql-size",{scope:a.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new a.default.Attributor.Style("size","font-size",{scope:a.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=i,e.SizeStyle=s},function(t,e,n){t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=i(n(0)),a=i(n(5));function i(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.lastRecorded=0,o.ignoreChange=!1,o.clear(),o.quill.on(a.default.events.EDITOR_CHANGE,(function(t,e,n,r){t!==a.default.events.TEXT_CHANGE||o.ignoreChange||(o.options.userOnly&&r!==a.default.sources.USER?o.transform(e):o.record(e,n))})),o.quill.keyboard.addBinding({key:"Z",shortKey:!0},o.undo.bind(o)),o.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},o.redo.bind(o)),/Win/i.test(navigator.platform)&&o.quill.keyboard.addBinding({key:"Y",shortKey:!0},o.redo.bind(o)),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],a.default.sources.USER),this.ignoreChange=!1;var o=l(n[t]);this.quill.setSelection(o)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),o=Date.now();if(this.lastRecorded+this.options.delay>o&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=o;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(i(n(9)).default);function l(t){var e=t.reduce((function(t,e){return t+=e.delete||0}),0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=r.default.query(t,r.default.Scope.BLOCK)})))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=p(n(3)),i=p(n(2)),s=p(n(8)),l=p(n(23)),u=p(n(34)),c=p(n(59)),h=p(n(60)),d=p(n(28)),f=p(n(61));function p(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[!1,"center","right","justify"],w=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],_=["1","2","3",!1],M=["small",!1,"large","huge"],x=function(t){function e(t,n){v(this,e);var o=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,(function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==o.tooltip||o.tooltip.root.contains(n.target)||document.activeElement===o.tooltip.textbox||o.quill.hasFocus()||o.tooltip.hide(),null!=o.pickers&&o.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))})),o}return m(e,t),o(e,[{key:"addModule",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){(t.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var o=t.value||"";null!=o&&e[n][o]&&(t.innerHTML=e[n][o])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&P(t,y),new h.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&P(t,w,"background"===n?"#ffffff":"#000000"),new c.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?P(t,b):t.classList.contains("ql-header")?P(t,_):t.classList.contains("ql-size")&&P(t,M)),new d.default(t)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(t){t.update()}))}))}}]),e}(u.default);x.DEFAULTS=(0,a.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var o=t.quill.getSelection(!0);t.quill.updateContents((new i.default).retain(o.index).delete(o.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(o.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var A=function(t){function e(t,n){v(this,e);var o=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.textbox=o.root.querySelector('input[type="text"]'),o.listen(),o}return m(e,t),o(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var o=n.index+n.length;this.quill.insertEmbed(o,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(o+1," ",s.default.sources.USER),this.quill.setSelection(o+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(f.default);function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var o=document.createElement("option");e===n?o.setAttribute("selected","selected"):o.setAttribute("value",e),t.appendChild(o)}))}e.BaseTooltip=A,e.default=x},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,o=this.iterator();n=o();){var r=n.length();if(t<r||e&&t===r&&(null==n.next||0!==n.next.length()))return[n,t];t-=r}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var o,r=this.find(t),a=r[0],i=t-r[1],s=this.iterator(a);(o=s())&&i<t+e;){var l=o.length();t>i?n(o,t-i,Math.min(e,i+l-t)):n(o,0,Math.min(l,t+e-i)),i+=l}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){for(var n,o=this.iterator();n=o();)e=t(e,n);return e},t}();e.default=o},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(17),i=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,o,r){this.update(),t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.insertAt=function(e,n,o){this.update(),t.prototype.insertAt.call(this,e,n,o)},e.prototype.optimize=function(e,n){var o=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)e.push(r.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==o&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof a.default&&t.children.forEach(l),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof a.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),r=(u=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)e.push(r.pop())}},e.prototype.update=function(e,n){var o=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==o&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(a.default);e.default=l},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,o){var r=this;n!==this.statics.blotName||o?t.prototype.format.call(this,n,o):(this.children.forEach((function(t){t instanceof a.default||(t=t.wrap(e.blotName,!0)),r.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,o,r){null!=this.formats()[o]||i.query(o,i.Scope.ATTRIBUTE)?this.isolate(e,n).format(o,r):t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(o,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(a.default);e.default=s},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var o=i.query(e.blotName).tagName;if(n.tagName!==o)return t.formats.call(this,n)},e.prototype.format=function(n,o){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||o?t.prototype.format.call(this,n,o):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,o,r){null!=i.query(o,i.Scope.BLOCK)?this.format(o,r):t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.insertAt=function(e,n,o){if(null==o||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,o);else{var r=this.split(e),a=i.create(n,o);r.parent.insertBefore(a,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(a.default);e.default=s},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,o,r){0===e&&n===this.length()?this.format(o,r):t.prototype.formatAt.call(this,e,n,o,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=a},function(t,e,n){var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var a=n(19),i=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,o){null==o?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,o)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(a.default);e.default=s},function(t,e,n){var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var o=n.indexOf(t,e);return-1!==o&&o===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),o=n.length>>>0,r=arguments[1],a=0;a<o;a++)if(e=n[a],t.call(r,e,a,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1;function o(t,e,l){if(t==e)return t?[[0,t]]:[];(l<0||t.length<l)&&(l=null);var c=a(t,e),h=t.substring(0,c);c=i(t=t.substring(c),e=e.substring(c));var d=t.substring(t.length-c),f=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,u=t.length>e.length?e:t,c=l.indexOf(u);if(-1!=c)return s=[[1,l.substring(0,c)],[0,u],[1,l.substring(c+u.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==u.length)return[[n,t],[1,e]];var h=function(t,e){var n=t.length>e.length?t:e,o=t.length>e.length?e:t;if(n.length<4||2*o.length<n.length)return null;function r(t,e,n){for(var o,r,s,l,u=t.substring(n,n+Math.floor(t.length/4)),c=-1,h="";-1!=(c=e.indexOf(u,c+1));){var d=a(t.substring(n),e.substring(c)),f=i(t.substring(0,n),e.substring(0,c));h.length<f+d&&(h=e.substring(c-f,c)+e.substring(c,c+d),o=t.substring(0,n-f),r=t.substring(n+d),s=e.substring(0,c-f),l=e.substring(c+d))}return 2*h.length>=t.length?[o,r,s,l,h]:null}var s,l,u,c,h,d=r(n,o,Math.ceil(n.length/4)),f=r(n,o,Math.ceil(n.length/2));if(!d&&!f)return null;s=f?d&&d[4].length>f[4].length?d:f:d,t.length>e.length?(l=s[0],u=s[1],c=s[2],h=s[3]):(c=s[0],h=s[1],l=s[2],u=s[3]);var p=s[4];return[l,u,c,h,p]}(t,e);if(h){var d=h[0],f=h[1],p=h[2],v=h[3],g=h[4],m=o(d,p),y=o(f,v);return m.concat([[0,g]],y)}return function(t,e){for(var o=t.length,a=e.length,i=Math.ceil((o+a)/2),s=i,l=2*i,u=new Array(l),c=new Array(l),h=0;h<l;h++)u[h]=-1,c[h]=-1;u[s+1]=0,c[s+1]=0;for(var d=o-a,f=d%2!=0,p=0,v=0,g=0,m=0,y=0;y<i;y++){for(var w=-y+p;w<=y-v;w+=2){for(var b=s+w,_=(C=w==-y||w!=y&&u[b-1]<u[b+1]?u[b+1]:u[b-1]+1)-w;C<o&&_<a&&t.charAt(C)==e.charAt(_);)C++,_++;if(u[b]=C,C>o)v+=2;else if(_>a)p+=2;else if(f&&(A=s+d-w)>=0&&A<l&&-1!=c[A]&&C>=(x=o-c[A]))return r(t,e,C,_)}for(var M=-y+g;M<=y-m;M+=2){for(var x,A=s+M,P=(x=M==-y||M!=y&&c[A-1]<c[A+1]?c[A+1]:c[A-1]+1)-M;x<o&&P<a&&t.charAt(o-x-1)==e.charAt(a-P-1);)x++,P++;if(c[A]=x,x>o)m+=2;else if(P>a)g+=2;else if(!f){var C;if((b=s+d-M)>=0&&b<l&&-1!=u[b])if(_=s+(C=u[b])-b,C>=(x=o-x))return r(t,e,C,_)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-c),e=e.substring(0,e.length-c));return h&&f.unshift([0,h]),d&&f.push([0,d]),s(f),null!=l&&(f=function(t,e){var o=function(t,e){if(0===e)return[0,t];for(var o=0,r=0;r<t.length;r++){var a=t[r];if(a[0]===n||0===a[0]){var i=o+a[1].length;if(e===i)return[r+1,t];if(e<i){t=t.slice();var s=e-o,l=[a[0],a[1].slice(0,s)],u=[a[0],a[1].slice(s)];return t.splice(r,1,l,u),[r+1,t]}o=i}}throw new Error("cursor_pos is out of bounds!")}(t,e),r=o[1],a=o[0],i=r[a],s=r[a+1];if(null==i)return t;if(0!==i[0])return t;if(null!=s&&i[1]+s[1]===s[1]+i[1])return r.splice(a,2,s,i),u(r,a,2);if(null!=s&&0===s[1].indexOf(i[1])){r.splice(a,2,[s[0],i[1]],[0,i[1]]);var l=s[1].slice(i[1].length);return l.length>0&&r.splice(a+2,0,[s[0],l]),u(r,a,3)}return t}(f,l)),f=function(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},a=2;a<t.length;a+=1)0===t[a-2][0]&&r(t[a-2][1])&&t[a-1][0]===n&&o(t[a-1][1])&&1===t[a][0]&&o(t[a][1])&&(e=!0,t[a-1][1]=t[a-2][1].slice(-1)+t[a-1][1],t[a][1]=t[a-2][1].slice(-1)+t[a][1],t[a-2][1]=t[a-2][1].slice(0,-1));if(!e)return t;var i=[];for(a=0;a<t.length;a+=1)t[a][1].length>0&&i.push(t[a]);return i}(f)}function r(t,e,n,r){var a=t.substring(0,n),i=e.substring(0,r),s=t.substring(n),l=e.substring(r),u=o(a,i),c=o(s,l);return u.concat(c)}function a(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,o=Math.min(t.length,e.length),r=o,a=0;n<r;)t.substring(a,r)==e.substring(a,r)?a=n=r:o=r,r=Math.floor((o-n)/2+n);return r}function i(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,o=Math.min(t.length,e.length),r=o,a=0;n<r;)t.substring(t.length-r,t.length-a)==e.substring(e.length-r,e.length-a)?a=n=r:o=r,r=Math.floor((o-n)/2+n);return r}function s(t){t.push([0,""]);for(var e,o=0,r=0,l=0,u="",c="";o<t.length;)switch(t[o][0]){case 1:l++,c+=t[o][1],o++;break;case n:r++,u+=t[o][1],o++;break;case 0:r+l>1?(0!==r&&0!==l&&(0!==(e=a(c,u))&&(o-r-l>0&&0==t[o-r-l-1][0]?t[o-r-l-1][1]+=c.substring(0,e):(t.splice(0,0,[0,c.substring(0,e)]),o++),c=c.substring(e),u=u.substring(e)),0!==(e=i(c,u))&&(t[o][1]=c.substring(c.length-e)+t[o][1],c=c.substring(0,c.length-e),u=u.substring(0,u.length-e))),0===r?t.splice(o-l,r+l,[1,c]):0===l?t.splice(o-r,r+l,[n,u]):t.splice(o-r-l,r+l,[n,u],[1,c]),o=o-r-l+(r?1:0)+(l?1:0)+1):0!==o&&0==t[o-1][0]?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,l=0,r=0,u="",c=""}""===t[t.length-1][1]&&t.pop();var h=!1;for(o=1;o<t.length-1;)0==t[o-1][0]&&0==t[o+1][0]&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)==t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),h=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),h=!0)),o++;h&&s(t)}var l=o;function u(t,e,n){for(var o=e+n-1;o>=0&&o>=e-1;o--)if(o+1<t.length){var r=t[o],a=t[o+1];r[0]===a[1]&&t.splice(o,2,[r[0],r[1]+a[1]])}return t}l.INSERT=1,l.DELETE=n,l.EQUAL=0,t.exports=l},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function o(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?o:r).supported=o,e.unsupported=r},function(t,e){var n=Object.prototype.hasOwnProperty,o="~";function r(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(o=!1)),i.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(o?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},i.prototype.listeners=function(t,e){var n=o?o+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,s=new Array(i);a<i;a++)s[a]=r[a].fn;return s},i.prototype.emit=function(t,e,n,r,a,i){var s=o?o+t:t;if(!this._events[s])return!1;var l,u,c=this._events[s],h=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,r),!0;case 5:return c.fn.call(c.context,e,n,r,a),!0;case 6:return c.fn.call(c.context,e,n,r,a,i),!0}for(u=1,l=new Array(h-1);u<h;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var d,f=c.length;for(u=0;u<f;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),h){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,r);break;default:if(!l)for(d=1,l=new Array(h-1);d<h;d++)l[d-1]=arguments[d];c[u].fn.apply(c[u].context,l)}}return!0},i.prototype.on=function(t,e,n){var r=new a(e,n||this),i=o?o+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.once=function(t,e,n){var r=new a(e,n||this,!0),i=o?o+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.removeListener=function(t,e,n,a){var i=o?o+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new r:delete this._events[i],this;var s=this._events[i];if(s.fn)s.fn!==e||a&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[i]);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==e||a&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[i]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new r:delete this._events[i]}return this},i.prototype.removeAllListeners=function(t){var e;return t?(e=o?o+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=o,i.EventEmitter=i,void 0!==t&&(t.exports=i)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=w(n(3)),s=w(n(2)),l=w(n(0)),u=w(n(5)),c=w(n(10)),h=w(n(9)),d=n(36),f=n(37),p=w(n(13)),v=n(26),g=n(38),m=n(39),y=n(40);function w(t){return t&&t.__esModule?t:{default:t}}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _=(0,c.default)("quill:clipboard"),M="__ql-matcher",x=[[Node.TEXT_NODE,H],[Node.TEXT_NODE,B],["br",function(t,e){return k(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,B],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,E],[Node.ELEMENT_NODE,function(t,e){var n={},o=t.style||{};return o.fontStyle&&"italic"===z(t).fontStyle&&(n.italic=!0),o.fontWeight&&(z(t).fontWeight.startsWith("bold")||parseInt(z(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=j(e,n)),parseFloat(o.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!k(e,"\n"))return e;for(var o=-1,r=t.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(o+=1),r=r.parentNode;return o<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:o}))}],["b",S.bind(S,"bold")],["i",S.bind(S,"italic")],["style",function(){return new s.default}]],A=[d.AlignAttribute,g.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),P=[d.AlignStyle,f.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,y.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),C=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.root.addEventListener("paste",o.onPaste.bind(o)),o.container=o.quill.addContainer("ql-clipboard"),o.container.setAttribute("contenteditable",!0),o.container.setAttribute("tabindex",-1),o.matchers=[],x.concat(o.options.matchers).forEach((function(t){var e=r(t,2),a=e[0],i=e[1];(n.matchVisual||i!==N)&&o.addMatcher(a,i)})),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[p.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},p.default.blotName,e[p.default.blotName]))}var o=this.prepareMatching(),a=r(o,2),i=a[0],l=a[1],u=T(this.container,i,l);return k(u,"\n")&&null==u.ops[u.ops.length-1].attributes&&(u=u.compose((new s.default).retain(u.length()-1).delete(1))),_.log("convert",this.container.innerHTML,u),this.container.innerHTML="",u}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,u.default.sources.SILENT);else{var o=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(o),n),this.quill.setSelection(t+o.length(),u.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),o=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(u.default.sources.SILENT),setTimeout((function(){o=o.concat(e.convert()).delete(n.length),e.quill.updateContents(o,u.default.sources.USER),e.quill.setSelection(o.length()-n.length,u.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(o){var a=r(o,2),i=a[0],s=a[1];switch(i){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(i),(function(t){t[M]=t[M]||[],t[M].push(s)}))}})),[e,n]}}]),e}(h.default);function j(t,e,n){return"object"===(void 0===e?"undefined":o(e))?Object.keys(e).reduce((function(t,n){return j(t,n,e[n])}),t):t.reduce((function(t,o){return o.attributes&&o.attributes[e]?t.push(o):t.insert(o.insert,(0,i.default)({},b({},e,n),o.attributes))}),new s.default)}function z(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function k(t,e){for(var n="",o=t.ops.length-1;o>=0&&n.length<e.length;--o){var r=t.ops[o];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*e.length)===e}function O(t){if(0===t.childNodes.length)return!1;var e=z(t);return["block","list-item"].indexOf(e.display)>-1}function T(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(o,r){var a=T(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(a=e.reduce((function(t,e){return e(r,t)}),a),a=(r[M]||[]).reduce((function(t,e){return e(r,t)}),a)),o.concat(a)}),new s.default):new s.default}function S(t,e,n){return j(n,t,!0)}function E(t,e){var n=l.default.Attributor.Attribute.keys(t),o=l.default.Attributor.Class.keys(t),r=l.default.Attributor.Style.keys(t),a={};return n.concat(o).concat(r).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(a[n.attrName]=n.value(t),a[n.attrName])||(null==(n=A[e])||n.attrName!==e&&n.keyName!==e||(a[n.attrName]=n.value(t)||void 0),null==(n=P[e])||n.attrName!==e&&n.keyName!==e||(n=P[e],a[n.attrName]=n.value(t)||void 0))})),Object.keys(a).length>0&&(e=j(e,a)),e}function L(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var o={},r=n.value(t);null!=r&&(o[n.blotName]=r,e=(new s.default).insert(o,n.formats(t)))}else"function"==typeof n.formats&&(e=j(e,n.blotName,n.formats(t)));return e}function B(t,e){return k(e,"\n")||(O(t)||e.length()>0&&t.nextSibling&&O(t.nextSibling))&&e.insert("\n"),e}function N(t,e){if(O(t)&&null!=t.nextElementSibling&&!k(e,"\n\n")){var n=t.offsetHeight+parseFloat(z(t).marginTop)+parseFloat(z(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function H(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!z(t.parentNode).whiteSpace.startsWith("pre")){var o=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,o.bind(o,!0)),(null==t.previousSibling&&O(t.parentNode)||null!=t.previousSibling&&O(t.previousSibling))&&(n=n.replace(/^\s+/,o.bind(o,!1))),(null==t.nextSibling&&O(t.parentNode)||null!=t.nextSibling&&O(t.nextSibling))&&(n=n.replace(/\s+$/,o.bind(o,!1)))}return e.insert(n)}C.DEFAULTS={matchers:[],matchVisual:!0},e.default=C,e.matchAttributor=E,e.matchBlot=L,e.matchNewline=B,e.matchSpacing=N,e.matchText=H},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"optimize",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);u.blotName="bold",u.tagName=["STRONG","B"],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=c(n(2)),i=c(n(0)),s=c(n(5)),l=c(n(10)),u=c(n(9));function c(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var d=(0,l.default)("quill:toolbar"),f=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r,a=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(a.options.container)){var i=document.createElement("div");v(i,a.options.container),t.container.parentNode.insertBefore(i,t.container),a.container=i}else"string"==typeof a.options.container?a.container=document.querySelector(a.options.container):a.container=a.options.container;return a.container instanceof HTMLElement?(a.container.classList.add("ql-toolbar"),a.controls=[],a.handlers={},Object.keys(a.options.handlers).forEach((function(t){a.addHandler(t,a.options.handlers[t])})),[].forEach.call(a.container.querySelectorAll("button, select"),(function(t){a.attach(t)})),a.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e){t===s.default.events.SELECTION_CHANGE&&a.update(e)})),a.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var t=a.quill.selection.getRange(),e=o(t,1)[0];a.update(e)})),a):(r=d.error("Container required for toolbar",a.options),h(a,r))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void d.warn("ignoring attaching to disabled format",n,t);if(null==i.default.query(n))return void d.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,(function(r){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var u=t.options[t.selectedIndex];l=!u.hasAttribute("selected")&&(u.value||!1)}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var c=e.quill.selection.getRange(),h=o(c,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(i.default.query(n).prototype instanceof i.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new a.default).retain(h.index).delete(h.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,l)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(h)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var r=o(n,2),a=r[0],i=r[1];if("SELECT"===i.tagName){var s=void 0;if(null==t)s=null;else if(null==e[a])s=i.querySelector("option[selected]");else if(!Array.isArray(e[a])){var l=e[a];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=i.querySelector('option[value="'+l+'"]')}null==s?(i.value="",i.selectedIndex=-1):s.selected=!0}else if(null==t)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var u=e[a]===i.getAttribute("value")||null!=e[a]&&e[a].toString()===i.getAttribute("value")||null==e[a]&&!i.getAttribute("value");i.classList.toggle("ql-active",u)}else i.classList.toggle("ql-active",null!=e[a])}))}}]),e}(u.default);function p(t,e,n){var o=document.createElement("button");o.setAttribute("type","button"),o.classList.add("ql-"+e),null!=n&&(o.value=n),t.appendChild(o)}function v(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"==typeof t)p(n,t);else{var e=Object.keys(t)[0],o=t[e];Array.isArray(o)?function(t,e,n){var o=document.createElement("select");o.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),o.appendChild(e)})),t.appendChild(o)}(n,e,o):p(n,e,o)}})),t.appendChild(n)}))}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=i.default.query(e,i.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),o=parseInt(n.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",o+r,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=f,e.addControls=v},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.label.innerHTML=n,o.container.classList.add("ql-color-picker"),[].slice.call(o.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"buildItem",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var o=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";o&&("line"===o.tagName?o.style.stroke=r:o.style.fill=r)}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.container.classList.add("ql-icon-picker"),[].forEach.call(o.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),o.defaultItem=o.container.querySelector(".ql-selected"),o.selectItem(o.defaultItem),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function(){function t(e,n){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"})),this.hide()}return o(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var o=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),a=0;if(r.right>o.right&&(a=o.right-r.right,this.root.style.left=e+a+"px"),r.left<o.left&&(a=o.left-r.left,this.root.style.left=e+a+"px"),r.bottom>o.bottom){var i=r.bottom-r.top,s=t.bottom-t.top+i;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return a}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);o=!0);}catch(t){r=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=f(n(3)),s=f(n(8)),l=n(43),u=f(l),c=f(n(27)),h=n(15),d=f(n(41));function f(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(t){function e(t,n){p(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var o=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.container.classList.add("ql-snow"),o}return g(e,t),a(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),d.default),this.tooltip=new w(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers.link.call(t,!n.format.link)}))}}]),e}(u.default);y.DEFAULTS=(0,i.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var w=function(t){function e(t,n){p(this,e);var o=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.preview=o.root.querySelector("a.ql-preview"),o}return g(e,t),a(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===s.default.sources.USER){var a=t.quill.scroll.descendant(c.default,e.index),i=o(a,2),l=i[0],u=i[1];if(null!=l){t.linkRange=new h.Range(e.index-u,l.length());var d=c.default.formats(l.domNode);return t.preview.textContent=d,t.preview.setAttribute("href",d),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(l.BaseTooltip);w.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=B(n(29)),r=n(36),a=n(38),i=n(64),s=B(n(65)),l=B(n(66)),u=n(67),c=B(u),h=n(37),d=n(26),f=n(39),p=n(40),v=B(n(56)),g=B(n(68)),m=B(n(27)),y=B(n(69)),w=B(n(70)),b=B(n(71)),_=B(n(72)),M=B(n(73)),x=n(13),A=B(x),P=B(n(74)),C=B(n(75)),j=B(n(57)),z=B(n(41)),k=B(n(28)),O=B(n(59)),T=B(n(60)),S=B(n(61)),E=B(n(108)),L=B(n(62));function B(t){return t&&t.__esModule?t:{default:t}}o.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":p.SizeStyle},!0),o.default.register({"formats/align":r.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":i.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":f.FontClass,"formats/size":p.SizeClass,"formats/blockquote":s.default,"formats/code-block":A.default,"formats/header":l.default,"formats/list":c.default,"formats/bold":v.default,"formats/code":x.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":y.default,"formats/strike":w.default,"formats/underline":b.default,"formats/image":_.default,"formats/video":M.default,"formats/list/item":u.ListItem,"modules/formula":P.default,"modules/syntax":C.default,"modules/toolbar":j.default,"themes/bubble":E.default,"themes/snow":L.default,"ui/icons":z.default,"ui/picker":k.default,"ui/icon-picker":T.default,"ui/color-picker":O.default,"ui/tooltip":S.default},!0),e.default=o.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var o=this.value(t)||0;n="+1"===n?o+1:o-1}return 0===n?(this.remove(t),!0):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(s.default.Attributor.Class),h=new c("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(4);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(4);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=function(t){function e(){return i(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((o=a)&&o.__esModule?o:{default:o}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=l(n(0)),i=l(n(4)),s=l(n(25));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,[{key:"format",value:function(t,n){t!==f.blotName||n?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:r(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(i.default);d.blotName="list-item",d.tagName="LI";var f=function(t){function e(t){u(this,e);var n=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),o=function(e){if(e.target.parentNode===t){var o=n.statics.formats(t),r=a.default.find(e.target);"checked"===o?r.format("list","unchecked"):"unchecked"===o&&r.format("list","checked")}};return t.addEventListener("touchstart",o),t.addEventListener("mousedown",o),n}return h(e,t),o(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",o=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||o.setAttribute("data-checked","checked"===t),o}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),o(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof d)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var o=null==n?this.length():n.offset(this),a=this.split(o);a.parent.insertBefore(t,a)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);f.blotName="list",f.scope=a.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[d],e.ListItem=d,e.default=f},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(56);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((o=i)&&o.__esModule?o:{default:o}).default);u.blotName="script",u.tagName=["SUB","SUP"],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(6);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(6);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((o=r)&&o.__esModule?o:{default:o}).default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(0),s=(o=i)&&o.__esModule?o:{default:o},l=n(27);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=["alt","height","width"],d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){h.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.default.Embed);d.blotName="image",d.tagName="IMG",e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},i=n(4),s=n(27),l=(o=s)&&o.__esModule?o:{default:o};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=["height","width"],d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){h.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=l(n(35)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,null,[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(a.default);d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var f=function(t){function e(){u(this,e);var t=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return h(e,t),o(e,null,[{key:"register",value:function(){i.default.register(d,!0)}}]),e}(s.default);e.FormulaBlot=d,e.default=f},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=l(n(0)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);d.className="ql-syntax";var f=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),p=function(t){function e(t,n){u(this,e);var o=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof o.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return o.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){o.highlight(),r=null}),o.options.interval)})),o.highlight(),o}return h(e,t),o(e,null,[{key:"register",value:function(){i.default.register(f,!0),i.default.register(d,!0)}}]),o(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(i.default.sources.SILENT),null!=e&&this.quill.setSelection(e,i.default.sources.SILENT)}}}]),e}(s.default);p.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=d,e.CodeToken=f,e.default=p},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var o=function t(e,n,o){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=h(n(3)),i=h(n(8)),s=n(43),l=h(s),u=n(15),c=h(n(41));function h(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(t){function e(t,n){d(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var o=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.container.classList.add("ql-bubble"),o}return p(e,t),r(e,[{key:"extendToolbar",value:function(t){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),c.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),c.default)}}]),e}(l.default);g.DEFAULTS=(0,a.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(t){function e(t,n){d(this,e);var o=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.quill.on(i.default.events.EDITOR_CHANGE,(function(t,e,n,r){if(t===i.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===i.default.sources.USER){o.show(),o.root.style.left="0px",o.root.style.width="",o.root.style.width=o.root.offsetWidth+"px";var a=o.quill.getLines(e.index,e.length);if(1===a.length)o.position(o.quill.getBounds(e));else{var s=a[a.length-1],l=o.quill.getIndex(s),c=Math.min(s.length()-1,e.index+e.length-l),h=o.quill.getBounds(new u.Range(l,c));o.position(h)}}else document.activeElement!==o.textbox&&o.quill.hasFocus()&&o.hide()})),o}return p(e,t),r(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=m,e.default=g},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()})),Lc=ai((function(t,e){var n;t.exports=(n=Ec,function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=2)}([function(t,e){t.exports=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),r=n.n(o),a=n(6),i=n(5)(r.a,a.a,!1,null,null,null);e.default=i.exports},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.quillEditor=e.Quill=void 0;var r=o(n(0)),a=o(n(1)),i=window.Quill||r.default,s=function(t,e){e&&(a.default.props.globalOptions.default=function(){return e}),t.component(a.default.name,a.default)},l={Quill:i,quillEditor:a.default,install:s};e.default=l,e.Quill=i,e.quillEditor=a.default,e.install=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(0)),a=o(n(3)),i=window.Quill||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),o=1;o<arguments.length;o++){var r=arguments[o];if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])}return n},writable:!0,configurable:!0}),e.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:a.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new i(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)})),this.quill.on("text-change",(function(e,n,o){var r=t.$refs.editor.children[0].innerHTML,a=t.quill,i=t.quill.getText();"<p><br></p>"===r&&(r=""),t._content=r,t.$emit("input",t._content),t.$emit("change",{html:r,text:i,quill:a})})),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(t,e){t.exports=function(t,e,n,o,r,a){var i,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(i=t,s=t.default);var u,c="function"==typeof s?s.options:s;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId=r),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=o),u){var h=c.functional,d=h?c.render:c.beforeCreate;h?(c._injectStyles=u,c.render=function(t,e){return u.call(e),d(t,e)}):c.beforeCreate=d?[].concat(d,u):[u]}return{esModule:i,exports:s,options:c}}},function(t,e,n){var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quill-editor"},[t._t("toolbar"),t._v(" "),n("div",{ref:"editor"})],2)},r={render:o,staticRenderFns:[]};e.a=r}]))})),Bc={name:"PInput",components:{PFieldResizer:Sc,PSpinner:Cc,PIcon:j,quillEditor:Lc.quillEditor},props:{id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},value:{type:[String,Number,Object,Array,Boolean,FileList],default:null},type:r({type:String},C("type",["text","email","number","password","search","tel","url","date","datetime-local","month","time","week","currency","file"])),align:{type:String},placeholder:{type:String},multiline:{type:[Boolean,Number]},richEditor:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},showInput:{type:Boolean,default:!0},clearable:{type:Boolean},showCharacterCount:{type:Boolean},prefixClass:{type:String},autoFocus:{type:Boolean},autoComplete:{type:Boolean},labelClass:{type:String},inputClass:{type:String},suffix:{type:String},prefix:{type:String},name:{type:String},hasError:{type:Boolean},maxLength:{type:[String,Number]},minLength:{type:[String,Number]},step:{type:Number},minHeight:{type:Number,default:0},min:{type:[String,Number]},max:{type:[String,Number]},describedBy:{type:String},multiple:{type:Boolean},accept:{type:String},label:{type:String},floatingLabel:{type:Boolean}},data:function(){return{content:null!==this.value?this.value:"",height:this.minHeight,editorConfig:{modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]},"blockquote"],["bold","italic","underline",{color:[]},{background:[]}],[{align:[]}],["link","image","video"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},"clean"]],syntax:{highlight:function(t){return t}}}},characterCountLabel:this.maxLength||"characterCountLabel",characterCount:this.value&&this.value.length}},computed:{className:function(){return g("Polaris-TextField",Boolean(this.content)&&"Polaris-TextField--hasValue",this.disabled&&"Polaris-TextField--disabled",this.readOnly&&"Polaris-TextField--readOnly",this.hasError&&"Polaris-TextField--error")},inputClassName:function(){return g(this.floatingLabel?"Polaris-FloatingLabels__Input":"Polaris-TextField__Input",this.inputClass,this.align&&"Polaris-TextField__Input Polaris-TextField__Input--align".concat(this.textAlign),this.floatingLabel&&this.multiline&&"Polaris-FloatingLabel__TextArea",this.floatingLabel&&this.showPrefix&&"Polaris-FloatingLabels__Input--prefix",this.floatingLabel&&this.showSuffix&&"Polaris-FloatingLabels__Input--suffix",(this.showCharacterCount||"number"===this.type)&&"Polaris-FloatingLabels__Input--number",this.floatingLabel&&this.hasError&&"Polaris-FloatingLabels__Input--error")},characterCountClassName:function(){return g("Polaris-TextField__CharacterCount",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},clearButtonClassName:function(){return g("Polaris-TextField__ClearButton",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},floatingLabelClassName:function(){return g("Polaris-Floating--label","Polaris-Floating--label--visible",this.showPrefix&&"Polaris-Floating--label__prefix",this.showSuffix&&"Polaris-Floating--label__suffix")},characterCountText:function(){return this.maxLength?"".concat(this.characterCount,"/").concat(this.maxLength):this.characterCount},inputType:function(){return"currency"===this.type?"text":this.type},showPrefix:function(){return this.prefix||this.$slots.prefix},showSuffix:function(){return this.suffix||this.$slots.suffix},textAlign:function(){return this.align.replace(/^_*(.)|_+(.)/g,(function(t,e,n){return e?e.toUpperCase():" "+n.toUpperCase()}))},labelledBy:function(){var t=[this.id+"Label"];return this.showPrefix&&t.push(this.id+"Prefix"),this.showSuffix&&t.push(this.id+"Suffix"),t.join(" ")},computedHeight:{get:function(){return this.height},set:function(t){this.height=t}},computedValue:{get:function(){return"number"===this.type?Number(this.content):this.content},set:function(t){"number"===this.type?this.content=Number(t):this.content=t,this.$emit("input","number"===this.type?Number(t):t)}},computedStyle:function(){return{height:this.multiline&&this.computedHeight?this.computedHeight+"px":null,overflow:this.multiline&&this.computedHeight?"hidden":null}},computedPlaceholder:function(){return this.floatingLabel?"Enter input":this.placeholder}},methods:{onInput:function(t){"file"!==this.type?t.target&&(this.computedValue=t.target.value):this.computedValue=t.target.files},onClear:function(t){this.computedValue=void 0},handleNumberChange:function(t){var e=this.computedValue?parseFloat(this.computedValue):0,n=function(t){return(t.toString().split(".")[1]||[]).length};if(!isNaN(e)&&!this.disabled){var o=this.min||-1/0,r=this.max||1/0,a=this.step||1,i=Math.max(n(e),n(a)),s=Math.min(Number(r),Math.max(e+t*a,Number(o)));isNaN(s)||(this.computedValue=s.toFixed(i))}},handleExpandingResize:function(t){this.computedHeight=t<this.minHeight?this.minHeight:t},normalizeAutoComplete:function(t){return!0===t?"on":!1===t?"off":t}},watch:{value:function(t,e){this.content=t,this.characterCount=t?t.length:0}}},Nc=Bc,Hc=function(t){t&&t("data-v-1f41cf22_0",{source:'.ql-container.ql-snow{background:#fff}.ql-toolbar.ql-snow{background:#fafafa;padding:5px}.quill-editor.editor{width:100%}.ql-snow .ql-picker{font-weight:400}.ql-toolbar.ql-snow>.ql-formats:not(:first-child):before{content:"";height:calc(100% + 4px);width:1px;background:#c4c4c4;position:absolute;display:block;top:-2px;left:-10px}.ql-toolbar.ql-snow .ql-formats{position:relative;margin-right:10px;margin-left:10px}',map:void 0,media:void 0})},Rc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showInput,expression:"showInput"}],class:t.className},[t.showPrefix?n("div",{staticClass:"Polaris-TextField__Prefix",attrs:{id:t.id+"Prefix"}},[t._v("\n "+t._s(t.prefix)+"\n "),t.$slots.prefix?t._t("prefix"):t._e()],2):t._e(),t._v(" "),n("div",{staticStyle:{width:"100%"}},[t.richEditor?n("quill-editor",{ref:"myTextEditor",staticClass:"editor",attrs:{id:t.id,options:t.editorConfig,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{input:t.onInput},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}}):t.multiline?n("textarea",{class:t.inputClassName,style:t.computedStyle,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,minlength:t.minLength,maxlength:t.maxLength,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue,textContent:t._s(t.multiline?t.computedValue:"")},on:{input:t.onInput}}):"file"===t.type?n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,type:"file",multiple:t.multiple,accept:t.accept,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{change:t.onInput}}):n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),min:t.min,max:t.max,step:t.step,minlength:t.minLength,maxlength:t.maxLength,type:t.inputType,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue},on:{input:t.onInput}}),t._v(" "),t.floatingLabel&&!t.richEditor&&"file"!==t.type?n("label",{class:t.floatingLabelClassName,attrs:{for:t.id}},[t._t("label",(function(){return[t._v("\n "+t._s(t.label)+"\n ")]}))],2):t._e(),t._v(" "),t.richEditor?t._e():n("div",{staticClass:"Polaris-TextField__Backdrop"})],1),t._v(" "),t.showSuffix?n("div",{staticClass:"Polaris-TextField__Suffix",attrs:{id:t.id+"Suffix"}},[t._v("\n "+t._s(t.suffix)+"\n "),t.$slots.suffix?t._t("suffix"):t._e()],2):t._e(),t._v(" "),t.showCharacterCount?n("div",{class:t.characterCountClassName,attrs:{id:"CharacterCounter","aria-label":t.characterCountLabel}},[t._v("\n "+t._s(t.characterCountText)+"\n ")]):t._e(),t._v(" "),t.computedValue&&t.clearable?n("button",{class:t.clearButtonClassName,attrs:{type:"button"},on:{click:t.onClear}},[n("span",{staticClass:"Polaris-VisuallyHidden"},[t._v("Clear")]),t._v(" "),n("PIcon",{attrs:{source:"CircleCancelMinor",color:"base"}})],1):t._e(),t._v(" "),"number"===t.type?n("PSpinner",{on:{change:t.handleNumberChange}}):t._e(),t._v(" "),t.multiline?n("PFieldResizer",{attrs:{contents:t.value||t.placeholder,"current-height":t.computedHeight,"minimum-lines":"number"==typeof t.multiline?t.multiline:1},on:{heightchange:t.handleExpandingResize}}):t._e()],1)},staticRenderFns:[]},Hc,Nc,undefined,false,undefined,!1,Xu,void 0,void 0),Vc=Rc,Ic={name:"PConnectedItem",props:{position:r({type:String},C("position",["Left","Primary","Right"])),children:{type:String},focused:{type:Boolean}},computed:{className:function(){return g("Polaris-Connected__Item",this.focused&&"Polaris-Connected__Item--focused","Primary"===this.position&&"Polaris-Connected__Item--primary","Primary"!==this.position&&"Polaris-Connected__Item--connection")}}},qc=Ic,Fc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[!t.floatingLabel&&(t.label||t.emptyLabel||t.$slots.hasOwnProperty("label"))?n("div",{staticClass:"Polaris-Labelled__LabelWrapper",class:t.labelClass},[t._t("label",(function(){return[n("div",{staticClass:"Polaris-Label"},[n("label",{staticClass:"Polaris-Label__Text",attrs:{id:t.id+"Label",for:t.id},domProps:{innerHTML:t._s(t.emptyLabel?"&nbsp":t.label)}})])]}))],2):t._e(),t._v(" "),t.connected?n("PConnected",[t.$slots.hasOwnProperty("connectedLeft")?n("template",{slot:"left"},[t._t("connectedLeft",(function(){return[t._v(t._s(t.connectedLeft))]}))],2):t._e(),t._v(" "),t.$slots.hasOwnProperty("connectedRight")?n("template",{slot:"right"},[t._t("connectedRight",(function(){return[t._v(t._s(t.connectedRight))]}))],2):t._e(),t._v(" "),n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2)],2):n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id,floatingLabel:t.floatingLabel,label:t.label}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("label",null,{slot:"label"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2),t._v(" "),t.helpText?n("div",{staticClass:"Polaris-Labelled__HelpText"},[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t._t("error",(function(){return[t.error?n("PFieldError",{attrs:{error:t.error}}):t._e()]}))],2)},staticRenderFns:[]},(function(t){t&&t("data-v-0b34995c_0",{source:".ck.ck-editor{position:relative;width:100%}",map:void 0,media:void 0})}),{name:"PTextField",components:{PInput:Vc,PConnected:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Connected"},[t.$slots.left||t.left?n("PConnectedItem",{attrs:{position:"Left"}},[t._t("left",(function(){return[t._v(t._s(t.left))]}))],2):t._e(),t._v(" "),n("PConnectedItem",{attrs:{position:"Primary"}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v("\n "+t._s(t.children)+"\n ")]})),t._v(" "),t._t("children")],2),t._v(" "),t.$slots.right||t.right?n("PConnectedItem",{attrs:{position:"Right"}},[t._t("right",(function(){return[t._v(t._s(t.right))]}))],2):t._e()],1)},staticRenderFns:[]},undefined,{name:"PConnected",components:{PConnectedItem:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,on:{blur:function(e){t.focused=!1},focus:function(e){t.focused=!0}}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v(t._s(t.children))]})),t._v(" "),t._t("children")],2)},staticRenderFns:[]},undefined,qc,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{left:{type:String},right:{type:String},children:{type:String}}},undefined,false,undefined,!1,void 0,void 0,void 0),PFieldError:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Labelled__Error"},[n("div",{staticClass:"Polaris-InlineError",attrs:{id:"PolarisTextField6Error"}},[n("div",{staticClass:"Polaris-InlineError__Icon"},[n("PIcon",{attrs:{source:"AlertMinor"}})],1),t._v("\n "+t._s(t.error)+"\n ")])])},staticRenderFns:[]},undefined,{name:"PFieldError",components:{PIcon:j},props:{error:{type:String,default:null}}},"data-v-4535eab1",false,undefined,!1,void 0,void 0,void 0)},props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},labelClass:{type:String,default:null},helpText:{type:String,default:null},connectedLeft:{type:String,default:null},connectedRight:{type:String,default:null},connected:{type:Boolean,default:!1},error:{type:String,default:null},labelHidden:{type:Boolean,default:!1},emptyLabel:{type:Boolean,default:!1},richEditor:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},accept:{type:String,default:null},type:{type:String},floatingLabel:{type:Boolean,default:!1},readOnly:{type:Boolean}},computed:{className:function(){return g(this.computedLabelHidden&&"Polaris-Labelled--hidden",this.floatingLabel&&!this.richEditor&&"file"!==this.type&&"Polaris-Floating")},labelClassName:function(){return g(!this.floatingLabel&&"Polaris-Labelled__LabelWrapper")},computedLabelHidden:function(){return this.floatingLabel||this.labelHidden}},methods:{handleInput:function(t){this.$emit("input",t)}}},undefined,false,undefined,!1,Xu,void 0,void 0),Dc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className},[n("span",{staticClass:"Polaris-Tag__TagText",attrs:{title:t.tag.value}},[t._v(t._s(t.tag.value))]),t._v(" "),t.removable?n("button",{staticClass:"Polaris-Tag__Button",attrs:{type:"button","aria-label":"Remove "+t.tag.value},on:{click:t.handleRemove}},[n("PIcon",{attrs:{source:"CancelSmallMinor"}})],1):t._e()])},staticRenderFns:[]},undefined,{name:"PTag",components:{PIcon:j},props:{tag:r({type:Object,default:function(){return{}}},I("tag",{value:{type:[String,Number],required:!0},key:{type:[String,Number],required:!0}})),removable:{type:Boolean,default:!1},size:r({type:String,default:"medium"},C("size",["small","medium",null,""]))},computed:{className:function(){return g("Polaris-Tag",this.removable&&"Polaris-Tag--removable","small"===this.size&&"Polaris-Tag--small")}},methods:{handleRemove:function(){this.$emit("remove-tag",this.tag.key)}}},undefined,false,undefined,!1,void 0,void 0,void 0),Uc=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Item"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PFilterItem"},undefined,false,undefined,!1,void 0,void 0,void 0),$c={key:{type:String,required:!0},label:{type:String,required:!0},filter:{type:String,required:!0},shortcut:Boolean,disabled:Boolean,hideClearButton:Boolean},Wc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"Polaris-Filters"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Wrapper"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl Polaris-Filters-ConnectedFilterControl--right"},[t.hideQueryField?t._e():n("PFilterItemWrapper",{attrs:{position:"center"}},[n("PTextField",t._g({attrs:{id:"Polaris-Input-Filter",connected:"",labelHidden:"",showPrefix:"",showClearButton:"",placeholder:t.queryPlaceholder||t.resourceTitle||t.resource,value:t.queryValue||t.inputFilter,autoFocus:t.focused,label:t.queryPlaceholder||t.resourceTitle||t.resource,clearable:"",disabled:t.disabled},on:{input:t.handleQueryChange,blur:t.handleQueryBlur,focus:t.handleQueryFocus}},t.$listeners),[n("PIcon",{attrs:{slot:"prefix",source:"SearchMinor"},slot:"prefix"})],1)],1),t._v(" "),t.$slots.hasOwnProperty("default")?n("PFilterItemWrapper",{attrs:{position:"right"}},[t._t("default")],2):t._e()],1),t._v(" "),n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__AuxiliaryContainer"},[t._t("auxiliaryContainer")],2)]),t._v(" "),t.hideTags?t._e():n("div",{staticClass:"Polaris-Filters__TagsContainer"},t._l(t.appliedFilters,(function(e,o){return n("PTag",t._g({key:o,attrs:{removable:"",tag:e}},t.$listeners))})),1)])])},staticRenderFns:[]},undefined,{name:"PFilter",components:{PTextField:Fc,PIcon:j,PTag:Dc,PFilterItemWrapper:y({},undefined,{name:"PFilterItemWrapper",props:{position:{type:String}},computed:{className:function(){return g("center"===this.position&&"Polaris-Filters-ConnectedFilterControl__CenterContainer","right"===this.position&&"Polaris-Filters-ConnectedFilterControl__RightContainer")}},render:function(t){return t("div",{class:this.className},te.wrapNodesWithComponent(t,this.$slots.default,Uc))}},undefined,undefined,undefined,!1,void 0,void 0,void 0)},props:{resourceName:r({type:Object,default:function(){return{}}},I("resourceName",{singular:{type:String,required:!0},plural:{type:String,required:!0}})),resourceTitle:{type:String,default:null},inputFilter:{type:String,default:null},appliedFilters:{type:Array,default:function(){return[]}},queryValue:{type:String,default:null},queryPlaceholder:{type:String,default:null},focused:{type:Boolean,default:!1},filters:r({type:Array,default:function(){return[]}},H("filters",$c)),disabled:{type:Boolean,default:!1},helpText:{type:String,default:null},hideTags:{type:Boolean,default:!1},hideQueryField:{type:Boolean,default:!1}},data:function(){return{appliedFiltersCount:this.appliedFilters?this.appliedFilters.length:0}},computed:{prefix:function(){return this.resourceName.plural?"".concat(this.resourceName.plural.toLowerCase()):this.resourceName.plural},resource:function(){var t=this.resourceName;return t.plural?"Filter "+t.plural.toLowerCase():t.singular?"Filter "+t.singular.toLowerCase():""}},methods:{handleQueryChange:function(t){this.$emit("queryChange",t)},handleQueryClear:function(){this.$emit("queryClear")},handleQueryClearAll:function(){this.$emit("queryClearAll")},handleQueryBlur:function(){this.$emit("queryBlur")},handleQueryFocus:function(){this.$emit("queryFocus")}},mounted:function(){null!=this.resourceTitle&&console.error("Deprecation Notice: `resourceTitle` will be removed in version 4.0.0, use `resourceName` instead."),null!=this.inputFilter&&console.error("Deprecation Notice: `inputFilter` will be removed in version 4.0.0, use `queryValue` instead.")}},undefined,false,undefined,!1,void 0,void 0,void 0),Zc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Card__Header"},[n("PStack",{attrs:{alignment:"baseline"}},[n("PStackItem",{attrs:{fill:""}},[t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}))],2),t._v(" "),n("PStackItem",[t.actions?n("PButtonGroup",{attrs:{connectedTop:""}},t._l(t.actions,(function(e,o){return n(e.to?"PLink":"PButton",t._g({key:o,tag:"component",attrs:{plain:"",href:e.url?e.url:null,to:e.to?e.to:null}},e.onAction?{click:e.onAction}:{}),[t._v("\n "+t._s(e.content)+"\n ")])})),1):t._e()],1),t._v(" "),t.$slots.hasOwnProperty("children")?n("PStackItem",[t._t("children")],2):t._e()],1),t._v(" "),n("PStack",[n("PStackItem",[n("span",{staticClass:"Polaris-Card__TagLine"},[[t._t("short_description",(function(){return[t._v("\n "+t._s(t.shortDescription)+"\n ")]}))]],2)])],1)],1)},staticRenderFns:[]},undefined,{name:"PCardHeader",components:{PStack:$u,PStackItem:Uu,PHeading:nt,PButtonGroup:ne,PButton:et,PLink:sc},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},actions:{type:[Array,String],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),Gc=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.title||t.$slots.hasOwnProperty("title")?n("div",{staticClass:"Polaris-Card__SectionHeader"},[t._t("title",(function(){return[n("PSubheading",t._b({},"PSubheading",t.$attrs,!1),[t._v("\n "+t._s(t.title)+"\n ")])]}))],2):t._e(),t._v(" "),t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardSection",components:{PSubheading:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PSubheading",props:{element:r({type:String,default:"h3"},C("element",["h1","h2","h3","h4","h5","h6","p"]))},computed:{className:function(){return"Polaris-Subheading"}}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subdued:{type:Boolean},fullWidth:{type:Boolean}},computed:{className:function(){return g("Polaris-Card__Section",this.subdued&&"Polaris-Card__Section--subdued",this.fullWidth&&"Polaris-Card__Section--fullWidth")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Kc={name:"PEmptyState",components:{PImage:Hu,PCard:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.$slots.hasOwnProperty("title")||t.title||t.$slots.hasOwnProperty("short_description")||t.shortDescription?[n("PCardHeader",{attrs:{actions:t.actions}},[t.$slots.hasOwnProperty("title")||t.title?t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}),{slot:"title"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("short_description")||t.shortDescription?t._t("short_description",(function(){return[n("PCaption",[t._v(t._s(t.shortDescription))])]}),{slot:"short_description"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("children")?n("template",{slot:"children"},[t._t("children")],2):t._e()],2)]:t._e(),t._v(" "),t.$slots.hasOwnProperty("default")?[t.sectioned?[n("PCardSection",[t._t("default")],2)]:[t._t("default")]]:n("div",[t._t("default")],2),t._v(" "),t.$slots.hasOwnProperty("footer")?[n("PCardFooter",[t._t("footer")],2)]:t._e()],2)},staticRenderFns:[]},undefined,{name:"PCard",components:{PCardFooter:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Card__Footer"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardFooter"},undefined,false,undefined,!1,void 0,void 0,void 0),PCardHeader:Zc,PCardSection:Gc,PHeading:nt,PCaption:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"Polaris-Caption",attrs:{id:t.id}},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCaption",props:{id:{type:[String,Number],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),PButtonGroup:ne,PLink:sc},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},subdued:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},actions:{type:[Array,String],default:null}},computed:{className:function(){return g("Polaris-Card",this.subdued&&"Polaris-Card__Section--subdued")}}},undefined,false,undefined,!1,void 0,void 0,void 0),PCardSection:Gc,PTextContainer:Zu,PDisplayText:Nu,PStack:$u,PStackItem:Uu,PButton:et},props:{heading:{type:String,default:null},fullWidth:{type:Boolean,default:!1},imageContained:{type:Boolean,default:!1},image:{type:String,default:null},primaryAction:r({type:Object,default:function(){return{}}},I("primaryAction",r(r({},D),U))),secondaryAction:r({type:Object,default:function(){return{}}},I("secondaryAction",Y))},computed:{className:function(){return g("Polaris-EmptyState","Polaris-EmptyState--withinContentContainer",this.fullWidth&&"Polaris-EmptyState--fullWidth",this.imageContained&&"Polaris-EmptyState--imageContained")},hasAction:function(){return this.primaryAction||this.secondaryAction}},methods:{styleClass:function(t){if("string"==typeof t){var e=["one","two","three","four","five","six"];return t?e[t.charCodeAt(0)%e.length]:e[0]}}}},Yc={content:{type:String,required:!0},value:{type:String,required:!0},type:{type:String,required:!0},sortable:Boolean,width:String},Xc={singular:{type:String,required:!0},plural:{type:String,required:!0}},Qc=["ascending","descending","none"],Jc={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:Qc}},th=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$slots.hasOwnProperty("filter")||t.hasFilter?n("PFilter",t._b({attrs:{resourceName:t.resource},on:{"remove-tag":t.onRemoveFilter,input:t.onFilterInputChanged}},"PFilter",t.$attrs,!1),[t.$slots.hasOwnProperty("filter")?t._t("filter"):t._e(),t._v(" "),n("template",{slot:"auxiliaryContainer"},[t._t("auxiliaryContainer")],2)],2):t._e(),t._v(" "),t.rows.length>0||t.$slots.hasOwnProperty("body")?n("div",{staticClass:"Polaris-DataTable"},[n("div",{staticClass:"Polaris-DataTable__ScrollContainer"},[n("table",{staticClass:"Polaris-DataTable__Table"},[n("thead",{ref:"thead"},[t._t("head",(function(){return[[n("tr",[t._l(t.headings,(function(e,o){return n("PDataTableCellNew",{key:"heading-cell-"+o,attrs:{header:"",content:e.content,value:e.value,width:e.width,sort:t.sort,sortable:e.sortable,"default-sort-direction":t.defaultSortDirection,"content-type":e.type?e.type:t.columnContentTypes[o],"first-column":0===o,truncate:t.truncate,verticalAlign:t.verticalAlign},on:{"sort-changed":t.handleSortChange}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{header:"",content:"Actions",sortable:!1,contentType:"text",firstColumn:!1,truncate:!1,verticalAlign:t.verticalAlign}}):t._e()],2),t._v(" "),t.showTotalsInFooter?t._e():n("tr",[t._l(t.totals,(function(e,o){return n("PDataTableCellNew",{key:"total-cell-"+o,attrs:{total:"",value:0===o?t.totalsRowHeading:e,"content-type":""!==e&&o>0?"numeric":t.columnContentTypes[o],"first-column":0===o,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]]}))],2),t._v(" "),t._t("tbody",(function(){return[n("tbody",{ref:"tbody"},[t.loading?[n("tr",{staticClass:"Polaris-ResourceList__SpinnerContainer",style:{"padding-top":t.topPadding+"px"}},[n("PSpinner",{attrs:{size:!t.$slots.hasOwnProperty("body")&&t.rows.length<2?"small":"large"}})],1),t._v(" "),n("tr",{staticClass:"Polaris-ResourceList__LoadingOverlay"})]:t._e(),t._v(" "),t._t("body",(function(){return[t.hasOldRows?t._l(t.rows,(function(e,o){return n("tr",{key:"row-"+o,staticClass:"Polaris-DataTable__TableRow"},[t._l(e,(function(e,r){return n("PDataTableCell",{key:"cell-"+r+"-row-"+o,attrs:{content:"object"!==a(e)?e:e.content,action:e.url||e.to||e.onAction?e:null,toggle:"boolean"==typeof e.status&&e.onAction?e:null,badge:"object"!==a(e)||e.url||e.to||e.onAction?null:e,contentType:t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],firstColumn:0===r,truncate:t.truncate,verticalAlign:t.verticalAlign}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{actions:t.actions,value:t.ids[o],verticalAlign:t.verticalAlign}}):t._e()],2)})):[t._l(t.rows,(function(e){return[t._t("item",(function(){return[n("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._l(t.headings,(function(o,r){return[n("PDataTableCellNew",{attrs:{value:e[o.value],"header-value":o.value,"first-column":0===r,"content-type":t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1},scopedSlots:t._u([{key:"item."+o.value,fn:function(n){return[t._t("item."+o.value,null,{item:e})]}}],null,!0)})]}))],2)]}),{item:e})]}))]]}))],2)]})),t._v(" "),t.showTotalsInFooter?n("tfoot",[n("tr",[t._l(t.totals,(function(e,o){return n("PDataTableCellNew",{key:"total-cell-"+o,attrs:{total:"","total-in-footer":t.showTotalsInFooter,value:0===o?t.totalsRowHeading:e,"content-type":""!==e&&o>0?"numeric":t.columnContentTypes[o],"first-column":0===o,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]):t._e()],2)]),t._v(" "),t.footerContent||t.$slots.footer?n("div",{staticClass:"Polaris-DataTable__Footer"},[t._t("footer",(function(){return[t._v("\n "+t._s(t.footerContent)+"\n ")]}))],2):t._e(),t._v(" "),t.hasPagination?n("div",{staticClass:"Polaris-DataTable__Pagination"},[n("PPagination",t._b({},"PPagination",t.pagination,!1))],1):t._e()]):n("div",[t._t("emptyState",(function(){return[n("PEmptyState",{attrs:{heading:t.emptyStateTitle,image:t.emptyStateImage}})]}))],2)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-157a18b9_0",{source:".Polaris-DataTable__Pagination[data-v-157a18b9]{text-align:center;padding:1.6rem;border-top:.1rem solid #e1e3e5;border-bottom-left-radius:.4rem;border-bottom-right-radius:.4rem}",map:void 0,media:void 0})}),{name:"PDataTable",components:{PDataTableCellNew:oc,PPagination:Ou,PFilter:Wc,PSpinner:k,PEmptyState:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PCard",[n("PCardSection",[n("div",{class:t.className},[n("div",{staticClass:"Polaris-EmptyState__Section"},[n("div",{staticClass:"Polaris-EmptyState__DetailsContainer"},[n("div",{staticClass:"Polaris-EmptyState__Details"},[n("PTextContainer",[n("PDisplayText",{attrs:{size:"small"}},[t._t("heading",(function(){return[t._v("\n "+t._s(t.heading)+"\n ")]}))],2),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__Content"},[t._t("default")],2)],1),t._v(" "),t.hasAction?n("div",{staticClass:"Polaris-EmptyState__Actions"},[t._t("actions",(function(){return[n("PStack",{attrs:{spacing:"tight",distribution:"center",alignment:"center"}},[Object.keys(t.primaryAction).length>0?n("PStackItem",[n("PButton",{attrs:{primary:""},on:{click:function(e){return t.primaryAction.onAction()}}},[t._v(t._s(t.primaryAction.content))])],1):t._e(),t._v(" "),Object.keys(t.secondaryAction).length>0?n("PStackItem",[n("PButton",{on:{click:function(e){return t.secondaryAction.onAction()}}},[t._v(t._s(t.secondaryAction.content))])],1):t._e()],1)]}))],2):t._e(),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__FooterContent"},[t._t("footer")],2)],1)]),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__ImageContainer"},[t._t("image",(function(){return[n("PImage",{staticClass:"Polaris-EmptyState__Image",attrs:{source:t.image}})]}))],2)])])])],1)},staticRenderFns:[]},undefined,Kc,undefined,false,undefined,!1,void 0,void 0,void 0),PDataTableCell:Mc},props:{columnContentTypes:{type:Array,default:function(){return[]}},defaultSortDirection:r({type:String,default:"ascending"},C("defaultSortDirection",Qc)),footerContent:{type:[String,Number,Object,Array]},headings:r({type:Array,default:function(){return[]}},H("headings",Yc)),rows:{type:Array,default:function(){return[[]]}},showTotalsInFooter:{type:Boolean,default:!1},totals:{type:Array,default:function(){return[]}},totalsName:r({type:Object,default:function(){return{}}},I("totalsName",Xc)),truncate:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"])),sort:r({type:Object,default:function(){return{}}},I("sort",Jc)),hasFilter:{type:Boolean,default:!1},hasPagination:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},pagination:{type:Object,default:function(){return{}}},emptyStateTitle:{type:String,default:"No record found!"},emptyStateImage:{type:String,default:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"},actions:{type:Array,default:function(){return[]}},ids:{type:Array,default:function(){return[]}},searchPlaceholder:{type:String,default:null}},data:function(){return{topPadding:8}},computed:{hasOldRows:function(){return this.rows.length>0&&this.rows[0].constructor===Array},hasActions:function(){return this.actions&&this.actions.length>0},resource:function(){return null!=this.searchPlaceholder?{singular:this.searchPlaceholder,plural:this.searchPlaceholder}:this.$attrs.resourceName},totalsRowHeading:function(){var t=Object.keys(this.totalsName).length>0?this.totalsName:{singular:"Total",plural:"Totals"};return this.totals.length>0&&this.totals.filter((function(t){return""!==t||a("number"!==t)})).length>1?t.plural:t.singular}},methods:{onRemoveFilter:function(t){this.$emit("filter-removed",t)},onFilterInputChanged:function(t){this.$emit("input-filter-changed",t)},handleSortChange:function(t,e){this.$emit("sort-changed",t,e)},handleDeprecations:function(){null!=this.searchPlaceholder&&console.error("Deprecation Notice: `searchPlaceholder` will be removed in version 4.0.0, use `resourceName` instead. Please check resourceName syntax here: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-filter--filter"),this.actions.length>0&&console.error("Deprecation Notice: `actions` will be removed in version 4.0.0, use `headings` with extra object. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row"),this.ids.length>0&&console.error("Deprecation Notice: `ids` will be removed in version 4.0.0. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row")}},mounted:function(){var t=0;if("undefined"!=typeof window&&this.$refs.hasOwnProperty("tbody")){var e=this.$refs.tbody.getBoundingClientRect(),n=Math.max(document.documentElement?document.documentElement.clientHeight:0,window.innerHeight||0),o=n-e.height,r=1===this.rows.length?28:45;t=o>0?(e.height-r)/2:(n-e.top-r)/2,t+=this.$refs.thead.getBoundingClientRect().height,this.topPadding=t>0?t:this.topPadding}this.handleDeprecations()}},"data-v-157a18b9",false,undefined,!1,Xu,void 0,void 0),eh={name:"AppManagerPlan",components:{YearlyPlanPromotion:Cu,PlanBanners:Au,PPage:Du,PStack:$u,PStackItem:Uu,PButton:et,PButtonGroup:ne,PHeading:nt,PLayout:Wu,PLayoutSection:_,PTextContainer:Zu,PDataTable:th,PDataTableCol:y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t._t("default")],2):n("td",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-7d902277_0",{source:"th[data-v-7d902277]:last-child{text-align:right}td[data-v-7d902277]:last-child{text-align:right}td:last-child>*[data-v-7d902277]{float:right}",map:void 0,media:void 0})}),{name:"PDataTableCol",props:{firstColumn:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},numeric:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},C("verticalAlign",["top","bottom","middle","baseline"]))},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.numeric&&"Polaris-DataTable__Cell--numeric",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))}}},"data-v-7d902277",false,undefined,!1,Xu,void 0,void 0),PDataTableRow:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDataTableRow"},"data-v-7a1bfd8a",false,undefined,!1,void 0,void 0,void 0),PIcon:j,PTextStyle:zu},props:["shop_domain"],data:function(){return{plan:{},plans:[],features:[],shopify_plan:"",default_plan_id:null,onboard:!0,subtitleContent:"",checkList:["60 days free trial"],selectedPlan:"monthly",monthlySelectedStyle:{height:"60px",backgroundColor:"#257f60",color:"#fff",position:"relative",right:"-5px",borderRadius:"8px",zIndex:1},yearlySelectedStyle:{height:"60px",backgroundColor:"#257f60",position:"relative",left:"-5px",borderRadius:"8px"},monthlyStyle:{height:"55px",backgroundColor:"#f0f8f5",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px",ZIndex:11},yearlyStyle:{color:"#258060",height:"55px",backgroundColor:"#f0f8f5",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"}}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},headings:function(){var t=["Plans & Features"];return this.plans.forEach((function(e){var n=e.name;e.price>0&&(n+=" ($".concat(e.price,"/mo)")),t.push(n)})),t},monthlyPlan:function(){var t=[];for(var e in this.plans)"EVERY_30_DAYS"===this.plans[e].interval&&t.push(this.plans[e]);return t},yearlyPlan:function(){var t=[];for(var e in this.plans)"ANNUAL"===this.plans[e].interval&&t.push(this.plans[e]);return t}},methods:{activePlanStyle:function(t){return[t.shopify_plans.includes(this.shop.shopify_plan)||!t.store_base_plan?{backgroundColor:"#f0f8f5",color:"#257f60"}:{}]},isCurrentPlan:function(t){return this.shop.plan&&(t.id===this.shop.plan.id||!t.is_custom&&t.base_plan===this.shop.plan.id)},isSamePlanInOtherInterval:function(t){return this.shop.plan&&t.shopify_plans===this.shop.plan.shopify_plans},format:function(t){return["double","integer"].includes(null==t?void 0:t.value_type)?"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format&&t.value<0?"Unlimited":t.value:["string","array"].includes(null==t?void 0:t.value_type)?t.value:void 0},calculateDiscountedPrice:function(t){return"percentage"===t.discount_type?t.price-t.price*t.discount/100:"amount"===t.discount_type?t.price-t.discount:void 0},getPlanUrl:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var o,r,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.shop.name,n.next=3,bu.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(t.id,"?shop=").concat(o)).catch((function(t){console.error(t)}));case 3:r=n.sent,(a=r.data.redirect_url)&&(window.top.location.href=a);case 6:case"end":return n.stop()}}),n)})))()},activePlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.activeWithoutPlan();case 2:!0===e.sent.data.status&&t.onboard&&(t.$emit("handlePlanSelect",{chose_later:!0}),t.onboard=!1);case 4:case"end":return e.stop()}}),e)})))()},activeWithoutPlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.post("".concat(t.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:t.shop.name,plan_id:t.shop.default_plan_id}).catch((function(t){console.error(t)}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},selectPlan:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.selectedPlan=t;case 1:case"end":return n.stop()}}),n)})))()},headerClasses:function(t){return{"Polaris-DataTable__Cell":!0,"Polaris-DataTable__Cell--header":!0,"Polaris-DataTable__Cell--verticalAlignMiddle":!0,"Polaris-DataTable__Cell--firstColumn":Boolean(t)}}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(t){console.error(t)}));case 2:return o=e.sent,t.features=o.data.features,t.features=t.features.sort((function(t,e){return parseInt(t.display_order)-parseInt(e.display_order)})),e.next=7,bu.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:{shop_domain:t.shop_domain}}).catch((function(t){console.error(t)}));case 7:r=e.sent,t.plans=r.data.plans,t.plans=t.plans.sort((function(t,e){return parseFloat(t.price)-parseFloat(e.price)})),t.plans&&t.plans[0].store_base_plan&&(t.subtitleContent="App plans are based on your existing shopify plan"),t.shopify_plan=r.data.shopify_plan,t.plan=r.data.plan,"ANNUAL"===(null===(n=t.plan)||void 0===n?void 0:n.interval)&&(t.selectedPlan="annually"),t.default_plan_id=r.data.default_plan_id,t.onboard=!t.plan;case 16:case"end":return e.stop()}}),e)})))()}},nh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PPage",{staticClass:"app-manager-plan-page custom-title",attrs:{title:"Choose plan",subtitle:t.subtitleContent}},[n("PStack",{attrs:{slot:"primaryAction"},slot:"primaryAction"},[n("PStackItem",{staticStyle:{"margin-top":"20px"}},[n("PButtonGroup",{staticClass:"btn-group",attrs:{segmented:""}},[t.monthlyPlan.length&&t.yearlyPlan.length?n("PButton",{style:"monthly"===t.selectedPlan?t.monthlySelectedStyle:t.monthlyStyle,on:{click:function(e){return t.selectPlan("monthly")}}},[n("p",{staticStyle:{"font-size":"17px","font-weight":"500"},attrs:{slot:"default"},slot:"default"},[t._v(t._s("Monthly"))])]):t._e(),t._v(" "),t.yearlyPlan.length&&t.monthlyPlan.length?n("PButton",{style:"annually"===t.selectedPlan?t.yearlySelectedStyle:t.yearlyStyle,attrs:{primary:"annually"===t.selectedPlan},on:{click:function(e){return t.selectPlan("annually")}}},[n("YearlyPlanPromotion")],1):t._e()],1)],1)],1),t._v(" "),n("hr",{staticStyle:{width:"100%","margin-right":"auto","margin-left":"auto","margin-bottom":"20px"}}),t._v(" "),n("PLayout",{staticClass:"custom-plan"},[n("PLayoutSection",[[[n("PDataTable",{staticClass:"plan-table"},[n("template",{slot:"head"},["monthly"===t.selectedPlan?n("PDataTableRow",{staticStyle:{"box-shadow":"none!important"}},[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s("features"))])]),t._v(" "),t._l(t.monthlyPlan,(function(e,o){return[n("PDataTableCol",{class:{"first-column":0===o,"plan-heading":!0,"last-column":o+1===t.monthlyPlan.length},style:t.activePlanStyle(e)},[n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(e.name))]),t._v(" "),e.discount&&e.discount>0?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculateDiscountedPrice(e)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s("mo"))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s("mo"))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s("mo"))])],1)])])]}))],2):n("PDataTableRow",[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s("features"))])]),t._v(" "),t._l(t.yearlyPlan,(function(e,o){return[n("PDataTableCol",{class:{"first-column":0===o,"plan-heading":!0,"last-column":o+1===t.yearlyPlan.length},style:t.activePlanStyle(e)},[n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(e.name))]),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s("year"))])],1)])]}))],2)],1),t._v(" "),n("template",{slot:"body"},[t._l(t.features,(function(e,o){return n("PDataTableRow",{key:"row-"+o},[n("PDataTableCol",[t._v(t._s(e.name))]),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(r,a){return n("PDataTableCol",{key:"cell-"+a+"-row-"+o,style:t.activePlanStyle(r)},[r.features?["boolean"===e.value_type?[r.features[e.uuid]?n("PIcon",{attrs:{color:"success",source:"TickMinor"}}):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]:[r.features[e.uuid]?n("span",[t._v(t._s(t.format(r.features[e.uuid])))]):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]]:[n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]],2)}))],2)})),t._v(" "),t.plans.length?n("PDataTableRow",{staticClass:"row-alignment"},[n("PDataTableCol"),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(e,o){return n("PDataTableCol",{key:"cell-"+o+"-row-plan",staticStyle:{"max-width":"0"}},[t.isCurrentPlan(e)?n("PButton",{attrs:{disabled:t.isCurrentPlan(e),"full-width":"",pressed:t.isCurrentPlan(e)}},[t._v("\n "+t._s("Current Plan")+"\n ")]):!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)?n("PButton",{attrs:{"full-width":"",primary:!0},on:{click:function(n){!e||t.getPlanUrl(e)}}},[t._v("\n "+t._s("Choose Plan")+"\n ")]):n("PButton",{attrs:{disabled:!0,"full-width":"",pressed:!0}},[t._v("\n "+t._s("Not applicable")+"\n ")]),t._v(" "),e.store_base_plan&&t.shop.plan&&e.shopify_plans.includes(t.shop.shopify_plan)&&!t.isCurrentPlan(e)?n("PTextContainer",{staticClass:"footer-note-container"},[!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)||t.isCurrentPlan(e)||t.isSamePlanInOtherInterval(e)?t._e():n("PTextStyle",{staticClass:"text-break"},[t._v("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan")])],1):t._e()],1)}))],2):t._e()],2)],2)]],t._v(" "),t.onboard&&!t.shop.has_plan?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:t.activePlan}},[t._v(t._s("I will choose the plan later"))])],1)],1):t._e()],2),t._v(" "),n("PlanBanners")],1)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-9d87510a_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager-plan-page .active{background:#f0f8f5}.app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:12px;border-bottom-left-radius:12px}.app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 12px}.app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager-plan-page .custom-plan table tbody tr td:last-child{border-right:0!important;border-bottom:0!important;text-align:center!important}.app-manager-plan-page .custom-plan table thead tr td:last-child{border-right:0!important;border-bottom:0!important;text-align:center!important}.app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager-plan-page .custom-plan table tbody tr:last-child td{border:0!important;background:0 0}.app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager-plan-page .custom-plan table tbody tr:last-child{background:0 0;opacity:1}.app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden}.app-manager-plan-page .plan-heading{padding-top:30px}.app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}",map:void 0,media:void 0})}),eh,undefined,false,undefined,!1,Xu,void 0,void 0),oh=Object.freeze({__proto__:null,Banners:Mu,AppManagerPlan:nh,PlanBanners:Au}),rh={baseUrl:""},ah=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.entries(oh).forEach((function(e){var n=h(e,2),o=n[0],r=n[1];t.component(o,r)})),t.prototype.app_manager_config=r(r({},rh),e)},ih=Object.freeze({__proto__:null,default:ah,Banners:Mu,AppManagerPlan:nh,PlanBanners:Au});return Object.entries(ih).forEach((function(t){var e=h(t,2),n=e[0],o=e[1];"default"!==n&&(ah[n]=o)})),ah}(Vue);