UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 25.8 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["assets/utils/helpers.js"]=n():t["assets/utils/helpers.js"]=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../es",n(n.s=707)}({0:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1:function(t,n,e){var r=e(28)("wks"),o=e(25),i=e(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},104:function(t,n,e){var r=e(44),o=e(29).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},11:function(t,n,e){var r=e(45),o=e(19);t.exports=function(t){return r(o(t))}},121:function(t,n,e){t.exports={default:e(122),__esModule:!0}},122:function(t,n,e){var r=e(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},135:function(t,n,e){var r=e(11),o=e(104).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},15:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},150:function(t,n,e){t.exports={default:e(151),__esModule:!0}},151:function(t,n,e){e(152),t.exports=e(2).Object.assign},152:function(t,n,e){var r=e(23);r(r.S+r.F,"Object",{assign:e(153)})},153:function(t,n,e){"use strict";var r=e(3),o=e(31),i=e(77),u=e(61),c=e(38),f=e(45),a=Object.assign;t.exports=!a||e(15)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=a({},t)[e]||Object.keys(a({},n)).join("")!=r})?function(t,n){for(var e=c(t),a=arguments.length,s=1,l=i.f,p=u.f;a>s;)for(var d,y=f(arguments[s++]),v=l?o(y).concat(l(y)):o(y),h=v.length,g=0;h>g;)d=v[g++],r&&!p.call(y,d)||(e[d]=y[d]);return e}:a},154:function(t,n,e){"use strict";var r=e(0),o=e(5),i=e(3),u=e(23),c=e(54),f=e(155).KEY,a=e(15),s=e(28),l=e(32),p=e(25),d=e(1),y=e(86),v=e(92),h=e(156),g=e(157),m=e(6),b=e(7),x=e(38),S=e(11),w=e(39),O=e(26),j=e(55),_=e(135),M=e(158),P=e(77),A=e(9),E=e(31),I=M.f,T=A.f,L=_.f,k=r.Symbol,F=r.JSON,N=F&&F.stringify,C=d("_hidden"),D=d("toPrimitive"),R={}.propertyIsEnumerable,W=s("symbol-registry"),B=s("symbols"),H=s("op-symbols"),J=Object.prototype,V="function"==typeof k&&!!P.f,z=r.QObject,G=!z||!z.prototype||!z.prototype.findChild,U=i&&a(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=I(J,n);r&&delete J[n],T(t,n,e),r&&t!==J&&T(J,n,r)}:T,$=function(t){var n=B[t]=j(k.prototype);return n._k=t,n},q=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},K=function(t,n,e){return t===J&&K(H,n,e),m(t),n=w(n,!0),m(e),o(B,n)?(e.enumerable?(o(t,C)&&t[C][n]&&(t[C][n]=!1),e=j(e,{enumerable:O(0,!1)})):(o(t,C)||T(t,C,O(1,{})),t[C][n]=!0),U(t,n,e)):T(t,n,e)},Q=function(t,n){m(t);for(var e,r=h(n=S(n)),o=0,i=r.length;i>o;)K(t,e=r[o++],n[e]);return t},Y=function(t,n){return void 0===n?j(t):Q(j(t),n)},Z=function(t){var n=R.call(this,t=w(t,!0));return!(this===J&&o(B,t)&&!o(H,t))&&(!(n||!o(this,t)||!o(B,t)||o(this,C)&&this[C][t])||n)},X=function(t,n){if(t=S(t),n=w(n,!0),t!==J||!o(B,n)||o(H,n)){var e=I(t,n);return!e||!o(B,n)||o(t,C)&&t[C][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=L(S(t)),r=[],i=0;e.length>i;)o(B,n=e[i++])||n==C||n==f||r.push(n);return r},nt=function(t){for(var n,e=t===J,r=L(e?H:S(t)),i=[],u=0;r.length>u;)!o(B,n=r[u++])||e&&!o(J,n)||i.push(B[n]);return i};V||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===J&&n.call(H,e),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),U(this,t,O(1,e))};return i&&G&&U(J,t,{configurable:!0,set:n}),$(t)},c(k.prototype,"toString",function(){return this._k}),M.f=X,A.f=K,e(104).f=_.f=tt,e(61).f=Z,P.f=nt,i&&!e(21)&&c(J,"propertyIsEnumerable",Z,!0),y.f=function(t){return $(d(t))}),u(u.G+u.W+u.F*!V,{Symbol:k});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var ot=E(d.store),it=0;ot.length>it;)v(ot[it++]);u(u.S+u.F*!V,"Symbol",{for:function(t){return o(W,t+="")?W[t]:W[t]=k(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!V,"Object",{create:Y,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:X,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var ut=a(function(){P.f(1)});u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return P.f(x(t))}}),F&&u(u.S+u.F*(!V||a(function(){var t=k();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(b(n)||void 0!==t)&&!q(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,N.apply(F,r)}}),k.prototype[D]||e(4)(k.prototype,D,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},155:function(t,n,e){var r=e(25)("meta"),o=e(7),i=e(5),u=e(9).f,c=0,f=Object.isExtensible||function(){return!0},a=!e(15)(function(){return f(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!f(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!f(t))return!0;if(!n)return!1;s(t)}return t[r].w},d=function(t){return a&&y.NEED&&f(t)&&!i(t,r)&&s(t),t},y=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},156:function(t,n,e){var r=e(31),o=e(77),i=e(61);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),f=i.f,a=0;c.length>a;)f.call(t,u=c[a++])&&n.push(u);return n}},157:function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},158:function(t,n,e){var r=e(61),o=e(26),i=e(11),u=e(39),c=e(5),f=e(47),a=Object.getOwnPropertyDescriptor;n.f=e(3)?a:function(t,n){if(t=i(t),n=u(n,!0),f)try{return a(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},18:function(t,n){t.exports={}},19:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},20:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},21:function(t,n){t.exports=!0},22:function(t,n,e){var r=e(28)("keys"),o=e(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},23:function(t,n,e){var r=e(0),o=e(2),i=e(33),u=e(4),c=e(5),f=function(t,n,e){var a,s,l,p=t&f.F,d=t&f.G,y=t&f.S,v=t&f.P,h=t&f.B,g=t&f.W,m=d?o:o[n]||(o[n]={}),b=m.prototype,x=d?r:y?r[n]:(r[n]||{}).prototype;d&&(e=n);for(a in e)(s=!p&&x&&void 0!==x[a])&&c(m,a)||(l=s?x[a]:e[a],m[a]=d&&"function"!=typeof x[a]?e[a]:h&&s?i(l,r):g&&x[a]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((m.virtual||(m.virtual={}))[a]=l,t&f.R&&b&&!b[a]&&u(b,a,l)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},24:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},25:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},26:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},267:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(268),i=r(o),u=e(270),c=r(u),f="function"==typeof c.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c.default.prototype?"symbol":typeof t};n.default="function"==typeof c.default&&"symbol"===f(i.default)?function(t){return void 0===t?"undefined":f(t)}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c.default.prototype?"symbol":void 0===t?"undefined":f(t)}},268:function(t,n,e){t.exports={default:e(269),__esModule:!0}},269:function(t,n,e){e(66),e(70),t.exports=e(86).f("iterator")},270:function(t,n,e){t.exports={default:e(271),__esModule:!0}},271:function(t,n,e){e(154),e(94),e(272),e(273),t.exports=e(2).Symbol},272:function(t,n,e){e(92)("asyncIterator")},273:function(t,n,e){e(92)("observable")},28:function(t,n,e){var r=e(2),o=e(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},29:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},3:function(t,n,e){t.exports=!e(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,n,e){var r=e(7),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},31:function(t,n,e){var r=e(44),o=e(29);t.exports=Object.keys||function(t){return r(t,o)}},32:function(t,n,e){var r=e(9).f,o=e(5),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},33:function(t,n,e){var r=e(34);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},34:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},38:function(t,n,e){var r=e(19);t.exports=function(t){return Object(r(t))}},39:function(t,n,e){var r=e(7);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},4:function(t,n,e){var r=e(9),o=e(26);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},44:function(t,n,e){var r=e(5),o=e(11),i=e(52)(!1),u=e(22)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),f=0,a=[];for(e in c)e!=u&&r(c,e)&&a.push(e);for(;n.length>f;)r(c,e=n[f++])&&(~i(a,e)||a.push(e));return a}},45:function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},46:function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},47:function(t,n,e){t.exports=!e(3)&&!e(15)(function(){return 7!=Object.defineProperty(e(30)("div"),"a",{get:function(){return 7}}).a})},48:function(t,n,e){"use strict";var r=e(21),o=e(23),i=e(54),u=e(4),c=e(18),f=e(68),a=e(32),s=e(69),l=e(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,y,v,h,g){f(e,n,y);var m,b,x,S=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",O="values"==v,j=!1,_=t.prototype,M=_[l]||_["@@iterator"]||v&&_[v],P=M||S(v),A=v?O?S("entries"):P:void 0,E="Array"==n?_.entries||M:M;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(a(x,w,!0),r||"function"==typeof x[l]||u(x,l,d)),O&&M&&"values"!==M.name&&(j=!0,P=function(){return M.call(this)}),r&&!g||!p&&!j&&_[l]||u(_,l,P),c[n]=P,c[w]=d,v)if(m={values:O?P:S("values"),keys:h?P:S("keys"),entries:A},g)for(b in m)b in _||i(_,b,m[b]);else o(o.P+o.F*(p||j),n,m);return m}},5:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},50:function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},52:function(t,n,e){var r=e(11),o=e(46),i=e(53);t.exports=function(t){return function(n,e,u){var c,f=r(n),a=o(f.length),s=i(u,a);if(t&&e!=e){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===e)return t||s||0;return!t&&-1}}},53:function(t,n,e){var r=e(20),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},54:function(t,n,e){t.exports=e(4)},55:function(t,n,e){var r=e(6),o=e(62),i=e(29),u=e(22)("IE_PROTO"),c=function(){},f=function(){var t,n=e(30)("iframe"),r=i.length;for(n.style.display="none",e(50).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;r--;)delete f.prototype[i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=f(),void 0===n?e:o(e,n)}},6:function(t,n,e){var r=e(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},61:function(t,n){n.f={}.propertyIsEnumerable},62:function(t,n,e){var r=e(9),o=e(6),i=e(31);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,f=0;c>f;)r.f(t,e=u[f++],n[e]);return t}},66:function(t,n,e){"use strict";var r=e(67)(!0);e(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},67:function(t,n,e){var r=e(20),o=e(19);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),f=r(e),a=c.length;return f<0||f>=a?t?"":void 0:(i=c.charCodeAt(f),i<55296||i>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536)}}},68:function(t,n,e){"use strict";var r=e(55),o=e(26),i=e(32),u={};e(4)(u,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},69:function(t,n,e){var r=e(5),o=e(38),i=e(22)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},7:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,n,e){e(71);for(var r=e(0),o=e(4),i=e(18),u=e(1)("toStringTag"),c="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(","),f=0;f<c.length;f++){var a=c[f],s=r[a],l=s&&s.prototype;l&&!l[u]&&o(l,u,a),i[a]=i.Array}},707:function(t,n,e){"use strict";function r(t,n){if(t.findIndex)return t.findIndex(n);var e=-1;return t.some(function(t,r,o){var i=n.call(this,t,r,o);if(i)return e=r,i}),e}function o(t){return t?JSON.parse(G()(t)):t}function i(t,n){for(var e in n)t[e]&&"object"===V()(t[e])?i(t[e],n[e]):t[e]=n[e]}function u(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function c(t){return"[object String]"===Object.prototype.toString.call(t)}function f(t){return"[object Number]"===Object.prototype.toString.call(t)}function a(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function d(t){return void 0===t}function y(t){return"[object Error]"===Object.prototype.toString.call(t)}function v(t){return"function"==typeof t}function h(t){return"[object Promise]"===Object.prototype.toString.call(t)||a(t)&&v(t.then)}function g(t,n,e){function r(n){var e=h,r=g;return h=g=void 0,w=n,b=t.apply(r,e)}function o(t,n){return M?(window.cancelAnimationFrame(x),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(M)return window.cancelAnimationFrame(t);clearTimeout(t)}function u(t){return w=t,x=o(s,n),O?r(t):b}function c(t){var e=t-S,r=t-w,o=n-e;return j?Math.min(o,m-r):o}function f(t){var e=t-S,r=t-w;return void 0===S||e>=n||e<0||j&&r>=m}function s(){var t=Date.now();if(f(t))return l(t);x=o(s,c(t))}function l(t){return x=void 0,_&&h?r(t):(h=g=void 0,b)}function p(){void 0!==x&&i(x),w=0,h=S=g=x=void 0}function d(){return void 0===x?b:l(Date.now())}function y(){return void 0!==x}function v(){for(var t=Date.now(),e=f(t),i=arguments.length,c=Array(i),a=0;a<i;a++)c[a]=arguments[a];if(h=c,g=this,S=t,e){if(void 0===x)return u(S);if(j)return x=o(s,n),r(S)}return void 0===x&&(x=o(s,n)),b}var h=void 0,g=void 0,m=void 0,b=void 0,x=void 0,S=void 0,w=0,O=!1,j=!1,_=!0,M=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,a(e)&&(O=!!e.leading,j="maxWait"in e,m=j?Math.max(+e.maxWait||0,n):m,_="trailing"in e?!!e.trailing:_),v.cancel=p,v.flush=d,v.pending=y,v}function m(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return a(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),g(t,n,{leading:r,trailing:o,maxWait:n})}function b(t){return"function"==typeof t&&/native code/.test(t.toString())}function x(t){return!!/^1\d{10}$/.test(t)}function S(t){var n=t.length;return n>3&&n<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):n>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,n,e){return n+" "+e.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function O(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function j(t){return t.replace(/[\u4e00-\u9fa5]/gi,"").replace(/\s*/gi,"").substr(0,40)}function _(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("&emsp;&emsp;"):3===n?t.split("").join("&ensp;"):t}function M(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetWidth;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginLeft||0)+parseInt(r.marginRight||0)}return e}function P(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetHeight;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return e}function A(t,n){var e=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return e?o={r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==n?"rgba("+o.r+", "+o.g+", "+o.b+", "+n+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function E(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",e=n.length,r="";t=t||32;for(var o=0;o<t;o++)r+=n.charAt(Math.floor(Math.random()*e));return r}function I(t,n){var e=n||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=e.match(r);return o&&o[2]}function T(t){var n=window.getComputedStyle(t),e="none"===n.display,r=null===t.offsetParent&&"fixed"!==n.position;return e||r}function L(t,n,e){return Math.min(Math.max(t,n),e)}function k(t){var n=/os (\d\d?_\d(_\d)?)/,e=n.exec(t);if(!e)return null;var r=e[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function F(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n=n||window.location.href;var e=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=n.match(e);return decodeURIComponent(r?r[2]:"")}function N(t){return t?y(t)?t.message:c(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function C(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[],e=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),r=0;r<t.length;r++){var o=t[r];if(!e.test(o))return;n.push(o.split("?")[0])}return n}function D(t){var n=JSON.parse(G()(t)),e=n.attrModules,r=void 0===e?{}:e,o=n.plan,i=r.applicant,c=r.insureds,f=r.hcpics,a=r.hctext,s=r.makeup,l=r.apphctext,p=r.apphcpics,d={},y=function(t){var n=null,e=null,r=null,o=null,i={},c={},f={};for(var a in t){var s=t[a].defaultValue,l=t[a].required,p=t[a].display;if(u(s)){var d=C(s);d&&(s=d)}1!==Number(l)&&1!==Number(p)||("idType"===a||"id"===a||"idValidType"===a||"idValidEndTime"===a||"idValidStartTime"===a?(n=n||{},n[a]=s):"socialInsAddr"===a||"socialInsDetail"===a||"socialInsPost"===a||"socialInsTel"===a?(e=e||{},e[a]=s):"residentAddr"===a||"residentDetail"===a||"residentPost"===a||"residentTel"===a?(r=r||{},r[a]=s):"officeAddr"===a||"officeDetail"===a||"officePost"===a||"officeTel"===a?(o=o||{},o[a]=s):"companyIdType"===a||"companyId"===a?(c=c||{},c[a]=s):"detail"===a?(f=f||{},f[a]=s):i[a]=s)}return n&&(i.certificate=n),e&&(i.socialIns=e),r&&(i.resident=r),o&&(i.office=o),c&&(i.companyCertificate=c),f&&(i.companyAddress=f),i};if(r.plan&&(o=y(r.plan)),i&&(d.applicant={},i&&(d.applicant=y(i))),c||o){d.insureds=[];for(var v=c||[""],h=0;h<v.length;h++){var g=v[h],m=null,b={};g&&(m=y(g)),m&&(b.insured=m),o&&(b.plan=o),d.insureds.push(b)}}if(a&&(d.hctext=y(a)),l&&(d.apphctext=y(l)),f&&(d.hcpics=y(f)),p&&(d.apphcpics=y(p)),s){d.makeup={};for(var x=s||[""],S=0;S<x.length;S++){var w=x[S],O=null;w&&(O=y(w)),O&&(d.makeup=H()(d.makeup,O))}}return d}function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,n=URL.createObjectURL(new Blob).toString();return URL.revokeObjectURL(n),(n.substring(n.lastIndexOf("/")+1)||"").replaceAll("-","").substring(0,t)}function W(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(performance.memory){var n=performance.memory;console.log(t+"后-内存使用情况:"),console.log("已使用:",(n.usedJSHeapSize/1024/1024).toFixed(2),"MB"),console.log("总分配:",(n.totalJSHeapSize/1024/1024).toFixed(2),"MB"),console.log("限制:",(n.jsHeapSizeLimit/1024/1024).toFixed(2),"MB"),n.usedJSHeapSize/n.jsHeapSizeLimit>.8&&console.warn("内存使用率过高!")}}Object.defineProperty(n,"__esModule",{value:!0}),e.d(n,"ua",function(){return ft}),e.d(n,"isMucWebAutoTester",function(){return at}),n.findIndex=r,n.deepCopy=o,n.deepAssign=i,n.isArray=u,n.isString=c,n.isNumber=f,n.isObject=a,n.isBoolean=s,n.isNull=l,n.isDef=p,n.isUndefined=d,n.isError=y,n.isFunction=v,n.isPromise=h,n.debounce=g,n.throttle=m,n.isNative=b,n.isMobile=x,n.formatMobile=S,n.formatBankCard=w,n.formatFontSize=O,n.formatEmail=j,n.formatTitle=_,n.outerWidth=M,n.outerHeight=P,n.hexToRgb=A,n.randomString=E,n.getParam=I,n.isHidden=T,n.range=L,n.getIOSVersion=k,n.getParameter=F,n.getErrmsg=N,n.getApiData=D,e.d(n,"isIphonexOrMore",function(){return st}),n.createUUID=R,n.monitorMemory=W;var B=e(150),H=e.n(B),J=e(267),V=e.n(J),z=e(121),G=e.n(z),U="undefined"!=typeof window,$=U&&window.navigator.userAgent.toLowerCase(),q=$&&/msie|trident/.test($),K=$&&$.indexOf("msie 9.0")>0,Q=$&&$.indexOf("edge/")>0,Y=$&&$.indexOf("android")>0,Z=$&&/iphone|ipad|ipod|ios/.test($),X=$&&/arkweb|harmony/.test($),tt=$&&/chrome\/\d+/.test($)&&!Q,nt=$&&/MicroMessenger/i.test($),et=$&&/wxwork/i.test($),rt=$&&/mucxiaoyusan/i.test($),ot=$&&/muckacabao/i.test($),it=$&&/mucyanxuan/i.test($),ut=rt||ot,ct=$&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test($),ft={isIE:q,isMobile:ct,isIE9:K,isEdge:Q,isAndroid:Y,isIOS:Z,isHarmonyOS:X,isChrome:tt,isWx:nt,isWxWork:et,isApp:ut,isXysApp:rt,isKcbApp:ot,isYxApp:it},at=/MucWebAutoTester/.test(window.navigator.userAgent),st=function(){return!("undefined"==typeof window||!window)&&(/iphone/gi.test(window.navigator.userAgent)&&window.screen.height>=812)}},71:function(t,n,e){"use strict";var r=e(72),o=e(73),i=e(18),u=e(11);t.exports=e(48)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},72:function(t,n){t.exports=function(){}},73:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},77:function(t,n){n.f=Object.getOwnPropertySymbols},86:function(t,n,e){n.f=e(1)},9:function(t,n,e){var r=e(6),o=e(47),i=e(39),u=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},92:function(t,n,e){var r=e(0),o=e(2),i=e(21),u=e(86),c=e(9).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},94:function(t,n){}})});