Socket
Socket
Sign inDemoInstall

chimee-helper

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chimee-helper - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

package-lock.json

2

lib/index.flow.js

@@ -69,3 +69,2 @@ declare module 'chimee-helper' {

declare export function findParents (el: Node, endEl?: Node, haveEl: boolean, haveEndEl: boolean): Array<Node>;
declare export function $ (selector: string | Node, container?: Node): NodeWrap;
declare export class NodeWrap {

@@ -92,2 +91,3 @@ each (...args: Array<Function>): NodeWrap;

}
declare export function $ (selector: string | Node, container?: Node): NodeWrap;

@@ -94,0 +94,0 @@ declare export class Log {

/**
* chimee-helper v0.2.3
* chimee-helper v0.2.4
* (c) 2017 toxic-johann

@@ -5,0 +5,0 @@ * Released under MIT

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.chimeeHelper={})}(this,function(e){"use strict";function t(e){return e&&e.__esModule?e.default:e}function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return void 0===e||null===e}function i(e){return Array.isArray(e)}function o(e){return"function"==typeof e}function a(e){return Object(e)===e&&"[object Object]"===String(e)&&!o(e)&&!i(e)}function u(e){return"number"==typeof e}function s(e){return e instanceof Blob}function c(e){return"string"==typeof e||e instanceof String}function f(e){return"boolean"==typeof e}function l(e){return r(e)||f(e)||c(e)||u(e)}function d(e){return!!("object"===("undefined"==typeof Node?"undefined":Cn(Node))?e instanceof Node:e&&"object"===(void 0===e?"undefined":Cn(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName)}function h(e){function t(n,r,o){if(i(n)||a(n)){r=r||(a(n)?{}:[]);for(var u in n)r[u]=t(n[u],r[u],u);return r}return e(n,r,o)}return t}function p(e,t){return e.replace(/(^|[^a-zA-Z]+)([a-zA-Z])/g,function(e,n,r,i){return t||0!==i?r.toUpperCase():r.toLowerCase()})}function v(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function m(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=X(t),this.reject=X(n)}function w(e,t,n){var r=e;if(t+n<r.length){for(;n--;)if(128!=(192&r[++t]))return!1;return!0}return!1}function y(e,t){var n=t,r=(e=""+(e||"")).length;return(((t=(t||r)-r)>0?e.repeat?"0".repeat(t):new Array(t+1).join("0"):"")+e).slice(0,n)}function g(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++ci.count);var r=n+"_"+t,i=ci[r];return i||(i=ci[r]=[]),i}function b(e,t,n){var r=si(null);r.type=t,r.target=e,n&&oi(r,a(n)?n:{data:n}),g(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[r])})}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var a=[n,void 0,r];r&&!i&&(i=function(){E(e,t,n,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n.apply(e,o)}),i&&(a[1]=i),g(e,t).push(a)}function E(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=g(e,t);if(n||r){var o=-1,a=void 0;return i.find(function(e,t){if((!n||e[0]===n)&&(!r||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function S(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++li.count);var r=n+"_"+t,i=li[r];return i||(i=li[r]=[]),i}function A(e,t,n){var r=si(null);r.type=t,r.target=e,n&&oi(r,a(n)?n:{data:n}),S(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[r])})}function O(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var a=[n,void 0,r];r&&!i&&(i=function(){k(e,t,n,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n.apply(e,o)}),i&&(a[1]=i),S(e,t).push(a)}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=S(e,t);if(n||r){var o=-1,a=void 0;return i.find(function(e,t){if((!n||e[0]===n)&&(!r||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function x(e){return At(e)}function T(e,t){return e.getAttribute(t)}function j(e,t,n){void 0===n?e.removeAttribute(t):e.setAttribute(t,n)}function N(e,t){if(t&&(t=t.trim())){var n=t.split(/\s+/);if(e.classList)n.forEach(function(t){return e.classList.add(t)});else{var r=" "+(e.className||"")+" ";n.forEach(function(e){-1===r.indexOf(" "+e+" ")&&(r+=" "+e)}),e.className=r.trim()}}}function M(e,t){if(t&&(t=t.trim())){var n=t.split(/\s+/);if(e.classList)n.forEach(function(t){return e.classList.remove(t)});else{var r=" "+e.className+" ";n.forEach(function(e){for(var t=" "+e+" ";-1!==r.indexOf(t);)r=r.replace(t," ")}),e.className=r.trim()}}}function L(e,t){return new RegExp("(?:^|\\s)"+t+"(?=\\s|$)").test(e.className)}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r){var o=k(e,t+"_once",n);o&&(n=o)}e.removeEventListener(t,n,i)}function P(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r){var o=n;O(e,t+"_once",o,n=function(){for(var a=arguments.length,u=Array(a),s=0;s<a;s++)u[s]=arguments[s];o.apply(this,u),C(e,t,n,r,i)})}e.addEventListener(t,n,i)}function F(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=function(n){var i=I(n.target||n.srcElement,e,!0),o=D(t,e,!0).find(function(e){return i.find(function(t){return e===t})});o&&r.apply(o,arguments)};O(e,n+"_delegate_"+t,r,o),e.addEventListener(n,o,i)}function R(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=k(e,n+"_delegate_"+t,r);o&&e.removeEventListener(n,o,i)}function B(e,t){return(e.currentStyle||document.defaultView.getComputedStyle(e,null))[t]||e.style[t]}function z(e,t,n){if(a(t))for(var r in t)z(e,r,t[r]);else e.style[t]=n}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments[2],r=t.querySelectorAll(e);return n?At(r):r}function G(e){e.parentNode.removeChild(e)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3],i=[];for(n&&i.push(e);e&&e.parentNode!==t;)(e=e.parentNode)&&i.push(e);return r&&i.push(t),i}function V(e,t){return e.constructor===vi?e:new vi(e,t)}function U(e,t){if(!c(e))throw new TypeError("Log's method only acccept string as argument, but not "+e+" in "+(void 0===e?"undefined":Cn(e)));return c(t)?"["+(e=mi.FORCE_GLOBAL_TAG?mi.GLOBAL_TAG:e||mi.GLOBAL_TAG)+"] > "+t:"["+mi.GLOBAL_TAG+"] > "+e}var H="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},q=Math.ceil,W=Math.floor,$=function(e){return isNaN(e=+e)?0:(e>0?W:q)(e)},K=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},Q=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),Z=n(function(e){var t=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=t)}),X=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Y=function(e,t,n){if(X(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},J=function(e){return"object"==typeof e?null!==e:"function"==typeof e},ee=function(e){if(!J(e))throw TypeError(e+" is not an object!");return e},te=function(e){try{return!!e()}catch(e){return!0}},ne=!te(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),re=Q.document,ie=J(re)&&J(re.createElement),oe=function(e){return ie?re.createElement(e):{}},ae=!ne&&!te(function(){return 7!=Object.defineProperty(oe("div"),"a",{get:function(){return 7}}).a}),ue=function(e,t){if(!J(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!J(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!J(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!J(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},se=Object.defineProperty,ce={f:ne?Object.defineProperty:function(e,t,n){if(ee(e),t=ue(t,!0),ee(n),ae)try{return se(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},fe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},le=ne?function(e,t,n){return ce.f(e,t,fe(1,n))}:function(e,t,n){return e[t]=n,e},de=function(e,t,n){var r,i,o,a=e&de.F,u=e&de.G,s=e&de.S,c=e&de.P,f=e&de.B,l=e&de.W,d=u?Z:Z[t]||(Z[t]={}),h=d.prototype,p=u?Q:s?Q[t]:(Q[t]||{}).prototype;u&&(n=t);for(r in n)(i=!a&&p&&void 0!==p[r])&&r in d||(o=i?p[r]:n[r],d[r]=u&&"function"!=typeof p[r]?n[r]:f&&i?Y(o,Q):l&&p[r]==o?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(o):c&&"function"==typeof o?Y(Function.call,o):o,c&&((d.virtual||(d.virtual={}))[r]=o,e&de.R&&h&&!h[r]&&le(h,r,o)))};de.F=1,de.G=2,de.S=4,de.P=8,de.B=16,de.W=32,de.U=64,de.R=128;var he=de,pe=le,ve={}.hasOwnProperty,me=function(e,t){return ve.call(e,t)},we={},ye={}.toString,ge=function(e){return ye.call(e).slice(8,-1)},be=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==ge(e)?e.split(""):Object(e)},_e=function(e){return be(K(e))},Ee=Math.min,Se=function(e){return e>0?Ee($(e),9007199254740991):0},Ae=Math.max,Oe=Math.min,ke=function(e,t){return(e=$(e))<0?Ae(e+t,0):Oe(e,t)},xe=Q["__core-js_shared__"]||(Q["__core-js_shared__"]={}),Te=function(e){return xe[e]||(xe[e]={})},je=0,Ne=Math.random(),Me=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++je+Ne).toString(36))},Le=Te("keys"),Ce=function(e){return Le[e]||(Le[e]=Me(e))},Pe=function(e){return function(t,n,r){var i,o=_e(t),a=Se(o.length),u=ke(r,a);if(e&&n!=n){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((e||u in o)&&o[u]===n)return e||u||0;return!e&&-1}}(!1),Fe=Ce("IE_PROTO"),Re=function(e,t){var n,r=_e(e),i=0,o=[];for(n in r)n!=Fe&&me(r,n)&&o.push(n);for(;t.length>i;)me(r,n=t[i++])&&(~Pe(o,n)||o.push(n));return o},Be="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ze=Object.keys||function(e){return Re(e,Be)},De=ne?Object.defineProperties:function(e,t){ee(e);for(var n,r=ze(t),i=r.length,o=0;i>o;)ce.f(e,n=r[o++],t[n]);return e},Ge=Q.document,Ie=Ge&&Ge.documentElement,Ve=Ce("IE_PROTO"),Ue=function(){},He=function(){var e,t=oe("iframe"),n=Be.length;for(t.style.display="none",Ie.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),He=e.F;n--;)delete He.prototype[Be[n]];return He()},qe=Object.create||function(e,t){var n;return null!==e?(Ue.prototype=ee(e),n=new Ue,Ue.prototype=null,n[Ve]=e):n=He(),void 0===t?n:De(n,t)},We=n(function(e){var t=Te("wks"),n=Q.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:Me)("Symbol."+e))}).store=t}),$e=ce.f,Ke=We("toStringTag"),Qe=function(e,t,n){e&&!me(e=n?e:e.prototype,Ke)&&$e(e,Ke,{configurable:!0,value:t})},Ze={};le(Ze,We("iterator"),function(){return this});var Xe=function(e,t,n){e.prototype=qe(Ze,{next:fe(1,n)}),Qe(e,t+" Iterator")},Ye=function(e){return Object(K(e))},Je=Ce("IE_PROTO"),et=Object.prototype,tt=Object.getPrototypeOf||function(e){return e=Ye(e),me(e,Je)?e[Je]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?et:null},nt=We("iterator"),rt=!([].keys&&"next"in[].keys()),it=function(){return this},ot=function(e,t,n,r,i,o,a){Xe(n,t,r);var u,s,c,f=function(e){if(!rt&&e in p)return p[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},l=t+" Iterator",d="values"==i,h=!1,p=e.prototype,v=p[nt]||p["@@iterator"]||i&&p[i],m=v||f(i),w=i?d?f("entries"):m:void 0,y="Array"==t?p.entries||v:v;if(y&&(c=tt(y.call(new e)))!==Object.prototype&&c.next&&Qe(c,l,!0),d&&v&&"values"!==v.name&&(h=!0,m=function(){return v.call(this)}),a&&(rt||h||!p[nt])&&le(p,nt,m),we[t]=m,we[l]=it,i)if(u={values:d?m:f("values"),keys:o?m:f("keys"),entries:w},a)for(s in u)s in p||pe(p,s,u[s]);else he(he.P+he.F*(rt||h),t,u);return u},at=function(e){return function(t,n){var r,i,o=String(K(t)),a=$(n),u=o.length;return a<0||a>=u?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===u||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}}(!0);ot(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=at(t,n),this._i+=e.length,{value:e,done:!1})});var ut=function(e,t,n,r){try{return r?t(ee(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&ee(i.call(e)),t}},st=We("iterator"),ct=Array.prototype,ft=function(e){return void 0!==e&&(we.Array===e||ct[st]===e)},lt=function(e,t,n){t in e?ce.f(e,t,fe(0,n)):e[t]=n},dt=We("toStringTag"),ht="Arguments"==ge(function(){return arguments}()),pt=function(e,t){try{return e[t]}catch(e){}},vt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=pt(t=Object(e),dt))?n:ht?ge(t):"Object"==(r=ge(t))&&"function"==typeof t.callee?"Arguments":r},mt=We("iterator"),wt=Z.getIteratorMethod=function(e){if(void 0!=e)return e[mt]||e["@@iterator"]||we[vt(e)]},yt=We("iterator"),gt=!1;try{var bt=[7][yt]();bt.return=function(){gt=!0},Array.from(bt,function(){throw 2})}catch(e){}var _t=function(e,t){if(!t&&!gt)return!1;var n=!1;try{var r=[7],i=r[yt]();i.next=function(){return{done:n=!0}},r[yt]=function(){return i},e(r)}catch(e){}return n};he(he.S+he.F*!_t(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,i,o=Ye(e),a="function"==typeof this?this:Array,u=arguments.length,s=u>1?arguments[1]:void 0,c=void 0!==s,f=0,l=wt(o);if(c&&(s=Y(s,u>2?arguments[2]:void 0,2)),void 0==l||a==Array&&ft(l))for(n=new a(t=Se(o.length));t>f;f++)lt(n,f,c?s(o[f],f):o[f]);else for(i=l.call(o),n=new a;!(r=i.next()).done;f++)lt(n,f,c?ut(i,s,[r.value,f],!0):r.value);return n.length=f,n}});var Et=Z.Array.from,St=n(function(e){e.exports={default:Et,__esModule:!0}}),At=t(St),Ot=t(n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(St);t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,n.default)(e)}})),kt=function(){},xt=function(e,t){return{value:t,done:!!e}};ot(Array,"Array",function(e,t){this._t=_e(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,xt(1)):"keys"==t?xt(0,n):"values"==t?xt(0,e[n]):xt(0,[n,e[n]])},"values");we.Arguments=we.Array,kt(),kt(),kt();for(var Tt=We("toStringTag"),jt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Nt=0;Nt<jt.length;Nt++){var Mt=jt[Nt],Lt=Q[Mt],Ct=Lt&&Lt.prototype;Ct&&!Ct[Tt]&&le(Ct,Tt,Mt),we[Mt]=we.Array}var Pt={f:We},Ft=Pt.f("iterator"),Rt=n(function(e){e.exports={default:Ft,__esModule:!0}}),Bt=n(function(e){var t=Me("meta"),n=ce.f,r=0,i=Object.isExtensible||function(){return!0},o=!te(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},u=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!J(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!me(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!me(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return o&&u.NEED&&i(e)&&!me(e,t)&&a(e),e}}}),zt=ce.f,Dt=function(e){var t=Z.Symbol||(Z.Symbol={});"_"==e.charAt(0)||e in t||zt(t,e,{value:Pt.f(e)})},Gt=function(e,t){for(var n,r=_e(e),i=ze(r),o=i.length,a=0;o>a;)if(r[n=i[a++]]===t)return n},It={f:Object.getOwnPropertySymbols},Vt={f:{}.propertyIsEnumerable},Ut=function(e){var t=ze(e),n=It.f;if(n)for(var r,i=n(e),o=Vt.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},Ht=Array.isArray||function(e){return"Array"==ge(e)},qt=Be.concat("length","prototype"),Wt={f:Object.getOwnPropertyNames||function(e){return Re(e,qt)}},$t=Wt.f,Kt={}.toString,Qt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Zt=function(e){try{return $t(e)}catch(e){return Qt.slice()}},Xt={f:function(e){return Qt&&"[object Window]"==Kt.call(e)?Zt(e):$t(_e(e))}},Yt=Object.getOwnPropertyDescriptor,Jt={f:ne?Yt:function(e,t){if(e=_e(e),t=ue(t,!0),ae)try{return Yt(e,t)}catch(e){}if(me(e,t))return fe(!Vt.f.call(e,t),e[t])}},en=Bt.KEY,tn=Jt.f,nn=ce.f,rn=Xt.f,on=Q.Symbol,an=Q.JSON,un=an&&an.stringify,sn=We("_hidden"),cn=We("toPrimitive"),fn={}.propertyIsEnumerable,ln=Te("symbol-registry"),dn=Te("symbols"),hn=Te("op-symbols"),pn=Object.prototype,vn="function"==typeof on,mn=Q.QObject,wn=!mn||!mn.prototype||!mn.prototype.findChild,yn=ne&&te(function(){return 7!=qe(nn({},"a",{get:function(){return nn(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=tn(pn,t);r&&delete pn[t],nn(e,t,n),r&&e!==pn&&nn(pn,t,r)}:nn,gn=function(e){var t=dn[e]=qe(on.prototype);return t._k=e,t},bn=vn&&"symbol"==typeof on.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof on},_n=function(e,t,n){return e===pn&&_n(hn,t,n),ee(e),t=ue(t,!0),ee(n),me(dn,t)?(n.enumerable?(me(e,sn)&&e[sn][t]&&(e[sn][t]=!1),n=qe(n,{enumerable:fe(0,!1)})):(me(e,sn)||nn(e,sn,fe(1,{})),e[sn][t]=!0),yn(e,t,n)):nn(e,t,n)},En=function(e,t){ee(e);for(var n,r=Ut(t=_e(t)),i=0,o=r.length;o>i;)_n(e,n=r[i++],t[n]);return e},Sn=function(e){var t=fn.call(this,e=ue(e,!0));return!(this===pn&&me(dn,e)&&!me(hn,e))&&(!(t||!me(this,e)||!me(dn,e)||me(this,sn)&&this[sn][e])||t)},An=function(e,t){if(e=_e(e),t=ue(t,!0),e!==pn||!me(dn,t)||me(hn,t)){var n=tn(e,t);return!n||!me(dn,t)||me(e,sn)&&e[sn][t]||(n.enumerable=!0),n}},On=function(e){for(var t,n=rn(_e(e)),r=[],i=0;n.length>i;)me(dn,t=n[i++])||t==sn||t==en||r.push(t);return r},kn=function(e){for(var t,n=e===pn,r=rn(n?hn:_e(e)),i=[],o=0;r.length>o;)!me(dn,t=r[o++])||n&&!me(pn,t)||i.push(dn[t]);return i};vn||(pe((on=function(){if(this instanceof on)throw TypeError("Symbol is not a constructor!");var e=Me(arguments.length>0?arguments[0]:void 0),t=function(n){this===pn&&t.call(hn,n),me(this,sn)&&me(this[sn],e)&&(this[sn][e]=!1),yn(this,e,fe(1,n))};return ne&&wn&&yn(pn,e,{configurable:!0,set:t}),gn(e)}).prototype,"toString",function(){return this._k}),Jt.f=An,ce.f=_n,Wt.f=Xt.f=On,Vt.f=Sn,It.f=kn,Pt.f=function(e){return gn(We(e))}),he(he.G+he.W+he.F*!vn,{Symbol:on});for(var xn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Tn=0;xn.length>Tn;)We(xn[Tn++]);for(var jn=ze(We.store),Nn=0;jn.length>Nn;)Dt(jn[Nn++]);he(he.S+he.F*!vn,"Symbol",{for:function(e){return me(ln,e+="")?ln[e]:ln[e]=on(e)},keyFor:function(e){if(bn(e))return Gt(ln,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){wn=!0},useSimple:function(){wn=!1}}),he(he.S+he.F*!vn,"Object",{create:function(e,t){return void 0===t?qe(e):En(qe(e),t)},defineProperty:_n,defineProperties:En,getOwnPropertyDescriptor:An,getOwnPropertyNames:On,getOwnPropertySymbols:kn}),an&&he(he.S+he.F*(!vn||te(function(){var e=on();return"[null]"!=un([e])||"{}"!=un({a:e})||"{}"!=un(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!bn(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return"function"==typeof(t=r[1])&&(n=t),!n&&Ht(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!bn(t))return t}),r[1]=t,un.apply(an,r)}}}),on.prototype[cn]||le(on.prototype,cn,on.prototype.valueOf),Qe(on,"Symbol"),Qe(Math,"Math",!0),Qe(Q.JSON,"JSON",!0),Dt("asyncIterator"),Dt("observable");var Mn=Z.Symbol,Ln=n(function(e){e.exports={default:Mn,__esModule:!0}}),Cn=t(n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(Rt),i=n(Ln),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}}));!function(e,t){var n=(Z.Object||{})[e]||Object[e],r={};r[e]=t(n),he(he.S+he.F*te(function(){n(1)}),"Object",r)}("keys",function(){return function(e){return ze(Ye(e))}});var Pn=Z.Object.keys,Fn=t(n(function(e){e.exports={default:Pn,__esModule:!0}})),Rn=Math.floor;he(he.S,"Number",{isInteger:function(e){return!J(e)&&isFinite(e)&&Rn(e)===e}});var Bn=Z.Number.isInteger,zn=t(n(function(e){e.exports={default:Bn,__esModule:!0}})),Dn="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Gn="["+Dn+"]",In=RegExp("^"+Gn+Gn+"*"),Vn=RegExp(Gn+Gn+"*$"),Un=function(e,t,n){var r={},i=te(function(){return!!Dn[e]()||"​…"!="​…"[e]()}),o=r[e]=i?t(Hn):Dn[e];n&&(r[n]=o),he(he.P+he.F*i,"String",r)},Hn=Un.trim=function(e,t){return e=String(K(e)),1&t&&(e=e.replace(In,"")),2&t&&(e=e.replace(Vn,"")),e},qn=Un,Wn=Q.parseFloat,$n=qn.trim,Kn=1/Wn(Dn+"-0")!=-1/0?function(e){var t=$n(String(e),3),n=Wn(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Wn;he(he.S+he.F*(Number.parseFloat!=Kn),"Number",{parseFloat:Kn});var Qn,Zn,Xn,Yn=parseFloat,Jn=t(n(function(e){e.exports={default:Yn,__esModule:!0}})),er=h(function(e){return e}),tr=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},nr=n(function(e){var t={},n={},r=e.exports=function(e,r,i,o,a){var u,s,c,f,l=a?function(){return e}:wt(e),d=Y(i,o,r?2:1),h=0;if("function"!=typeof l)throw TypeError(e+" is not iterable!");if(ft(l)){for(u=Se(e.length);u>h;h++)if((f=r?d(ee(s=e[h])[0],s[1]):d(e[h]))===t||f===n)return f}else for(c=l.call(e);!(s=c.next()).done;)if((f=ut(c,d,s.value,r))===t||f===n)return f};r.BREAK=t,r.RETURN=n}),rr=We("species"),ir=function(e,t){var n,r=ee(e).constructor;return void 0===r||void 0==(n=ee(r)[rr])?t:X(n)},or=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},ar=Q.process,ur=Q.setImmediate,sr=Q.clearImmediate,cr=Q.MessageChannel,fr=Q.Dispatch,lr=0,dr={},hr=function(){var e=+this;if(dr.hasOwnProperty(e)){var t=dr[e];delete dr[e],t()}},pr=function(e){hr.call(e.data)};ur&&sr||(ur=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return dr[++lr]=function(){or("function"==typeof e?e:Function(e),t)},Qn(lr),lr},sr=function(e){delete dr[e]},"process"==ge(ar)?Qn=function(e){ar.nextTick(Y(hr,e,1))}:fr&&fr.now?Qn=function(e){fr.now(Y(hr,e,1))}:cr?(Xn=(Zn=new cr).port2,Zn.port1.onmessage=pr,Qn=Y(Xn.postMessage,Xn,1)):Q.addEventListener&&"function"==typeof postMessage&&!Q.importScripts?(Qn=function(e){Q.postMessage(e+"","*")},Q.addEventListener("message",pr,!1)):Qn="onreadystatechange"in oe("script")?function(e){Ie.appendChild(oe("script")).onreadystatechange=function(){Ie.removeChild(this),hr.call(e)}}:function(e){setTimeout(Y(hr,e,1),0)});var vr,mr,wr,yr,gr={set:ur,clear:sr},br=gr.set,_r=Q.MutationObserver||Q.WebKitMutationObserver,Er=Q.process,Sr=Q.Promise,Ar="process"==ge(Er),Or={f:function(e){return new m(e)}},kr=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},xr=function(e,t){var n=Or.f(e);return(0,n.resolve)(t),n.promise},Tr=We("species"),jr=gr.set,Nr=function(){var e,t,n,r=function(){var r,i;for(Ar&&(r=Er.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(Ar)n=function(){Er.nextTick(r)};else if(_r){var i=!0,o=document.createTextNode("");new _r(r).observe(o,{characterData:!0}),n=function(){o.data=i=!i}}else if(Sr&&Sr.resolve){var a=Sr.resolve();n=function(){a.then(r)}}else n=function(){br.call(Q,r)};return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}(),Mr=Q.TypeError,Lr=Q.process,Cr=Q.Promise,Pr="process"==vt(Lr),Fr=function(){},Rr=mr=Or.f,Br=!!function(){try{var e=Cr.resolve(1),t=(e.constructor={})[We("species")]=function(e){e(Fr,Fr)};return(Pr||"function"==typeof PromiseRejectionEvent)&&e.then(Fr)instanceof t}catch(e){}}(),zr=function(e,t){return e===t||e===Cr&&t===yr},Dr=function(e){var t;return!(!J(e)||"function"!=typeof(t=e.then))&&t},Gr=function(e,t){if(!e._n){e._n=!0;var n=e._c;Nr(function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a=i?t.ok:t.fail,u=t.resolve,s=t.reject,c=t.domain;try{a?(i||(2==e._h&&Ur(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?s(Mr("Promise-chain cycle")):(o=Dr(n))?o.call(n,u,s):u(n)):s(r)}catch(e){s(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&Ir(e)})}},Ir=function(e){jr.call(Q,function(){var t,n,r,i=e._v,o=Vr(e);if(o&&(t=kr(function(){Pr?Lr.emit("unhandledRejection",i,e):(n=Q.onunhandledrejection)?n({promise:e,reason:i}):(r=Q.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=Pr||Vr(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},Vr=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if((t=n[r++]).fail||!Vr(t.promise))return!1;return!0},Ur=function(e){jr.call(Q,function(){var t;Pr?Lr.emit("rejectionHandled",e):(t=Q.onrejectionhandled)&&t({promise:e,reason:e._v})})},Hr=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Gr(t,!0))},qr=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Mr("Promise can't be resolved itself");(t=Dr(e))?Nr(function(){var r={_w:n,_d:!1};try{t.call(e,Y(qr,r,1),Y(Hr,r,1))}catch(e){Hr.call(r,e)}}):(n._v=e,n._s=1,Gr(n,!1))}catch(e){Hr.call({_w:n,_d:!1},e)}}};Br||(Cr=function(e){tr(this,Cr,"Promise","_h"),X(e),vr.call(this);try{e(Y(qr,this,1),Y(Hr,this,1))}catch(e){Hr.call(this,e)}},(vr=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:le(e,r,t[r]);return e}(Cr.prototype,{then:function(e,t){var n=Rr(ir(this,Cr));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Pr?Lr.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Gr(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),wr=function(){var e=new vr;this.promise=e,this.resolve=Y(qr,e,1),this.reject=Y(Hr,e,1)},Or.f=Rr=function(e){return zr(Cr,e)?new wr(e):mr(e)}),he(he.G+he.W+he.F*!Br,{Promise:Cr}),Qe(Cr,"Promise"),function(e){var t="function"==typeof Z[e]?Z[e]:Q[e];ne&&t&&!t[Tr]&&ce.f(t,Tr,{configurable:!0,get:function(){return this}})}("Promise"),yr=Z.Promise,he(he.S+he.F*!Br,"Promise",{reject:function(e){var t=Rr(this);return(0,t.reject)(e),t.promise}}),he(he.S+!0*he.F,"Promise",{resolve:function(e){return e instanceof Cr&&zr(e.constructor,this)?e:xr(this,e)}}),he(he.S+he.F*!(Br&&_t(function(e){Cr.all(e).catch(Fr)})),"Promise",{all:function(e){var t=this,n=Rr(t),r=n.resolve,i=n.reject,o=kr(function(){var n=[],o=0,a=1;nr(e,!1,function(e){var u=o++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[u]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=Rr(t),r=n.reject,i=kr(function(){nr(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}}),he(he.P+he.R,"Promise",{finally:function(e){var t=ir(this,Z.Promise||Q.Promise),n="function"==typeof e;return this.then(n?function(n){return xr(t,e()).then(function(){return n})}:e,n?function(n){return xr(t,e()).then(function(){throw n})}:e)}}),he(he.S,"Promise",{try:function(e){var t=Or.f(this),n=kr(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var Wr=Z.Promise,$r=t(n(function(e){e.exports={default:Wr,__esModule:!0}})),Kr="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Qr=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,17)},Zr=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame||function(e){clearTimeout(e)},Xr=t(n(function(e,t){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}));he(he.S+he.F*!ne,"Object",{defineProperty:ce.f});var Yr=Z.Object,Jr=function(e,t,n){return Yr.defineProperty(e,t,n)},ei=n(function(e){e.exports={default:Jr,__esModule:!0}}),ti=t(n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(ei);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,n.default)(e,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()})),ni=Object.assign,ri=!ni||te(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ni({},e)[n]||Object.keys(ni({},t)).join("")!=r})?function(e,t){for(var n=Ye(e),r=arguments.length,i=1,o=It.f,a=Vt.f;r>i;)for(var u,s=be(arguments[i++]),c=o?ze(s).concat(o(s)):ze(s),f=c.length,l=0;f>l;)a.call(s,u=c[l++])&&(n[u]=s[u]);return n}:ni;he(he.S+he.F,"Object",{assign:ri});var ii=Z.Object.assign,oi=t(n(function(e){e.exports={default:ii,__esModule:!0}}));he(he.S,"Object",{create:qe});var ai=Z.Object,ui=function(e,t){return ai.create(e,t)},si=t(n(function(e){e.exports={default:ui,__esModule:!0}})),ci=si(null);ci.count=0;var fi=function(){function e(t,n){var r=this;if(Xr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":Cn(t)))throw new Error("CusEvent target are not object");this.__target=t,n&&["on","once","off","emit"].forEach(function(e){t[e]=r[e]})}}return ti(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return _(this.__target,e,t,n),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return E(this.__target,e,t,n),this}},{key:"emit",value:function(e,t){return b(this.__target,e,{data:t}),this}}]),e}(),li=si(null);li.count=0;(function(){function e(t,n){var r=this;if(Xr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":Cn(t)))throw new Error("CusEvent target are not object");this.__target=t,n&&["on","once","off","emit"].forEach(function(e){t[e]=r[e]})}}ti(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return O(this.__target,e,t,n),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return k(this.__target,e,t,n),this}},{key:"emit",value:function(e,t){return A(this.__target,e,{data:t}),this}}])})(),"undefined"!=typeof window&&Object.prototype.toString.call(window);var di=document.createElement("div"),hi="innerText";"textContent"in di&&(hi="textContent");var pi=Array.prototype,vi=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;Xr(this,e);var r=this;r.selector=t;var o=void 0;t&&t.constructor===NodeList?o=x(t):i(t)?o=t:c(t)?0===t.indexOf("<")?(di.innerHTML=t,o=D("*",di,!0)):o=D(t,n,!0):o=[t],oi(r,o),r.length=o.length}return ti(e,[{key:"each",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.forEach.apply(this,t),this}},{key:"push",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.push.apply(this,t),this}},{key:"splice",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return V(pi.splice.apply(this,t))}},{key:"find",value:function(e){var t=[];this.each(function(n){t=t.concat(D(e,n,!0))});var n=V(t);return n.parent=this,n.selector=e,n}},{key:"append",value:function(e){var t=V(e),n=this[0];return t.each(function(e){return n.appendChild(e)}),this}},{key:"appendTo",value:function(e){return V(e).append(this),this}},{key:"text",value:function(e){return 0===arguments.length?this[0][hi]:this.each(function(t){t[hi]=e})}},{key:"html",value:function(e){return 0===arguments.length?this[0].innerHTML:this.each(function(t){t.innerHTML=e})}},{key:"attr",value:function(e,t){return 1===arguments.length?T(this[0],e):this.each(function(n){return j(n,e,t)})}},{key:"data",value:function(e,t){return 0===arguments.length?this[0].dataset||{}:1===arguments.length?(this[0].dataset||{})[e]:this.each(function(n){(n.dataset||(n.dataset={}))[e]=t})}},{key:"css",value:function(e,t){return 1!==arguments.length||a(e)?this.each(function(n){return z(n,e,t)}):B(this[0],e)}},{key:"addClass",value:function(e){return this.each(function(t){return N(t,e)})}},{key:"removeClass",value:function(e){return this.each(function(t){return M(t,e)})}},{key:"hasClass",value:function(e){return L(this[0],e)}},{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return P(i,e,t,n,r)})}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return C(i,e,t,n,r)})}},{key:"delegate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return F(i,e,t,n,r)})}},{key:"undelegate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return R(i,e,t,n,r)})}},{key:"remove",value:function(){return this.each(function(e){return G(e)})}}]),e}(),mi=function(){function e(){Xr(this,e)}return ti(e,null,[{key:"error",value:function(t,n){e.ENABLE_ERROR&&(console.error||console.warn||console.log)(U(t,n))}},{key:"info",value:function(t,n){e.ENABLE_INFO&&(console.info||console.log)(U(t,n))}},{key:"warn",value:function(t,n){e.ENABLE_WARN&&(console.warn||console.log)(U(t,n))}},{key:"debug",value:function(t,n){e.ENABLE_DEBUG&&(console.debug||console.log)(U(t,n))}},{key:"verbose",value:function(t,n){e.ENABLE_VERBOSE&&console.log(U(t,n))}}]),e}();mi.GLOBAL_TAG="chimee",mi.FORCE_GLOBAL_TAG=!1,mi.ENABLE_ERROR=!0,mi.ENABLE_INFO=!0,mi.ENABLE_WARN=!0,mi.ENABLE_DEBUG=!0,mi.ENABLE_VERBOSE=!0;var wi=n(function(e,t){!function(n,r){var i="model",o="name",a="type",u="vendor",s="version",c="mobile",f="tablet",l={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},d={rgx:function(e,t){for(var n,r,i,o,a,u,s=0;s<t.length&&!a;){var c=t[s],f=t[s+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(e))for(i=0;i<f.length;i++)u=a[++r],"object"==typeof(o=f[i])&&o.length>0?2==o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,u):this[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=u?u.replace(o[1],o[2]):void 0:this[o[0]]=u?o[1].call(this,u,o[2]):void 0:4==o.length&&(this[o[0]]=u?o[3].call(this,u.replace(o[1],o[2])):void 0):this[o]=u||void 0;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(l.has(t[n][r],e))return"?"===n?void 0:n}else if(l.has(t[n],e))return"?"===n?void 0:n;return e}},h={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},p={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o,s],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],s],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],s],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[o,s],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],s],[/(edge)\/((\d+)?[\w\.]+)/i],[o,s],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],s],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],s],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],s],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],s],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],s],[/(QQ)\/([\d\.]+)/i],[o,s],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[s,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[s,[o,"Facebook"]],[/(headlesschrome) ([\w\.]+)/i],[s,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],s],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],s],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[s,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,s],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],s],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],s],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],s],[/fxios\/([\w\.-]+)/i],[s,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[s,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[s,o],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[s,d.str,h.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,s],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],s],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,s]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",l.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",l.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",l.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[i,u,[a,f]],[/applecoremedia\/[\w\.]+ \((ipad)/],[i,[u,"Apple"],[a,f]],[/(apple\s{0,1}tv)/i],[[i,"Apple TV"],[u,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[u,i,[a,f]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[i,[u,"Amazon"],[a,f]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[i,d.str,h.device.amazon.model],[u,"Amazon"],[a,c]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[i,u,[a,c]],[/\((ip[honed|\s\w*]+);/i],[i,[u,"Apple"],[a,c]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[u,i,[a,c]],[/\(bb10;\s(\w+)/i],[i,[u,"BlackBerry"],[a,c]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[i,[u,"Asus"],[a,f]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[u,"Sony"],[i,"Xperia Tablet"],[a,f]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[i,[u,"Sony"],[a,c]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[u,i,[a,"console"]],[/android.+;\s(shield)\sbuild/i],[i,[u,"Nvidia"],[a,"console"]],[/(playstation\s[34portablevi]+)/i],[i,[u,"Sony"],[a,"console"]],[/(sprint\s(\w+))/i],[[u,d.str,h.device.sprint.vendor],[i,d.str,h.device.sprint.model],[a,c]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[u,i,[a,f]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[u,[i,/_/g," "],[a,c]],[/(nexus\s9)/i],[i,[u,"HTC"],[a,f]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[i,[u,"Huawei"],[a,c]],[/(microsoft);\s(lumia[\s\w]+)/i],[u,i,[a,c]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[i,[u,"Microsoft"],[a,"console"]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[u,"Microsoft"],[a,c]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[i,[u,"Motorola"],[a,c]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[i,[u,"Motorola"],[a,f]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[u,l.trim],[i,l.trim],[a,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[u,"Samsung"],[a,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[i,[u,"Sharp"],[a,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[u,"Samsung"],i,[a,f]],[/smart-tv.+(samsung)/i],[u,[a,"smarttv"],i],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[u,"Samsung"],i,[a,c]],[/sie-(\w+)*/i],[i,[u,"Siemens"],[a,c]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[u,"Nokia"],i,[a,c]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[i,[u,"Acer"],[a,f]],[/android.+([vl]k\-?\d{3})\s+build/i],[i,[u,"LG"],[a,f]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[u,"LG"],i,[a,f]],[/(lg) netcast\.tv/i],[u,i,[a,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[i,[u,"LG"],[a,c]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[i,[u,"Lenovo"],[a,f]],[/linux;.+((jolla));/i],[u,i,[a,c]],[/((pebble))app\/[\d\.]+\s/i],[u,i,[a,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[u,i,[a,c]],[/crkey/i],[[i,"Chromecast"],[u,"Google"]],[/android.+;\s(glass)\s\d/i],[i,[u,"Google"],[a,"wearable"]],[/android.+;\s(pixel c)\s/i],[i,[u,"Google"],[a,f]],[/android.+;\s(pixel xl|pixel)\s/i],[i,[u,"Google"],[a,c]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[[i,/_/g," "],[u,"Xiaomi"],[a,c]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[i,[u,"Meizu"],[a,f]],[/android.+a000(1)\s+build/i],[i,[u,"OnePlus"],[a,c]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[i,[u,"RCA"],[a,f]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[i,[u,"Dell"],[a,f]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[i,[u,"Verizon"],[a,f]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[u,"Barnes & Noble"],i,[a,f]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[i,[u,"NuVision"],[a,f]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[u,"ZTE"],i,[a,f]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[i,[u,"Swiss"],[a,c]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[i,[u,"Swiss"],[a,f]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[i,[u,"Zeki"],[a,f]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[u,"Dragon Touch"],i,[a,f]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[i,[u,"Insignia"],[a,f]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[i,[u,"NextBook"],[a,f]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[u,"Voice"],i,[a,c]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[u,"LvTel"],i,[a,c]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[i,[u,"Envizen"],[a,f]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[u,i,[a,f]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[i,[u,"MachSpeed"],[a,f]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[u,i,[a,f]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[i,[u,"Rotor"],[a,f]],[/android.+(KS(.+))\s+build/i],[i,[u,"Amazon"],[a,f]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[u,i,[a,f]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[a,l.lowerize],u,i],[/(android.+)[;\/].+build/i],[i,[u,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[s,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,s],[/rv\:([\w\.]+).*(gecko)/i],[s,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,s],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[s,d.str,h.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[s,d.str,h.os.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],s],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[o,s],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[o,"Symbian"],s],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],s],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[o,s],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],s],[/(sunos)\s?([\w\.]+\d)*/i],[[o,"Solaris"],s],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[o,s],[/(haiku)\s(\w+)/i],[o,s],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[s,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[s,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[o,s]]},v=function(e,t){this[o]=e,this[s]=t},m=function(e){this.architecture=e},w=function(e,t,n){this[u]=e,this[i]=t,this[a]=n},y=v,g=v,b=function(e,t){if("object"==typeof e&&(t=e,e=void 0),!(this instanceof b))return new b(e,t).getResult();var r=e||(n&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),i=t?l.extend(p,t):p,o=new v,a=new m,u=new w,s=new y,c=new g;return this.getBrowser=function(){return d.rgx.call(o,r,i.browser),o.major=l.major(o.version),o},this.getCPU=function(){return d.rgx.call(a,r,i.cpu),a},this.getDevice=function(){return d.rgx.call(u,r,i.device),u},this.getEngine=function(){return d.rgx.call(s,r,i.engine),s},this.getOS=function(){return d.rgx.call(c,r,i.os),c},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=e,o=new v,a=new m,u=new w,s=new y,c=new g,this},this};b.VERSION="0.7.14",b.BROWSER={NAME:o,MAJOR:"major",VERSION:s},b.CPU={ARCHITECTURE:"architecture"},b.DEVICE={MODEL:i,VENDOR:u,TYPE:a,CONSOLE:"console",MOBILE:c,SMARTTV:"smarttv",TABLET:f,WEARABLE:"wearable",EMBEDDED:"embedded"},b.ENGINE={NAME:o,VERSION:s},b.OS={NAME:o,VERSION:s},e.exports&&(t=e.exports=b),t.UAParser=b;var _=n&&(n.jQuery||n.Zepto);if(void 0!==_){var E=new b;_.ua=E.getResult(),_.ua.get=function(){return E.getUA()},_.ua.set=function(e){E.setUA(e);var t=E.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:H)});e.Log=mi,e.UAParser=wi,e.genTraversalHandler=h,e.deepClone=function(e){if(l(e))throw new TypeError("deepClone only accept non primitive type");return er(e)},e.deepAssign=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length<2)throw new Error("deepAssign accept two and more argument");for(var r=t.length-1;r>-1;r--)if(l(t[r]))throw new TypeError("deepAssign only accept non primitive type");var i=t.shift();return t.forEach(function(e){return er(e,i)}),i},e.camelize=p,e.hypenate=function(e){return p(e).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})},e.bind=function(e,t){return e.bind?e.bind(t):e.apply?function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.apply(t,r)}:function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.call.apply(e,[t].concat(Ot(r)))}},e.uuid=function(){return v()+v()+"-"+v()+"-"+v()+"-"+v()+"-"+v()+v()+v()},e.S4=v,e.rand=function(e){for(var t="";t.length<e;)t+=v();return t.slice(0,e)},e.getDeepProperty=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.throwError,a=void 0!==o&&o,u=n.backup;if(c(t)&&(t=t.split(".")),!i(t))throw new TypeError("keys of getDeepProperty must be string or Array<string>");for(var s=[],f=e,l=0,d=t.length;l<d;l++){var h=t[l];if(r(f)){if(a)throw new Error("obj"+(s.length>0?"."+s.join("."):" itself")+" is "+f);return u}f=f[h],s.push(h)}return f},e.defined=function(e){return void 0!==e},e.isVoid=r,e.isArray=i,e.isFunction=o,e.isObject=a,e.isNumber=u,e.isNumeric=function(e){return!i(e)&&e-Jn(e)+1>=0},e.isInteger=function(e){return zn(e)},e.isEmpty=function(e){return i(e)?0===e.length:a(e)?0===Fn(e).length:!e},e.isEvent=function(e){return e instanceof Event||e.originalEvent instanceof Event},e.isBlob=s,e.isFile=function(e){return s(e)&&c(e.name)},e.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.isString=c,e.isBoolean=f,e.isPromise=function(e){return!!e&&("object"===(void 0===e?"undefined":Cn(e))||"function"==typeof e)&&"function"==typeof e.then},e.isPrimitive=l,e.isUrl=function(e){return c(e)&&!!e.match(/^((https?|ftp|rtsp|mms):\/\/)(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6}|localhost)(:[0-9]{1,4})?((\/?)|(\/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+\/?)$/i)},e.isNode=d,e.isElement=function(e){return!!("object"===("undefined"==typeof HTMLElement?"undefined":Cn(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":Cn(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)},e.isChildNode=function(e,t){return!(!d(e)||!d(t))&&t.parentNode===e},e.isPosterityNode=function(e,t){if(!d(e)||!d(t))return!1;for(;t.parentNode;)if((t=t.parentNode)===e)return!0;return!1},e.isHTMLString=function(e){return/<[^>]+?>/.test(e)},e.isError=function(e){return e instanceof Error},e.inBrowser=Kr,e.makeArray=function(e){return At(e)},e.transObjectAttrIntoArray=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return+e-+t};return Fn(e).sort(t).reduce(function(t,n){return t.concat(e[n])},[])},e.runRejectableQueue=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new $r(function(t,r){!function i(a){if(!(a>=e.length)){var u=o(e[a])?e[a].apply(e,Ot(n)):e[a];return!1===u?r("stop"):$r.resolve(u).then(function(){return i(a+1)}).catch(function(e){return r(e||"stop")})}t()}(0)})},e.runStoppableQueue=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function t(r){return r>=e.length||!1!==(o(e[r])?e[r].apply(e,Ot(n)):e[r])&&t(++r)}(0)},e.decodeUTF8=function(e){for(var t=[],n=e,r=0,i=e.length;r<i;)if(n[r]<128)t.push(String.fromCharCode(n[r])),++r;else{if(n[r]<192);else if(n[r]<224){if(w(n,r,1)){var o=(31&n[r])<<6|63&n[r+1];if(o>=128){t.push(String.fromCharCode(65535&o)),r+=2;continue}}}else if(n[r]<240){if(w(n,r,2)){var a=(15&n[r])<<12|(63&n[r+1])<<6|63&n[r+2];if(a>=2048&&55296!=(63488&a)){t.push(String.fromCharCode(65535&a)),r+=3;continue}}}else if(n[r]<248&&w(n,r,3)){var u=(7&n[r])<<18|(63&n[r+1])<<12|(63&n[r+2])<<6|63&n[r+3];if(u>65536&&u<1114112){u-=65536,t.push(String.fromCharCode(u>>>10|55296)),t.push(String.fromCharCode(1023&u|56320)),r+=4;continue}}t.push(String.fromCharCode(65533)),++r}return t.join("")},e.debounce=function(e,t,n){var r=void 0,i=void 0,o=void 0,a=void 0,u=void 0,s=function s(){var c=new Date-a;c<t&&c>=0?r=setTimeout(s,t-c):(r=null,n||(u=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=new Date;var c=n&&!r;return r||(r=setTimeout(s,t)),c&&(u=e.apply(o,i),o=i=null),u}},e.throttle=function(e,t,n,r){var i=void 0,o=void 0,a=void 0,u=null,s=0;n||(n={});var c=function(){s=!1===n.leading?0:new Date-0,u=null,a=e.apply(i,o),u||(i=o=null)};return t=t||0,function(){var f=new Date;s||!1!==n.leading||(s=f);var l=t-(f-s);return i=r||this,o=arguments,l<=0||l>t?(u&&(clearTimeout(u),u=null),s=f,a=e.apply(i,o),u||(i=o=null)):u||!1===n.trailing||(u=setTimeout(c,l)),a}},e.raf=Qr,e.caf=Zr,e.strRepeat=y,e.formatTime=function(e){var t=Math.floor(e/3600);e=Math.floor(e%3600);var n=y(Math.floor(e/60),2),r=y(e=Math.floor(e%60),2);return t>=1?t+":"+n+":"+r:n+":"+r},e.appendCSS=function(e){var t=document,n=t.querySelector("style");if(!n){n=t.createElement("style");var r=t.querySelector("head");r&&r.appendChild(n)}return n.appendChild(t.createTextNode(e)),n},e.formatDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss.i",n=e.getFullYear().toString(),r={M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),i:e.getMilliseconds()};t=t.replace(/(y+)/gi,function(e,t){return n.substr(4-Math.min(4,t.length))});for(var i in r)!function(e){t=t.replace(new RegExp("("+e+"+)","g"),function(t,n){return(r[e]<10&&n.length>1?"0":"")+r[e]})}(i);return t},e.getLocalStorage=function(e){try{return window.localStorage.getItem(e)}catch(n){try{var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]*)(;|$)"));return i(t)?unescape(t[2]):""}catch(e){return""}}},e.setLocalStorage=function(e,t){try{window.localStorage.setItem(e,t)}catch(r){var n=new Date;n.setTime(n.getTime()+2592e7);try{document.cookie=e+"="+escape(t)+";expires="+n.toUTCString()+";path=/;"}catch(e){}}},e.emitEventCache=b,e.addEventCache=_,e.removeEventCache=E,e.CustEvent=fi,e.getAttr=T,e.setAttr=j,e.addClassName=N,e.removeClassName=M,e.hasClassName=L,e.removeEvent=C,e.addEvent=P,e.addDelegate=F,e.removeDelegate=R,e.getStyle=B,e.setStyle=z,e.query=D,e.removeEl=G,e.findParents=I,e.$=V,e.NodeWrap=vi,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.chimeeHelper={})}(this,function(e){"use strict";function t(e){return e&&e.__esModule?e.default:e}function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return void 0===e||null===e}function i(e){return Array.isArray(e)}function o(e){return"function"==typeof e}function a(e){return Object(e)===e&&"[object Object]"===String(e)&&!o(e)&&!i(e)}function u(e){return"number"==typeof e}function s(e){return e instanceof Blob}function c(e){return"string"==typeof e||e instanceof String}function f(e){return"boolean"==typeof e}function l(e){return r(e)||f(e)||c(e)||u(e)}function d(e){return!!("object"===("undefined"==typeof Node?"undefined":Cn(Node))?e instanceof Node:e&&"object"===(void 0===e?"undefined":Cn(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName)}function h(e){function t(n,r,o){if(i(n)||a(n)){r=r||(a(n)?{}:[]);for(var u in n)r[u]=t(n[u],r[u],u);return r}return e(n,r,o)}return t}function p(e,t){return e.replace(/(^|[^a-zA-Z]+)([a-zA-Z])/g,function(e,n,r,i){return t||0!==i?r.toUpperCase():r.toLowerCase()})}function v(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function m(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=X(t),this.reject=X(n)}function w(e,t,n){var r=e;if(t+n<r.length){for(;n--;)if(128!=(192&r[++t]))return!1;return!0}return!1}function y(e,t){var n=t,r=(e=""+(e||"")).length;return(((t=(t||r)-r)>0?e.repeat?"0".repeat(t):new Array(t+1).join("0"):"")+e).slice(0,n)}function g(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++ci.count);var r=n+"_"+t,i=ci[r];return i||(i=ci[r]=[]),i}function b(e,t,n){var r=si(null);r.type=t,r.target=e,n&&oi(r,a(n)?n:{data:n}),g(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[r])})}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var a=[n,void 0,r];r&&!i&&(i=function(){E(e,t,n,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n.apply(e,o)}),i&&(a[1]=i),g(e,t).push(a)}function E(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=g(e,t);if(n||r){var o=-1,a=void 0;return i.find(function(e,t){if((!n||e[0]===n)&&(!r||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function S(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++li.count);var r=n+"_"+t,i=li[r];return i||(i=li[r]=[]),i}function A(e,t,n){var r=si(null);r.type=t,r.target=e,n&&oi(r,a(n)?n:{data:n}),S(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[r])})}function O(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var a=[n,void 0,r];r&&!i&&(i=function(){k(e,t,n,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n.apply(e,o)}),i&&(a[1]=i),S(e,t).push(a)}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=S(e,t);if(n||r){var o=-1,a=void 0;return i.find(function(e,t){if((!n||e[0]===n)&&(!r||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function x(e){return At(e)}function T(e,t){return e.getAttribute(t)}function j(e,t,n){void 0===n?e.removeAttribute(t):e.setAttribute(t,n)}function N(e,t){if(t&&(t=t.trim())){var n=t.split(/\s+/);if(e.classList)n.forEach(function(t){return e.classList.add(t)});else{var r=" "+(e.className||"")+" ";n.forEach(function(e){-1===r.indexOf(" "+e+" ")&&(r+=" "+e)}),e.className=r.trim()}}}function M(e,t){if(t&&(t=t.trim())){var n=t.split(/\s+/);if(e.classList)n.forEach(function(t){return e.classList.remove(t)});else{var r=" "+e.className+" ";n.forEach(function(e){for(var t=" "+e+" ";-1!==r.indexOf(t);)r=r.replace(t," ")}),e.className=r.trim()}}}function L(e,t){return new RegExp("(?:^|\\s)"+t+"(?=\\s|$)").test(e.className)}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r){var o=k(e,t+"_once",n);o&&(n=o)}e.removeEventListener(t,n,i)}function P(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r){var o=n;O(e,t+"_once",o,n=function(){for(var a=arguments.length,u=Array(a),s=0;s<a;s++)u[s]=arguments[s];o.apply(this,u),C(e,t,n,r,i)})}e.addEventListener(t,n,i)}function F(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=function(n){var i=I(n.target||n.srcElement,e,!0),o=D(t,e,!0).find(function(e){return i.find(function(t){return e===t})});o&&r.apply(o,arguments)};O(e,n+"_delegate_"+t,r,o),e.addEventListener(n,o,i)}function R(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=k(e,n+"_delegate_"+t,r);o&&e.removeEventListener(n,o,i)}function B(e,t){return(e.currentStyle||document.defaultView.getComputedStyle(e,null))[t]||e.style[t]}function z(e,t,n){if(a(t))for(var r in t)z(e,r,t[r]);else e.style[t]=n}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments[2],r=t.querySelectorAll(e);return n?At(r):r}function G(e){e.parentNode.removeChild(e)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3],i=[];for(n&&i.push(e);e&&e.parentNode!==t;)(e=e.parentNode)&&i.push(e);return r&&i.push(t),i}function V(e,t){return e.constructor===vi?e:new vi(e,t)}function U(e,t){if(!c(e))throw new TypeError("Log's method only acccept string as argument, but not "+e+" in "+(void 0===e?"undefined":Cn(e)));return c(t)?"["+(e=mi.FORCE_GLOBAL_TAG?mi.GLOBAL_TAG:e||mi.GLOBAL_TAG)+"] > "+t:"["+mi.GLOBAL_TAG+"] > "+e}var H="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},q=Math.ceil,W=Math.floor,$=function(e){return isNaN(e=+e)?0:(e>0?W:q)(e)},K=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},Q=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),Z=n(function(e){var t=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=t)}),X=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Y=function(e,t,n){if(X(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},J=function(e){return"object"==typeof e?null!==e:"function"==typeof e},ee=function(e){if(!J(e))throw TypeError(e+" is not an object!");return e},te=function(e){try{return!!e()}catch(e){return!0}},ne=!te(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),re=Q.document,ie=J(re)&&J(re.createElement),oe=function(e){return ie?re.createElement(e):{}},ae=!ne&&!te(function(){return 7!=Object.defineProperty(oe("div"),"a",{get:function(){return 7}}).a}),ue=function(e,t){if(!J(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!J(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!J(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!J(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},se=Object.defineProperty,ce={f:ne?Object.defineProperty:function(e,t,n){if(ee(e),t=ue(t,!0),ee(n),ae)try{return se(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},fe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},le=ne?function(e,t,n){return ce.f(e,t,fe(1,n))}:function(e,t,n){return e[t]=n,e},de=function(e,t,n){var r,i,o,a=e&de.F,u=e&de.G,s=e&de.S,c=e&de.P,f=e&de.B,l=e&de.W,d=u?Z:Z[t]||(Z[t]={}),h=d.prototype,p=u?Q:s?Q[t]:(Q[t]||{}).prototype;u&&(n=t);for(r in n)(i=!a&&p&&void 0!==p[r])&&r in d||(o=i?p[r]:n[r],d[r]=u&&"function"!=typeof p[r]?n[r]:f&&i?Y(o,Q):l&&p[r]==o?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(o):c&&"function"==typeof o?Y(Function.call,o):o,c&&((d.virtual||(d.virtual={}))[r]=o,e&de.R&&h&&!h[r]&&le(h,r,o)))};de.F=1,de.G=2,de.S=4,de.P=8,de.B=16,de.W=32,de.U=64,de.R=128;var he=de,pe=le,ve={}.hasOwnProperty,me=function(e,t){return ve.call(e,t)},we={},ye={}.toString,ge=function(e){return ye.call(e).slice(8,-1)},be=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==ge(e)?e.split(""):Object(e)},_e=function(e){return be(K(e))},Ee=Math.min,Se=function(e){return e>0?Ee($(e),9007199254740991):0},Ae=Math.max,Oe=Math.min,ke=function(e,t){return(e=$(e))<0?Ae(e+t,0):Oe(e,t)},xe=Q["__core-js_shared__"]||(Q["__core-js_shared__"]={}),Te=function(e){return xe[e]||(xe[e]={})},je=0,Ne=Math.random(),Me=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++je+Ne).toString(36))},Le=Te("keys"),Ce=function(e){return Le[e]||(Le[e]=Me(e))},Pe=function(e){return function(t,n,r){var i,o=_e(t),a=Se(o.length),u=ke(r,a);if(e&&n!=n){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((e||u in o)&&o[u]===n)return e||u||0;return!e&&-1}}(!1),Fe=Ce("IE_PROTO"),Re=function(e,t){var n,r=_e(e),i=0,o=[];for(n in r)n!=Fe&&me(r,n)&&o.push(n);for(;t.length>i;)me(r,n=t[i++])&&(~Pe(o,n)||o.push(n));return o},Be="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ze=Object.keys||function(e){return Re(e,Be)},De=ne?Object.defineProperties:function(e,t){ee(e);for(var n,r=ze(t),i=r.length,o=0;i>o;)ce.f(e,n=r[o++],t[n]);return e},Ge=Q.document,Ie=Ge&&Ge.documentElement,Ve=Ce("IE_PROTO"),Ue=function(){},He=function(){var e,t=oe("iframe"),n=Be.length;for(t.style.display="none",Ie.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),He=e.F;n--;)delete He.prototype[Be[n]];return He()},qe=Object.create||function(e,t){var n;return null!==e?(Ue.prototype=ee(e),n=new Ue,Ue.prototype=null,n[Ve]=e):n=He(),void 0===t?n:De(n,t)},We=n(function(e){var t=Te("wks"),n=Q.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:Me)("Symbol."+e))}).store=t}),$e=ce.f,Ke=We("toStringTag"),Qe=function(e,t,n){e&&!me(e=n?e:e.prototype,Ke)&&$e(e,Ke,{configurable:!0,value:t})},Ze={};le(Ze,We("iterator"),function(){return this});var Xe=function(e,t,n){e.prototype=qe(Ze,{next:fe(1,n)}),Qe(e,t+" Iterator")},Ye=function(e){return Object(K(e))},Je=Ce("IE_PROTO"),et=Object.prototype,tt=Object.getPrototypeOf||function(e){return e=Ye(e),me(e,Je)?e[Je]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?et:null},nt=We("iterator"),rt=!([].keys&&"next"in[].keys()),it=function(){return this},ot=function(e,t,n,r,i,o,a){Xe(n,t,r);var u,s,c,f=function(e){if(!rt&&e in p)return p[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},l=t+" Iterator",d="values"==i,h=!1,p=e.prototype,v=p[nt]||p["@@iterator"]||i&&p[i],m=v||f(i),w=i?d?f("entries"):m:void 0,y="Array"==t?p.entries||v:v;if(y&&(c=tt(y.call(new e)))!==Object.prototype&&c.next&&Qe(c,l,!0),d&&v&&"values"!==v.name&&(h=!0,m=function(){return v.call(this)}),a&&(rt||h||!p[nt])&&le(p,nt,m),we[t]=m,we[l]=it,i)if(u={values:d?m:f("values"),keys:o?m:f("keys"),entries:w},a)for(s in u)s in p||pe(p,s,u[s]);else he(he.P+he.F*(rt||h),t,u);return u},at=function(e){return function(t,n){var r,i,o=String(K(t)),a=$(n),u=o.length;return a<0||a>=u?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===u||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}}(!0);ot(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=at(t,n),this._i+=e.length,{value:e,done:!1})});var ut=function(e,t,n,r){try{return r?t(ee(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&ee(i.call(e)),t}},st=We("iterator"),ct=Array.prototype,ft=function(e){return void 0!==e&&(we.Array===e||ct[st]===e)},lt=function(e,t,n){t in e?ce.f(e,t,fe(0,n)):e[t]=n},dt=We("toStringTag"),ht="Arguments"==ge(function(){return arguments}()),pt=function(e,t){try{return e[t]}catch(e){}},vt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=pt(t=Object(e),dt))?n:ht?ge(t):"Object"==(r=ge(t))&&"function"==typeof t.callee?"Arguments":r},mt=We("iterator"),wt=Z.getIteratorMethod=function(e){if(void 0!=e)return e[mt]||e["@@iterator"]||we[vt(e)]},yt=We("iterator"),gt=!1;try{var bt=[7][yt]();bt.return=function(){gt=!0},Array.from(bt,function(){throw 2})}catch(e){}var _t=function(e,t){if(!t&&!gt)return!1;var n=!1;try{var r=[7],i=r[yt]();i.next=function(){return{done:n=!0}},r[yt]=function(){return i},e(r)}catch(e){}return n};he(he.S+he.F*!_t(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,i,o=Ye(e),a="function"==typeof this?this:Array,u=arguments.length,s=u>1?arguments[1]:void 0,c=void 0!==s,f=0,l=wt(o);if(c&&(s=Y(s,u>2?arguments[2]:void 0,2)),void 0==l||a==Array&&ft(l))for(n=new a(t=Se(o.length));t>f;f++)lt(n,f,c?s(o[f],f):o[f]);else for(i=l.call(o),n=new a;!(r=i.next()).done;f++)lt(n,f,c?ut(i,s,[r.value,f],!0):r.value);return n.length=f,n}});var Et=Z.Array.from,St=n(function(e){e.exports={default:Et,__esModule:!0}}),At=t(St),Ot=t(n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(St);t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,n.default)(e)}})),kt=function(){},xt=function(e,t){return{value:t,done:!!e}};ot(Array,"Array",function(e,t){this._t=_e(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,xt(1)):"keys"==t?xt(0,n):"values"==t?xt(0,e[n]):xt(0,[n,e[n]])},"values");we.Arguments=we.Array,kt(),kt(),kt();for(var Tt=We("toStringTag"),jt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Nt=0;Nt<jt.length;Nt++){var Mt=jt[Nt],Lt=Q[Mt],Ct=Lt&&Lt.prototype;Ct&&!Ct[Tt]&&le(Ct,Tt,Mt),we[Mt]=we.Array}var Pt={f:We},Ft=Pt.f("iterator"),Rt=n(function(e){e.exports={default:Ft,__esModule:!0}}),Bt=n(function(e){var t=Me("meta"),n=ce.f,r=0,i=Object.isExtensible||function(){return!0},o=!te(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},u=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!J(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!me(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!me(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return o&&u.NEED&&i(e)&&!me(e,t)&&a(e),e}}}),zt=ce.f,Dt=function(e){var t=Z.Symbol||(Z.Symbol={});"_"==e.charAt(0)||e in t||zt(t,e,{value:Pt.f(e)})},Gt=function(e,t){for(var n,r=_e(e),i=ze(r),o=i.length,a=0;o>a;)if(r[n=i[a++]]===t)return n},It={f:Object.getOwnPropertySymbols},Vt={f:{}.propertyIsEnumerable},Ut=function(e){var t=ze(e),n=It.f;if(n)for(var r,i=n(e),o=Vt.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},Ht=Array.isArray||function(e){return"Array"==ge(e)},qt=Be.concat("length","prototype"),Wt={f:Object.getOwnPropertyNames||function(e){return Re(e,qt)}},$t=Wt.f,Kt={}.toString,Qt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Zt=function(e){try{return $t(e)}catch(e){return Qt.slice()}},Xt={f:function(e){return Qt&&"[object Window]"==Kt.call(e)?Zt(e):$t(_e(e))}},Yt=Object.getOwnPropertyDescriptor,Jt={f:ne?Yt:function(e,t){if(e=_e(e),t=ue(t,!0),ae)try{return Yt(e,t)}catch(e){}if(me(e,t))return fe(!Vt.f.call(e,t),e[t])}},en=Bt.KEY,tn=Jt.f,nn=ce.f,rn=Xt.f,on=Q.Symbol,an=Q.JSON,un=an&&an.stringify,sn=We("_hidden"),cn=We("toPrimitive"),fn={}.propertyIsEnumerable,ln=Te("symbol-registry"),dn=Te("symbols"),hn=Te("op-symbols"),pn=Object.prototype,vn="function"==typeof on,mn=Q.QObject,wn=!mn||!mn.prototype||!mn.prototype.findChild,yn=ne&&te(function(){return 7!=qe(nn({},"a",{get:function(){return nn(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=tn(pn,t);r&&delete pn[t],nn(e,t,n),r&&e!==pn&&nn(pn,t,r)}:nn,gn=function(e){var t=dn[e]=qe(on.prototype);return t._k=e,t},bn=vn&&"symbol"==typeof on.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof on},_n=function(e,t,n){return e===pn&&_n(hn,t,n),ee(e),t=ue(t,!0),ee(n),me(dn,t)?(n.enumerable?(me(e,sn)&&e[sn][t]&&(e[sn][t]=!1),n=qe(n,{enumerable:fe(0,!1)})):(me(e,sn)||nn(e,sn,fe(1,{})),e[sn][t]=!0),yn(e,t,n)):nn(e,t,n)},En=function(e,t){ee(e);for(var n,r=Ut(t=_e(t)),i=0,o=r.length;o>i;)_n(e,n=r[i++],t[n]);return e},Sn=function(e){var t=fn.call(this,e=ue(e,!0));return!(this===pn&&me(dn,e)&&!me(hn,e))&&(!(t||!me(this,e)||!me(dn,e)||me(this,sn)&&this[sn][e])||t)},An=function(e,t){if(e=_e(e),t=ue(t,!0),e!==pn||!me(dn,t)||me(hn,t)){var n=tn(e,t);return!n||!me(dn,t)||me(e,sn)&&e[sn][t]||(n.enumerable=!0),n}},On=function(e){for(var t,n=rn(_e(e)),r=[],i=0;n.length>i;)me(dn,t=n[i++])||t==sn||t==en||r.push(t);return r},kn=function(e){for(var t,n=e===pn,r=rn(n?hn:_e(e)),i=[],o=0;r.length>o;)!me(dn,t=r[o++])||n&&!me(pn,t)||i.push(dn[t]);return i};vn||(pe((on=function(){if(this instanceof on)throw TypeError("Symbol is not a constructor!");var e=Me(arguments.length>0?arguments[0]:void 0),t=function(n){this===pn&&t.call(hn,n),me(this,sn)&&me(this[sn],e)&&(this[sn][e]=!1),yn(this,e,fe(1,n))};return ne&&wn&&yn(pn,e,{configurable:!0,set:t}),gn(e)}).prototype,"toString",function(){return this._k}),Jt.f=An,ce.f=_n,Wt.f=Xt.f=On,Vt.f=Sn,It.f=kn,Pt.f=function(e){return gn(We(e))}),he(he.G+he.W+he.F*!vn,{Symbol:on});for(var xn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Tn=0;xn.length>Tn;)We(xn[Tn++]);for(var jn=ze(We.store),Nn=0;jn.length>Nn;)Dt(jn[Nn++]);he(he.S+he.F*!vn,"Symbol",{for:function(e){return me(ln,e+="")?ln[e]:ln[e]=on(e)},keyFor:function(e){if(bn(e))return Gt(ln,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){wn=!0},useSimple:function(){wn=!1}}),he(he.S+he.F*!vn,"Object",{create:function(e,t){return void 0===t?qe(e):En(qe(e),t)},defineProperty:_n,defineProperties:En,getOwnPropertyDescriptor:An,getOwnPropertyNames:On,getOwnPropertySymbols:kn}),an&&he(he.S+he.F*(!vn||te(function(){var e=on();return"[null]"!=un([e])||"{}"!=un({a:e})||"{}"!=un(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!bn(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return"function"==typeof(t=r[1])&&(n=t),!n&&Ht(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!bn(t))return t}),r[1]=t,un.apply(an,r)}}}),on.prototype[cn]||le(on.prototype,cn,on.prototype.valueOf),Qe(on,"Symbol"),Qe(Math,"Math",!0),Qe(Q.JSON,"JSON",!0),Dt("asyncIterator"),Dt("observable");var Mn=Z.Symbol,Ln=n(function(e){e.exports={default:Mn,__esModule:!0}}),Cn=t(n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(Rt),i=n(Ln),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}}));!function(e,t){var n=(Z.Object||{})[e]||Object[e],r={};r[e]=t(n),he(he.S+he.F*te(function(){n(1)}),"Object",r)}("keys",function(){return function(e){return ze(Ye(e))}});var Pn=Z.Object.keys,Fn=t(n(function(e){e.exports={default:Pn,__esModule:!0}})),Rn=Math.floor;he(he.S,"Number",{isInteger:function(e){return!J(e)&&isFinite(e)&&Rn(e)===e}});var Bn=Z.Number.isInteger,zn=t(n(function(e){e.exports={default:Bn,__esModule:!0}})),Dn="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Gn="["+Dn+"]",In=RegExp("^"+Gn+Gn+"*"),Vn=RegExp(Gn+Gn+"*$"),Un=function(e,t,n){var r={},i=te(function(){return!!Dn[e]()||"​…"!="​…"[e]()}),o=r[e]=i?t(Hn):Dn[e];n&&(r[n]=o),he(he.P+he.F*i,"String",r)},Hn=Un.trim=function(e,t){return e=String(K(e)),1&t&&(e=e.replace(In,"")),2&t&&(e=e.replace(Vn,"")),e},qn=Un,Wn=Q.parseFloat,$n=qn.trim,Kn=1/Wn(Dn+"-0")!=-1/0?function(e){var t=$n(String(e),3),n=Wn(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Wn;he(he.S+he.F*(Number.parseFloat!=Kn),"Number",{parseFloat:Kn});var Qn,Zn,Xn,Yn=parseFloat,Jn=t(n(function(e){e.exports={default:Yn,__esModule:!0}})),er=h(function(e){return e}),tr=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},nr=n(function(e){var t={},n={},r=e.exports=function(e,r,i,o,a){var u,s,c,f,l=a?function(){return e}:wt(e),d=Y(i,o,r?2:1),h=0;if("function"!=typeof l)throw TypeError(e+" is not iterable!");if(ft(l)){for(u=Se(e.length);u>h;h++)if((f=r?d(ee(s=e[h])[0],s[1]):d(e[h]))===t||f===n)return f}else for(c=l.call(e);!(s=c.next()).done;)if((f=ut(c,d,s.value,r))===t||f===n)return f};r.BREAK=t,r.RETURN=n}),rr=We("species"),ir=function(e,t){var n,r=ee(e).constructor;return void 0===r||void 0==(n=ee(r)[rr])?t:X(n)},or=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},ar=Q.process,ur=Q.setImmediate,sr=Q.clearImmediate,cr=Q.MessageChannel,fr=Q.Dispatch,lr=0,dr={},hr=function(){var e=+this;if(dr.hasOwnProperty(e)){var t=dr[e];delete dr[e],t()}},pr=function(e){hr.call(e.data)};ur&&sr||(ur=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return dr[++lr]=function(){or("function"==typeof e?e:Function(e),t)},Qn(lr),lr},sr=function(e){delete dr[e]},"process"==ge(ar)?Qn=function(e){ar.nextTick(Y(hr,e,1))}:fr&&fr.now?Qn=function(e){fr.now(Y(hr,e,1))}:cr?(Xn=(Zn=new cr).port2,Zn.port1.onmessage=pr,Qn=Y(Xn.postMessage,Xn,1)):Q.addEventListener&&"function"==typeof postMessage&&!Q.importScripts?(Qn=function(e){Q.postMessage(e+"","*")},Q.addEventListener("message",pr,!1)):Qn="onreadystatechange"in oe("script")?function(e){Ie.appendChild(oe("script")).onreadystatechange=function(){Ie.removeChild(this),hr.call(e)}}:function(e){setTimeout(Y(hr,e,1),0)});var vr,mr,wr,yr,gr={set:ur,clear:sr},br=gr.set,_r=Q.MutationObserver||Q.WebKitMutationObserver,Er=Q.process,Sr=Q.Promise,Ar="process"==ge(Er),Or={f:function(e){return new m(e)}},kr=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},xr=function(e,t){var n=Or.f(e);return(0,n.resolve)(t),n.promise},Tr=We("species"),jr=gr.set,Nr=function(){var e,t,n,r=function(){var r,i;for(Ar&&(r=Er.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(Ar)n=function(){Er.nextTick(r)};else if(_r){var i=!0,o=document.createTextNode("");new _r(r).observe(o,{characterData:!0}),n=function(){o.data=i=!i}}else if(Sr&&Sr.resolve){var a=Sr.resolve();n=function(){a.then(r)}}else n=function(){br.call(Q,r)};return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}(),Mr=Q.TypeError,Lr=Q.process,Cr=Q.Promise,Pr="process"==vt(Lr),Fr=function(){},Rr=mr=Or.f,Br=!!function(){try{var e=Cr.resolve(1),t=(e.constructor={})[We("species")]=function(e){e(Fr,Fr)};return(Pr||"function"==typeof PromiseRejectionEvent)&&e.then(Fr)instanceof t}catch(e){}}(),zr=function(e,t){return e===t||e===Cr&&t===yr},Dr=function(e){var t;return!(!J(e)||"function"!=typeof(t=e.then))&&t},Gr=function(e,t){if(!e._n){e._n=!0;var n=e._c;Nr(function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a=i?t.ok:t.fail,u=t.resolve,s=t.reject,c=t.domain;try{a?(i||(2==e._h&&Ur(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?s(Mr("Promise-chain cycle")):(o=Dr(n))?o.call(n,u,s):u(n)):s(r)}catch(e){s(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&Ir(e)})}},Ir=function(e){jr.call(Q,function(){var t,n,r,i=e._v,o=Vr(e);if(o&&(t=kr(function(){Pr?Lr.emit("unhandledRejection",i,e):(n=Q.onunhandledrejection)?n({promise:e,reason:i}):(r=Q.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=Pr||Vr(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},Vr=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if((t=n[r++]).fail||!Vr(t.promise))return!1;return!0},Ur=function(e){jr.call(Q,function(){var t;Pr?Lr.emit("rejectionHandled",e):(t=Q.onrejectionhandled)&&t({promise:e,reason:e._v})})},Hr=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Gr(t,!0))},qr=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Mr("Promise can't be resolved itself");(t=Dr(e))?Nr(function(){var r={_w:n,_d:!1};try{t.call(e,Y(qr,r,1),Y(Hr,r,1))}catch(e){Hr.call(r,e)}}):(n._v=e,n._s=1,Gr(n,!1))}catch(e){Hr.call({_w:n,_d:!1},e)}}};Br||(Cr=function(e){tr(this,Cr,"Promise","_h"),X(e),vr.call(this);try{e(Y(qr,this,1),Y(Hr,this,1))}catch(e){Hr.call(this,e)}},(vr=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:le(e,r,t[r]);return e}(Cr.prototype,{then:function(e,t){var n=Rr(ir(this,Cr));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Pr?Lr.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Gr(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),wr=function(){var e=new vr;this.promise=e,this.resolve=Y(qr,e,1),this.reject=Y(Hr,e,1)},Or.f=Rr=function(e){return zr(Cr,e)?new wr(e):mr(e)}),he(he.G+he.W+he.F*!Br,{Promise:Cr}),Qe(Cr,"Promise"),function(e){var t="function"==typeof Z[e]?Z[e]:Q[e];ne&&t&&!t[Tr]&&ce.f(t,Tr,{configurable:!0,get:function(){return this}})}("Promise"),yr=Z.Promise,he(he.S+he.F*!Br,"Promise",{reject:function(e){var t=Rr(this);return(0,t.reject)(e),t.promise}}),he(he.S+!0*he.F,"Promise",{resolve:function(e){return e instanceof Cr&&zr(e.constructor,this)?e:xr(this,e)}}),he(he.S+he.F*!(Br&&_t(function(e){Cr.all(e).catch(Fr)})),"Promise",{all:function(e){var t=this,n=Rr(t),r=n.resolve,i=n.reject,o=kr(function(){var n=[],o=0,a=1;nr(e,!1,function(e){var u=o++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[u]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=Rr(t),r=n.reject,i=kr(function(){nr(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}}),he(he.P+he.R,"Promise",{finally:function(e){var t=ir(this,Z.Promise||Q.Promise),n="function"==typeof e;return this.then(n?function(n){return xr(t,e()).then(function(){return n})}:e,n?function(n){return xr(t,e()).then(function(){throw n})}:e)}}),he(he.S,"Promise",{try:function(e){var t=Or.f(this),n=kr(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var Wr=Z.Promise,$r=t(n(function(e){e.exports={default:Wr,__esModule:!0}})),Kr="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Qr=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,17)},Zr=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame||function(e){clearTimeout(e)},Xr=t(n(function(e,t){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}));he(he.S+he.F*!ne,"Object",{defineProperty:ce.f});var Yr=Z.Object,Jr=function(e,t,n){return Yr.defineProperty(e,t,n)},ei=n(function(e){e.exports={default:Jr,__esModule:!0}}),ti=t(n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(ei);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,n.default)(e,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()})),ni=Object.assign,ri=!ni||te(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ni({},e)[n]||Object.keys(ni({},t)).join("")!=r})?function(e,t){for(var n=Ye(e),r=arguments.length,i=1,o=It.f,a=Vt.f;r>i;)for(var u,s=be(arguments[i++]),c=o?ze(s).concat(o(s)):ze(s),f=c.length,l=0;f>l;)a.call(s,u=c[l++])&&(n[u]=s[u]);return n}:ni;he(he.S+he.F,"Object",{assign:ri});var ii=Z.Object.assign,oi=t(n(function(e){e.exports={default:ii,__esModule:!0}}));he(he.S,"Object",{create:qe});var ai=Z.Object,ui=function(e,t){return ai.create(e,t)},si=t(n(function(e){e.exports={default:ui,__esModule:!0}})),ci=si(null);ci.count=0;var fi=function(){function e(t,n){var r=this;if(Xr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":Cn(t)))throw new Error("CusEvent target are not object");this.__target=t,n&&["on","once","off","emit"].forEach(function(e){t[e]=r[e]})}}return ti(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return _(this.__target,e,t,n),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return E(this.__target,e,t,n),this}},{key:"emit",value:function(e,t){return b(this.__target,e,{data:t}),this}}]),e}(),li=si(null);li.count=0;(function(){function e(t,n){var r=this;if(Xr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":Cn(t)))throw new Error("CusEvent target are not object");this.__target=t,n&&["on","once","off","emit"].forEach(function(e){t[e]=r[e]})}}ti(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return O(this.__target,e,t,n),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return k(this.__target,e,t,n),this}},{key:"emit",value:function(e,t){return A(this.__target,e,{data:t}),this}}])})(),"undefined"!=typeof window&&Object.prototype.toString.call(window);var di=document.createElement("div"),hi="innerText";"textContent"in di&&(hi="textContent");var pi=Array.prototype,vi=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;Xr(this,e);var r=this;r.selector=t;var o=void 0;t&&t.constructor===NodeList?o=x(t):i(t)?o=t:c(t)?0===t.indexOf("<")?(di.innerHTML=t,o=D("*",di,!0)):o=D(t,n,!0):o=[t],oi(r,o),r.length=o.length}return ti(e,[{key:"each",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.forEach.apply(this,t),this}},{key:"push",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.push.apply(this,t),this}},{key:"splice",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return V(pi.splice.apply(this,t))}},{key:"find",value:function(e){var t=[];this.each(function(n){t=t.concat(D(e,n,!0))});var n=V(t);return n.parent=this,n.selector=e,n}},{key:"append",value:function(e){var t=V(e),n=this[0];return t.each(function(e){return n.appendChild(e)}),this}},{key:"appendTo",value:function(e){return V(e).append(this),this}},{key:"text",value:function(e){return 0===arguments.length?this[0][hi]:this.each(function(t){t[hi]=e})}},{key:"html",value:function(e){return 0===arguments.length?this[0].innerHTML:this.each(function(t){t.innerHTML=e})}},{key:"attr",value:function(e,t){return 1===arguments.length?T(this[0],e):this.each(function(n){return j(n,e,t)})}},{key:"data",value:function(e,t){return 0===arguments.length?this[0].dataset||{}:1===arguments.length?(this[0].dataset||{})[e]:this.each(function(n){(n.dataset||(n.dataset={}))[e]=t})}},{key:"css",value:function(e,t){return 1!==arguments.length||a(e)?this.each(function(n){return z(n,e,t)}):B(this[0],e)}},{key:"addClass",value:function(e){return this.each(function(t){return N(t,e)})}},{key:"removeClass",value:function(e){return this.each(function(t){return M(t,e)})}},{key:"hasClass",value:function(e){return L(this[0],e)}},{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return P(i,e,t,n,r)})}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return C(i,e,t,n,r)})}},{key:"delegate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return F(i,e,t,n,r)})}},{key:"undelegate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return R(i,e,t,n,r)})}},{key:"remove",value:function(){return this.each(function(e){return G(e)})}}]),e}(),mi=function(){function e(){Xr(this,e)}return ti(e,null,[{key:"error",value:function(t,n){e.ENABLE_ERROR&&(console.error||console.warn||console.log)(U(t,n))}},{key:"info",value:function(t,n){e.ENABLE_INFO&&(console.info||console.log)(U(t,n))}},{key:"warn",value:function(t,n){e.ENABLE_WARN&&(console.warn||console.log)(U(t,n))}},{key:"debug",value:function(t,n){e.ENABLE_DEBUG&&(console.debug||console.log)(U(t,n))}},{key:"verbose",value:function(t,n){e.ENABLE_VERBOSE&&console.log(U(t,n))}}]),e}();mi.GLOBAL_TAG="chimee",mi.FORCE_GLOBAL_TAG=!1,mi.ENABLE_ERROR=!0,mi.ENABLE_INFO=!0,mi.ENABLE_WARN=!0,mi.ENABLE_DEBUG=!0,mi.ENABLE_VERBOSE=!0;var wi=n(function(e,t){!function(n,r){var i="model",o="name",a="type",u="vendor",s="version",c="mobile",f="tablet",l={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},d={rgx:function(e,t){for(var n,r,i,o,a,u,s=0;s<t.length&&!a;){var c=t[s],f=t[s+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(e))for(i=0;i<f.length;i++)u=a[++r],"object"==typeof(o=f[i])&&o.length>0?2==o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,u):this[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=u?u.replace(o[1],o[2]):void 0:this[o[0]]=u?o[1].call(this,u,o[2]):void 0:4==o.length&&(this[o[0]]=u?o[3].call(this,u.replace(o[1],o[2])):void 0):this[o]=u||void 0;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(l.has(t[n][r],e))return"?"===n?void 0:n}else if(l.has(t[n],e))return"?"===n?void 0:n;return e}},h={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},p={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o,s],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],s],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],s],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[o,s],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],s],[/(edge)\/((\d+)?[\w\.]+)/i],[o,s],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],s],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],s],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],s],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],s],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],s],[/(QQ)\/([\d\.]+)/i],[o,s],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[s,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[s,[o,"Facebook"]],[/(headlesschrome) ([\w\.]+)/i],[s,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],s],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],s],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[s,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,s],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],s],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],s],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],s],[/fxios\/([\w\.-]+)/i],[s,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[s,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[s,o],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[s,d.str,h.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,s],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],s],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,s]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",l.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",l.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",l.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[i,u,[a,f]],[/applecoremedia\/[\w\.]+ \((ipad)/],[i,[u,"Apple"],[a,f]],[/(apple\s{0,1}tv)/i],[[i,"Apple TV"],[u,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[u,i,[a,f]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[i,[u,"Amazon"],[a,f]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[i,d.str,h.device.amazon.model],[u,"Amazon"],[a,c]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[i,u,[a,c]],[/\((ip[honed|\s\w*]+);/i],[i,[u,"Apple"],[a,c]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[u,i,[a,c]],[/\(bb10;\s(\w+)/i],[i,[u,"BlackBerry"],[a,c]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[i,[u,"Asus"],[a,f]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[u,"Sony"],[i,"Xperia Tablet"],[a,f]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[i,[u,"Sony"],[a,c]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[u,i,[a,"console"]],[/android.+;\s(shield)\sbuild/i],[i,[u,"Nvidia"],[a,"console"]],[/(playstation\s[34portablevi]+)/i],[i,[u,"Sony"],[a,"console"]],[/(sprint\s(\w+))/i],[[u,d.str,h.device.sprint.vendor],[i,d.str,h.device.sprint.model],[a,c]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[u,i,[a,f]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[u,[i,/_/g," "],[a,c]],[/(nexus\s9)/i],[i,[u,"HTC"],[a,f]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[i,[u,"Huawei"],[a,c]],[/(microsoft);\s(lumia[\s\w]+)/i],[u,i,[a,c]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[i,[u,"Microsoft"],[a,"console"]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[u,"Microsoft"],[a,c]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[i,[u,"Motorola"],[a,c]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[i,[u,"Motorola"],[a,f]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[u,l.trim],[i,l.trim],[a,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[u,"Samsung"],[a,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[i,[u,"Sharp"],[a,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[u,"Samsung"],i,[a,f]],[/smart-tv.+(samsung)/i],[u,[a,"smarttv"],i],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[u,"Samsung"],i,[a,c]],[/sie-(\w+)*/i],[i,[u,"Siemens"],[a,c]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[u,"Nokia"],i,[a,c]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[i,[u,"Acer"],[a,f]],[/android.+([vl]k\-?\d{3})\s+build/i],[i,[u,"LG"],[a,f]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[u,"LG"],i,[a,f]],[/(lg) netcast\.tv/i],[u,i,[a,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[i,[u,"LG"],[a,c]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[i,[u,"Lenovo"],[a,f]],[/linux;.+((jolla));/i],[u,i,[a,c]],[/((pebble))app\/[\d\.]+\s/i],[u,i,[a,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[u,i,[a,c]],[/crkey/i],[[i,"Chromecast"],[u,"Google"]],[/android.+;\s(glass)\s\d/i],[i,[u,"Google"],[a,"wearable"]],[/android.+;\s(pixel c)\s/i],[i,[u,"Google"],[a,f]],[/android.+;\s(pixel xl|pixel)\s/i],[i,[u,"Google"],[a,c]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[[i,/_/g," "],[u,"Xiaomi"],[a,c]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[i,[u,"Meizu"],[a,f]],[/android.+a000(1)\s+build/i],[i,[u,"OnePlus"],[a,c]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[i,[u,"RCA"],[a,f]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[i,[u,"Dell"],[a,f]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[i,[u,"Verizon"],[a,f]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[u,"Barnes & Noble"],i,[a,f]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[i,[u,"NuVision"],[a,f]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[u,"ZTE"],i,[a,f]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[i,[u,"Swiss"],[a,c]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[i,[u,"Swiss"],[a,f]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[i,[u,"Zeki"],[a,f]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[u,"Dragon Touch"],i,[a,f]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[i,[u,"Insignia"],[a,f]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[i,[u,"NextBook"],[a,f]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[u,"Voice"],i,[a,c]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[u,"LvTel"],i,[a,c]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[i,[u,"Envizen"],[a,f]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[u,i,[a,f]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[i,[u,"MachSpeed"],[a,f]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[u,i,[a,f]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[i,[u,"Rotor"],[a,f]],[/android.+(KS(.+))\s+build/i],[i,[u,"Amazon"],[a,f]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[u,i,[a,f]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[a,l.lowerize],u,i],[/(android.+)[;\/].+build/i],[i,[u,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[s,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,s],[/rv\:([\w\.]+).*(gecko)/i],[s,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,s],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[s,d.str,h.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[s,d.str,h.os.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],s],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[o,s],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[o,"Symbian"],s],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],s],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[o,s],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],s],[/(sunos)\s?([\w\.]+\d)*/i],[[o,"Solaris"],s],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[o,s],[/(haiku)\s(\w+)/i],[o,s],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[s,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[s,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[o,s]]},v=function(e,t){this[o]=e,this[s]=t},m=function(e){this.architecture=e},w=function(e,t,n){this[u]=e,this[i]=t,this[a]=n},y=v,g=v,b=function(e,t){if("object"==typeof e&&(t=e,e=void 0),!(this instanceof b))return new b(e,t).getResult();var r=e||(n&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),i=t?l.extend(p,t):p,o=new v,a=new m,u=new w,s=new y,c=new g;return this.getBrowser=function(){return d.rgx.call(o,r,i.browser),o.major=l.major(o.version),o},this.getCPU=function(){return d.rgx.call(a,r,i.cpu),a},this.getDevice=function(){return d.rgx.call(u,r,i.device),u},this.getEngine=function(){return d.rgx.call(s,r,i.engine),s},this.getOS=function(){return d.rgx.call(c,r,i.os),c},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=e,o=new v,a=new m,u=new w,s=new y,c=new g,this},this};b.VERSION="0.7.14",b.BROWSER={NAME:o,MAJOR:"major",VERSION:s},b.CPU={ARCHITECTURE:"architecture"},b.DEVICE={MODEL:i,VENDOR:u,TYPE:a,CONSOLE:"console",MOBILE:c,SMARTTV:"smarttv",TABLET:f,WEARABLE:"wearable",EMBEDDED:"embedded"},b.ENGINE={NAME:o,VERSION:s},b.OS={NAME:o,VERSION:s},e.exports&&(t=e.exports=b),t.UAParser=b;var _=n&&(n.jQuery||n.Zepto);if(void 0!==_){var E=new b;_.ua=E.getResult(),_.ua.get=function(){return E.getUA()},_.ua.set=function(e){E.setUA(e);var t=E.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:H)});e.Log=mi,e.UAParser=wi,e.genTraversalHandler=h,e.deepClone=function(e){if(l(e))throw new TypeError("deepClone only accept non primitive type");return er(e)},e.deepAssign=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length<2)throw new Error("deepAssign accept two and more argument");for(var r=t.length-1;r>-1;r--)if(l(t[r]))throw new TypeError("deepAssign only accept non primitive type");var i=t.shift();return t.forEach(function(e){return er(e,i)}),i},e.camelize=p,e.hypenate=function(e){return p(e).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})},e.bind=function(e,t){return e.bind?e.bind(t):e.apply?function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.apply(t,r)}:function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.call.apply(e,[t].concat(Ot(r)))}},e.uuid=function(){return v()+v()+"-"+v()+"-"+v()+"-"+v()+"-"+v()+v()+v()},e.S4=v,e.rand=function(e){for(var t="";t.length<e;)t+=v();return t.slice(0,e)},e.getDeepProperty=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.throwError,a=void 0!==o&&o,u=n.backup;if(c(t)&&(t=t.split(".")),!i(t))throw new TypeError("keys of getDeepProperty must be string or Array<string>");for(var s=[],f=e,l=0,d=t.length;l<d;l++){var h=t[l];if(r(f)){if(a)throw new Error("obj"+(s.length>0?"."+s.join("."):" itself")+" is "+f);return u}f=f[h],s.push(h)}return f},e.defined=function(e){return void 0!==e},e.isVoid=r,e.isArray=i,e.isFunction=o,e.isObject=a,e.isNumber=u,e.isNumeric=function(e){return!i(e)&&e-Jn(e)+1>=0},e.isInteger=function(e){return zn(e)},e.isEmpty=function(e){return i(e)?0===e.length:a(e)?0===Fn(e).length:!e},e.isEvent=function(e){return e instanceof Event||(e&&e.originalEvent)instanceof Event},e.isBlob=s,e.isFile=function(e){return s(e)&&c(e.name)},e.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.isString=c,e.isBoolean=f,e.isPromise=function(e){return!!e&&("object"===(void 0===e?"undefined":Cn(e))||"function"==typeof e)&&"function"==typeof e.then},e.isPrimitive=l,e.isUrl=function(e){return c(e)&&!!e.match(/^((https?|ftp|rtsp|mms):\/\/)(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6}|localhost)(:[0-9]{1,4})?((\/?)|(\/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+\/?)$/i)},e.isNode=d,e.isElement=function(e){return!!("object"===("undefined"==typeof HTMLElement?"undefined":Cn(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":Cn(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)},e.isChildNode=function(e,t){return!(!d(e)||!d(t))&&t.parentNode===e},e.isPosterityNode=function(e,t){if(!d(e)||!d(t))return!1;for(;t.parentNode;)if((t=t.parentNode)===e)return!0;return!1},e.isHTMLString=function(e){return/<[^>]+?>/.test(e)},e.isError=function(e){return e instanceof Error},e.inBrowser=Kr,e.makeArray=function(e){return At(e)},e.transObjectAttrIntoArray=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return+e-+t};return Fn(e).sort(t).reduce(function(t,n){return t.concat(e[n])},[])},e.runRejectableQueue=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new $r(function(t,r){!function i(a){if(!(a>=e.length)){var u=o(e[a])?e[a].apply(e,Ot(n)):e[a];return!1===u?r("stop"):$r.resolve(u).then(function(){return i(a+1)}).catch(function(e){return r(e||"stop")})}t()}(0)})},e.runStoppableQueue=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function t(r){return r>=e.length||!1!==(o(e[r])?e[r].apply(e,Ot(n)):e[r])&&t(++r)}(0)},e.decodeUTF8=function(e){for(var t=[],n=e,r=0,i=e.length;r<i;)if(n[r]<128)t.push(String.fromCharCode(n[r])),++r;else{if(n[r]<192);else if(n[r]<224){if(w(n,r,1)){var o=(31&n[r])<<6|63&n[r+1];if(o>=128){t.push(String.fromCharCode(65535&o)),r+=2;continue}}}else if(n[r]<240){if(w(n,r,2)){var a=(15&n[r])<<12|(63&n[r+1])<<6|63&n[r+2];if(a>=2048&&55296!=(63488&a)){t.push(String.fromCharCode(65535&a)),r+=3;continue}}}else if(n[r]<248&&w(n,r,3)){var u=(7&n[r])<<18|(63&n[r+1])<<12|(63&n[r+2])<<6|63&n[r+3];if(u>65536&&u<1114112){u-=65536,t.push(String.fromCharCode(u>>>10|55296)),t.push(String.fromCharCode(1023&u|56320)),r+=4;continue}}t.push(String.fromCharCode(65533)),++r}return t.join("")},e.debounce=function(e,t,n){var r=void 0,i=void 0,o=void 0,a=void 0,u=void 0,s=function s(){var c=new Date-a;c<t&&c>=0?r=setTimeout(s,t-c):(r=null,n||(u=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=new Date;var c=n&&!r;return r||(r=setTimeout(s,t)),c&&(u=e.apply(o,i),o=i=null),u}},e.throttle=function(e,t,n,r){var i=void 0,o=void 0,a=void 0,u=null,s=0;n||(n={});var c=function(){s=!1===n.leading?0:new Date-0,u=null,a=e.apply(i,o),u||(i=o=null)};return t=t||0,function(){var f=new Date;s||!1!==n.leading||(s=f);var l=t-(f-s);return i=r||this,o=arguments,l<=0||l>t?(u&&(clearTimeout(u),u=null),s=f,a=e.apply(i,o),u||(i=o=null)):u||!1===n.trailing||(u=setTimeout(c,l)),a}},e.raf=Qr,e.caf=Zr,e.strRepeat=y,e.formatTime=function(e){var t=Math.floor(e/3600);e=Math.floor(e%3600);var n=y(Math.floor(e/60),2),r=y(e=Math.floor(e%60),2);return t>=1?t+":"+n+":"+r:n+":"+r},e.appendCSS=function(e){var t=document,n=t.querySelector("style");if(!n){n=t.createElement("style");var r=t.querySelector("head");r&&r.appendChild(n)}return n.appendChild(t.createTextNode(e)),n},e.formatDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss.i",n=e.getFullYear().toString(),r={M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),i:e.getMilliseconds()};t=t.replace(/(y+)/gi,function(e,t){return n.substr(4-Math.min(4,t.length))});for(var i in r)!function(e){t=t.replace(new RegExp("("+e+"+)","g"),function(t,n){return(r[e]<10&&n.length>1?"0":"")+r[e]})}(i);return t},e.getLocalStorage=function(e){try{return window.localStorage.getItem(e)}catch(n){try{var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]*)(;|$)"));return i(t)?unescape(t[2]):""}catch(e){return""}}},e.setLocalStorage=function(e,t){try{window.localStorage.setItem(e,t)}catch(r){var n=new Date;n.setTime(n.getTime()+2592e7);try{document.cookie=e+"="+escape(t)+";expires="+n.toUTCString()+";path=/;"}catch(e){}}},e.emitEventCache=b,e.addEventCache=_,e.removeEventCache=E,e.CustEvent=fi,e.getAttr=T,e.setAttr=j,e.addClassName=N,e.removeClassName=M,e.hasClassName=L,e.removeEvent=C,e.addEvent=P,e.addDelegate=F,e.removeDelegate=R,e.getStyle=B,e.setStyle=z,e.query=D,e.removeEl=G,e.findParents=I,e.$=V,e.NodeWrap=vi,Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "chimee-helper",
"version": "0.2.3",
"version": "0.2.4",
"description": "helper of chimee",

@@ -43,3 +43,3 @@ "main": "lib/index.js",

"chimee-helper-utils": "^0.2.0",
"toxic-predicate-functions": "^0.1.3",
"toxic-predicate-functions": "^0.1.4",
"toxic-utils": "^0.1.5",

@@ -55,11 +55,11 @@ "ua-parser-js": "^0.7.14"

"babel-preset-flow": "^6.23.0",
"eslint": "^4.0.0",
"eslint": "^4.5.0",
"eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-jest": "^20.0.3",
"flow-bin": "^0.53.0",
"flow-bin": "^0.53.1",
"husky": "^0.14.1",
"jest": "^20.0.4",
"rollup": "^0.47.6",
"rollup": "^0.48.2",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-flow-no-whitespace": "^1.0.0",

@@ -66,0 +66,0 @@ "rollup-plugin-includepaths": "^0.2.2",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc