UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 35.2 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.IndexList=n():t.IndexList=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="../lib",n(n.s=1391)}({0:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1:function(t,n,e){"use strict";function r(t,n,e,r,o,i,u,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var s="function"==typeof t?t.options:t;n&&(s.render=n,s.staticRenderFns=e,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId=i);var f;if(u?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},s._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(s.functional){s._injectStyles=f;var l=s.render;s.render=function(t,n){return f.call(n),l(t,n)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:s}}n.a=r},10:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,n,e){t.exports={default:e(101),__esModule:!0}},101:function(t,n,e){e(55),t.exports=e(0).Object.getOwnPropertySymbols},102:function(t,n,e){"use strict";function r(t){var n={},e={},r={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==a.indexOf(c))n[c]=t[c];else if(u.test(c)){var s=u.exec(c)[1];s=Object(i.a)(s),r[s]=t[c]}else e[c]=t[c];return n.on=Object(o.a)(r,n.on),n.props=Object(o.a)(e,n.props),n}n.a=r;var o=e(62),i=e(103),u=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},103:function(t,n,e){"use strict";function r(t,n){var e=c(t,n);return e.charAt(0).toLowerCase()+e.slice(1)}n.a=r;var o=e(28),i=e.n(o),u=e(4),a=function(t){for(var n=!1,e=!1,r=!1,o=0;o<t.length;o++){var i=t[o];n&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.slice(0,o)+"-"+t.slice(o),n=!1,r=e,e=!0,o++):e&&r&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=e,e=!1,n=!0):(n=i.toLowerCase()===i&&i.toUpperCase()!==i,r=e,e=i.toUpperCase()===i&&i.toLowerCase()!==i)}return t},c=function(t,n){if("string"!=typeof t&&!Object(u.p)(t))throw new TypeError("Expected the input to be `string | string[]`");n=i()({pascalCase:!1},n);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?n.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,n){return n.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return n.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},104:function(t,n,e){"use strict";function r(t,n,e,r){var i=void 0,u=void 0,a=new t({render:function(t){var e=u&&u(t);return e&&!Object(o.p)(e)&&(e=[e]),t(n,i,e||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,n){i=t,u=n},a.updateRenderData(e,r),a.$mount(),a.init(),a.$children[0]}n.a=r;var o=e(4)},11:function(t,n,e){var r=e(47),o=e(29);t.exports=function(t){return r(o(t))}},12:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},13:function(t,n,e){var r=e(2),o=e(0),i=e(38),u=e(7),a=e(6),c=function(t,n,e){var s,f,l,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,y=t&c.B,m=t&c.W,g=d?o:o[n]||(o[n]={}),b=g.prototype,x=d?r:v?r[n]:(r[n]||{}).prototype;d&&(e=n);for(s in e)(f=!p&&x&&void 0!==x[s])&&a(g,s)||(l=f?x[s]:e[s],g[s]=d&&"function"!=typeof x[s]?e[s]:y&&f?i(l,r):m&&x[s]==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):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[s]=l,t&c.R&&b&&!b[s]&&u(b,s,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},1325:function(t,n,e){"use strict";var r=e(20);n.a={name:"ActIndexList",mixins:[r.a],props:{zIndex:{type:Number,default:200},brandColor:{type:String,default:"#8c7fee"},listData:{type:Array,default:function(){return[]}}},data:function(){return{currentIndex:0,moving:!1,currentIndicator:""}},watch:{isVisible:function(t){var n=this;t&&this.$nextTick(function(){n._calculateHeight()})},currentIndex:function(t){var n=this;clearTimeout(this.timer),this.currentIndicator=this.indexList[this.currentIndex],this.moving=!0,this.timer=setTimeout(function(){n.moving=!1},1e3)}},computed:{indexList:function(){return this.listData.map(function(t){return t.title.substring(0,1)})}},created:function(){this.listHeight=[],this.timer=null,this.scrollTimer=null},methods:{_calculateHeight:function(){this.listHeight=[];var t=this.$refs.indexGroup,n=0;if(this.listHeight.push(n),t.length)for(var e=0;e<t.length;e++){var r=t[e];n+=r.clientHeight,this.listHeight.push(n)}},_onTouchStartIndex:function(t){this.currentIndex=t,this.$refs.indexWrap.scrollTop=this.listHeight[t]},_onTouchMoveIndex:function(t){var n=t.targetTouches[0],e=document.elementFromPoint(n.pageX,n.pageY),r=e.dataset&&e.dataset.index||void 0;r&&(this.currentIndex=r,this.$refs.indexWrap.scrollTop=this.listHeight[r])},clickItem:function(t){this.$emit("choose",t),this.hide()},onListWrapScroll:function(t){var n=this;clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(function(){for(var t=n.$refs.indexWrap.scrollTop,e=n.listHeight,r=0;r<e.length-1;r++)if(t<=e[r+1]-30&&t>=e[r])return void(n.currentIndex=r)},20)}},destroyed:function(){clearTimeout(this.timer),clearTimeout(this.scrollTimer)}}},1391:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(14),o=e(1392);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createIndexList=Object(r.a)(o.a,t)},n.default=o.a},1392:function(t,n,e){"use strict";function r(t){a||e(1393)}var o=e(1325),i=e(1394),u=e(1),a=!1,c=r,s=Object(u.a)(o.a,i.a,i.b,!1,c,"data-v-7b7684a4",null);s.options.__file="src\\components\\IndexList\\src\\index.vue",n.a=s.exports},1393:function(t,n){},1394:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return o});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"index-list",style:"z-index: "+t.zIndex},[e("ul",{ref:"indexWrap",staticClass:"index-list-wrap",on:{scroll:function(n){return n.preventDefault(),t.onListWrapScroll.apply(null,arguments)}}},t._l(t.listData,function(n,r){return e("li",{key:r,ref:"indexGroup",refInFor:!0,staticClass:"index-group"},[e("h3",{staticClass:"index-group-title"},[t._v("\n "+t._s(n.title)+"\n ")]),t._v(" "),e("ul",t._l(n.items,function(n,r){return e("li",{key:r,staticClass:"index-group-item",on:{click:function(e){return t.clickItem(n)}}},[e("img",{directives:[{name:"show",rawName:"v-show",value:n.avatar,expression:"item.avatar"}],staticClass:"avatar",attrs:{src:n.avatar,alt:""}}),t._v(" "),e("span",{staticClass:"name"},[t._v("\n "+t._s(n.name)+"\n ")])])}),0)])}),0),t._v(" "),e("div",{staticClass:"index-nav",style:"z-index: "+(t.zIndex+1)},[e("ul",t._l(t.indexList,function(n,r){return e("li",{key:r,staticClass:"nav-item",class:{active:t.currentIndex===r},style:"background: "+(t.currentIndex===r?t.brandColor:""),attrs:{"data-index":r},on:{touchmove:function(n){return n.preventDefault(),t._onTouchMoveIndex.apply(null,arguments)},touchstart:function(n){return n.preventDefault(),t._onTouchStartIndex(r)}}},[t._v("\n "+t._s(n)+"\n ")])}),0)]),t._v(" "),e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.moving,expression:"moving"}],staticClass:"index-indicator"},[t._v("\n "+t._s(t.currentIndicator)+"\n ")])])],1)},o=[];r._withStripped=!0},14:function(t,n,e){"use strict";function r(t,n){return function(e,r){var u=this,a=Object(o.a)(e),c=Object(i.a)(n,t,a,r),s=c.$parent,f=c.remove,l=c.show,p=c.hide;return c.remove=function(){c.$removed=!0,f&&f.call(this),s.destroy()},c.show=function(){return l&&l.call.apply(l,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},u&&u._isVue&&u.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}n.a=r;var o=e(102),i=e(104)},15:function(t,n,e){var r=e(50),o=e(33);t.exports=Object.keys||function(t){return r(t,o)}},16:function(t,n){t.exports=!0},18:function(t,n){t.exports={}},19:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},2: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)},20:function(t,n,e){"use strict";var r={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{preOverflowValue:"",isVisible:!1}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(n,e){n?t.show():e&&t.hide()},{immediate:!0})},methods:{show:function(){return this.isVisible=!0,this},hide:function(){return this.isVisible=!1,this}},beforeDestroy:function(){this.hide()}};n.a=r},23:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},24:function(t,n,e){var r=e(29);t.exports=function(t){return Object(r(t))}},25:function(t,n){n.f={}.propertyIsEnumerable},26:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},27:function(t,n,e){var r=e(8).f,o=e(6),i=e(3)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},28:function(t,n,e){t.exports={default:e(82),__esModule:!0}},29:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3:function(t,n,e){var r=e(32)("wks"),o=e(23),i=e(2).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},30:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},31:function(t,n,e){var r=e(32)("keys"),o=e(23);t.exports=function(t){return r[t]||(r[t]=o(t))}},32:function(t,n,e){var r=e(0),o=e(2),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(16)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},33:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,n,e){var r=e(10);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")}},35:function(t,n){n.f=Object.getOwnPropertySymbols},36:function(t,n,e){n.f=e(3)},37:function(t,n,e){var r=e(2),o=e(0),i=e(16),u=e(36),a=e(8).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},38:function(t,n,e){var r=e(40);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)}}},4: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(H()(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 a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(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 v(t){return"[object Error]"===Object.prototype.toString.call(t)}function h(t){return"function"==typeof t}function y(t){return"[object Promise]"===Object.prototype.toString.call(t)||s(t)&&h(t.then)}function m(t,n,e){function r(n){var e=y,r=m;return y=m=void 0,O=n,b=t.apply(r,e)}function o(t,n){return I?(window.cancelAnimationFrame(x),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(I)return window.cancelAnimationFrame(t);clearTimeout(t)}function u(t){return O=t,x=o(f,n),_?r(t):b}function a(t){var e=t-w,r=t-O,o=n-e;return S?Math.min(o,g-r):o}function c(t){var e=t-w,r=t-O;return void 0===w||e>=n||e<0||S&&r>=g}function f(){var t=Date.now();if(c(t))return l(t);x=o(f,a(t))}function l(t){return x=void 0,j&&y?r(t):(y=m=void 0,b)}function p(){void 0!==x&&i(x),O=0,y=w=m=x=void 0}function d(){return void 0===x?b:l(Date.now())}function v(){return void 0!==x}function h(){for(var t=Date.now(),e=c(t),i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];if(y=a,m=this,w=t,e){if(void 0===x)return u(w);if(S)return x=o(f,n),r(w)}return void 0===x&&(x=o(f,n)),b}var y=void 0,m=void 0,g=void 0,b=void 0,x=void 0,w=void 0,O=0,_=!1,S=!1,j=!0,I=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,s(e)&&(_=!!e.leading,S="maxWait"in e,g=S?Math.max(+e.maxWait||0,n):g,j="trailing"in e?!!e.trailing:j),h.cancel=p,h.flush=d,h.pending=v,h}function g(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),m(t,n,{leading:r,trailing:o,maxWait:n})}function b(t){return!!/^1\d{10}$/.test(t)}function x(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 _(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("&emsp;&emsp;"):3===n?t.split("").join("&ensp;"):t}function S(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 j(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 I(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 C(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 A(t,n,e){return Math.min(Math.max(t,n),e)}function E(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 P(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 L(t){return t?v(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function M(){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 k(t){var n=JSON.parse(H()(t)),e=n.attrModules,r=void 0===e?{}:e,o=n.plan,i=r.applicant,a=r.insureds,c=r.hcpics,s=r.hctext,f=r.makeup,l=r.apphctext,p=r.apphcpics,d={},v=function(t){var n=null,e=null,r=null,o=null,i={},a={},c={};for(var s in t){var f=t[s].defaultValue,l=t[s].required,p=t[s].display;if(u(f)){var d=M(f);d&&(f=d)}1!==Number(l)&&1!==Number(p)||("idType"===s||"id"===s||"idValidType"===s||"idValidEndTime"===s||"idValidStartTime"===s?(n=n||{},n[s]=f):"socialInsAddr"===s||"socialInsDetail"===s||"socialInsPost"===s||"socialInsTel"===s?(e=e||{},e[s]=f):"residentAddr"===s||"residentDetail"===s||"residentPost"===s||"residentTel"===s?(r=r||{},r[s]=f):"officeAddr"===s||"officeDetail"===s||"officePost"===s||"officeTel"===s?(o=o||{},o[s]=f):"companyIdType"===s||"companyId"===s?(a=a||{},a[s]=f):"detail"===s?(c=c||{},c[s]=f):i[s]=f)}return n&&(i.certificate=n),e&&(i.socialIns=e),r&&(i.resident=r),o&&(i.office=o),a&&(i.companyCertificate=a),c&&(i.companyAddress=c),i};if(r.plan&&(o=v(r.plan)),i&&(d.applicant={},i&&(d.applicant=v(i))),a||o){d.insureds=[];for(var h=a||[""],y=0;y<h.length;y++){var m=h[y],g=null,b={};m&&(g=v(m)),g&&(b.insured=g),o&&(b.plan=o),d.insureds.push(b)}}if(s&&(d.hctext=v(s)),l&&(d.apphctext=v(l)),c&&(d.hcpics=v(c)),p&&(d.apphcpics=v(p)),f){d.makeup={};for(var x=f||[""],w=0;w<x.length;w++){var O=x[w],_=null;O&&(_=v(O)),_&&(d.makeup=D()(d.makeup,_))}}return d}function N(){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)||"").replace(new RegExp("-","g"),"").substring(0,t)}function $(t){if("string"!=typeof t)return!1;var n=t.toLowerCase();try{return"pdf"===new URL(n.startsWith("http")?n:"https://"+n).pathname.split(".").pop()}catch(t){return/.pdf($|\?|#)/.test(n)}}function F(t){try{if(!t||"string"!=typeof t)return{id:"",originalName:"",error:"输入参数无效"};var n=t.trim();if(n.startsWith("http://")||n.startsWith("https://")){var e=n.split("/");if(0===e.length)return{id:"",originalName:"",error:"URL格式错误"};n=e.pop().split("?")[0]}if(!n.includes("~~"))return{id:"",originalName:n,error:"文件名不包含~~分隔符"};var r=n.split("~~");if(r.length<2)return{id:"",originalName:n,error:"文件名格式错误"};var o=r[0]||"",i=r[1].replace(/\.[^.]+$/,"");if(!i)return{id:o,originalName:"",error:"Base64编码部分为空"};for(var u=i.replace(/-/g,"+").replace(/_/g,"/");u.length%4;)u+="=";var a="";try{a=atob(u)}catch(t){return{id:o,originalName:"",error:"Base64解码失败: "+t.message}}var c="";try{var s=Uint8Array.from(a,function(t){return t.charCodeAt(0)});c=new TextDecoder("utf-8").decode(s)}catch(t){try{c=decodeURIComponent(a)}catch(t){c=a}}return{id:o,originalName:c,error:null}}catch(t){return console.error("parseEncodedFile 解析错误:",t),{id:"",originalName:"",error:t&&t.message||"未知错误"}}}e.d(n,"K",function(){return ut}),e.d(n,"x",function(){return at}),n.e=r,n.d=o,n.c=i,n.p=u,n.D=a,n.z=c,n.A=s,n.q=f,n.y=l,n.r=p,n.E=d,n.s=v,n.t=h,n.C=y,n.b=m,n.J=g,n.w=b,n.h=x,n.f=w,n.g=O,n.i=_,n.F=S,n.o=j,n.H=I,n.m=C,n.u=T,n.I=A,n.l=E,n.n=P,n.k=L,n.j=k,e.d(n,"v",function(){return ct}),n.a=N,n.B=$,n.G=F;var R=e(28),D=e.n(R),W=e(79),V=e.n(W),U=e(58),H=e.n(U),B="undefined"!=typeof window,z=B&&window.navigator.userAgent.toLowerCase(),G=z&&/msie|trident/.test(z),J=z&&z.indexOf("msie 9.0")>0,q=z&&z.indexOf("edge/")>0,K=z&&z.indexOf("android")>0,X=z&&/iphone|ipad|ipod|ios/.test(z),Y=z&&/arkweb|harmony/.test(z),Z=z&&/chrome\/\d+/.test(z)&&!q,Q=z&&/MicroMessenger/i.test(z),tt=z&&/wxwork/i.test(z),nt=z&&/mucxiaoyusan/i.test(z),et=z&&/muckacabao/i.test(z),rt=z&&/mucyanxuan/i.test(z),ot=nt||et,it=z&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(z),ut={isIE:G,isMobile:it,isIE9:J,isEdge:q,isAndroid:K,isIOS:X,isHarmonyOS:Y,isChrome:Z,isWx:Q,isWxWork:tt,isApp:ot,isXysApp:nt,isKcbApp:et,isYxApp:rt},at=/MucWebAutoTester/.test(window.navigator.userAgent),ct=function(){return!("undefined"==typeof window||!window)&&(/iphone/gi.test(window.navigator.userAgent)&&window.screen.height>=812)}},40:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},41:function(t,n,e){var r=e(10),o=e(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},45:function(t,n,e){"use strict";var r=e(16),o=e(13),i=e(49),u=e(7),a=e(18),c=e(70),s=e(27),f=e(74),l=e(3)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,v,h,y,m){c(e,n,v);var g,b,x,w=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",_="values"==h,S=!1,j=t.prototype,I=j[l]||j["@@iterator"]||h&&j[h],C=I||w(h),T=h?_?w("entries"):C:void 0,A="Array"==n?j.entries||I:I;if(A&&(x=f(A.call(new t)))!==Object.prototype&&x.next&&(s(x,O,!0),r||"function"==typeof x[l]||u(x,l,d)),_&&I&&"values"!==I.name&&(S=!0,C=function(){return I.call(this)}),r&&!m||!p&&!S&&j[l]||u(j,l,C),a[n]=C,a[O]=d,h)if(g={values:_?C:w("values"),keys:y?C:w("keys"),entries:T},m)for(b in g)b in j||i(j,b,g[b]);else o(o.P+o.F*(p||S),n,g);return g}},46:function(t,n,e){var r=e(9),o=e(71),i=e(33),u=e(31)("IE_PROTO"),a=function(){},c=function(){var t,n=e(41)("iframe"),r=i.length;for(n.style.display="none",e(60).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:o(e,n)}},47:function(t,n,e){var r=e(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},48:function(t,n,e){t.exports=!e(5)&&!e(12)(function(){return 7!=Object.defineProperty(e(41)("div"),"a",{get:function(){return 7}}).a})},49:function(t,n,e){t.exports=e(7)},5:function(t,n,e){t.exports=!e(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},50:function(t,n,e){var r=e(6),o=e(11),i=e(72)(!1),u=e(31)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,s=[];for(e in a)e!=u&&r(a,e)&&s.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(s,e)||s.push(e));return s}},51:function(t,n,e){var r=e(50),o=e(33).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},53:function(t,n,e){"use strict";var r=e(69)(!0);e(45)(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})})},54:function(t,n,e){var r=e(11),o=e(51).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},55:function(t,n,e){"use strict";var r=e(2),o=e(6),i=e(5),u=e(13),a=e(49),c=e(77).KEY,s=e(12),f=e(32),l=e(27),p=e(23),d=e(3),v=e(36),h=e(37),y=e(85),m=e(80),g=e(9),b=e(10),x=e(24),w=e(11),O=e(34),_=e(19),S=e(46),j=e(54),I=e(86),C=e(35),T=e(8),A=e(15),E=I.f,P=T.f,L=j.f,M=r.Symbol,k=r.JSON,N=k&&k.stringify,$=d("_hidden"),F=d("toPrimitive"),R={}.propertyIsEnumerable,D=f("symbol-registry"),W=f("symbols"),V=f("op-symbols"),U=Object.prototype,H="function"==typeof M&&!!C.f,B=r.QObject,z=!B||!B.prototype||!B.prototype.findChild,G=i&&s(function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=E(U,n);r&&delete U[n],P(t,n,e),r&&t!==U&&P(U,n,r)}:P,J=function(t){var n=W[t]=S(M.prototype);return n._k=t,n},q=H&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},K=function(t,n,e){return t===U&&K(V,n,e),g(t),n=O(n,!0),g(e),o(W,n)?(e.enumerable?(o(t,$)&&t[$][n]&&(t[$][n]=!1),e=S(e,{enumerable:_(0,!1)})):(o(t,$)||P(t,$,_(1,{})),t[$][n]=!0),G(t,n,e)):P(t,n,e)},X=function(t,n){g(t);for(var e,r=y(n=w(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?S(t):X(S(t),n)},Z=function(t){var n=R.call(this,t=O(t,!0));return!(this===U&&o(W,t)&&!o(V,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,$)&&this[$][t])||n)},Q=function(t,n){if(t=w(t),n=O(n,!0),t!==U||!o(W,n)||o(V,n)){var e=E(t,n);return!e||!o(W,n)||o(t,$)&&t[$][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=L(w(t)),r=[],i=0;e.length>i;)o(W,n=e[i++])||n==$||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===U,r=L(e?V:w(t)),i=[],u=0;r.length>u;)!o(W,n=r[u++])||e&&!o(U,n)||i.push(W[n]);return i};H||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(V,e),o(this,$)&&o(this[$],t)&&(this[$][t]=!1),G(this,t,_(1,e))};return i&&z&&G(U,t,{configurable:!0,set:n}),J(t)},a(M.prototype,"toString",function(){return this._k}),I.f=Q,T.f=K,e(51).f=j.f=tt,e(25).f=Z,C.f=nt,i&&!e(16)&&a(U,"propertyIsEnumerable",Z,!0),v.f=function(t){return J(d(t))}),u(u.G+u.W+u.F*!H,{Symbol:M});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=A(d.store),it=0;ot.length>it;)h(ot[it++]);u(u.S+u.F*!H,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=M(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!H,"Object",{create:Y,defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var ut=s(function(){C.f(1)});u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return C.f(x(t))}}),k&&u(u.S+u.F*(!H||s(function(){var t=M();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 m(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,N.apply(k,r)}}),M.prototype[F]||e(7)(M.prototype,F,M.prototype.valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},56:function(t,n,e){e(75);for(var r=e(2),o=e(7),i=e(18),u=e(3)("toStringTag"),a="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(","),c=0;c<a.length;c++){var s=a[c],f=r[s],l=f&&f.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},57:function(t,n,e){var r=e(13),o=e(0),i=e(12);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},58:function(t,n,e){t.exports={default:e(81),__esModule:!0}},59:function(t,n,e){var r=e(30),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},6:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},60:function(t,n,e){var r=e(2).document;t.exports=r&&r.documentElement},61:function(t,n){},62:function(t,n,e){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var o=e(65),i=e.n(o),u=e(97),a=e.n(u),c=e(28),s=e.n(c),f=e(100),l=e.n(f),p=l.a,d=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,h=function(){try{if(!s.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var n={},e=0;e<10;e++)n["_"+String.fromCharCode(e)]=e;if("0123456789"!==a()(n).map(function(t){return n[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===i()(s()({},r)).join("")}catch(t){return!1}}()?s.a:function(t,n){for(var e,o,i=r(t),u=1;u<arguments.length;u++){e=Object(arguments[u]);for(var a in e)d.call(e,a)&&(i[a]=e[a]);if(p){o=p(e);for(var c=0;c<o.length;c++)v.call(e,o[c])&&(i[o[c]]=e[o[c]])}}return i};n.a=h},65:function(t,n,e){t.exports={default:e(94),__esModule:!0}},67:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},69:function(t,n,e){var r=e(30),o=e(29);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536)}}},7:function(t,n,e){var r=e(8),o=e(19);t.exports=e(5)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},70:function(t,n,e){"use strict";var r=e(46),o=e(19),i=e(27),u={};e(7)(u,e(3)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},71:function(t,n,e){var r=e(8),o=e(9),i=e(15);t.exports=e(5)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},72:function(t,n,e){var r=e(11),o=e(59),i=e(73);t.exports=function(t){return function(n,e,u){var a,c=r(n),s=o(c.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},73:function(t,n,e){var r=e(30),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},74:function(t,n,e){var r=e(6),o=e(24),i=e(31)("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}},75:function(t,n,e){"use strict";var r=e(76),o=e(67),i=e(18),u=e(11);t.exports=e(45)(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")},76:function(t,n){t.exports=function(){}},77:function(t,n,e){var r=e(23)("meta"),o=e(10),i=e(6),u=e(8).f,a=0,c=Object.isExtensible||function(){return!0},s=!e(12)(function(){return c(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return s&&v.NEED&&c(t)&&!i(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},79:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(88),i=r(o),u=e(90),a=r(u),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":c(t)}},8:function(t,n,e){var r=e(9),o=e(48),i=e(34),u=Object.defineProperty;n.f=e(5)?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}},80:function(t,n,e){var r=e(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},81:function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},82:function(t,n,e){e(83),t.exports=e(0).Object.assign},83:function(t,n,e){var r=e(13);r(r.S+r.F,"Object",{assign:e(84)})},84:function(t,n,e){"use strict";var r=e(5),o=e(15),i=e(35),u=e(25),a=e(24),c=e(47),s=Object.assign;t.exports=!s||e(12)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r})?function(t,n){for(var e=a(t),s=arguments.length,f=1,l=i.f,p=u.f;s>f;)for(var d,v=c(arguments[f++]),h=l?o(v).concat(l(v)):o(v),y=h.length,m=0;y>m;)d=h[m++],r&&!p.call(v,d)||(e[d]=v[d]);return e}:s},85:function(t,n,e){var r=e(15),o=e(35),i=e(25);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,s=0;a.length>s;)c.call(t,u=a[s++])&&n.push(u);return n}},86:function(t,n,e){var r=e(25),o=e(19),i=e(11),u=e(34),a=e(6),c=e(48),s=Object.getOwnPropertyDescriptor;n.f=e(5)?s:function(t,n){if(t=i(t),n=u(n,!0),c)try{return s(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},88:function(t,n,e){t.exports={default:e(89),__esModule:!0}},89:function(t,n,e){e(53),e(56),t.exports=e(36).f("iterator")},9:function(t,n,e){var r=e(10);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},90:function(t,n,e){t.exports={default:e(91),__esModule:!0}},91:function(t,n,e){e(55),e(61),e(92),e(93),t.exports=e(0).Symbol},92:function(t,n,e){e(37)("asyncIterator")},93:function(t,n,e){e(37)("observable")},94:function(t,n,e){e(95),t.exports=e(0).Object.keys},95:function(t,n,e){var r=e(24),o=e(15);e(57)("keys",function(){return function(t){return o(r(t))}})},97:function(t,n,e){t.exports={default:e(98),__esModule:!0}},98:function(t,n,e){e(99);var r=e(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},99:function(t,n,e){e(57)("getOwnPropertyNames",function(){return e(54).f})}})});