From 385d2e78b538ace04bdb08a472a397152400311a Mon Sep 17 00:00:00 2001 From: "PC-MIKELA\\Bartek" Date: Fri, 28 Jan 2022 13:48:12 +0100 Subject: [PATCH] GULP BUILD --- build/assets/js/vendor.min.js | 6 +- build/magico-account-home.html | 1073 +++++++++++++++ build/magico-account.html | 1195 +++++++++++++++++ build/magico-page-login.html | 201 +++ gulpfiles/build.js | 3 +- gulpfiles/paths.js | 3 + src/magico-account-home.html | 8 +- src/magico-account.html | 6 +- .../magico-account-menu.html | 0 .../magico-footer.html | 0 .../magico-topbar.html | 0 11 files changed, 2484 insertions(+), 11 deletions(-) create mode 100644 build/magico-account-home.html create mode 100644 build/magico-account.html create mode 100644 build/magico-page-login.html rename src/{magico-partials => magico_partials}/magico-account-menu.html (100%) rename src/{magico-partials => magico_partials}/magico-footer.html (100%) rename src/{magico-partials => magico_partials}/magico-topbar.html (100%) diff --git a/build/assets/js/vendor.min.js b/build/assets/js/vendor.min.js index ad42f55..c518620 100644 --- a/build/assets/js/vendor.min.js +++ b/build/assets/js/vendor.min.js @@ -43,12 +43,12 @@ function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e * @license: Htmlstream Libraries (https://htmlstream.com/) * Copyright 2021 Htmlstream */ -var i={parentSelector:null,targetSelector:null,classMap:{toggle:"video-player-played"},videoType:"you-tube",videoId:null,isAutoplay:!1,isMuted:!1,youTubeAPISrc:"//www.youtube.com/player_api",isYouTubeAPICreated:!1,vimeoAPISrc:"//player.vimeo.com/api/player.js",isVimeoAPICreated:!1},o=function(){function t(e,n,r){var i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.collection=[],i=e instanceof HTMLElement?[e]:e instanceof Object?e:document.querySelectorAll(e);for(var o=0;o\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tYour browser doesn\'t support HTML5 video tag.\n\t\t\t\t'))}},{key:"addToCollection",value:function(t,e,n){this.collection.push({$el:t,id:n||null,options:Object.assign({},i,t.hasAttribute("data-hs-video-player-options")?JSON.parse(t.getAttribute("data-hs-video-player-options")):{},e)})}},{key:"getItem",value:function(t){return"number"==typeof t?this.collection[t].$initializedEl:this.collection.find((function(e){return e.id===t})).$initializedEl}}])&&r(e.prototype,n),t}()}}).default}));var countdown=function(t){"use strict";var e=Math.ceil,n=Math.floor;function r(t,e){var n=t.getTime();return t.setMonth(t.getMonth()+e),Math.round((t.getTime()-n)/864e5)}function i(t){var e=t.getTime(),n=new Date(e);return n.setMonth(t.getMonth()+1),Math.round((n.getTime()-e)/864e5)}function o(t,e){if(e=e instanceof Date||null!==e&&isFinite(e)?new Date(+e):new Date,!t)return e;var n=+t.value||0;return n?(e.setTime(e.getTime()+n),e):((n=+t.milliseconds||0)&&e.setMilliseconds(e.getMilliseconds()+n),(n=+t.seconds||0)&&e.setSeconds(e.getSeconds()+n),(n=+t.minutes||0)&&e.setMinutes(e.getMinutes()+n),(n=+t.hours||0)&&e.setHours(e.getHours()+n),(n=+t.weeks||0)&&(n*=7),(n+=+t.days||0)&&e.setDate(e.getDate()+n),(n=+t.months||0)&&e.setMonth(e.getMonth()+n),(n=+t.millennia||0)&&(n*=10),(n+=+t.centuries||0)&&(n*=10),(n+=+t.decades||0)&&(n*=10),(n+=+t.years||0)&&e.setFullYear(e.getFullYear()+n),e)}var s,a,l,u,c,d,h,p;function f(t,e){return h(t)+(1===t?s[e]:a[e])}function m(){}function g(t,e,n,r,o,s){return t[n]>=0&&(e+=t[n],delete t[n]),(e/=o)+1<=1?0:t[r]>=0?(t[r]=+(t[r]+e).toFixed(s),function(t,e){switch(e){case"seconds":if(60!==t.seconds||isNaN(t.minutes))return;t.minutes++,t.seconds=0;case"minutes":if(60!==t.minutes||isNaN(t.hours))return;t.hours++,t.minutes=0;case"hours":if(24!==t.hours||isNaN(t.days))return;t.days++,t.hours=0;case"days":if(7!==t.days||isNaN(t.weeks))return;t.weeks++,t.days=0;case"weeks":if(t.weeks!==i(t.refMonth)/7||isNaN(t.months))return;t.months++,t.weeks=0;case"months":if(12!==t.months||isNaN(t.years))return;t.years++,t.months=0;case"years":if(10!==t.years||isNaN(t.decades))return;t.decades++,t.years=0;case"decades":if(10!==t.decades||isNaN(t.centuries))return;t.centuries++,t.decades=0;case"centuries":if(10!==t.centuries||isNaN(t.millennia))return;t.millennia++,t.centuries=0}}(t,r),0):e}function v(t,e){var n,r,o,s=g(t,0,"milliseconds","seconds",1e3,e);if(s&&((s=g(t,s,"seconds","minutes",60,e))&&(s=g(t,s,"minutes","hours",60,e))&&(s=g(t,s,"hours","days",24,e))&&(s=g(t,s,"days","weeks",7,e))&&(s=g(t,s,"weeks","months",i(t.refMonth)/7,e))&&(s=g(t,s,"months","years",(n=t.refMonth,r=n.getTime(),(o=new Date(r)).setFullYear(n.getFullYear()+1),Math.round((o.getTime()-r)/864e5)/i(t.refMonth)),e))&&(s=g(t,s,"years","decades",10,e))&&(s=g(t,s,"decades","centuries",10,e))&&(s=g(t,s,"centuries","millennia",10,e))))throw new Error("Fractional unit overflow")}function y(t,i,o,s,a,l){var u=new Date;if(t.start=i=i||u,t.end=o=o||u,t.units=s,t.value=o.getTime()-i.getTime(),t.value<0){var c=o;o=i,i=c}t.refMonth=new Date(i.getFullYear(),i.getMonth(),15,12,0,0);try{t.millennia=0,t.centuries=0,t.decades=0,t.years=o.getFullYear()-i.getFullYear(),t.months=o.getMonth()-i.getMonth(),t.weeks=0,t.days=o.getDate()-i.getDate(),t.hours=o.getHours()-i.getHours(),t.minutes=o.getMinutes()-i.getMinutes(),t.seconds=o.getSeconds()-i.getSeconds(),t.milliseconds=o.getMilliseconds()-i.getMilliseconds(),function(t){var i;for(t.milliseconds<0?(i=e(-t.milliseconds/1e3),t.seconds-=i,t.milliseconds+=1e3*i):t.milliseconds>=1e3&&(t.seconds+=n(t.milliseconds/1e3),t.milliseconds%=1e3),t.seconds<0?(i=e(-t.seconds/60),t.minutes-=i,t.seconds+=60*i):t.seconds>=60&&(t.minutes+=n(t.seconds/60),t.seconds%=60),t.minutes<0?(i=e(-t.minutes/60),t.hours-=i,t.minutes+=60*i):t.minutes>=60&&(t.hours+=n(t.minutes/60),t.minutes%=60),t.hours<0?(i=e(-t.hours/24),t.days-=i,t.hours+=24*i):t.hours>=24&&(t.days+=n(t.hours/24),t.hours%=24);t.days<0;)t.months--,t.days+=r(t.refMonth,1);t.days>=7&&(t.weeks+=n(t.days/7),t.days%=7),t.months<0?(i=e(-t.months/12),t.years-=i,t.months+=12*i):t.months>=12&&(t.years+=n(t.months/12),t.months%=12),t.years>=10&&(t.decades+=n(t.years/10),t.years%=10,t.decades>=10&&(t.centuries+=n(t.decades/10),t.decades%=10,t.centuries>=10&&(t.millennia+=n(t.centuries/10),t.centuries%=10)))}(t),function(t,e,i,o){var s=0;!(1024&e)||s>=i?(t.centuries+=10*t.millennia,delete t.millennia):t.millennia&&s++,!(512&e)||s>=i?(t.decades+=10*t.centuries,delete t.centuries):t.centuries&&s++,!(256&e)||s>=i?(t.years+=10*t.decades,delete t.decades):t.decades&&s++,!(128&e)||s>=i?(t.months+=12*t.years,delete t.years):t.years&&s++,!(64&e)||s>=i?(t.months&&(t.days+=r(t.refMonth,t.months)),delete t.months,t.days>=7&&(t.weeks+=n(t.days/7),t.days%=7)):t.months&&s++,!(32&e)||s>=i?(t.days+=7*t.weeks,delete t.weeks):t.weeks&&s++,!(16&e)||s>=i?(t.hours+=24*t.days,delete t.days):t.days&&s++,!(8&e)||s>=i?(t.minutes+=60*t.hours,delete t.hours):t.hours&&s++,!(4&e)||s>=i?(t.seconds+=60*t.minutes,delete t.minutes):t.minutes&&s++,!(2&e)||s>=i?(t.milliseconds+=1e3*t.seconds,delete t.seconds):t.seconds&&s++,1&e&&!(s>=i)||v(t,o)}(t,s,a,l)}finally{delete t.refMonth}return t}function _(t,e,n,r,i){var s;n=+n||222,r=r>0?r:NaN,i=i>0?i<20?Math.round(i):20:0;var a=null;"function"==typeof t?(s=t,t=null):t instanceof Date||(null!==t&&isFinite(t)?t=new Date(+t):("object"==typeof a&&(a=t),t=null));var l=null;if("function"==typeof e?(s=e,e=null):e instanceof Date||(null!==e&&isFinite(e)?e=new Date(+e):("object"==typeof e&&(l=e),e=null)),a&&(t=o(a,e)),l&&(e=o(l,t)),!t&&!e)return new m;if(!s)return y(new m,t,e,n,r,i);var u,c=function(t){return 1&t?1e3/30:2&t?1e3:4&t?6e4:8&t?36e5:16&t?864e5:6048e5}(n),d=function(){s(y(new m,t,e,n,r,i),u)};return d(),u=setInterval(d,c)}m.prototype.toString=function(t){var e=p(this),n=e.length;if(!n)return t?""+t:c;if(1===n)return e[0];var r=l+e.pop();return e.join(u)+r},m.prototype.toHTML=function(t,e){t=t||"span";var n=p(this),r=n.length;if(!r)return(e=e||c)?"<"+t+">"+e+"":e;for(var i=0;i"+n[i]+"";if(1===r)return n[0];var o=l+n.pop();return n.join(u)+o},m.prototype.addTo=function(t){return o(this,t)},p=function(t){var e=[],n=t.millennia;return n&&e.push(d(n,10)),(n=t.centuries)&&e.push(d(n,9)),(n=t.decades)&&e.push(d(n,8)),(n=t.years)&&e.push(d(n,7)),(n=t.months)&&e.push(d(n,6)),(n=t.weeks)&&e.push(d(n,5)),(n=t.days)&&e.push(d(n,4)),(n=t.hours)&&e.push(d(n,3)),(n=t.minutes)&&e.push(d(n,2)),(n=t.seconds)&&e.push(d(n,1)),(n=t.milliseconds)&&e.push(d(n,0)),e},_.MILLISECONDS=1,_.SECONDS=2,_.MINUTES=4,_.HOURS=8,_.DAYS=16,_.WEEKS=32,_.MONTHS=64,_.YEARS=128,_.DECADES=256,_.CENTURIES=512,_.MILLENNIA=1024,_.DEFAULTS=222,_.ALL=2047;var b=_.setFormat=function(t){if(t){if("singular"in t||"plural"in t){var e=t.singular||[];e.split&&(e=e.split("|"));var n=t.plural||[];n.split&&(n=n.split("|"));for(var r=0;r<=10;r++)s[r]=e[r]||s[r],a[r]=n[r]||a[r]}"string"==typeof t.last&&(l=t.last),"string"==typeof t.delim&&(u=t.delim),"string"==typeof t.empty&&(c=t.empty),"function"==typeof t.formatNumber&&(h=t.formatNumber),"function"==typeof t.formatter&&(d=t.formatter)}},w=_.resetFormat=function(){s=" millisecond| second| minute| hour| day| week| month| year| decade| century| millennium".split("|"),a=" milliseconds| seconds| minutes| hours| days| weeks| months| years| decades| centuries| millennia".split("|"),l=" and ",u=", ",c="",h=function(t){return t},d=f};return _.setLabels=function(t,e,n,r,i,o,s){b({singular:t,plural:e,last:n,delim:r,empty:i,formatNumber:o,formatter:s})},_.resetLabels=w,w(),t&&t.exports?t.exports=_:"function"==typeof window.define&&void 0!==window.define.amd&&window.define("countdown",[],(function(){return _})),_}(module),List;!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.HSTogglePassword=e():t.HSTogglePassword=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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="./src/js/hs-toggle-password.js")}({"./src/js/hs-toggle-password.js": +var i={parentSelector:null,targetSelector:null,classMap:{toggle:"video-player-played"},videoType:"you-tube",videoId:null,isAutoplay:!1,isMuted:!1,youTubeAPISrc:"//www.youtube.com/player_api",isYouTubeAPICreated:!1,vimeoAPISrc:"//player.vimeo.com/api/player.js",isVimeoAPICreated:!1},o=function(){function t(e,n,r){var i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.collection=[],i=e instanceof HTMLElement?[e]:e instanceof Object?e:document.querySelectorAll(e);for(var o=0;o\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tYour browser doesn\'t support HTML5 video tag.\n\t\t\t\t'))}},{key:"addToCollection",value:function(t,e,n){this.collection.push({$el:t,id:n||null,options:Object.assign({},i,t.hasAttribute("data-hs-video-player-options")?JSON.parse(t.getAttribute("data-hs-video-player-options")):{},e)})}},{key:"getItem",value:function(t){return"number"==typeof t?this.collection[t].$initializedEl:this.collection.find((function(e){return e.id===t})).$initializedEl}}])&&r(e.prototype,n),t}()}}).default})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.HSTogglePassword=e():t.HSTogglePassword=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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="./src/js/hs-toggle-password.js")}({"./src/js/hs-toggle-password.js": /*!**************************************!*\ !*** ./src/js/hs-toggle-password.js ***! \**************************************/ -/*! exports provided: default */function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _default; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/*\n* HSTogglePassword Plugin\n* @version: 1.0.0 (Sat, 30 Jul 2021)\n* @requires: tom-select 1.7.26\n* @author: HtmlStream\n* @event-namespace: .HSTogglePassword\n* @license: Htmlstream Libraries (https://htmlstream.com/)\n* Copyright 2021 Htmlstream\n*/\nvar dataAttributeName = \'data-hs-toggle-password-options\';\nvar defaults = {\n classChangeTarget: null,\n defaultClass: null,\n showClass: null,\n show: false\n};\n\nvar _default = /*#__PURE__*/function () {\n function _default(el, options, id) {\n _classCallCheck(this, _default);\n\n this.collection = [];\n var that = this;\n var elems;\n\n if (el instanceof HTMLElement) {\n elems = [el];\n } else if (el instanceof Object) {\n elems = el;\n } else {\n elems = document.querySelectorAll(el);\n }\n\n for (var i = 0; i < elems.length; i += 1) {\n that.addToCollection(elems[i], options, id || elems[i].id);\n }\n\n if (!that.collection.length) {\n return false;\n } // initialization calls\n\n\n that._init();\n\n return this;\n }\n\n _createClass(_default, [{\n key: "_init",\n value: function _init() {\n var that = this;\n\n for (var i = 0; i < that.collection.length; i += 1) {\n var _$el = void 0;\n\n var _options = void 0;\n\n if (that.collection[i].hasOwnProperty(\'$initializedEl\')) {\n continue;\n }\n\n _$el = that.collection[i].$el;\n _options = that.collection[i].options;\n\n if (Array.isArray(_options.target)) {\n (function () {\n var targets = [];\n\n _options.target.forEach(function (target) {\n targets.push(document.querySelector(target));\n });\n\n _options.target = targets;\n _options.classChangeTarget = _options.classChangeTarget ? document.querySelector(_options.classChangeTarget) : _options.target;\n })();\n } else {\n _options.target = document.querySelector(_options.target);\n _options.classChangeTarget = _options.classChangeTarget ? document.querySelector(_options.classChangeTarget) : _options.target;\n }\n\n if (_options.show) {\n _$el.type = "text";\n }\n\n that._toggleClass(_options, _options.show);\n\n that._showPassword(_$el, _options);\n }\n }\n }, {\n key: "_showPassword",\n value: function _showPassword(el, config) {\n var that = this,\n $target = config.target;\n\n if (Array.isArray($target)) {\n $target.forEach(function (target) {\n target.addEventListener(\'click\', function (event) {\n if (el.type === "password") {\n el.type = "text";\n\n that._toggleClass(config, true);\n } else {\n el.type = "password";\n\n that._toggleClass(config, false);\n }\n });\n });\n } else {\n $target.addEventListener(\'click\', function (event) {\n if (el.type === "password") {\n el.type = "text";\n\n that._toggleClass(config, true);\n } else {\n el.type = "password";\n\n that._toggleClass(config, false);\n }\n });\n }\n }\n }, {\n key: "_toggleClass",\n value: function _toggleClass(config) {\n var _this = this;\n\n var isShow = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var that = this,\n $target = config.classChangeTarget;\n\n if (Array.isArray($target)) {\n $target.forEach(function (target) {\n if (isShow) {\n _this._removeClasses(target, config.defaultClass);\n\n _this._addClasses(target, config.showClass);\n } else {\n _this._removeClasses(target, config.showClass);\n\n _this._addClasses(target, config.defaultClass);\n }\n });\n } else {\n if (isShow) {\n this._removeClasses($target, config.defaultClass);\n\n this._addClasses($target, config.showClass);\n } else {\n this._removeClasses($target, config.showClass);\n\n this._addClasses($target, config.defaultClass);\n }\n }\n }\n }, {\n key: "_addClasses",\n value: function _addClasses($target, classes) {\n if (classes && classes.trim().indexOf(\' \') != -1) {\n var array = classes.split(\' \');\n\n for (var i = 0, length = array.length; i < length; i++) {\n $target.classList.add(array[i]);\n }\n } else {\n $target.classList.add(classes);\n }\n }\n }, {\n key: "_removeClasses",\n value: function _removeClasses($target, classes) {\n if (classes && classes.trim().indexOf(\' \') != -1) {\n var array = classes.split(\' \');\n\n for (var i = 0, length = array.length; i < length; i++) {\n $target.classList.remove(array[i]);\n }\n } else {\n $target.classList.remove(classes);\n }\n }\n }, {\n key: "addToCollection",\n value: function addToCollection(item, options, id) {\n this.collection.push({\n $el: item,\n id: id || null,\n options: Object.assign({}, defaults, item.hasAttribute(dataAttributeName) ? JSON.parse(item.getAttribute(dataAttributeName)) : {}, options)\n });\n }\n }, {\n key: "getItem",\n value: function getItem(item) {\n if (typeof item === \'number\') {\n return this.collection[item].$initializedEl;\n } else {\n return this.collection.find(function (el) {\n return el.id === item;\n }).$initializedEl;\n }\n }\n }]);\n\n return _default;\n}();\n\n\n\n//# sourceURL=webpack://HSTogglePassword/./src/js/hs-toggle-password.js?')}}).default})),function(t,e){"object"==typeof exports&&void 0!==module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Shuffle=e()}(this,(function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n=e?a():o=setTimeout(a,e-t)),i};function a(){o=0,s=+new Date,i=t.apply(n,r),n=null,r=null}};function f(){}function m(t){return parseFloat(t)||0}var g=function(){function e(n,r){t(this,e),this.x=m(n),this.y=m(r)}return n(e,null,[{key:"equals",value:function(t,e){return t.x===e.x&&t.y===e.y}}]),e}(),v=function(){function e(n,r,i,o,s){t(this,e),this.id=s,this.left=n,this.top=r,this.width=i,this.height=o}return n(e,null,[{key:"intersects",value:function(t,e){return t.left2&&void 0!==arguments[2]?arguments[2]:window.getComputedStyle(t,null),r=m(n[e]);return x()||"width"!==e?x()||"height"!==e||(r+=m(n.paddingTop)+m(n.paddingBottom)+m(n.borderTopWidth)+m(n.borderBottomWidth)):r+=m(n.paddingLeft)+m(n.paddingRight)+m(n.borderLeftWidth)+m(n.borderRightWidth),r}var k={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function C(t,e){var n=Object.assign({},k,e),r=Array.from(t),i=!1;return t.length?n.randomize?function(t){for(var e=t.length;e;){e-=1;var n=Math.floor(Math.random()*(e+1)),r=t[n];t[n]=t[e],t[e]=r}return t}(t):("function"==typeof n.by?t.sort((function(t,e){if(i)return 0;var r=n.by(t[n.key]),o=n.by(e[n.key]);return void 0===r&&void 0===o?(i=!0,0):ro||"sortLast"===r||"sortFirst"===o?1:0})):"function"==typeof n.compare&&t.sort(n.compare),i?r:(n.reverse&&t.reverse(),t)):[]}var E={},T=0;function P(t){return!!E[t]&&(E[t].element.removeEventListener("transitionend",E[t].listener),E[t]=null,!0)}function O(t,e){var n="transitionend"+(T+=1),r=function(t){t.currentTarget===t.target&&(P(n),e(t))};return t.addEventListener("transitionend",r),E[n]={element:t,listener:r},n}function A(t){return Math.max.apply(Math,t)}function M(t,e,n,r){var i=t/e;return Math.abs(Math.round(i)-i)=r-e&&t[i]<=r+e)return i;return 0}function j(t,e){var n={};t.forEach((function(t){n[t.top]?n[t.top].push(t):n[t.top]=[t]}));var r=[],i=[],o=[];return Object.keys(n).forEach((function(t){var s=n[t];i.push(s);var a,l=s[s.length-1],u=l.left+l.width,c=Math.round((e-u)/2),d=s,h=!1;if(c>0){var p=[];(h=s.every((function(t){var e=new v(t.left+c,t.top,t.width,t.height,t.id),n=!r.some((function(t){return v.intersects(e,t)}));return p.push(e),n})))&&(d=p)}if(!h&&s.some((function(t){return r.some((function(e){var n=v.intersects(t,e);return n&&(a=e),n}))}))){var f=o.findIndex((function(t){return t.includes(a)}));o.splice(f,1,i[f])}r=r.concat(d),o.push(d)})),[].concat.apply([],o).sort((function(t,e){return t.id-e.id})).map((function(t){return new g(t.left,t.top)}))}function D(t){return Array.from(new Set(t))}var N=0,R=function(e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(o,e);var r=s(o);function o(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,o),(n=r.call(this)).options=Object.assign({},o.options,i),n.options.delimeter&&(n.options.delimiter=n.options.delimeter),n.lastSort={},n.group=o.ALL_ITEMS,n.lastFilter=o.ALL_ITEMS,n.isEnabled=!0,n.isDestroyed=!1,n.isInitialized=!1,n._transitions=[],n.isTransitioning=!1,n._queue=[];var s=n._getElementOption(e);if(!s)throw new TypeError("Shuffle needs to be initialized with an element.");return n.element=s,n.id="shuffle_"+N,N+=1,n._init(),n.isInitialized=!0,n}return n(o,[{key:"_init",value:function(){if(this.items=this._getItems(),this.sortedItems=this.items,this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(o.Classes.BASE),this._initItems(this.items),this._onResize=this._getResizeFunction(),window.addEventListener("resize",this._onResize),"complete"!==document.readyState){var t=this.layout.bind(this);window.addEventListener("load",(function e(){window.removeEventListener("load",e),t()}))}var e=window.getComputedStyle(this.element,null),n=o.getSize(this.element).width;this._validateStyles(e),this._setColumns(n),this.filter(this.options.group,this.options.initialSort),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition="height ".concat(this.options.speed,"ms ").concat(this.options.easing)}},{key:"_getResizeFunction",value:function(){var t=this._handleResize.bind(this);return this.options.throttle?this.options.throttle(t,this.options.throttleTime):t}},{key:"_getElementOption",value:function(t){return"string"==typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}},{key:"_validateStyles",value:function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")}},{key:"_filter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastFilter,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,n=this._getFilteredSets(t,e);return this._toggleFilterClasses(n),this.lastFilter=t,"string"==typeof t&&(this.group=t),n}},{key:"_getFilteredSets",value:function(t,e){var n=this,r=[],i=[];return t===o.ALL_ITEMS?r=e:e.forEach((function(e){n._doesPassFilter(t,e.element)?r.push(e):i.push(e)})),{visible:r,hidden:i}}},{key:"_doesPassFilter",value:function(t,e){if("function"==typeof t)return t.call(e,e,this);var n=e.getAttribute("data-"+o.FILTER_ATTRIBUTE_KEY),r=this.options.delimiter?n.split(this.options.delimiter):JSON.parse(n);function i(t){return r.includes(t)}return Array.isArray(t)?this.options.filterMode===o.FilterMode.ANY?t.some(i):t.every(i):r.includes(t)}},{key:"_toggleFilterClasses",value:function(t){var e=t.visible,n=t.hidden;e.forEach((function(t){t.show()})),n.forEach((function(t){t.hide()}))}},{key:"_initItems",value:function(t){t.forEach((function(t){t.init()}))}},{key:"_disposeItems",value:function(t){t.forEach((function(t){t.dispose()}))}},{key:"_updateItemCount",value:function(){this.visibleItems=this._getFilteredItems().length}},{key:"setItemTransitions",value:function(t){var e=this.options,n=e.speed,r=e.easing,i=this.options.useTransforms?["transform"]:["top","left"],o=Object.keys(b.Css.HIDDEN.before).map((function(t){return t.replace(/([A-Z])/g,(function(t,e){return"-".concat(e.toLowerCase())}))})),s=i.concat(o).join();t.forEach((function(t){t.element.style.transitionDuration=n+"ms",t.element.style.transitionTimingFunction=r,t.element.style.transitionProperty=s}))}},{key:"_getItems",value:function(){var t=this;return Array.from(this.element.children).filter((function(e){return h(e,t.options.itemSelector)})).map((function(e){return new b(e,t.options.isRTL)}))}},{key:"_mergeNewItems",value:function(t){var e=Array.from(this.element.children);return C(this.items.concat(t),{by:function(t){return e.indexOf(t)}})}},{key:"_getFilteredItems",value:function(){return this.items.filter((function(t){return t.isVisible}))}},{key:"_getConcealedItems",value:function(){return this.items.filter((function(t){return!t.isVisible}))}},{key:"_getColumnSize",value:function(t,e){var n;return 0===(n="function"==typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?o.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:this.items.length>0?o.getSize(this.items[0].element,!0).width:t)&&(n=t),n+e}},{key:"_getGutterSize",value:function(t){return"function"==typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?S(this.options.sizer,"marginLeft"):this.options.gutterWidth}},{key:"_setColumns",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.getSize(this.element).width,e=this._getGutterSize(t),n=this._getColumnSize(t,e),r=(t+e)/n;Math.abs(Math.round(r)-r)1&&void 0!==arguments[1]?arguments[1]:{};this.isDestroyed||(e.shuffle=this,this.emit(t,e))}},{key:"_resetCols",value:function(){var t=this.cols;for(this.positions=[];t;)t-=1,this.positions.push(0)}},{key:"_layout",value:function(t){var e=this,n=this._getNextPositions(t),r=0;t.forEach((function(t,i){function o(){t.applyCss(b.Css.VISIBLE.after)}if(g.equals(t.point,n[i])&&!t.isHidden)return t.applyCss(b.Css.VISIBLE.before),void o();t.point=n[i],t.scale=b.Scale.VISIBLE,t.isHidden=!1;var s=e.getStylesForTransition(t,b.Css.VISIBLE.before);s.transitionDelay=e._getStaggerAmount(r)+"ms",e._queue.push({item:t,styles:s,callback:o}),r+=1}))}},{key:"_getNextPositions",value:function(t){var e=this;if(this.options.isCentered){var n=t.map((function(t,n){var r=o.getSize(t.element,!0),i=e._getItemPosition(r);return new v(i.x,i.y,r.width,r.height,n)}));return this.getTransformedPositions(n,this.containerWidth)}return t.map((function(t){return e._getItemPosition(o.getSize(t.element,!0))}))}},{key:"_getItemPosition",value:function(t){return function(t){for(var e=t.itemSize,n=t.positions,r=t.gridSize,i=t.total,o=t.threshold,s=t.buffer,a=M(e.width,r,i,o),l=L(n,a,i),u=I(l,s),c=new g(r*u,l[u]),d=l[u]+e.height,h=0;h0&&void 0!==arguments[0]?arguments[0]:this._getConcealedItems(),n=0;e.forEach((function(e){function r(){e.applyCss(b.Css.HIDDEN.after)}if(e.isHidden)return e.applyCss(b.Css.HIDDEN.before),void r();e.scale=b.Scale.HIDDEN,e.isHidden=!0;var i=t.getStylesForTransition(e,b.Css.HIDDEN.before);i.transitionDelay=t._getStaggerAmount(n)+"ms",t._queue.push({item:e,styles:i,callback:r}),n+=1}))}},{key:"_handleResize",value:function(){this.isEnabled&&!this.isDestroyed&&this.update()}},{key:"getStylesForTransition",value:function(t,e){var n=Object.assign({},e);if(this.options.useTransforms){var r=this.options.isRTL?"-":"",i=this.options.roundTransforms?Math.round(t.point.x):t.point.x,o=this.options.roundTransforms?Math.round(t.point.y):t.point.y;n.transform="translate(".concat(r).concat(i,"px, ").concat(o,"px) scale(").concat(t.scale,")")}else this.options.isRTL?n.right=t.point.x+"px":n.left=t.point.x+"px",n.top=t.point.y+"px";return n}},{key:"_whenTransitionDone",value:function(t,e,n){var r=O(t,(function(t){e(),n(null,t)}));this._transitions.push(r)}},{key:"_getTransitionFunction",value:function(t){var e=this;return function(n){t.item.applyCss(t.styles),e._whenTransitionDone(t.item.element,t.callback,n)}}},{key:"_processQueue",value:function(){this.isTransitioning&&this._cancelMovement();var t=this.options.speed>0,e=this._queue.length>0;e&&t&&this.isInitialized?this._startTransitions(this._queue):e?(this._styleImmediately(this._queue),this._dispatch(o.EventType.LAYOUT)):this._dispatch(o.EventType.LAYOUT),this._queue.length=0}},{key:"_startTransitions",value:function(t){var e=this;this.isTransitioning=!0,function(t,e,n){n||("function"==typeof e?(n=e,e=null):n=f);var r=t&&t.length;if(!r)return n(null,[]);var i=!1,o=new Array(r);function s(t){return function(e,s){if(!i){if(e)return n(e,o),void(i=!0);o[t]=s,--r||n(null,o)}}}t.forEach(e?function(t,n){t.call(e,s(n))}:function(t,e){t(s(e))})}(t.map((function(t){return e._getTransitionFunction(t)})),this._movementFinished.bind(this))}},{key:"_cancelMovement",value:function(){this._transitions.forEach(P),this._transitions.length=0,this.isTransitioning=!1}},{key:"_styleImmediately",value:function(t){if(t.length){var e=t.map((function(t){return t.item.element}));o._skipTransitions(e,(function(){t.forEach((function(t){t.item.applyCss(t.styles),t.callback()}))}))}}},{key:"_movementFinished",value:function(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(o.EventType.LAYOUT)}},{key:"filter",value:function(t,e){this.isEnabled&&((!t||t&&0===t.length)&&(t=o.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(e))}},{key:"sort",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastSort;if(this.isEnabled){this._resetCols();var e=C(this._getFilteredItems(),t);this.sortedItems=e,this._layout(e),this._processQueue(),this._setContainerSize(),this.lastSort=t}}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isEnabled&&(t||this._setColumns(),this.sort())}},{key:"layout",value:function(){this.update(!0)}},{key:"add",value:function(t){var e=this,n=D(t).map((function(t){return new b(t,e.options.isRTL)}));this._initItems(n),this._resetCols();var r=C(this._mergeNewItems(n),this.lastSort),i=this._filter(this.lastFilter,r),o=function(t){return n.includes(t)},s=function(t){t.scale=b.Scale.HIDDEN,t.isHidden=!0,t.applyCss(b.Css.HIDDEN.before),t.applyCss(b.Css.HIDDEN.after)},a=this._getNextPositions(i.visible);i.visible.forEach((function(t,n){o(t)&&(t.point=a[n],s(t),t.applyCss(e.getStylesForTransition(t,{})))})),i.hidden.forEach((function(t){o(t)&&s(t)})),this.element.offsetWidth,this.setItemTransitions(n),this.items=this._mergeNewItems(n),this.filter(this.lastFilter)}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isEnabled=!0,t&&this.update()}},{key:"remove",value:function(t){var e=this;if(t.length){var n=D(t),r=n.map((function(t){return e.getItemByElement(t)})).filter((function(t){return!!t}));this._toggleFilterClasses({visible:[],hidden:r}),this._shrink(r),this.sort(),this.items=this.items.filter((function(t){return!r.includes(t)})),this._updateItemCount(),this.once(o.EventType.LAYOUT,(function(){e._disposeItems(r),n.forEach((function(t){t.parentNode.removeChild(t)})),e._dispatch(o.EventType.REMOVED,{collection:n})}))}}},{key:"getItemByElement",value:function(t){return this.items.find((function(e){return e.element===t}))}},{key:"resetItems",value:function(){var t=this;this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(o.EventType.LAYOUT,(function(){t.setItemTransitions(t.items),t.isInitialized=!0})),this.filter(this.lastFilter)}},{key:"destroy",value:function(){this._cancelMovement(),window.removeEventListener("resize",this._onResize),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}}],[{key:"getSize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=window.getComputedStyle(t,null),r=S(t,"width",n),i=S(t,"height",n);if(e){var o=S(t,"marginLeft",n),s=S(t,"marginRight",n),a=S(t,"marginTop",n),l=S(t,"marginBottom",n);r+=o+s,i+=a+l}return{width:r,height:i}}},{key:"_skipTransitions",value:function(t,e){var n=t.map((function(t){var e=t.style,n=e.transitionDuration,r=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:n,delay:r}}));e(),t[0].offsetWidth,t.forEach((function(t,e){t.style.transitionDuration=n[e].duration,t.style.transitionDelay=n[e].delay}))}}]),o}(u);return R.ShuffleItem=b,R.ALL_ITEMS="all",R.FILTER_ATTRIBUTE_KEY="groups",R.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},R.Classes=y,R.FilterMode={ANY:"any",ALL:"all"},R.options={group:R.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,throttle:p,throttleTime:300,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:R.FilterMode.ANY,isCentered:!1,isRTL:!1,roundTransforms:!0},R.Point=g,R.Rect=v,R.__sorter=C,R.__getColumnSpan=M,R.__getAvailablePositions=L,R.__getShortColumn=I,R.__getCenteredPositions=j,R})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.HSCountCharacters=e():t.HSCountCharacters=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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="./src/js/hs-count-characters.js")}({"./src/js/hs-count-characters.js": +/*! exports provided: default */function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _default; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/*\n* HSTogglePassword Plugin\n* @version: 1.0.0 (Sat, 30 Jul 2021)\n* @requires: tom-select 1.7.26\n* @author: HtmlStream\n* @event-namespace: .HSTogglePassword\n* @license: Htmlstream Libraries (https://htmlstream.com/)\n* Copyright 2021 Htmlstream\n*/\nvar dataAttributeName = \'data-hs-toggle-password-options\';\nvar defaults = {\n classChangeTarget: null,\n defaultClass: null,\n showClass: null,\n show: false\n};\n\nvar _default = /*#__PURE__*/function () {\n function _default(el, options, id) {\n _classCallCheck(this, _default);\n\n this.collection = [];\n var that = this;\n var elems;\n\n if (el instanceof HTMLElement) {\n elems = [el];\n } else if (el instanceof Object) {\n elems = el;\n } else {\n elems = document.querySelectorAll(el);\n }\n\n for (var i = 0; i < elems.length; i += 1) {\n that.addToCollection(elems[i], options, id || elems[i].id);\n }\n\n if (!that.collection.length) {\n return false;\n } // initialization calls\n\n\n that._init();\n\n return this;\n }\n\n _createClass(_default, [{\n key: "_init",\n value: function _init() {\n var that = this;\n\n for (var i = 0; i < that.collection.length; i += 1) {\n var _$el = void 0;\n\n var _options = void 0;\n\n if (that.collection[i].hasOwnProperty(\'$initializedEl\')) {\n continue;\n }\n\n _$el = that.collection[i].$el;\n _options = that.collection[i].options;\n\n if (Array.isArray(_options.target)) {\n (function () {\n var targets = [];\n\n _options.target.forEach(function (target) {\n targets.push(document.querySelector(target));\n });\n\n _options.target = targets;\n _options.classChangeTarget = _options.classChangeTarget ? document.querySelector(_options.classChangeTarget) : _options.target;\n })();\n } else {\n _options.target = document.querySelector(_options.target);\n _options.classChangeTarget = _options.classChangeTarget ? document.querySelector(_options.classChangeTarget) : _options.target;\n }\n\n if (_options.show) {\n _$el.type = "text";\n }\n\n that._toggleClass(_options, _options.show);\n\n that._showPassword(_$el, _options);\n }\n }\n }, {\n key: "_showPassword",\n value: function _showPassword(el, config) {\n var that = this,\n $target = config.target;\n\n if (Array.isArray($target)) {\n $target.forEach(function (target) {\n target.addEventListener(\'click\', function (event) {\n if (el.type === "password") {\n el.type = "text";\n\n that._toggleClass(config, true);\n } else {\n el.type = "password";\n\n that._toggleClass(config, false);\n }\n });\n });\n } else {\n $target.addEventListener(\'click\', function (event) {\n if (el.type === "password") {\n el.type = "text";\n\n that._toggleClass(config, true);\n } else {\n el.type = "password";\n\n that._toggleClass(config, false);\n }\n });\n }\n }\n }, {\n key: "_toggleClass",\n value: function _toggleClass(config) {\n var _this = this;\n\n var isShow = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var that = this,\n $target = config.classChangeTarget;\n\n if (Array.isArray($target)) {\n $target.forEach(function (target) {\n if (isShow) {\n _this._removeClasses(target, config.defaultClass);\n\n _this._addClasses(target, config.showClass);\n } else {\n _this._removeClasses(target, config.showClass);\n\n _this._addClasses(target, config.defaultClass);\n }\n });\n } else {\n if (isShow) {\n this._removeClasses($target, config.defaultClass);\n\n this._addClasses($target, config.showClass);\n } else {\n this._removeClasses($target, config.showClass);\n\n this._addClasses($target, config.defaultClass);\n }\n }\n }\n }, {\n key: "_addClasses",\n value: function _addClasses($target, classes) {\n if (classes && classes.trim().indexOf(\' \') != -1) {\n var array = classes.split(\' \');\n\n for (var i = 0, length = array.length; i < length; i++) {\n $target.classList.add(array[i]);\n }\n } else {\n $target.classList.add(classes);\n }\n }\n }, {\n key: "_removeClasses",\n value: function _removeClasses($target, classes) {\n if (classes && classes.trim().indexOf(\' \') != -1) {\n var array = classes.split(\' \');\n\n for (var i = 0, length = array.length; i < length; i++) {\n $target.classList.remove(array[i]);\n }\n } else {\n $target.classList.remove(classes);\n }\n }\n }, {\n key: "addToCollection",\n value: function addToCollection(item, options, id) {\n this.collection.push({\n $el: item,\n id: id || null,\n options: Object.assign({}, defaults, item.hasAttribute(dataAttributeName) ? JSON.parse(item.getAttribute(dataAttributeName)) : {}, options)\n });\n }\n }, {\n key: "getItem",\n value: function getItem(item) {\n if (typeof item === \'number\') {\n return this.collection[item].$initializedEl;\n } else {\n return this.collection.find(function (el) {\n return el.id === item;\n }).$initializedEl;\n }\n }\n }]);\n\n return _default;\n}();\n\n\n\n//# sourceURL=webpack://HSTogglePassword/./src/js/hs-toggle-password.js?')}}).default}));var countdown=function(t){"use strict";var e=Math.ceil,n=Math.floor;function r(t,e){var n=t.getTime();return t.setMonth(t.getMonth()+e),Math.round((t.getTime()-n)/864e5)}function i(t){var e=t.getTime(),n=new Date(e);return n.setMonth(t.getMonth()+1),Math.round((n.getTime()-e)/864e5)}function o(t,e){if(e=e instanceof Date||null!==e&&isFinite(e)?new Date(+e):new Date,!t)return e;var n=+t.value||0;return n?(e.setTime(e.getTime()+n),e):((n=+t.milliseconds||0)&&e.setMilliseconds(e.getMilliseconds()+n),(n=+t.seconds||0)&&e.setSeconds(e.getSeconds()+n),(n=+t.minutes||0)&&e.setMinutes(e.getMinutes()+n),(n=+t.hours||0)&&e.setHours(e.getHours()+n),(n=+t.weeks||0)&&(n*=7),(n+=+t.days||0)&&e.setDate(e.getDate()+n),(n=+t.months||0)&&e.setMonth(e.getMonth()+n),(n=+t.millennia||0)&&(n*=10),(n+=+t.centuries||0)&&(n*=10),(n+=+t.decades||0)&&(n*=10),(n+=+t.years||0)&&e.setFullYear(e.getFullYear()+n),e)}var s,a,l,u,c,d,h,p;function f(t,e){return h(t)+(1===t?s[e]:a[e])}function m(){}function g(t,e,n,r,o,s){return t[n]>=0&&(e+=t[n],delete t[n]),(e/=o)+1<=1?0:t[r]>=0?(t[r]=+(t[r]+e).toFixed(s),function(t,e){switch(e){case"seconds":if(60!==t.seconds||isNaN(t.minutes))return;t.minutes++,t.seconds=0;case"minutes":if(60!==t.minutes||isNaN(t.hours))return;t.hours++,t.minutes=0;case"hours":if(24!==t.hours||isNaN(t.days))return;t.days++,t.hours=0;case"days":if(7!==t.days||isNaN(t.weeks))return;t.weeks++,t.days=0;case"weeks":if(t.weeks!==i(t.refMonth)/7||isNaN(t.months))return;t.months++,t.weeks=0;case"months":if(12!==t.months||isNaN(t.years))return;t.years++,t.months=0;case"years":if(10!==t.years||isNaN(t.decades))return;t.decades++,t.years=0;case"decades":if(10!==t.decades||isNaN(t.centuries))return;t.centuries++,t.decades=0;case"centuries":if(10!==t.centuries||isNaN(t.millennia))return;t.millennia++,t.centuries=0}}(t,r),0):e}function v(t,e){var n,r,o,s=g(t,0,"milliseconds","seconds",1e3,e);if(s&&((s=g(t,s,"seconds","minutes",60,e))&&(s=g(t,s,"minutes","hours",60,e))&&(s=g(t,s,"hours","days",24,e))&&(s=g(t,s,"days","weeks",7,e))&&(s=g(t,s,"weeks","months",i(t.refMonth)/7,e))&&(s=g(t,s,"months","years",(n=t.refMonth,r=n.getTime(),(o=new Date(r)).setFullYear(n.getFullYear()+1),Math.round((o.getTime()-r)/864e5)/i(t.refMonth)),e))&&(s=g(t,s,"years","decades",10,e))&&(s=g(t,s,"decades","centuries",10,e))&&(s=g(t,s,"centuries","millennia",10,e))))throw new Error("Fractional unit overflow")}function y(t,i,o,s,a,l){var u=new Date;if(t.start=i=i||u,t.end=o=o||u,t.units=s,t.value=o.getTime()-i.getTime(),t.value<0){var c=o;o=i,i=c}t.refMonth=new Date(i.getFullYear(),i.getMonth(),15,12,0,0);try{t.millennia=0,t.centuries=0,t.decades=0,t.years=o.getFullYear()-i.getFullYear(),t.months=o.getMonth()-i.getMonth(),t.weeks=0,t.days=o.getDate()-i.getDate(),t.hours=o.getHours()-i.getHours(),t.minutes=o.getMinutes()-i.getMinutes(),t.seconds=o.getSeconds()-i.getSeconds(),t.milliseconds=o.getMilliseconds()-i.getMilliseconds(),function(t){var i;for(t.milliseconds<0?(i=e(-t.milliseconds/1e3),t.seconds-=i,t.milliseconds+=1e3*i):t.milliseconds>=1e3&&(t.seconds+=n(t.milliseconds/1e3),t.milliseconds%=1e3),t.seconds<0?(i=e(-t.seconds/60),t.minutes-=i,t.seconds+=60*i):t.seconds>=60&&(t.minutes+=n(t.seconds/60),t.seconds%=60),t.minutes<0?(i=e(-t.minutes/60),t.hours-=i,t.minutes+=60*i):t.minutes>=60&&(t.hours+=n(t.minutes/60),t.minutes%=60),t.hours<0?(i=e(-t.hours/24),t.days-=i,t.hours+=24*i):t.hours>=24&&(t.days+=n(t.hours/24),t.hours%=24);t.days<0;)t.months--,t.days+=r(t.refMonth,1);t.days>=7&&(t.weeks+=n(t.days/7),t.days%=7),t.months<0?(i=e(-t.months/12),t.years-=i,t.months+=12*i):t.months>=12&&(t.years+=n(t.months/12),t.months%=12),t.years>=10&&(t.decades+=n(t.years/10),t.years%=10,t.decades>=10&&(t.centuries+=n(t.decades/10),t.decades%=10,t.centuries>=10&&(t.millennia+=n(t.centuries/10),t.centuries%=10)))}(t),function(t,e,i,o){var s=0;!(1024&e)||s>=i?(t.centuries+=10*t.millennia,delete t.millennia):t.millennia&&s++,!(512&e)||s>=i?(t.decades+=10*t.centuries,delete t.centuries):t.centuries&&s++,!(256&e)||s>=i?(t.years+=10*t.decades,delete t.decades):t.decades&&s++,!(128&e)||s>=i?(t.months+=12*t.years,delete t.years):t.years&&s++,!(64&e)||s>=i?(t.months&&(t.days+=r(t.refMonth,t.months)),delete t.months,t.days>=7&&(t.weeks+=n(t.days/7),t.days%=7)):t.months&&s++,!(32&e)||s>=i?(t.days+=7*t.weeks,delete t.weeks):t.weeks&&s++,!(16&e)||s>=i?(t.hours+=24*t.days,delete t.days):t.days&&s++,!(8&e)||s>=i?(t.minutes+=60*t.hours,delete t.hours):t.hours&&s++,!(4&e)||s>=i?(t.seconds+=60*t.minutes,delete t.minutes):t.minutes&&s++,!(2&e)||s>=i?(t.milliseconds+=1e3*t.seconds,delete t.seconds):t.seconds&&s++,1&e&&!(s>=i)||v(t,o)}(t,s,a,l)}finally{delete t.refMonth}return t}function _(t,e,n,r,i){var s;n=+n||222,r=r>0?r:NaN,i=i>0?i<20?Math.round(i):20:0;var a=null;"function"==typeof t?(s=t,t=null):t instanceof Date||(null!==t&&isFinite(t)?t=new Date(+t):("object"==typeof a&&(a=t),t=null));var l=null;if("function"==typeof e?(s=e,e=null):e instanceof Date||(null!==e&&isFinite(e)?e=new Date(+e):("object"==typeof e&&(l=e),e=null)),a&&(t=o(a,e)),l&&(e=o(l,t)),!t&&!e)return new m;if(!s)return y(new m,t,e,n,r,i);var u,c=function(t){return 1&t?1e3/30:2&t?1e3:4&t?6e4:8&t?36e5:16&t?864e5:6048e5}(n),d=function(){s(y(new m,t,e,n,r,i),u)};return d(),u=setInterval(d,c)}m.prototype.toString=function(t){var e=p(this),n=e.length;if(!n)return t?""+t:c;if(1===n)return e[0];var r=l+e.pop();return e.join(u)+r},m.prototype.toHTML=function(t,e){t=t||"span";var n=p(this),r=n.length;if(!r)return(e=e||c)?"<"+t+">"+e+"":e;for(var i=0;i"+n[i]+"";if(1===r)return n[0];var o=l+n.pop();return n.join(u)+o},m.prototype.addTo=function(t){return o(this,t)},p=function(t){var e=[],n=t.millennia;return n&&e.push(d(n,10)),(n=t.centuries)&&e.push(d(n,9)),(n=t.decades)&&e.push(d(n,8)),(n=t.years)&&e.push(d(n,7)),(n=t.months)&&e.push(d(n,6)),(n=t.weeks)&&e.push(d(n,5)),(n=t.days)&&e.push(d(n,4)),(n=t.hours)&&e.push(d(n,3)),(n=t.minutes)&&e.push(d(n,2)),(n=t.seconds)&&e.push(d(n,1)),(n=t.milliseconds)&&e.push(d(n,0)),e},_.MILLISECONDS=1,_.SECONDS=2,_.MINUTES=4,_.HOURS=8,_.DAYS=16,_.WEEKS=32,_.MONTHS=64,_.YEARS=128,_.DECADES=256,_.CENTURIES=512,_.MILLENNIA=1024,_.DEFAULTS=222,_.ALL=2047;var b=_.setFormat=function(t){if(t){if("singular"in t||"plural"in t){var e=t.singular||[];e.split&&(e=e.split("|"));var n=t.plural||[];n.split&&(n=n.split("|"));for(var r=0;r<=10;r++)s[r]=e[r]||s[r],a[r]=n[r]||a[r]}"string"==typeof t.last&&(l=t.last),"string"==typeof t.delim&&(u=t.delim),"string"==typeof t.empty&&(c=t.empty),"function"==typeof t.formatNumber&&(h=t.formatNumber),"function"==typeof t.formatter&&(d=t.formatter)}},w=_.resetFormat=function(){s=" millisecond| second| minute| hour| day| week| month| year| decade| century| millennium".split("|"),a=" milliseconds| seconds| minutes| hours| days| weeks| months| years| decades| centuries| millennia".split("|"),l=" and ",u=", ",c="",h=function(t){return t},d=f};return _.setLabels=function(t,e,n,r,i,o,s){b({singular:t,plural:e,last:n,delim:r,empty:i,formatNumber:o,formatter:s})},_.resetLabels=w,w(),t&&t.exports?t.exports=_:"function"==typeof window.define&&void 0!==window.define.amd&&window.define("countdown",[],(function(){return _})),_}(module),List;!function(t,e){"object"==typeof exports&&void 0!==module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Shuffle=e()}(this,(function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n=e?a():o=setTimeout(a,e-t)),i};function a(){o=0,s=+new Date,i=t.apply(n,r),n=null,r=null}};function f(){}function m(t){return parseFloat(t)||0}var g=function(){function e(n,r){t(this,e),this.x=m(n),this.y=m(r)}return n(e,null,[{key:"equals",value:function(t,e){return t.x===e.x&&t.y===e.y}}]),e}(),v=function(){function e(n,r,i,o,s){t(this,e),this.id=s,this.left=n,this.top=r,this.width=i,this.height=o}return n(e,null,[{key:"intersects",value:function(t,e){return t.left2&&void 0!==arguments[2]?arguments[2]:window.getComputedStyle(t,null),r=m(n[e]);return x()||"width"!==e?x()||"height"!==e||(r+=m(n.paddingTop)+m(n.paddingBottom)+m(n.borderTopWidth)+m(n.borderBottomWidth)):r+=m(n.paddingLeft)+m(n.paddingRight)+m(n.borderLeftWidth)+m(n.borderRightWidth),r}var k={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function C(t,e){var n=Object.assign({},k,e),r=Array.from(t),i=!1;return t.length?n.randomize?function(t){for(var e=t.length;e;){e-=1;var n=Math.floor(Math.random()*(e+1)),r=t[n];t[n]=t[e],t[e]=r}return t}(t):("function"==typeof n.by?t.sort((function(t,e){if(i)return 0;var r=n.by(t[n.key]),o=n.by(e[n.key]);return void 0===r&&void 0===o?(i=!0,0):ro||"sortLast"===r||"sortFirst"===o?1:0})):"function"==typeof n.compare&&t.sort(n.compare),i?r:(n.reverse&&t.reverse(),t)):[]}var E={},T=0;function P(t){return!!E[t]&&(E[t].element.removeEventListener("transitionend",E[t].listener),E[t]=null,!0)}function O(t,e){var n="transitionend"+(T+=1),r=function(t){t.currentTarget===t.target&&(P(n),e(t))};return t.addEventListener("transitionend",r),E[n]={element:t,listener:r},n}function A(t){return Math.max.apply(Math,t)}function M(t,e,n,r){var i=t/e;return Math.abs(Math.round(i)-i)=r-e&&t[i]<=r+e)return i;return 0}function j(t,e){var n={};t.forEach((function(t){n[t.top]?n[t.top].push(t):n[t.top]=[t]}));var r=[],i=[],o=[];return Object.keys(n).forEach((function(t){var s=n[t];i.push(s);var a,l=s[s.length-1],u=l.left+l.width,c=Math.round((e-u)/2),d=s,h=!1;if(c>0){var p=[];(h=s.every((function(t){var e=new v(t.left+c,t.top,t.width,t.height,t.id),n=!r.some((function(t){return v.intersects(e,t)}));return p.push(e),n})))&&(d=p)}if(!h&&s.some((function(t){return r.some((function(e){var n=v.intersects(t,e);return n&&(a=e),n}))}))){var f=o.findIndex((function(t){return t.includes(a)}));o.splice(f,1,i[f])}r=r.concat(d),o.push(d)})),[].concat.apply([],o).sort((function(t,e){return t.id-e.id})).map((function(t){return new g(t.left,t.top)}))}function D(t){return Array.from(new Set(t))}var N=0,R=function(e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(o,e);var r=s(o);function o(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,o),(n=r.call(this)).options=Object.assign({},o.options,i),n.options.delimeter&&(n.options.delimiter=n.options.delimeter),n.lastSort={},n.group=o.ALL_ITEMS,n.lastFilter=o.ALL_ITEMS,n.isEnabled=!0,n.isDestroyed=!1,n.isInitialized=!1,n._transitions=[],n.isTransitioning=!1,n._queue=[];var s=n._getElementOption(e);if(!s)throw new TypeError("Shuffle needs to be initialized with an element.");return n.element=s,n.id="shuffle_"+N,N+=1,n._init(),n.isInitialized=!0,n}return n(o,[{key:"_init",value:function(){if(this.items=this._getItems(),this.sortedItems=this.items,this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(o.Classes.BASE),this._initItems(this.items),this._onResize=this._getResizeFunction(),window.addEventListener("resize",this._onResize),"complete"!==document.readyState){var t=this.layout.bind(this);window.addEventListener("load",(function e(){window.removeEventListener("load",e),t()}))}var e=window.getComputedStyle(this.element,null),n=o.getSize(this.element).width;this._validateStyles(e),this._setColumns(n),this.filter(this.options.group,this.options.initialSort),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition="height ".concat(this.options.speed,"ms ").concat(this.options.easing)}},{key:"_getResizeFunction",value:function(){var t=this._handleResize.bind(this);return this.options.throttle?this.options.throttle(t,this.options.throttleTime):t}},{key:"_getElementOption",value:function(t){return"string"==typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}},{key:"_validateStyles",value:function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")}},{key:"_filter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastFilter,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,n=this._getFilteredSets(t,e);return this._toggleFilterClasses(n),this.lastFilter=t,"string"==typeof t&&(this.group=t),n}},{key:"_getFilteredSets",value:function(t,e){var n=this,r=[],i=[];return t===o.ALL_ITEMS?r=e:e.forEach((function(e){n._doesPassFilter(t,e.element)?r.push(e):i.push(e)})),{visible:r,hidden:i}}},{key:"_doesPassFilter",value:function(t,e){if("function"==typeof t)return t.call(e,e,this);var n=e.getAttribute("data-"+o.FILTER_ATTRIBUTE_KEY),r=this.options.delimiter?n.split(this.options.delimiter):JSON.parse(n);function i(t){return r.includes(t)}return Array.isArray(t)?this.options.filterMode===o.FilterMode.ANY?t.some(i):t.every(i):r.includes(t)}},{key:"_toggleFilterClasses",value:function(t){var e=t.visible,n=t.hidden;e.forEach((function(t){t.show()})),n.forEach((function(t){t.hide()}))}},{key:"_initItems",value:function(t){t.forEach((function(t){t.init()}))}},{key:"_disposeItems",value:function(t){t.forEach((function(t){t.dispose()}))}},{key:"_updateItemCount",value:function(){this.visibleItems=this._getFilteredItems().length}},{key:"setItemTransitions",value:function(t){var e=this.options,n=e.speed,r=e.easing,i=this.options.useTransforms?["transform"]:["top","left"],o=Object.keys(b.Css.HIDDEN.before).map((function(t){return t.replace(/([A-Z])/g,(function(t,e){return"-".concat(e.toLowerCase())}))})),s=i.concat(o).join();t.forEach((function(t){t.element.style.transitionDuration=n+"ms",t.element.style.transitionTimingFunction=r,t.element.style.transitionProperty=s}))}},{key:"_getItems",value:function(){var t=this;return Array.from(this.element.children).filter((function(e){return h(e,t.options.itemSelector)})).map((function(e){return new b(e,t.options.isRTL)}))}},{key:"_mergeNewItems",value:function(t){var e=Array.from(this.element.children);return C(this.items.concat(t),{by:function(t){return e.indexOf(t)}})}},{key:"_getFilteredItems",value:function(){return this.items.filter((function(t){return t.isVisible}))}},{key:"_getConcealedItems",value:function(){return this.items.filter((function(t){return!t.isVisible}))}},{key:"_getColumnSize",value:function(t,e){var n;return 0===(n="function"==typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?o.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:this.items.length>0?o.getSize(this.items[0].element,!0).width:t)&&(n=t),n+e}},{key:"_getGutterSize",value:function(t){return"function"==typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?S(this.options.sizer,"marginLeft"):this.options.gutterWidth}},{key:"_setColumns",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.getSize(this.element).width,e=this._getGutterSize(t),n=this._getColumnSize(t,e),r=(t+e)/n;Math.abs(Math.round(r)-r)1&&void 0!==arguments[1]?arguments[1]:{};this.isDestroyed||(e.shuffle=this,this.emit(t,e))}},{key:"_resetCols",value:function(){var t=this.cols;for(this.positions=[];t;)t-=1,this.positions.push(0)}},{key:"_layout",value:function(t){var e=this,n=this._getNextPositions(t),r=0;t.forEach((function(t,i){function o(){t.applyCss(b.Css.VISIBLE.after)}if(g.equals(t.point,n[i])&&!t.isHidden)return t.applyCss(b.Css.VISIBLE.before),void o();t.point=n[i],t.scale=b.Scale.VISIBLE,t.isHidden=!1;var s=e.getStylesForTransition(t,b.Css.VISIBLE.before);s.transitionDelay=e._getStaggerAmount(r)+"ms",e._queue.push({item:t,styles:s,callback:o}),r+=1}))}},{key:"_getNextPositions",value:function(t){var e=this;if(this.options.isCentered){var n=t.map((function(t,n){var r=o.getSize(t.element,!0),i=e._getItemPosition(r);return new v(i.x,i.y,r.width,r.height,n)}));return this.getTransformedPositions(n,this.containerWidth)}return t.map((function(t){return e._getItemPosition(o.getSize(t.element,!0))}))}},{key:"_getItemPosition",value:function(t){return function(t){for(var e=t.itemSize,n=t.positions,r=t.gridSize,i=t.total,o=t.threshold,s=t.buffer,a=M(e.width,r,i,o),l=L(n,a,i),u=I(l,s),c=new g(r*u,l[u]),d=l[u]+e.height,h=0;h0&&void 0!==arguments[0]?arguments[0]:this._getConcealedItems(),n=0;e.forEach((function(e){function r(){e.applyCss(b.Css.HIDDEN.after)}if(e.isHidden)return e.applyCss(b.Css.HIDDEN.before),void r();e.scale=b.Scale.HIDDEN,e.isHidden=!0;var i=t.getStylesForTransition(e,b.Css.HIDDEN.before);i.transitionDelay=t._getStaggerAmount(n)+"ms",t._queue.push({item:e,styles:i,callback:r}),n+=1}))}},{key:"_handleResize",value:function(){this.isEnabled&&!this.isDestroyed&&this.update()}},{key:"getStylesForTransition",value:function(t,e){var n=Object.assign({},e);if(this.options.useTransforms){var r=this.options.isRTL?"-":"",i=this.options.roundTransforms?Math.round(t.point.x):t.point.x,o=this.options.roundTransforms?Math.round(t.point.y):t.point.y;n.transform="translate(".concat(r).concat(i,"px, ").concat(o,"px) scale(").concat(t.scale,")")}else this.options.isRTL?n.right=t.point.x+"px":n.left=t.point.x+"px",n.top=t.point.y+"px";return n}},{key:"_whenTransitionDone",value:function(t,e,n){var r=O(t,(function(t){e(),n(null,t)}));this._transitions.push(r)}},{key:"_getTransitionFunction",value:function(t){var e=this;return function(n){t.item.applyCss(t.styles),e._whenTransitionDone(t.item.element,t.callback,n)}}},{key:"_processQueue",value:function(){this.isTransitioning&&this._cancelMovement();var t=this.options.speed>0,e=this._queue.length>0;e&&t&&this.isInitialized?this._startTransitions(this._queue):e?(this._styleImmediately(this._queue),this._dispatch(o.EventType.LAYOUT)):this._dispatch(o.EventType.LAYOUT),this._queue.length=0}},{key:"_startTransitions",value:function(t){var e=this;this.isTransitioning=!0,function(t,e,n){n||("function"==typeof e?(n=e,e=null):n=f);var r=t&&t.length;if(!r)return n(null,[]);var i=!1,o=new Array(r);function s(t){return function(e,s){if(!i){if(e)return n(e,o),void(i=!0);o[t]=s,--r||n(null,o)}}}t.forEach(e?function(t,n){t.call(e,s(n))}:function(t,e){t(s(e))})}(t.map((function(t){return e._getTransitionFunction(t)})),this._movementFinished.bind(this))}},{key:"_cancelMovement",value:function(){this._transitions.forEach(P),this._transitions.length=0,this.isTransitioning=!1}},{key:"_styleImmediately",value:function(t){if(t.length){var e=t.map((function(t){return t.item.element}));o._skipTransitions(e,(function(){t.forEach((function(t){t.item.applyCss(t.styles),t.callback()}))}))}}},{key:"_movementFinished",value:function(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(o.EventType.LAYOUT)}},{key:"filter",value:function(t,e){this.isEnabled&&((!t||t&&0===t.length)&&(t=o.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(e))}},{key:"sort",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastSort;if(this.isEnabled){this._resetCols();var e=C(this._getFilteredItems(),t);this.sortedItems=e,this._layout(e),this._processQueue(),this._setContainerSize(),this.lastSort=t}}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isEnabled&&(t||this._setColumns(),this.sort())}},{key:"layout",value:function(){this.update(!0)}},{key:"add",value:function(t){var e=this,n=D(t).map((function(t){return new b(t,e.options.isRTL)}));this._initItems(n),this._resetCols();var r=C(this._mergeNewItems(n),this.lastSort),i=this._filter(this.lastFilter,r),o=function(t){return n.includes(t)},s=function(t){t.scale=b.Scale.HIDDEN,t.isHidden=!0,t.applyCss(b.Css.HIDDEN.before),t.applyCss(b.Css.HIDDEN.after)},a=this._getNextPositions(i.visible);i.visible.forEach((function(t,n){o(t)&&(t.point=a[n],s(t),t.applyCss(e.getStylesForTransition(t,{})))})),i.hidden.forEach((function(t){o(t)&&s(t)})),this.element.offsetWidth,this.setItemTransitions(n),this.items=this._mergeNewItems(n),this.filter(this.lastFilter)}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isEnabled=!0,t&&this.update()}},{key:"remove",value:function(t){var e=this;if(t.length){var n=D(t),r=n.map((function(t){return e.getItemByElement(t)})).filter((function(t){return!!t}));this._toggleFilterClasses({visible:[],hidden:r}),this._shrink(r),this.sort(),this.items=this.items.filter((function(t){return!r.includes(t)})),this._updateItemCount(),this.once(o.EventType.LAYOUT,(function(){e._disposeItems(r),n.forEach((function(t){t.parentNode.removeChild(t)})),e._dispatch(o.EventType.REMOVED,{collection:n})}))}}},{key:"getItemByElement",value:function(t){return this.items.find((function(e){return e.element===t}))}},{key:"resetItems",value:function(){var t=this;this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(o.EventType.LAYOUT,(function(){t.setItemTransitions(t.items),t.isInitialized=!0})),this.filter(this.lastFilter)}},{key:"destroy",value:function(){this._cancelMovement(),window.removeEventListener("resize",this._onResize),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}}],[{key:"getSize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=window.getComputedStyle(t,null),r=S(t,"width",n),i=S(t,"height",n);if(e){var o=S(t,"marginLeft",n),s=S(t,"marginRight",n),a=S(t,"marginTop",n),l=S(t,"marginBottom",n);r+=o+s,i+=a+l}return{width:r,height:i}}},{key:"_skipTransitions",value:function(t,e){var n=t.map((function(t){var e=t.style,n=e.transitionDuration,r=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:n,delay:r}}));e(),t[0].offsetWidth,t.forEach((function(t,e){t.style.transitionDuration=n[e].duration,t.style.transitionDelay=n[e].delay}))}}]),o}(u);return R.ShuffleItem=b,R.ALL_ITEMS="all",R.FILTER_ATTRIBUTE_KEY="groups",R.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},R.Classes=y,R.FilterMode={ANY:"any",ALL:"all"},R.options={group:R.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,throttle:p,throttleTime:300,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:R.FilterMode.ANY,isCentered:!1,isRTL:!1,roundTransforms:!0},R.Point=g,R.Rect=v,R.__sorter=C,R.__getColumnSpan=M,R.__getAvailablePositions=L,R.__getShortColumn=I,R.__getCenteredPositions=j,R})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.HSCountCharacters=e():t.HSCountCharacters=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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="./src/js/hs-count-characters.js")}({"./src/js/hs-count-characters.js": /*!***************************************!*\ !*** ./src/js/hs-count-characters.js ***! \***************************************/ -/*! exports provided: default */function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSCountCharacters; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/*\n* HSCountCharacters Plugin\n* @version: 1.0.1 (Sun, 1 Aug 2021)\n* @author: HtmlStream\n* @event-namespace: .HSCountCharacters\n* @license: Htmlstream Libraries (https://htmlstream.com/)\n* Copyright 2021 Htmlstream\n*/\nvar dataAttributeName = \'data-hs-count-characters-options\';\nvar defaults = {};\n\nvar HSCountCharacters = /*#__PURE__*/function () {\n function HSCountCharacters(el, options, id) {\n _classCallCheck(this, HSCountCharacters);\n\n this.collection = [];\n var that = this;\n var elems;\n\n if (el instanceof HTMLElement) {\n elems = [el];\n } else if (el instanceof Object) {\n elems = el;\n } else {\n elems = document.querySelectorAll(el);\n }\n\n for (var i = 0; i < elems.length; i += 1) {\n that.addToCollection(elems[i], options, id || elems[i].id);\n }\n\n if (!that.collection.length) {\n return false;\n } // initialization calls\n\n\n that._init();\n\n return this;\n }\n\n _createClass(HSCountCharacters, [{\n key: "_init",\n value: function _init() {\n var that = this;\n\n var _loop = function _loop(i) {\n var _$el = void 0;\n\n var _options = void 0;\n\n if (that.collection[i].hasOwnProperty(\'$initializedEl\')) {\n return "continue";\n }\n\n _$el = that.collection[i].$el;\n _options = that.collection[i].options;\n _options.output = document.querySelector(_options.output);\n _options.maxLength = _$el.hasAttribute(\'maxlength\') ? \'/ \' + _$el.getAttribute(\'maxlength\') : \'\';\n\n that._updateOutput(_$el, _options);\n\n _$el.addEventListener(\'input\', function () {\n that._updateOutput(_$el, _options);\n });\n\n that.collection[i].$initializedEl = _options;\n };\n\n for (var i = 0; i < that.collection.length; i += 1) {\n var _ret = _loop(i);\n\n if (_ret === "continue") continue;\n }\n }\n }, {\n key: "_updateOutput",\n value: function _updateOutput($el, settings) {\n settings.output.innerHTML = "".concat($el.value.length, " ").concat(settings.maxLength);\n }\n }, {\n key: "addToCollection",\n value: function addToCollection(item, options, id) {\n this.collection.push({\n $el: item,\n id: id || null,\n options: Object.assign({}, defaults, item.hasAttribute(dataAttributeName) ? JSON.parse(item.getAttribute(dataAttributeName)) : {}, options)\n });\n }\n }, {\n key: "getItem",\n value: function getItem(item) {\n if (typeof item === \'number\') {\n return this.collection[item].$initializedEl;\n } else {\n return this.collection.find(function (el) {\n return el.id === item;\n }).$initializedEl;\n }\n }\n }]);\n\n return HSCountCharacters;\n}();\n\n\n\n//# sourceURL=webpack://HSCountCharacters/./src/js/hs-count-characters.js?')}}).default})),function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return function(){var t={3099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,e,n){var r=n(5112),i=n(30),o=n(3070),s=r("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},1530:function(t,e,n){"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},5787:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4019:function(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(t,e,n){"use strict";var r,i=n(4019),o=n(9781),s=n(7854),a=n(111),l=n(6656),u=n(648),c=n(8880),d=n(1320),h=n(3070).f,p=n(9518),f=n(7674),m=n(5112),g=n(9711),v=s.Int8Array,y=v&&v.prototype,_=s.Uint8ClampedArray,b=_&&_.prototype,w=v&&p(v),x=y&&p(y),S=Object.prototype,k=S.isPrototypeOf,C=m("toStringTag"),E=g("TYPED_ARRAY_TAG"),T=i&&!!f&&"Opera"!==u(s.opera),P=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A={BigInt64Array:8,BigUint64Array:8},M=function(t){if(!a(t))return!1;var e=u(t);return l(O,e)||l(A,e)};for(r in O)s[r]||(T=!1);if((!T||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},T))for(r in O)s[r]&&f(s[r],w);if((!T||!x||x===S)&&(x=w.prototype,T))for(r in O)s[r]&&f(s[r].prototype,x);if(T&&p(b)!==x&&f(b,x),o&&!l(x,C))for(r in P=!0,h(x,C,{get:function(){return a(this)?this[E]:void 0}}),O)s[r]&&c(s[r],E,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:P&&E,aTypedArray:function(t){if(M(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(f){if(k.call(w,t))return t}else for(var e in O)if(l(O,r)){var n=s[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(o){if(n)for(var r in O){var i=s[r];i&&l(i.prototype,t)&&delete i.prototype[t]}x[t]&&!n||d(x,t,n?e:T&&y[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(o){if(f){if(n)for(r in O)(i=s[r])&&l(i,t)&&delete i[t];if(w[t]&&!n)return;try{return d(w,t,n?e:T&&v[t]||e)}catch(t){}}for(r in O)!(i=s[r])||i[t]&&!n||d(i,t,e)}},isView:function(t){if(!a(t))return!1;var e=u(t);return"DataView"===e||l(O,e)||l(A,e)},isTypedArray:M,TypedArray:w,TypedArrayPrototype:x}},3331:function(t,e,n){"use strict";var r=n(7854),i=n(9781),o=n(4019),s=n(8880),a=n(2248),l=n(7293),u=n(5787),c=n(9958),d=n(7466),h=n(7067),p=n(1179),f=n(9518),m=n(7674),g=n(8006).f,v=n(3070).f,y=n(1285),_=n(8003),b=n(9909),w=b.get,x=b.set,S="ArrayBuffer",k="DataView",C="Wrong index",E=r.ArrayBuffer,T=E,P=r.DataView,O=P&&P.prototype,A=Object.prototype,M=r.RangeError,L=p.pack,I=p.unpack,j=function(t){return[255&t]},D=function(t){return[255&t,t>>8&255]},N=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},R=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},F=function(t){return L(t,23,4)},V=function(t){return L(t,52,8)},z=function(t,e){v(t.prototype,e,{get:function(){return w(this)[e]}})},B=function(t,e,n,r){var i=h(n),o=w(t);if(i+e>o.byteLength)throw M(C);var s=w(o.buffer).bytes,a=i+o.byteOffset,l=s.slice(a,a+e);return r?l:l.reverse()},q=function(t,e,n,r,i,o){var s=h(n),a=w(t);if(s+e>a.byteLength)throw M(C);for(var l=w(a.buffer).bytes,u=s+a.byteOffset,c=r(+i),d=0;dW;)(H=U[W++])in T||s(T,H,E[H]);$.constructor=T}m&&f(O)!==A&&m(O,A);var G=new P(new T(2)),Y=O.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||a(O,{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},{unsafe:!0})}else T=function(t){u(this,T,S);var e=h(t);x(this,{bytes:y.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},P=function(t,e,n){u(this,P,k),u(t,T,k);var r=w(t).byteLength,o=c(e);if(o<0||o>r)throw M("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw M("Wrong length");x(this,{buffer:t,byteLength:n,byteOffset:o}),i||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},i&&(z(T,"byteLength"),z(P,"buffer"),z(P,"byteLength"),z(P,"byteOffset")),a(P.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var e=B(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=B(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return R(B(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return R(B(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return I(B(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return I(B(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e){q(this,2,t,D,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){q(this,2,t,D,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){q(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){q(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){q(this,4,t,F,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){q(this,8,t,V,e,arguments.length>2?arguments[2]:void 0)}});_(T,S),_(P,k),t.exports={ArrayBuffer:T,DataView:P}},1048:function(t,e,n){"use strict";var r=n(7908),i=n(1400),o=n(7466),s=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),l=i(t,a),u=i(e,a),c=arguments.length>2?arguments[2]:void 0,d=s((void 0===c?a:i(c,a))-u,a-l),h=1;for(u0;)u in n?n[l]=n[u]:delete n[l],l+=h,u+=h;return n}},1285:function(t,e,n){"use strict";var r=n(7908),i=n(1400),o=n(7466);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),l=s>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>a;)e[a++]=t;return e}},8533:function(t,e,n){"use strict";var r=n(2092).forEach,i=n(9341)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},8457:function(t,e,n){"use strict";var r=n(9974),i=n(7908),o=n(3411),s=n(7659),a=n(7466),l=n(6135),u=n(1246);t.exports=function(t){var e,n,c,d,h,p,f=i(t),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,_=u(f),b=0;if(y&&(v=r(v,g>2?arguments[2]:void 0,2)),null==_||m==Array&&s(_))for(n=new m(e=a(f.length));e>b;b++)p=y?v(f[b],b):f[b],l(n,b,p);else for(h=(d=_.call(f)).next,n=new m;!(c=h.call(d)).done;b++)p=y?o(d,v,[c.value,b],!0):c.value,l(n,b,p);return n.length=b,n}},1318:function(t,e,n){var r=n(5656),i=n(7466),o=n(1400),s=function(t){return function(e,n,s){var a,l=r(e),u=i(l.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},2092:function(t,e,n){var r=n(9974),i=n(8361),o=n(7908),s=n(7466),a=n(5417),l=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,d=6==t,h=7==t,p=5==t||d;return function(f,m,g,v){for(var y,_,b=o(f),w=i(b),x=r(m,g,3),S=s(w.length),k=0,C=v||a,E=e?C(f,S):n||h?C(f,0):void 0;S>k;k++)if((p||k in w)&&(_=x(y=w[k],k,b),t))if(e)E[k]=_;else if(_)switch(t){case 3:return!0;case 5:return y;case 6:return k;case 2:l.call(E,y)}else switch(t){case 4:return!1;case 7:l.call(E,y)}return d?-1:u||c?c:E}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},6583:function(t,e,n){"use strict";var r=n(5656),i=n(9958),o=n(7466),s=n(9341),a=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=s("lastIndexOf"),d=u||!c;t.exports=d?function(t){if(u)return l.apply(this,arguments)||0;var e=r(this),n=o(e.length),s=n-1;for(arguments.length>1&&(s=a(s,i(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:l},1194:function(t,e,n){var r=n(7293),i=n(5112),o=n(7392),s=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,n){"use strict";var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},3671:function(t,e,n){var r=n(3099),i=n(7908),o=n(8361),s=n(7466),a=function(t){return function(e,n,a,l){r(n);var u=i(e),c=o(u),d=s(u.length),h=t?d-1:0,p=t?-1:1;if(a<2)for(;;){if(h in c){l=c[h],h+=p;break}if(h+=p,t?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:d>h;h+=p)h in c&&(l=n(l,c[h],h,u));return l}};t.exports={left:a(!1),right:a(!0)}},5417:function(t,e,n){var r=n(111),i=n(3157),o=n(5112)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},3411:function(t,e,n){var r=n(9670),i=n(9212);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){throw i(t),e}}},7072:function(t,e,n){var r=n(5112)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:function(t,e,n){var r=n(1694),i=n(4326),o=n(5112)("toStringTag"),s="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:s?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},9920:function(t,e,n){var r=n(6656),i=n(3887),o=n(1236),s=n(3070);t.exports=function(t,e){for(var n=i(e),a=s.f,l=o.f,u=0;u=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),s=n(1320),a=n(3505),l=n(9920),u=n(4705);t.exports=function(t,e){var n,c,d,h,p,f=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[f]||a(f,{}):(r[f]||{}).prototype)for(c in e){if(h=e[c],d=t.noTargetGet?(p=i(n,c))&&p.value:n[c],!u(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),s(n,c,h,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){"use strict";n(4916);var r=n(1320),i=n(7293),o=n(5112),s=n(2261),a=n(8880),l=o("species"),u=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),c="$0"==="a".replace(/./,"$0"),d=o("replace"),h=!!/./[d]&&""===/./[d]("a","$0"),p=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,d){var f=o(t),m=!i((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),g=m&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!m||!g||"replace"===t&&(!u||!c||h)||"split"===t&&!p){var v=/./[f],y=n(f,""[t],(function(t,e,n,r,i){return e.exec===s?m&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),_=y[0],b=y[1];r(String.prototype,t,_),r(RegExp.prototype,f,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}d&&a(RegExp.prototype[f],"sham",!0)}},9974:function(t,e,n){var r=n(3099);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},5005:function(t,e,n){var r=n(857),i=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},1246:function(t,e,n){var r=n(648),i=n(7497),o=n(5112)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},8554:function(t,e,n){var r=n(9670),i=n(1246);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},647:function(t,e,n){var r=n(7908),i=Math.floor,o="".replace,s=/\$([$&'`]|\d\d?|<[^>]*>)/g,a=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,n,l,u,c){var d=n+t.length,h=l.length,p=a;return void 0!==u&&(u=r(u),p=s),o.call(c,p,(function(r,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":s=u[o.slice(1,-1)];break;default:var a=+o;if(0===a)return r;if(a>h){var c=i(a/10);return 0===c?r:c<=h?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):r}s=l[a-1]}return void 0===s?"":s}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1179:function(t){var e=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,o=Math.LN2;t.exports={pack:function(t,s,a){var l,u,c,d=new Array(a),h=8*a-s-1,p=(1<>1,m=23===s?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,v=0;for((t=e(t))!=t||t===1/0?(u=t!=t?1:0,l=p):(l=r(i(t)/o),t*(c=n(2,-l))<1&&(l--,c*=2),(t+=l+f>=1?m/c:m*n(2,1-f))*c>=2&&(l++,c/=2),l+f>=p?(u=0,l=p):l+f>=1?(u=(t*c-1)*n(2,s),l+=f):(u=t*n(2,f-1)*n(2,s),l=0));s>=8;d[v++]=255&u,u/=256,s-=8);for(l=l<0;d[v++]=255&l,l/=256,h-=8);return d[--v]|=128*g,d},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,s=(1<>1,l=o-7,u=i-1,c=t[u--],d=127&c;for(c>>=7;l>0;d=256*d+t[u],u--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=e;l>0;r=256*r+t[u],u--,l-=8);if(0===d)d=1-a;else{if(d===s)return r?NaN:c?-1/0:1/0;r+=n(2,e),d-=a}return(c?-1:1)*r*n(2,d-e)}}},8361:function(t,e,n){var r=n(7293),i=n(4326),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},9587:function(t,e,n){var r=n(111),i=n(7674);t.exports=function(t,e,n){var o,s;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(s=o.prototype)&&s!==n.prototype&&i(t,s),t}},2788:function(t,e,n){var r=n(5465),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var r,i,o,s=n(8536),a=n(7854),l=n(111),u=n(8880),c=n(6656),d=n(5465),h=n(6200),p=n(3501),f=a.WeakMap;if(s){var m=d.state||(d.state=new f),g=m.get,v=m.has,y=m.set;r=function(t,e){return e.facade=t,y.call(m,t,e),e},i=function(t){return g.call(m,t)||{}},o=function(t){return v.call(m,t)}}else{var _=h("state");p[_]=!0,r=function(t,e){return e.facade=t,u(t,_,e),e},i=function(t){return c(t,_)?t[_]:{}},o=function(t){return c(t,_)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},7659:function(t,e,n){var r=n(5112),i=n(7497),o=r("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},4705:function(t,e,n){var r=n(7293),i=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==u||n!=l&&("function"==typeof e?r(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},7850:function(t,e,n){var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},9212:function(t,e,n){var r=n(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},3383:function(t,e,n){"use strict";var r,i,o,s=n(7293),a=n(9518),l=n(8880),u=n(6656),c=n(5112),d=n(1913),h=c("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):p=!0);var f=null==r||s((function(){var t={};return r[h].call(t)!==t}));f&&(r={}),d&&!f||u(r,h)||l(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},7497:function(t){t.exports={}},133:function(t,e,n){var r=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(t,e,n){var r=n(7293),i=n(5112),o=n(1913),s=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(t,e,n){var r=n(7854),i=n(2788),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},1574:function(t,e,n){"use strict";var r=n(9781),i=n(7293),o=n(1956),s=n(5181),a=n(5296),l=n(7908),u=n(8361),c=Object.assign,d=Object.defineProperty;t.exports=!c||i((function(){if(r&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||o(c({},e)).join("")!=i}))?function(t,e){for(var n=l(t),i=arguments.length,c=1,d=s.f,h=a.f;i>c;)for(var p,f=u(arguments[c++]),m=d?o(f).concat(d(f)):o(f),g=m.length,v=0;g>v;)p=m[v++],r&&!h.call(f,p)||(n[p]=f[p]);return n}:c},30:function(t,e,n){var r,i=n(9670),o=n(6048),s=n(748),a=n(3501),l=n(490),u=n(317),c=n(6200)("IE_PROTO"),d=function(){},h=function(t){return" + + + + + + + + diff --git a/build/magico-account.html b/build/magico-account.html new file mode 100644 index 0000000..e68d726 --- /dev/null +++ b/build/magico-account.html @@ -0,0 +1,1195 @@ + + + + + + + + + Magico ID + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+
+
+ + + +
+ + +
+
+ +
+
+

Informacje o koncie

+
+ + +
+
+ +
+ + +
+ +
+ + + +
+
Upload photo + +
+ + + +
+
+ +
+
+ + + +
+ + +
+
+ +
+
+
+ + + +
+ + +
+ +
+
+ + + +
+ + +
+
+ + + +
+ +
+
+ + + + + + + +
+ + +
+ +
+
Creative mind at Htmlstream +
+
+ +
+
+ + + +
+
+ + + + + +
+ + + + + + +
+
+

Usuń konto id.magico

+
+ + +
+

Usunięcie konta id.magico spowoduje rozpięcie go z przypisanymi firmami. Jeżeli jesteś jedynym administratorem firmy musisz najpierw usunać profil firmy w firmach i organizacjach.

+ +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/magico-page-login.html b/build/magico-page-login.html new file mode 100644 index 0000000..75b855b --- /dev/null +++ b/build/magico-page-login.html @@ -0,0 +1,201 @@ + + + + + + + + + Magico Login + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ +
Jedno konto id.magico do zarządzania wszystkimi aplikacjami.
+ + +
+ +
+
+ + +
+
+ +
+

Logowanie id.magico

+
+ + + +
+ +
+ + + Wprowadź poprawny adres e-mail +
+ + + +
+
+ + + Nie pamiętam hasła +
+ +
+ + + + +
+ + Wprowadź poprawne hasło. +
+ + +
+ +
+ +
+

Nie masz konta id.magico? Załóż go!

+
+ + +
+ +
+
+ +
+ +
+ +
+ + + + + + + + + + + + + diff --git a/gulpfiles/build.js b/gulpfiles/build.js index 1bbb36f..c5c44c8 100644 --- a/gulpfiles/build.js +++ b/gulpfiles/build.js @@ -34,7 +34,8 @@ function fileInclude() { paths.build.html.files, '!' + paths.src.assets.files, '!' + paths.src.tmp.files, - '!' + paths.src.partials.files + '!' + paths.src.partials.files, + '!' + paths.src.magico_partials.files ]) .pipe(replace(/@@autopath/g, function (match) { return pathLevel(this.file) diff --git a/gulpfiles/paths.js b/gulpfiles/paths.js index 137e3dc..f46ad85 100644 --- a/gulpfiles/paths.js +++ b/gulpfiles/paths.js @@ -66,6 +66,9 @@ module.exports = { partials: { files: config.directoryNames.src + "/partials/**/*" }, + magico_partials: { + files: config.directoryNames.src + "/magico_partials/**/*" + }, html: { dir: config.directoryNames.src, files: config.directoryNames.src + "/**/*.html", diff --git a/src/magico-account-home.html b/src/magico-account-home.html index d5750e8..d8cb0d6 100644 --- a/src/magico-account-home.html +++ b/src/magico-account-home.html @@ -28,12 +28,12 @@ - @@include("@@autopath/magico-partials/magico-topbar.html", { + @@include("@@autopath/magico_partials/magico-topbar.html", { "topbarcategory": "demos", "topbarlink": "main", "category": "account", "subcategory": "", - "link": "account-overview.html" + "link": "magico-account-home.html" }) @@ -105,7 +105,7 @@ - @@include("@@autopath/magico-partials/magico-account-menu.html", { + @@include("@@autopath/magico_partials/magico-account-menu.html", { "link": "magico-account-home.html" }) @@ -196,7 +196,7 @@ - @@include("@@autopath/magico-partials/magico-footer.html") + @@include("@@autopath/magico_partials/magico-footer.html") diff --git a/src/magico-account.html b/src/magico-account.html index a7e0f33..30c9e41 100644 --- a/src/magico-account.html +++ b/src/magico-account.html @@ -28,7 +28,7 @@ - @@include("@@autopath/magico-partials/magico-topbar.html", { + @@include("@@autopath/magico_partials/magico-topbar.html", { "topbarcategory": "demos", "topbarlink": "main", "category": "account", @@ -105,7 +105,7 @@ - @@include("@@autopath/magico-partials/magico-account-menu.html", { + @@include("@@autopath/magico_partials/magico-account-menu.html", { "link": "magico-account.html" }) @@ -318,7 +318,7 @@ - @@include("@@autopath/magico-partials/magico-footer.html") + @@include("@@autopath/magico_partials/magico-footer.html") diff --git a/src/magico-partials/magico-account-menu.html b/src/magico_partials/magico-account-menu.html similarity index 100% rename from src/magico-partials/magico-account-menu.html rename to src/magico_partials/magico-account-menu.html diff --git a/src/magico-partials/magico-footer.html b/src/magico_partials/magico-footer.html similarity index 100% rename from src/magico-partials/magico-footer.html rename to src/magico_partials/magico-footer.html diff --git a/src/magico-partials/magico-topbar.html b/src/magico_partials/magico-topbar.html similarity index 100% rename from src/magico-partials/magico-topbar.html rename to src/magico_partials/magico-topbar.html