blip-toolkit
Version:
'BLiP's Toolkit'
1 lines • 241 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BLiPToolkit=e():t.BLiPToolkit=e()}(window,function(){return n=[function(t,e,n){function d(t,e,n){var i,o,r,s=t&d.F,a=t&d.G,c=t&d.P,u=t&d.B,l=a?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[m],p=a?v:v[e]||(v[e]={}),f=p[m]||(p[m]={});for(i in n=a?e:n)o=((r=!s&&l&&void 0!==l[i])?l:n)[i],r=u&&r?y(o,h):c&&"function"==typeof o?y(Function.call,o):o,l&&b(l,i,o,t&d.U),p[i]!=o&&g(p,i,r),c&&f[i]!=o&&(f[i]=o)}var h=n(2),v=n(20),g=n(12),b=n(13),y=n(21),m="prototype";h.core=v,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,t.exports=d},function(t,e,n){var i=n(4);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(53)("wks"),o=n(37),r=n(2).Symbol,s="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=s&&r[t]||(s?r:o)("Symbol."+t))}).store=i},function(t,e,n){var i=n(23),o=Math.min;t.exports=function(t){return 0<t?o(i(t),9007199254740991):0}},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(1),o=n(107),r=n(25),s=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(26);t.exports=function(t){return Object(i(t))}},function(t,e,n){t.exports=n(158)(document)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(8),o=n(36);t.exports=n(7)?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),s=n(12),a=n(16),c=n(37)("src"),i=n(198),o="toString",u=(""+i).split(o);n(20).inspectSource=function(t){return i.call(t)},(t.exports=function(t,e,n,i){var o="function"==typeof n;o&&(a(n,"name")||s(n,"name",e)),t[e]!==n&&(o&&(a(n,c)||s(n,c,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:i?t[e]?t[e]=n:s(t,e,n):(delete t[e],s(t,e,n)))})(Function.prototype,o,function(){return"function"==typeof this&&this[c]||i.call(this)})},function(t,e,n){function i(t,e,n,i){var o=String(s(t)),t="<"+e;return""!==n&&(t+=" "+n+'="'+String(i).replace(a,""")+'"'),t+">"+o+"</"+e+">"}var o=n(0),r=n(3),s=n(26),a=/"/g;t.exports=function(e,t){var n={};n[e]=t(i),o(o.P+o.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",n)}},function(t,e,n){const i=n(100),a=n(147),c=n(151),u=n(155),o=n(157),l=u.KEY_ID,r=u.KEY_ATTR;function s(t){this._hasWindow="undefined"!=typeof window,this._id=null,this._ncID=null,this._olID=null,this._proxy=null,this._loaded=!1,this._rootNodeName=null,this._name=t||"nanocomponent",this._rerender=!1,this._handleLoad=this._handleLoad.bind(this),this._handleUnload=this._handleUnload.bind(this),this._arguments=[];const e=this;Object.defineProperty(this,"element",{get:function(){var t=i.getElementById(e._id);if(t)return t.dataset.nanocomponent===e._ncID?t:void 0}})}(t.exports=s).makeID=function(){return"ncid-"+Math.floor(65536*(1+Math.random())).toString(16).substring(1)},s.prototype.render=function(){const t=a(this._name+".render");const e=new Array(arguments.length);let n;for(let t=0;t<arguments.length;t++)e[t]=arguments[t];if(this._hasWindow){if(this.element){n=this.element;const o=a(this._name+".update");var i=this._rerender||this.update.apply(this,e);if(o(),this._rerender&&(this._rerender=!1),i){i=this._handleRender(e);const r=a(this._name+".morph");c(n,i),r(),this.afterupdate&&this.afterupdate(n)}return this._proxy||(this._proxy=this._createProxy()),t(),this._proxy}return this._reset(),n=this._handleRender(e),this.beforerender&&this.beforerender(n),(this.load||this.unload||this.afterreorder)&&(u(n,this._handleLoad,this._handleUnload,this._ncID),this._olID=n.dataset[l]),t(),n}{const s=a(this._name+".create");return n=this.createElement.apply(this,e),s(),t(),n}},s.prototype.rerender=function(){o(this.element,"nanocomponent: cant rerender on an unmounted dom node"),this._rerender=!0,this.render.apply(this,this._arguments)},s.prototype._handleRender=function(t){const e=a(this._name+".createElement");var n=this.createElement.apply(this,t);return e(),this._rootNodeName||(this._rootNodeName=n.nodeName),o(n instanceof window.Element,"nanocomponent: createElement should return a single DOM node"),o(this._rootNodeName===n.nodeName,"nanocomponent: root node types cannot differ between re-renders"),this._arguments=t,this._brandNode(this._ensureID(n))},s.prototype._createProxy=function(){const t=i.createElement(this._rootNodeName),e=this;return this._brandNode(t),t.id=this._id,t.setAttribute("data-proxy",""),t.isSameNode=function(t){return t&&t.dataset.nanocomponent===e._ncID},t},s.prototype._reset=function(){this._ncID=s.makeID(),this._olID=null,this._id=null,this._proxy=null,this._rootNodeName=null},s.prototype._brandNode=function(t){return t.setAttribute("data-nanocomponent",this._ncID),this._olID&&t.setAttribute(r,this._olID),t},s.prototype._ensureID=function(t){return t.id?this._id=t.id:t.id=this._id=this._ncID,this._proxy&&this._proxy.id!==this._id&&(this._proxy.id=this._id),t},s.prototype._handleLoad=function(t){this._loaded?this.afterreorder&&this.afterreorder(t):(this._loaded=!0,this.load&&this.load(t))},s.prototype._handleUnload=function(t){this.element||(this._loaded=!1,this.unload&&this.unload(t))},s.prototype.createElement=function(){throw new Error("nanocomponent: createElement should be implemented!")},s.prototype.update=function(){throw new Error("nanocomponent: update should be implemented!")}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(54),o=n(26);t.exports=function(t){return i(o(t))}},function(t,e,n){var i=n(55),o=n(36),r=n(17),s=n(25),a=n(16),c=n(107),u=Object.getOwnPropertyDescriptor;e.f=n(7)?u:function(t,e){if(t=r(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(a(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(16),o=n(9),r=n(75)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e){t=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},function(t,e,n){var r=n(11);t.exports=function(i,o,t){if(r(i),void 0===o)return i;switch(t){case 1:return function(t){return i.call(o,t)};case 2:return function(t,e){return i.call(o,t,e)};case 3:return function(t,e,n){return i.call(o,t,e,n)}}return function(){return i.apply(o,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?i:n)(t)}},function(t,e,n){"use strict";var i=n(3);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var o=n(4);t.exports=function(t,e){if(!o(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!o(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!o(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!o(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var o=n(0),r=n(20),s=n(3);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],i={};i[t]=e(n),o(o.S+o.F*s(function(){n(1)}),"Object",i)}},function(t,e,n){var m=n(21),_=n(54),O=n(9),w=n(6),i=n(91);t.exports=function(p,t){var f=1==p,d=2==p,h=3==p,v=4==p,g=6==p,b=5==p||g,y=t||i;return function(t,e,n){for(var i,o,r=O(t),s=_(r),a=m(e,n,3),c=w(s.length),u=0,l=f?y(t,c):d?y(t,0):void 0;u<c;u++)if((b||u in s)&&(o=a(i=s[u],u,r),p))if(f)l[u]=o;else if(o)switch(p){case 3:return!0;case 5:return i;case 6:return u;case 2:l.push(i)}else if(v)return!1;return g?-1:h||v?v:l}}},function(t,e,n){"use strict";var d,h,v,g,b,i,p,y,o,m,r,s,_,O,a,c,u,w,C,f,k,S,x,E,P,l,T,D,L,M,I,j,A,B,F,N,R,H,V,q,W,z,G,$,U,Y,K,Z,J,X,Q,tt,et,nt,it,ot,rt,st,at,ct,ut,lt,pt,ft,dt,ht,vt,gt,bt,yt,mt,_t,Ot,wt,Ct,kt,St,xt,Et,Pt,Tt,Dt,Lt,Mt,It,jt,At,Bt,Ft,Nt,Rt,Ht,Vt;n(7)?(d=n(32),h=n(2),v=n(3),g=n(0),b=n(69),i=n(99),p=n(21),y=n(43),o=n(36),m=n(12),r=n(45),s=n(23),_=n(6),O=n(135),a=n(39),c=n(25),u=n(16),w=n(49),C=n(4),f=n(9),k=n(88),S=n(40),x=n(19),E=n(41).f,P=n(90),Rt=n(37),Tt=n(5),Ht=n(28),l=n(59),T=n(57),D=n(93),L=n(51),M=n(64),I=n(42),j=n(92),A=n(124),B=n(8),F=n(18),N=B.f,R=F.f,H=h.RangeError,V=h.TypeError,q=h.Uint8Array,z="Shared"+(W="ArrayBuffer"),G="BYTES_PER_ELEMENT",$="prototype",n=Array[$],U=i.ArrayBuffer,Y=i.DataView,K=Ht(0),Z=Ht(2),J=Ht(3),X=Ht(4),Q=Ht(5),tt=Ht(6),et=l(!0),nt=l(!1),it=D.values,ot=D.keys,rt=D.entries,st=n.lastIndexOf,at=n.reduce,ct=n.reduceRight,ut=n.join,lt=n.sort,pt=n.slice,ft=n.toString,dt=n.toLocaleString,ht=Tt("iterator"),vt=Tt("toStringTag"),gt=Rt("typed_constructor"),bt=Rt("def_constructor"),n=b.CONSTR,yt=b.TYPED,mt=b.VIEW,_t="Wrong length!",Ot=Ht(1,function(t,e){return xt(T(t,t[bt]),e)}),wt=v(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),Ct=!!q&&!!q[$].set&&v(function(){new q(1).set({})}),kt=function(t,e){t=s(t);if(t<0||t%e)throw H("Wrong offset!");return t},St=function(t){if(C(t)&&yt in t)return t;throw V(t+" is not a typed array!")},xt=function(t,e){if(!(C(t)&> in t))throw V("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Pt(T(t,t[bt]),e)},Pt=function(t,e){for(var n=0,i=e.length,o=xt(t,i);n<i;)o[n]=e[n++];return o},Tt=function(t,e,n){N(t,e,{get:function(){return this._d[n]}})},Dt=function(t){var e,n,i,o,r,s,a=f(t),c=arguments.length,u=1<c?arguments[1]:void 0,l=void 0!==u,t=P(a);if(null!=t&&!k(t)){for(s=t.call(a),i=[],e=0;!(r=s.next()).done;e++)i.push(r.value);a=i}for(l&&2<c&&(u=p(u,arguments[2],2)),e=0,n=_(a.length),o=xt(this,n);e<n;e++)o[e]=l?u(a[e],e):a[e];return o},Lt=function(){for(var t=0,e=arguments.length,n=xt(this,e);t<e;)n[t]=arguments[t++];return n},Mt=!!q&&v(function(){dt.call(new q(1))}),It=function(){return dt.apply(Mt?pt.call(St(this)):St(this),arguments)},jt={copyWithin:function(t,e){return A.call(St(this),t,e,2<arguments.length?arguments[2]:void 0)},every:function(t){return X(St(this),t,1<arguments.length?arguments[1]:void 0)},fill:function(t){return j.apply(St(this),arguments)},filter:function(t){return Et(this,Z(St(this),t,1<arguments.length?arguments[1]:void 0))},find:function(t){return Q(St(this),t,1<arguments.length?arguments[1]:void 0)},findIndex:function(t){return tt(St(this),t,1<arguments.length?arguments[1]:void 0)},forEach:function(t){K(St(this),t,1<arguments.length?arguments[1]:void 0)},indexOf:function(t){return nt(St(this),t,1<arguments.length?arguments[1]:void 0)},includes:function(t){return et(St(this),t,1<arguments.length?arguments[1]:void 0)},join:function(t){return ut.apply(St(this),arguments)},lastIndexOf:function(t){return st.apply(St(this),arguments)},map:function(t){return Ot(St(this),t,1<arguments.length?arguments[1]:void 0)},reduce:function(t){return at.apply(St(this),arguments)},reduceRight:function(t){return ct.apply(St(this),arguments)},reverse:function(){for(var t,e=this,n=St(e).length,i=Math.floor(n/2),o=0;o<i;)t=e[o],e[o++]=e[--n],e[n]=t;return e},some:function(t){return J(St(this),t,1<arguments.length?arguments[1]:void 0)},sort:function(t){return lt.call(St(this),t)},subarray:function(t,e){var n=St(this),i=n.length,t=a(t,i);return new(T(n,n[bt]))(n.buffer,n.byteOffset+t*n.BYTES_PER_ELEMENT,_((void 0===e?i:a(e,i))-t))}},At=function(t,e){return Et(this,pt.call(St(this),t,e))},Bt=function(t){St(this);var e=kt(arguments[1],1),n=this.length,i=f(t),o=_(i.length),r=0;if(n<o+e)throw H(_t);for(;r<o;)this[e+r]=i[r++]},Ft={entries:function(){return rt.call(St(this))},keys:function(){return ot.call(St(this))},values:function(){return it.call(St(this))}},Nt=function(t,e){return C(t)&&t[yt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Rt=function(t,e){return Nt(t,e=c(e,!0))?o(2,t[e]):R(t,e)},Ht=function(t,e,n){return!(Nt(t,e=c(e,!0))&&C(n)&&u(n,"value"))||u(n,"get")||u(n,"set")||n.configurable||u(n,"writable")&&!n.writable||u(n,"enumerable")&&!n.enumerable?N(t,e,n):(t[e]=n.value,t)},n||(F.f=Rt,B.f=Ht),g(g.S+g.F*!n,"Object",{getOwnPropertyDescriptor:Rt,defineProperty:Ht}),v(function(){ft.call({})})&&(ft=dt=function(){return ut.call(this)}),Vt=r({},jt),r(Vt,Ft),m(Vt,ht,Ft.values),r(Vt,{slice:At,set:Bt,constructor:function(){},toString:ft,toLocaleString:It}),Tt(Vt,"buffer","b"),Tt(Vt,"byteOffset","o"),Tt(Vt,"byteLength","l"),Tt(Vt,"length","e"),N(Vt,vt,{get:function(){return this[yt]}}),t.exports=function(t,u,e,i){function l(t,e){N(t,e,{get:function(){return function(t,e){t=t._d;return t.v[n](e*u+t.o,wt)}(this,e)},set:function(t){return function(t,e,n){t=t._d;i&&(n=(n=Math.round(n))<0?0:255<n?255:255&n),t.v[o](e*u+t.o,n,wt)}(this,e,t)},enumerable:!0})}var p=t+((i=!!i)?"Clamped":"")+"Array",n="get"+t,o="set"+t,f=h[p],r=f||{},s=f&&x(f),a=!f||!b.ABV,t={},c=f&&f[$];a?(f=e(function(t,e,n,i){y(t,f,p,"_d");var o,r,s=0,a=0;if(C(e)){if(!(e instanceof U||(c=w(e))==W||c==z))return yt in e?Pt(f,e):Dt.call(f,e);var c=e,a=kt(n,u),n=e.byteLength;if(void 0===i){if(n%u)throw H(_t);if((o=n-a)<0)throw H(_t)}else if(n<(o=_(i)*u)+a)throw H(_t);r=o/u}else r=O(e),c=new U(o=r*u);for(m(t,"_d",{b:c,o:a,l:o,e:r,v:new Y(c)});s<r;)l(t,s++)}),c=f[$]=S(Vt),m(c,"constructor",f)):v(function(){f(1)})&&v(function(){new f(-1)})&&M(function(t){new f,new f(null),new f(1.5),new f(t)},!0)||(f=e(function(t,e,n,i){var o;return y(t,f,p),C(e)?e instanceof U||(o=w(e))==W||o==z?void 0!==i?new r(e,kt(n,u),i):void 0!==n?new r(e,kt(n,u)):new r(e):yt in e?Pt(f,e):Dt.call(f,e):new r(O(e))}),K(s!==Function.prototype?E(r).concat(E(s)):E(r),function(t){t in f||m(f,t,r[t])}),f[$]=c,d||(c.constructor=f));a=c[ht],e=!!a&&("values"==a.name||null==a.name),s=Ft.values;m(f,gt,!0),m(c,yt,p),m(c,mt,!0),m(c,bt,f),(i?new f(1)[vt]==p:vt in c)||N(c,vt,{get:function(){return p}}),t[p]=f,g(g.G+g.W+g.F*(f!=r),t),g(g.S,p,{BYTES_PER_ELEMENT:u}),g(g.S+g.F*v(function(){r.of.call(f,1)}),p,{from:Dt,of:Lt}),G in c||m(c,G,u),g(g.P,p,jt),I(p),g(g.P+g.F*Ct,p,{set:Bt}),g(g.P+g.F*!e,p,Ft),d||c.toString==ft||(c.toString=ft),g(g.P+g.F*v(function(){new f(1).slice()}),p,{slice:At}),g(g.P+g.F*(v(function(){return[1,2].toLocaleString()!=new f([1,2]).toLocaleString()})||!v(function(){c.toLocaleString.call([1,2])})),p,{toLocaleString:It}),L[p]=e?a:s,d||e||m(c,ht,s)}):t.exports=function(){}},function(t,e,n){function o(t,e,n){var i=a.get(t);if(!i){if(!n)return;a.set(t,i=new r)}if(!(t=i.get(e))){if(!n)return;i.set(e,t=new r)}return t}var r=n(130),i=n(0),s=n(53)("metadata"),a=s.store||(s.store=new(n(133)));t.exports={store:a,map:o,has:function(t,e,n){n=o(e,n,!1);return void 0!==n&&n.has(t)},get:function(t,e,n){n=o(e,n,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,n,i){o(n,i,!0).set(t,e)},keys:function(t,e){var e=o(t,e,!1),n=[];return e&&e.forEach(function(t,e){n.push(e)}),n},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i;e.strToEl=(i=document.createElement("div"),function(t){t=t.trim();i.innerHTML=t;for(t=i.children[0];i.firstChild;)i.removeChild(i.firstChild);return t}),e.guid=function(){return o()+o()+"-"+o()+"-"+o()+"-"+o()+"-"+o()+o()+o()};function o(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}e.last=function(t){return t[t.length-1]},e.insertAfter=function(t,e){e.parentNode.insertBefore(t,e.nextSibling)},e.differenceByLabel=function(t){return function(e){return 0===t.filter(function(t){return t.label===e.label}).length}},e.eventPathFindElementByTag=function(t,e){for(var n=t.target;n.parentNode!==document;){if(n.tagName===e)return n;n=n.parentNode}}},function(t,e){t.exports=!1},function(t,e,n){function i(t){a(t,o,{value:{i:"O"+ ++c,w:{}}})}var o=n(37)("meta"),r=n(4),s=n(16),a=n(8).f,c=0,u=Object.isExtensible||function(){return!0},l=!n(3)(function(){return u(Object.preventExtensions({}))}),p=t.exports={KEY:o,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,o)){if(!u(t))return"F";if(!e)return"E";i(t)}return t[o].i},getWeak:function(t,e){if(!s(t,o)){if(!u(t))return!0;if(!e)return!1;i(t)}return t[o].w},onFreeze:function(t){return l&&p.NEED&&u(t)&&!s(t,o)&&i(t),t}}},function(t,e,n){var i=n(5)("unscopables"),o=Array.prototype;null==o[i]&&n(12)(o,i,{}),t.exports=function(t){o[i][t]=!0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(165);Object.defineProperty(e,"compose",{enumerable:!0,get:function(){return i.compose}});var o=n(166);Object.defineProperty(e,"DateHelper",{enumerable:!0,get:function(){return o.DateHelper}});var r=n(167);Object.defineProperty(e,"OptionItem",{enumerable:!0,get:function(){return r.OptionItem}});var s=n(168);Object.defineProperty(e,"Period",{enumerable:!0,get:function(){return s.Period}});var a=n(169);Object.defineProperty(e,"renderEmptyOption",{enumerable:!0,get:function(){return a.renderEmptyOption}})},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(109),o=n(76);t.exports=Object.keys||function(t){return i(t,o)}},function(t,e,n){var i=n(23),o=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?o(t+e,0):r(t,e)}},function(t,e,n){function i(){}var o=n(1),r=n(110),s=n(76),a=n(75)("IE_PROTO"),c="prototype",u=function(){var t=n(73)("iframe"),e=s.length;for(t.style.display="none",n(77).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;e--;)delete u[c][s[e]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(i[c]=o(t),n=new i,i[c]=null,n[a]=t):n=u(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(109),o=n(76).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},function(t,e,n){"use strict";var i=n(2),o=n(8),r=n(7),s=n(5)("species");t.exports=function(t){t=i[t];r&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var p=n(21),f=n(122),d=n(88),h=n(1),v=n(6),g=n(90),b={},y={};(e=t.exports=function(t,e,n,i,o){var r,s,a,c,o=o?function(){return t}:g(t),u=p(n,i,e?2:1),l=0;if("function"!=typeof o)throw TypeError(t+" is not iterable!");if(d(o)){for(r=v(t.length);l<r;l++)if((c=e?u(h(s=t[l])[0],s[1]):u(t[l]))===b||c===y)return c}else for(a=o.call(t);!(s=a.next()).done;)if((c=f(a,u,s.value,e))===b||c===y)return c}).BREAK=b,e.RETURN=y},function(t,e,n){var o=n(13);t.exports=function(t,e,n){for(var i in e)o(t,i,e[i],n);return t}},function(t,e,n){var i=n(4);t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";t.exports=function(t){var e;return(e=document.createElement("div")).innerHTML=t,e=e.childNodes,Array.isArray(e)?e:[].slice.call(e)}},function(t,e,n){var i=n(8).f,o=n(16),r=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e,n){var i=n(22),o=n(5)("toStringTag"),r="Arguments"==i(function(){return arguments}());t.exports=function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?t:r?i(e):"Object"==(t=i(e))&&"function"==typeof e.callee?"Arguments":t}},function(t,e,n){var r=n(0),i=n(26),s=n(3),a=n(79),n="["+a+"]",o=RegExp("^"+n+n+"*"),c=RegExp(n+n+"*$"),n=function(t,e,n){var i={},o=s(function(){return!!a[t]()||"
"!="
"[t]()}),e=i[t]=o?e(u):a[t];n&&(i[n]=e),r(r.P+r.F*o,"String",i)},u=n.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(o,"")),t=2&e?t.replace(c,""):t};t.exports=n},function(t,e){t.exports={}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.EventEmitter=function(t){return{$event:t}}},function(t,e,n){var i=n(20),o=n(2),r="__core-js_shared__",s=o[r]||(o[r]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(32)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var i=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var i=n(1);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var i=n(1),o=n(11),r=n(5)("species");t.exports=function(t,e){var n,t=i(t).constructor;return void 0===t||null==(n=i(t)[r])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlipTag=e.defaultTagBackground=e.blipTagCompactClass=e.blipTagSelectColorClass=void 0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var s=v(['<span\n onclick="','"\n class="','"\n >x</span\n >'],['<span\n onclick="','"\n class="','"\n >x</span\n >']),a=v(['\n <div\n class="blip-tag-wrapper '," ",'"\n >\n <div\n tabindex="0"\n id="','"\n onclick="','"\n onmousedown="','"\n onmouseup="','"\n onkeydown="','"\n class="blip-tag"\n style="','"\n >\n <span class="','">',"</span>\n ","\n </div>\n ","\n </div>\n "],['\n <div\n class="blip-tag-wrapper '," ",'"\n >\n <div\n tabindex="0"\n id="','"\n onclick="','"\n onmousedown="','"\n onmouseup="','"\n onkeydown="','"\n class="blip-tag"\n style="','"\n >\n <span class="','">',"</span>\n ","\n </div>\n ","\n </div>\n "]),c=v([' <ul class="','" tabindex="0">\n ',"\n </ul>"],[' <ul class="','" tabindex="0">\n ',"\n </ul>"]),u=v(['\n <li\n onclick="','"\n class="','"\n style="background: ','"\n data-color="','"\n ></li>\n '],['\n <li\n onclick="','"\n class="','"\n style="background: ','"\n data-color="','"\n ></li>\n ']),l=n(31),p=n(52),f=h(n(15)),d=h(n(10));function h(t){return t&&t.__esModule?t:{default:t}}function v(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}e.blipTagSelectColorClass="blip-tag-select-color";var g=e.blipTagCompactClass="blip-tag--compact",b=(e.defaultTagBackground="#2cc3d5",["#0CC7CB","#FF4A1E","#FF6F1E","#FF961E","#1EDEFF","#1EA1FF","#61D36F","#37C5AB","#7762E3","#EA4D9C","#FC91AE","#FF1E90","#80E3EB","#167491","#B3D4FF","#0747A6","#000000","#DFEA95","#0A6045","#90E6BC","#21CC79","#AA398D","#3A4A65","#6E7B91","#B9CBD3","#4F0E87","#CC99FF","#B2B229","#757010","#FFEC03"]);e.BlipTag=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(y,f.default),o(y,[{key:"createElement",value:function(t){var e=this;this.props=i({},this.props,t);var n;return(0,d.default)(a,this.tagOptions.classes,(n=""+e.tagOptions.tagClasses,e.props.collapsed&&(n+=" "+g),e.tagOptions.canRemoveTag&&e.tagOptions.onRemove&&(n+=" blip-tag--can-remove"),n),this.props.id||this.tagOptions.id,this._handleTagClick,this._stopPropagation,this._stopPropagation,this._handleTagKeydown,this.props.background?"background: "+this.props.background:"","blip-tag__label",this.props.label,e.tagOptions.onRemove&&e.tagOptions.canRemoveTag?(0,d.default)(s,e._handleRemoveTag,"blip-tag__remove"):"",this.props.canChangeBackground&&!this.props.collapsed?(0,d.default)(c,"blip-tag-select-color",b.map(function(t){return(0,d.default)(u,e._selectColor.bind(e),"blip-tag-color-option",t,t)})):"")}},{key:"update",value:function(t){return void 0===t.collapsed||t.collapsed===this.props.collapsed||(this.toggleCollapse(),this.props.collapsed=t.collapsed,!1)}},{key:"getValue",value:function(){return this.props.label}},{key:"_stopPropagation",value:function(t){t.stopPropagation()}},{key:"_selectColor",value:function(t){t=t.target.getAttribute("data-color");this.render(i({},this.props,{background:t,canChangeBackground:!1})),this.tagOptions.onSelectColor.call(this,(0,p.EventEmitter)({tag:this}))}},{key:"_removeTag",value:function(t){t&&(t.preventDefault(),t.stopPropagation()),this.tagOptions.onRemove&&this.tagOptions.canRemoveTag&&this.tagOptions.onRemove.call(this,(0,p.EventEmitter)({tag:this,event:t}))}},{key:"_onTagKeydown",value:function(t){this.tagOptions.onTagKeydown.call(this,t),8===t.keyCode&&this._removeTag(t)}},{key:"_onTagClick",value:function(t){this.tagOptions.onTagClick.call(this,(0,p.EventEmitter)({tag:this})),this.tagOptions.toggleCollapse&&this.render({collapsed:!this.props.collapsed})}},{key:"toggleCollapse",value:function(){this.element.classList.contains(g)?this.element.classList.remove(g):this.element.classList.add(g)}},{key:"canChangeBackground",get:function(){return this.props.canChangeBackground}},{key:"label",get:function(){return this.props.label}},{key:"id",get:function(){return this.tagOptions.id}}]),y);function y(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,y);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this));return e.$state={id:"blip-tag-"+(0,l.guid)(),mode:"full",classes:"",tagClasses:"",canRemoveTag:!0,onRemove:void 0,toggleCollapse:!1,onTagClick:function(){},onSelectColor:function(){},onTagKeydown:function(){}},e.tagOptions=i({},e.$state,t),e._handleRemoveTag=e._removeTag.bind(e),e._handleTagKeydown=e._onTagKeydown.bind(e),e._handleTagClick=e._onTagClick.bind(e),e.props={id:e.tagOptions.id,background:void 0,label:void 0,canChangeBackground:!1,collapsed:!1},e}},function(t,e,n){var c=n(17),u=n(6),l=n(39);t.exports=function(a){return function(t,e,n){var i,o=c(t),r=u(o.length),s=l(n,r);if(a&&e!=e){for(;s<r;)if((i=o[s++])!=i)return!0}else for(;s<r;s++)if((a||s in o)&&o[s]===e)return a||s||0;return!a&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(22);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var s=n(23),a=n(26);t.exports=function(r){return function(t,e){var n,i=String(a(t)),o=s(e),t=i.length;return o<0||t<=o?r?"":void 0:(e=i.charCodeAt(o))<55296||56319<e||o+1===t||(n=i.charCodeAt(o+1))<56320||57343<n?r?i.charAt(o):e:r?i.slice(o,o+2):n-56320+(e-55296<<10)+65536}}},function(t,e,n){var i=n(4),o=n(22),r=n(5)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("iterator"),s=!1;try{var i=[7][r]();i.return=function(){s=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!s)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var i=n(49),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){n=n.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(126);var c=n(13),u=n(12),l=n(3),p=n(26),f=n(5),d=n(94),h=f("species"),v=!l(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),g=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};t="ab".split(t);return 2===t.length&&"a"===t[0]&&"b"===t[1]}();t.exports=function(n,t,e){var r,i,o=f(n),s=!l(function(){var t={};return t[o]=function(){return 7},7!=""[n](t)}),a=s?!l(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[h]=function(){return e}),e[o](""),!t}):void 0;s&&a&&("replace"!==n||v)&&("split"!==n||g)||(r=/./[o],e=(a=e(p,o,""[n],function(t,e,n,i,o){return e.exec===d?s&&!o?{done:!0,value:r.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}))[0],i=a[1],c(String.prototype,n,e),u(RegExp.prototype,o,2==t?function(t,e){return i.call(t,this,e)}:function(t){return i.call(t,this)}))}},function(t,e,n){n=n(2).navigator;t.exports=n&&n.userAgent||""},function(t,e,n){"use strict";var b=n(2),y=n(0),m=n(13),_=n(45),O=n(33),w=n(44),C=n(43),k=n(4),S=n(3),x=n(64),E=n(48),P=n(80);t.exports=function(n,t,e,i,o,r){function s(t){var n=v[t];m(v,t,"delete"==t?function(t){return!(r&&!k(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(r&&!k(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return r&&!k(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})}var a,c,u,l,p,f=b[n],d=f,h=o?"set":"add",v=d&&d.prototype,g={};return"function"==typeof d&&(r||v.forEach&&!S(function(){(new d).entries().next()}))?(c=(a=new d)[h](r?{}:-0,1)!=a,u=S(function(){a.has(1)}),l=x(function(t){new d(t)}),p=!r&&S(function(){for(var t=new d,e=5;e--;)t[h](e,e);return!t.has(-0)}),l||(((d=t(function(t,e){C(t,d,n);t=P(new f,t,d);return null!=e&&w(e,o,t[h],t),t})).prototype=v).constructor=d),(u||p)&&(s("delete"),s("has"),o&&s("get")),(p||c)&&s(h),r&&v.clear&&delete v.clear):(d=i.getConstructor(t,n,o,h),_(d.prototype,e),O.NEED=!0),E(d,n),g[n]=d,y(y.G+y.W+y.F*(d!=f),g),r||i.setStrong(d,n,o),d}},function(t,e,n){for(var i,o=n(2),r=n(12),n=n(37),s=n("typed_array"),a=n("view"),n=!(!o.ArrayBuffer||!o.DataView),c=n,u=0,l="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");u<9;)(i=o[l[u++]])?(r(i.prototype,s,!0),r(i.prototype,a,!0)):c=!1;t.exports={ABV:n,CONSTR:c,TYPED:s,VIEW:a}},function(t,e,n){"use strict";t.exports=n(32)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){"use strict";var i=n(0);t.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){"use strict";var i=n(0),s=n(11),a=n(21),c=n(44);t.exports=function(t){i(i.S,t,{from:function(t){var e,n,i,o,r=arguments[1];return s(this),(e=void 0!==r)&&s(r),null==t?new this:(n=[],e?(i=0,o=a(r,arguments[2],2),c(t,!1,function(t){n.push(o(t,i++))})):c(t,!1,n.push,n),new this(n))}})}},function(t,e,n){var i=n(4),o=n(2).document,r=i(o)&&i(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e,n){var i=n(2),o=n(20),r=n(32),s=n(108),a=n(8).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=!r&&i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var i=n(53)("keys"),o=n(37);t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){n=n(2).document;t.exports=n&&n.documentElement},function(t,e,o){function r(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var n=o(4),i=o(1);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,i){try{(i=o(21)(Function.call,o(18).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return r(t,e),n?t.__proto__=e:i(t,e),t}}({},!1):void 0),check:r}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var o=n(4),r=n(78).set;t.exports=function(t,e,n){var i,e=e.constructor;return e!==n&&"function"==typeof e&&(i=e.prototype)!==n.prototype&&o(i)&&r&&r(t,i),t}},function(t,e,n){"use strict";var o=n(23),r=n(26);t.exports=function(t){var e=String(r(this)),n="",i=o(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;0<i;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||22025.465794806718<n(10)||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";function y(){return this}var m=n(32),_=n(0),O=n(13),w=n(12),C=n(51),k=n(85),S=n(48),x=n(19),E=n(5)("iterator"),P=!([].keys&&"next"in[].keys()),T="values";t.exports=function(t,e,n,i,o,r,s){k(n,e,i);function a(t){if(!P&&t in h)return h[t];switch(t){case"keys":case T:return function(){return new n(this,t)}}return function(){return new n(this,t)}}var c,u,l,p=e+" Iterator",f=o==T,d=!1,h=t.prototype,v=h[E]||h["@@iterator"]||o&&h[o],g=v||a(o),b=o?f?a("entries"):g:void 0,i="Array"==e&&h.entries||v;if(i&&(l=x(i.call(new t)))!==Object.prototype&&l.next&&(S(l,p,!0),m||"function"==typeof l[E]||w(l,E,y)),f&&v&&v.name!==T&&(d=!0,g=function(){return v.call(this)}),m&&!s||!P&&!d&&h[E]||w(h,E,g),C[e]=g,C[p]=y,o)if(c={values:f?g:a(T),keys:r?g:a("keys"),entries:b},s)for(u in c)u in h||O(h,u,c[u]);else _(_.P+_.F*(P||d),e,c);return c}},function(t,e,n){"use strict";var i=n(40),o=n(36),r=n(48),s={};n(12)(s,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:o(1,n)}),r(t,e+" Iterator")}},function(t,e,n){var i=n(63),o=n(26);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var i=n(5)("match");t.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[i]=!1,!"/./"[e](n)}catch(t){}}return!0}},function(t,e,n){var i=n(51),o=n(5)("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||r[o]===t)}},function(t,e,n){"use strict";var i=n(8),o=n(36);t.exports=function(t,e,n){e in t?i.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var i=n(49),o=n(5)("iterator"),r=n(51);t.exports=n(20).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[i(t)]}},function(t,e,n){var i=n(287);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){"use strict";var s=n(9),a=n(39),c=n(6);t.exports=function(t){for(var e=s(this),n=c(e.length),i=arguments.length,o=a(1<i?arguments[1]:void 0,n),i=2<i?arguments[2]:void 0,r=void 0===i?n:a(i,n);o<r;)e[o++]=t;return e}},function(t,e,n){"use strict";var i=n(34),o=n(125),r=n(51),s=n(17);t.exports=n(84)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var i,s=n(56),a=RegExp.prototype.exec,c=String.prototype.replace,o=a,u="lastIndex",l=(i=/a/,n=/b*/g,a.call(i,"a"),a.call(n,"a"),0!==i[u]||0!==n[u]),p=void 0!==/()??/.exec("")[1];(l||p)&&(o=function(t){var e,n,i,o,r=this;return p&&(n=new RegExp("^"+r.source+"$(?!\\s)",s.call(r))),l&&(e=r[u]),i=a.call(r,t),l&&i&&(r[u]=r.global?i.index+i[0].length:e),p&&i&&1<i.length&&c.call(i[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)}),i}),t.exports=o},function(t,e,n){"use strict";var i=n(62)(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},function(t,e,n){function i(){var t,e=+this;b.hasOwnProperty(e)&&(t=b[e],delete b[e],t())}function o(t){i.call(t.data)}var r,s=n(21),a=n(115),c=n(77),u=n(73),l=n(2),p=l.process,f=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,g=0,b={},y="onreadystatechange";f&&d||(f=function(t){for(var e=[],n=1;n<arguments.length;)e.push(arguments[n++]);return b[++g]=function(){a("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete b[t]},"process"==n(22)(p)?r=function(t){p.nextTick(s(i,t,1))}:v&&v.now?r=function(t){v.now(s(i,t,1))}:h?(h=(n=new h).port2,n.port1.onmessage=o,r=s(h.postMessage,h,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",o,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),i.call(t)}}:function(t){setTimeout(s(i,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,n){var a=n(2),c=n(96).set,u=a.MutationObserver||a.WebKitMutationObserver,l=a.process,p=a.Promise,f="process"==n(22)(l);t.exports=function(){function t(){var t,e;for(f&&(t=l.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?o():i=void 0,t}}i=void 0,t&&t.enter()}var n,i,e,o,r,s;return o=f?function(){l.nextTick(t)}:!u||a.navigator&&a.navigator.standalone?p&&p.resolve?(e=p.resolve(void 0),function(){e.then(t)}):function(){c.call(a,t)}:(r=!0,s=document.createTextNode(""),new u(t).observe(s,{characterData:!0}),function(){s.data=r=!r}),function(t){t={fn:t,next:void 0};i&&(i.next=t),n||(n=t,o()),i=t}}},function(t,e,n){"use strict";var o=n(11);function i(t){var n,i;this.promise=new t(function(t,e){if(void 0!==n||void 0!==i)throw TypeError("Bad Promise constructor");n=t,i=e}),this.resolve=o(n),this.reject=o(i)}t.exports.f=function(t){return new i(t)}},function(t,e,n){"use strict";var i=n(2),o=n(7),r=n(32),s=n(69),a=n(12),c=n(45),u=n(3),l=n(43),p=n(23),f=n(6),d=n(135),h=n(41).f,v=n(8).f,g=n(92),b=n(48),y="ArrayBuffer",m="DataView",_="prototype",O="Wrong index!",w=i[y],C=i[m],n=i.Math,k=i.RangeError,S=i.Infinity,x=w,E=n.abs,P=n.pow,T=n.floor,D=n.log,L=n.LN2,i="byteLength",n="byteOffset",M=o?"_b":"buffer",I=o?"_l":i,j=o?"_o":n;function A(t,e,n){var i,o,r=new Array(n),s=8*n-e-1,a=(1<<s)-1,c=a>>1,u=23===e?P(2,-24)-P(2,-77):0,l=0,p=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(o=t!=t?1:0,i=a):(i=T(D(t)/L),t*(n=P(2,-i))<1&&(i--,n*=2),2<=(t+=1<=i+c?u/n:u*P(2,1-c))*n&&(i++,n/=2),a<=i+c?(o=0,i=a):1<=i+c?(o=(t*n-1)*P(2,e),i+=c):(o=t*P(2,c-1)*P(2,e),i=0));8<=e;r[l++]=255&o,o/=256,e-=8);for(i=i<<e|o,s+=e;0<s;r[l++]=255&i,i/=256,s-=8);return r[--l]|=128*p,r}function B(t,e,n){var i,o=8*n-e-1,r=(1<<o)-1,s=r>>1,a=o-7,c=n-1,n=t[c--],u=127&n;for(n>>=7;0<a;u=256*u+t[c],c--,a-=8);for(i=u&(1<<-a)-1,u>>=-a,a+=e;0<a;i=256*i+t[c],c--,a-=8);if(0===u)u=1-s;else{if(u===r)return i?NaN:n?-S:S;i+=P(2,e),u-=s}return(n?-1:1)*i*P(2,u-e)}function F(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function R(t){return[255&t,t>>8&255]}function H(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function V(t){return A(t,52,8)}function q(t){return A(t,23,4)}function W(t,e,n){v(t[_],e,{get:function(){return this[n]}})}function z(t,e,n,i){var o=d(+n);if(o+e>t[I])throw k(O);n=t[M]._b,t=o+t[j],e=n.slice(t,t+e);return i?e:e.reverse()}function G(t,e,n,i,o,r){n=d(+n);if(n+e>t[I])throw k(O);for(var s=t[M]._b,a=n+t[j],c=i(+o),u=0;u<e;u++)s[a+u]=c[r?u:e-u-1]}if(s.ABV){if(!u(function(){w(1)})||!u(function(){new w(-1)})||u(function(){return new w,new w(1.5),new w(NaN),w.name!=y})){for(var $,U=(w=function(t){return l(this,w),new x(d(t))})[_]=x[_],Y=h(x),K=0;Y.length>K;)($=Y[K++])in w||a(w,$,x[$]);r||(U.constructor=w)}var U=new C(new w(2)),Z=C[_].setInt8;U.setInt8(0,2147483648),U.setInt8(1,2147483649),!U.getInt8(0)&&U.getInt8(1)||c(C[_],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else w=function(t){l(this,w,y);t=d(t);this._b=g.call(new Array(t),0),this[I]=t},C=function(t,e,n){l(this,C,m),l(t,w,m);var i=t[I],e=p(e);if(e<0||i<e)throw k("Wrong offset!");if(i<e+(n=void 0===n?i-e:f(n)))throw k("Wrong length!");this[M]=t,this[j]=e,this[I]=n},o&&(W(w,i,"_l"),W(C,"buffer","_b"),W(C,i,"_l"),W(C,n,"_o")),c(C[_],{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){t=z(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=z(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return F(z(this,4,t,arguments[1]))},getUint32:function(t){return F(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){G(this,1,t,N,e)},setUint8:function(t,e){G(this,1,t,N,e)},setInt16:function(t,e){G(this,2,t,R,e,arguments[2])},setUint16:function(t,e){G(this,2,t,R,e,arguments[2])},setInt32:function(t,e){G(this,4,t,H,e,arguments[2])},setUint32:function(t,e){G(this,4,t,H,e,arguments[2])},setFloat32:function(t,e){G(this,4,t,q,e,arguments[2])},setFloat64:function(t,e){G(this,8,t,V,e,arguments[2])}});b(w,y),b(C,m),a(C[_],s.VIEW,!0),e[y]=w,e[m]=C},function(t,e,n){var i="undefined"!=typeof global?global:"undefined"!=typeof window?window:{},n=n(146),o="undefined"!=typeof document?document:(o=i["__GLOBAL_DOCUMENT_CACHE@4"])||(i["__GLOBAL_DOCUMENT_CACHE@4"]=n);t.exports=o},function(t,e){t.exports='<svg version="1.1" viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M36.02 9.88001C30.8503 9.87606 25.7954 11.4046 21.495 14.2723C17.1946 17.14 13.8417 21.218 11.8606 25.9905C9.87948 30.7629 9.35908 36.0154 10.3652 41.0835C11.3714 46.1516 13.8589 50.8076 17.513 54.4626C21.1672 58.1175 25.8239 60.6072 30.8941 61.6166C35.9642 62.6261 41.22 62.11 45.9966 60.1337C50.7733 58.1573 54.8561 54.8094 57.7287 50.5136C60.6013 46.2177 62.1345 41.1669 62.1345 36C62.1266 29.0785 59.3733 22.4424 54.4782 17.5462C49.5831 12.65 42.9454 9.89324 36.02 9.88001ZM40.5225 43.33C40.7345 43.581 40.8947 43.8714 40.9939 44.1846C41.0931 44.4977 41.1293 44.8273 41.1005 45.1545C41.0716 45.4817 40.9783 45.8 40.8259 46.091C40.6735 46.3819 40.465 46.6399 40.2123 46.85C39.7648 47.2275 39.1971 47.4332 38.6115 47.43C38.2455 47.4318 37.8836 47.353 37.5516 47.1991C37.2196 47.0453 36.9255 46.8203 36.6904 46.54L29.7465 38.26C29.2175 37.6256 28.9278 36.8259 28.9278 36C28.9278 35.1742 29.2175 34.3744 29.7465 33.74L36.6904 25.46C36.8973 25.1962 37.1551 24.9766 37.4486 24.8143C37.7422 24.6521 38.0653 24.5505 38.3989 24.5156C38.7325 24.4807 39.0697 24.5132 39.3904 24.6112C39.7112 24.7092 40.009 24.8707 40.266 25.086C40.5231 25.3013 40.7342 25.5661 40.8868 25.8647C41.0394 26.1632 41.1303 26.4893 41.1543 26.8237C41.1782 27.158 41.1346 27.4938 41.0261 27.811C40.9175 28.1282 40.7463 28.4203 40.5225 28.67L34.3591 36L40.5225 43.33Z"></path></svg>'},function(t,e){t.exports='<svg version="1.1" viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M36.02 9.88001C30.8503 9.87606 25.7954 11.4046 21.495 14.2723C17.1946 17.14 13.8417 21.218 11.8606 25.9905C9.87948 30.7629 9.35908 36.0154 10.3652 41.0835C11.3714 46.1516 13.8589 50.8076 17.513 54.4626C21.1672 58.1175 25.8239 60.6072 30.8941 61.6166C35.9642 62.6261 41.22 62.11 45.9966 60.1337C50.7733 58.1573 54.8561 54.8094 57.7287 50.5136C60.6013 46.2177 62.1345 41.1669 62.1345 36C62.1266 29.0785 59.3733 22.4424 54.4782 17.5462C49.5831 12.65 42.9454 9.89324 36.02 9.88001ZM42.2935 38.26L35.3497 46.54C35.1136 46.8192 34.8194 47.0435 34.4876 47.1973C34.1557 47.351 33.7943 47.4304 33.4286 47.43C32.8429 47.4332 32.2753 47.2275 31.8277 46.85C31.5751 46.6399 31.3666 46.3819 31.2142 46.091C31.0617 45.8 30.9684 45.4817 30.9396 45.1545C30.9108 44.8273 30.947 44.4977 31.0462 44.1846C31.1454 43.8714 31.3055 43.581 31.5175 43.33L37.6309 36L31.4975 28.67C31.0971 28.1593 30.911 27.5131 30.9786 26.8678C31.0461 26.2225 31.3621 25.6287 31.8596 25.2119C32.3572 24.7952 32.9973 24.5881 33.6448 24.6344C34.2924 24.6806 34.8965 24.9767 35.3296 25.46L42.2735 33.74C42.8025 34.3744 43.0923 35.1742 43.0923 36C43.0923 36.8259 42.8025 37.6256 42.2735 38.26H42.2935Z"></path></svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlipDatepicker=void 0;var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var s=k(['<div class="','"></div>'],['<div class="','"></div>']),a=k(['\n <table class="','">\n <thead>\n <tr>\n <th>\n <button class="'," ",'"\n value="-1">','</button>\n </th>\n <th colspan="6">\n <span class="','"></span>\n <input class="','" type="number">\n </th>\n <th>\n <button class="'," ",'"\n value="1">',"</button>\n </th>\n </tr>\n </thead>\n <tbody></tbody>\n </table>"],['\n <table class="','">\n <thead>\n <tr>\n <th>\n <button class="'," ",'"\n value="-1">','</button>\n </th>\n <th colspan="6">\n <span class="','"></span>\n <input class="','" type="number">\n </th>\n <th>\n <button class="'," ",'"\n value="1">',"</button>\n </th>\n </tr>\n </thead>\n <tbody></tbody>\n </table>"]),c=k(['\n <td class="','" title="','">\n ',"\n </td>"],['\n <td class="','" title="','">\n ',"\n </td>"]),u=k(['\n <td class="','">\n <div></div>\n </td>'],['\n <td class="','">\n <div></div>\n </td>']),l=k(['\n <div class="','" style="position: absolute;"></div>'],['\n <div class="','" style="position: absolute;"></div>']),p=k(["<div></div>"],["<div></div>"]),f=k(['\n <label>\n <input type="radio" name="dateSelector" style="display: none;">\n <div></div>\n </label>'],['\n <label>\n <input type="radio" name="dateSelector" style="display: none;">\n <div></div>\n </label>']),d=k(['\n <div class="','">\n ',"\n </div>"],['\n <div class="','">\n ',"\n </div>"]),h=k(['\n <div class="','">\n <input class="','" type="time" required />\n </div>'],['\n <div class="','">\n <input class="','" type="time" required />\n </div>']),v=k(["<hr>"],["<hr>"]),g=C(n(15)),b=C(n(10)),y=C(n(47)),m=n(35),_=n(31),O=C(n(101)),w=C(n(102));function C(t){return t&&t.__esModule?t:{default:t}}function k(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}o=e.BlipDatepicker=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(S,g.default),o(S,[{key:"createElement",value:function(t){return this._datepicker=(0,b.default)(s,S.style.datepicker),this._createMonthTable(),this._createDateSelector(),this.hasTime&&this._createTimeStructure(),this._addEventListeners(),this.monthDate=new Date(t),this._datepicker}},{key:"_createMonthTable",value:function(){var t=this,e=(0,b.default)(a,S.style.monthTable,S.style.monthButton,S.style.monthPrev,(0,y.default)(O.default),S.style.monthTitle,S.style.yearInput,S.style.monthButton,S.style.monthNext,(0,y.default)(w.default)),i=e.querySelector("tbody"),n=i.insertRow();n.classList.add(S.style.weekdayWeek),this.i18n.weekdays.forEach(function(t){t=(0,b.default)(c,S.style.weekDay,t,t[0]);n.appendChild(t)});for(var o=[],r=[],s=0;s<S.monthRows;s++)!function(){var n=i.insertRow();t.i18n.weekdays.forEach(function(t){var e=(0,b.default)(u,S.style.monthDay);r.push(e),n.appendChild(e)}),o.push(n)}();this._datepicker.appendChild(e),this._monthTable=e,this._tableHead=e.querySelector("thead"),this._monthTitle=e.querySelector("."+S.style.monthTitle),this._yearInput=e.querySelector("."+S.style.yearInput),this._prevButton=e.querySelector("."+S.style.monthPrev),this._nextButton=e.querySelector("."+S.style.monthNext),this._tableBody=i,this._daysRows=o,this._monthDays=r}},{key:"_createDateSelector",value:function(){for(var t=(0,b.default)(l,S.style.dateSelector),e=[],n=[],i=0;i<S.selectorRows;i++){for(var o=(0,b.default)(p),r=0;r<S.selectorColumns;r++){var s=(0,b.default)(f),a=s.querySelector("input"),c=s.querySelector("div");e.push(c),n.push(a),o.appendChild(s)}t.appendChild(o)