iedc-go/example/tpt/wx/js/chunk-2f4946ed.b465587f.js.map
2022-02-28 09:59:05 +08:00

1 line
55 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack:///./node_modules/core-js/internals/native-url.js","webpack:///./node_modules/vant/es/dialog/function-call.js","webpack:///./node_modules/vant/es/action-bar/ActionBar.js","webpack:///./node_modules/vant/es/action-bar/index.js","webpack:///./node_modules/vant/es/action-bar-button/ActionBarButton.js","webpack:///./node_modules/vant/es/action-bar-button/index.js","webpack:///./node_modules/vant/es/dialog/Dialog.js","webpack:///./node_modules/vant/es/dialog/index.js","webpack:///./node_modules/core-js/modules/es.regexp.to-string.js","webpack:///./node_modules/core-js/internals/array-slice-simple.js","webpack:///./node_modules/core-js/modules/web.url-search-params.js","webpack:///./node_modules/core-js/internals/array-sort.js","webpack:///./node_modules/core-js/modules/es.function.name.js","webpack:///./src/api/http.js","webpack:///./node_modules/vant/es/dialog/style/index.js"],"names":["fails","wellKnownSymbol","IS_PURE","ITERATOR","module","exports","url","URL","searchParams","result","pathname","forEach","value","key","toJSON","sort","href","get","String","URLSearchParams","username","host","hash","undefined","instance","bem","create","ACTION_BAR_KEY","Symbol","actionBarProps","safeAreaInsetBottom","name","props","_ref","slots","linkChildren","default","actionBarButtonProps","type","text","icon","color","loading","Boolean","disabled","route","parent","index","isFirst","prev","children","isLast","next","isButton","last","first","t","dialogProps","title","theme","width","message","Function","callback","allowHtml","className","transition","messageAlign","closeOnPopstate","showCancelButton","cancelButtonText","cancelButtonColor","confirmButtonText","confirmButtonColor","showConfirmButton","closeOnClickOverlay","popupInheritKeys","emits","emit","confirm","cancel","updateShow","close","action","getActionHandler","show","beforeClose","args","onCancel","onConfirm","renderTitle","isolated","renderMessage","hasTitle","classNames","content","renderContent","renderButtons","renderRoundButtons","renderFooter","footer","initInstance","Wrapper","state","toggle","options","Promise","resolve","reject","open","currentOptions","defaultOptions","overlay","teleport","lockScroll","overlayClass","overlayStyle","alert","setDefaultOptions","resetDefaultOptions","Component","install","app","use","config","globalProperties","$dialog","uncurryThis","PROPER_FUNCTION_NAME","PROPER","redefine","anObject","isPrototypeOf","$toString","regExpFlags","TO_STRING","RegExpPrototype","RegExp","prototype","n$ToString","getFlags","NOT_GENERIC","call","source","flags","INCORRECT_NAME","R","this","p","rf","f","unsafe","global","toAbsoluteIndex","lengthOfArrayLike","createProperty","Array","max","Math","O","start","end","length","k","fin","n","$","getBuiltIn","USE_NATIVE_URL","redefineAll","setToStringTag","createIteratorConstructor","InternalStateModule","anInstance","isCallable","hasOwn","bind","classof","isObject","createPropertyDescriptor","getIterator","getIteratorMethod","arraySort","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","setInternalState","set","getInternalParamsState","getterFor","getInternalIteratorState","n$Fetch","N$Request","Headers","RequestPrototype","HeadersPrototype","TypeError","decodeURIComponent","encodeURIComponent","charAt","join","push","replace","shift","splice","split","stringSlice","slice","plus","sequences","percentSequence","bytes","percentDecode","sequence","error","deserialize","it","find","replacements","replacer","match","serialize","validateArgumentsLength","passed","required","URLSearchParamsIterator","params","kind","iterator","entries","step","entry","done","URLSearchParamsState","init","parseObject","parseQuery","bindURL","update","object","entryIterator","entryNext","second","iteratorMethod","query","attribute","attributes","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","arguments","append","getAll","has","found","val","a","b","boundFunction","keys","values","enumerable","forced","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","input","RequestConstructor","constructor","Request","getState","arraySlice","floor","mergeSort","array","comparefn","middle","insertionSort","merge","element","j","i","left","right","llength","rlength","lindex","rindex","DESCRIPTORS","FUNCTION_NAME_EXISTS","EXISTS","defineProperty","FunctionPrototype","functionToString","toString","nameRE","regExpExec","exec","NAME","configurable","baseUrl","appsystemUrl","exitUrl","token","cache","localStorage","getItem","JSON","parse","setItem","stringify","data","getToken","setToken","tt","removeItem","post","urlData","reData","window","H","makeUrl","method","then","response","json","res","status","getParam","location","msg","exit"],"mappings":"qGAAA,IAAIA,EAAQ,EAAQ,QAChBC,EAAkB,EAAQ,QAC1BC,EAAU,EAAQ,QAElBC,EAAWF,EAAgB,YAE/BG,EAAOC,SAAWL,GAAM,WACtB,IAAIM,EAAM,IAAIC,IAAI,gBAAiB,YAC/BC,EAAeF,EAAIE,aACnBC,EAAS,GAMb,OALAH,EAAII,SAAW,QACfF,EAAaG,SAAQ,SAAUC,EAAOC,GACpCL,EAAa,UAAU,KACvBC,GAAUI,EAAMD,KAEVV,IAAYI,EAAIQ,SAClBN,EAAaO,MACD,2BAAbT,EAAIU,MACsB,MAA1BR,EAAaS,IAAI,MACuB,QAAxCC,OAAO,IAAIC,gBAAgB,WAC1BX,EAAaL,IAEsB,MAApC,IAAII,IAAI,eAAea,UACsC,MAA7D,IAAID,gBAAgB,IAAIA,gBAAgB,QAAQF,IAAI,MAEpB,eAAhC,IAAIV,IAAI,eAAec,MAEQ,YAA/B,IAAId,IAAI,cAAce,MAEX,SAAXb,GAEwC,MAAxC,IAAIF,IAAI,gBAAYgB,GAAWF,S,6DC3BlCG,E,yKCAC,EAAMC,GAAO,OAAAC,EAAA,MAAgB,cACvBC,EAAiBC,OAAO,GAC/BC,EAAiB,CACnBC,oBAAqB,QAER,iBAAgB,CAC7BC,KAAI,EACJC,MAAOH,EAEP,MAAMG,EAAOC,GACX,IAAI,MACFC,GACED,GACA,aACFE,GACE,eAAYR,GAEhB,OADAQ,IACO,IAAM,eAAa,MAAO,CAC/B,MAAS,CAACV,IAAO,CACf,uBAAwBO,EAAMF,uBAE/B,CAAkB,MAAjBI,EAAME,aAAkB,EAASF,EAAME,eCvBpC,EAAY,eAAY,G,yBCQ9B,EAAM,GAAO,OAAAV,EAAA,MAAgB,qBAC9BW,EAAuB,eAAO,GAAI,OAAY,CAChDC,KAAMpB,OACNqB,KAAMrB,OACNsB,KAAMtB,OACNuB,MAAOvB,OACPwB,QAAS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AAUG,GACd,GAAkB,GAAdA,EAAIC,OAKJ,OAJAd,EAAS,MACTT,EAAM,SAASe,OAAOC,EAAEQ,SAAS,gBACjCC,SAASrT,KAAO,gBAIF,GAAdkT,EAAIC,OAIR9N,EAAQ6N,GAHJ,eAAO,CAAC3Q,QAAS2Q,EAAInH,MAAMuH,YAQvC,OAAOZ,EA2CJ,SAASa,IAEZlE,MAAMoC,EAAeC,K,yDC7KzB","file":"js/chunk-2f4946ed.b465587f.js","sourcesContent":["var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return (IS_PURE && !url.toJSON)\n || !searchParams.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || searchParams.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","import { createVNode as _createVNode, mergeProps as _mergeProps } from \"vue\";\nimport { extend, inBrowser, withInstall } from '../utils';\nimport { mountComponent, usePopupState } from '../utils/mount-component';\nimport VanDialog from './Dialog';\nvar instance;\n\nfunction initInstance() {\n var Wrapper = {\n setup() {\n var {\n state,\n toggle\n } = usePopupState();\n return () => _createVNode(VanDialog, _mergeProps(state, {\n \"onUpdate:show\": toggle\n }), null);\n }\n\n };\n ({\n instance\n } = mountComponent(Wrapper));\n}\n\nfunction Dialog(options) {\n /* istanbul ignore if */\n if (!inBrowser) {\n return Promise.resolve();\n }\n\n return new Promise((resolve, reject) => {\n if (!instance) {\n initInstance();\n }\n\n instance.open(extend({}, Dialog.currentOptions, options, {\n callback: action => {\n (action === 'confirm' ? resolve : reject)(action);\n }\n }));\n });\n}\n\nDialog.defaultOptions = {\n title: '',\n width: '',\n theme: null,\n message: '',\n overlay: true,\n callback: null,\n teleport: 'body',\n className: '',\n allowHtml: false,\n lockScroll: true,\n transition: undefined,\n beforeClose: null,\n overlayClass: '',\n overlayStyle: undefined,\n messageAlign: '',\n cancelButtonText: '',\n cancelButtonColor: null,\n confirmButtonText: '',\n confirmButtonColor: null,\n showConfirmButton: true,\n showCancelButton: false,\n closeOnPopstate: true,\n closeOnClickOverlay: false\n};\nDialog.currentOptions = extend({}, Dialog.defaultOptions);\nDialog.alert = Dialog;\n\nDialog.confirm = options => Dialog(extend({\n showCancelButton: true\n}, options));\n\nDialog.close = () => {\n if (instance) {\n instance.toggle(false);\n }\n};\n\nDialog.setDefaultOptions = options => {\n extend(Dialog.currentOptions, options);\n};\n\nDialog.resetDefaultOptions = () => {\n Dialog.currentOptions = extend({}, Dialog.defaultOptions);\n};\n\nDialog.Component = withInstall(VanDialog);\n\nDialog.install = app => {\n app.use(Dialog.Component);\n app.config.globalProperties.$dialog = Dialog;\n};\n\nexport { Dialog };","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from 'vue';\nimport { truthProp, createNamespace } from '../utils';\nimport { useChildren } from '@vant/use';\nvar [name, bem] = createNamespace('action-bar');\nexport var ACTION_BAR_KEY = Symbol(name);\nvar actionBarProps = {\n safeAreaInsetBottom: truthProp\n};\nexport default defineComponent({\n name,\n props: actionBarProps,\n\n setup(props, _ref) {\n var {\n slots\n } = _ref;\n var {\n linkChildren\n } = useChildren(ACTION_BAR_KEY);\n linkChildren();\n return () => _createVNode(\"div\", {\n \"class\": [bem(), {\n 'van-safe-area-bottom': props.safeAreaInsetBottom\n }]\n }, [slots.default == null ? void 0 : slots.default()]);\n }\n\n});","import { withInstall } from '../utils';\nimport _ActionBar from './ActionBar';\nexport var ActionBar = withInstall(_ActionBar);\nexport default ActionBar;","import { createVNode as _createVNode } from \"vue\";\nimport { computed, defineComponent } from 'vue';\nimport { extend, createNamespace } from '../utils';\nimport { ACTION_BAR_KEY } from '../action-bar/ActionBar'; // Composables\n\nimport { useParent } from '@vant/use';\nimport { useExpose } from '../composables/use-expose';\nimport { useRoute, routeProps } from '../composables/use-route'; // Components\n\nimport { Button } from '../button';\nvar [name, bem] = createNamespace('action-bar-button');\nvar actionBarButtonProps = extend({}, routeProps, {\n type: String,\n text: String,\n icon: String,\n color: String,\n loading: Boolean,\n disabled: Boolean\n});\nexport default defineComponent({\n name,\n props: actionBarButtonProps,\n\n setup(props, _ref) {\n var {\n slots\n } = _ref;\n var route = useRoute();\n var {\n parent,\n index\n } = useParent(ACTION_BAR_KEY);\n var isFirst = computed(() => {\n if (parent) {\n var prev = parent.children[index.value - 1];\n return !(prev && 'isButton' in prev);\n }\n });\n var isLast = computed(() => {\n if (parent) {\n var next = parent.children[index.value + 1];\n return !(next && 'isButton' in next);\n }\n });\n useExpose({\n isButton: true\n });\n return () => {\n var {\n type,\n icon,\n text,\n color,\n loading,\n disabled\n } = props;\n return _createVNode(Button, {\n \"class\": bem([type, {\n last: isLast.value,\n first: isFirst.value\n }]),\n \"size\": \"large\",\n \"type\": type,\n \"icon\": icon,\n \"color\": color,\n \"loading\": loading,\n \"disabled\": disabled,\n \"onClick\": route\n }, {\n default: () => [slots.default ? slots.default() : text]\n });\n };\n }\n\n});","import { withInstall } from '../utils';\nimport _ActionBarButton from './ActionBarButton';\nexport var ActionBarButton = withInstall(_ActionBarButton);\nexport default ActionBarButton;","import { mergeProps as _mergeProps, createVNode as _createVNode } from \"vue\";\nimport { reactive, defineComponent } from 'vue'; // Utils\n\nimport { pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from '../utils';\nimport { popupSharedProps, popupSharedPropKeys } from '../popup/shared'; // Components\n\nimport { Popup } from '../popup';\nimport { Button } from '../button';\nimport { ActionBar } from '../action-bar';\nimport { ActionBarButton } from '../action-bar-button'; // Types\n\nvar [name, bem, t] = createNamespace('dialog');\nvar dialogProps = extend({}, popupSharedProps, {\n title: String,\n theme: String,\n width: numericProp,\n message: [String, Function],\n callback: Function,\n allowHtml: Boolean,\n className: unknownProp,\n transition: makeStringProp('van-dialog-bounce'),\n messageAlign: String,\n closeOnPopstate: truthProp,\n showCancelButton: Boolean,\n cancelButtonText: String,\n cancelButtonColor: String,\n confirmButtonText: String,\n confirmButtonColor: String,\n showConfirmButton: truthProp,\n closeOnClickOverlay: Boolean\n});\nvar popupInheritKeys = [...popupSharedPropKeys, 'transition', 'closeOnPopstate'];\nexport default defineComponent({\n name,\n props: dialogProps,\n emits: ['confirm', 'cancel', 'update:show'],\n\n setup(props, _ref) {\n var {\n emit,\n slots\n } = _ref;\n var loading = reactive({\n confirm: false,\n cancel: false\n });\n\n var updateShow = value => emit('update:show', value);\n\n var close = action => {\n updateShow(false);\n props.callback == null ? void 0 : props.callback(action);\n };\n\n var getActionHandler = action => () => {\n // should not trigger close event when hidden\n if (!props.show) {\n return;\n }\n\n emit(action);\n\n if (props.beforeClose) {\n loading[action] = true;\n callInterceptor(props.beforeClose, {\n args: [action],\n\n done() {\n close(action);\n loading[action] = false;\n },\n\n canceled() {\n loading[action] = false;\n }\n\n });\n } else {\n close(action);\n }\n };\n\n var onCancel = getActionHandler('cancel');\n var onConfirm = getActionHandler('confirm');\n\n var renderTitle = () => {\n var title = slots.title ? slots.title() : props.title;\n\n if (title) {\n return _createVNode(\"div\", {\n \"class\": bem('header', {\n isolated: !props.message && !slots.default\n })\n }, [title]);\n }\n };\n\n var renderMessage = hasTitle => {\n var {\n message,\n allowHtml,\n messageAlign\n } = props;\n var classNames = bem('message', {\n 'has-title': hasTitle,\n [messageAlign]: messageAlign\n });\n var content = isFunction(message) ? message() : message;\n\n if (allowHtml && typeof content === 'string') {\n return _createVNode(\"div\", {\n \"class\": classNames,\n \"innerHTML\": content\n }, null);\n }\n\n return _createVNode(\"div\", {\n \"class\": classNames\n }, [content]);\n };\n\n var renderContent = () => {\n if (slots.default) {\n return _createVNode(\"div\", {\n \"class\": bem('content')\n }, [slots.default()]);\n }\n\n var {\n title,\n message,\n allowHtml\n } = props;\n\n if (message) {\n var hasTitle = !!(title || slots.title);\n return _createVNode(\"div\", {\n \"key\": allowHtml ? 1 : 0,\n \"class\": bem('content', {\n isolated: !hasTitle\n })\n }, [renderMessage(hasTitle)]);\n }\n };\n\n var renderButtons = () => _createVNode(\"div\", {\n \"class\": [BORDER_TOP, bem('footer')]\n }, [props.showCancelButton && _createVNode(Button, {\n \"size\": \"large\",\n \"text\": props.cancelButtonText || t('cancel'),\n \"class\": bem('cancel'),\n \"style\": {\n color: props.cancelButtonColor\n },\n \"loading\": loading.cancel,\n \"onClick\": onCancel\n }, null), props.showConfirmButton && _createVNode(Button, {\n \"size\": \"large\",\n \"text\": props.confirmButtonText || t('confirm'),\n \"class\": [bem('confirm'), {\n [BORDER_LEFT]: props.showCancelButton\n }],\n \"style\": {\n color: props.confirmButtonColor\n },\n \"loading\": loading.confirm,\n \"onClick\": onConfirm\n }, null)]);\n\n var renderRoundButtons = () => _createVNode(ActionBar, {\n \"class\": bem('footer')\n }, {\n default: () => [props.showCancelButton && _createVNode(ActionBarButton, {\n \"type\": \"warning\",\n \"text\": props.cancelButtonText || t('cancel'),\n \"class\": bem('cancel'),\n \"color\": props.cancelButtonColor,\n \"loading\": loading.cancel,\n \"onClick\": onCancel\n }, null), props.showConfirmButton && _createVNode(ActionBarButton, {\n \"type\": \"danger\",\n \"text\": props.confirmButtonText || t('confirm'),\n \"class\": bem('confirm'),\n \"color\": props.confirmButtonColor,\n \"loading\": loading.confirm,\n \"onClick\": onConfirm\n }, null)]\n });\n\n var renderFooter = () => {\n if (slots.footer) {\n return slots.footer();\n }\n\n return props.theme === 'round-button' ? renderRoundButtons() : renderButtons();\n };\n\n return () => {\n var {\n width,\n title,\n theme,\n message,\n className\n } = props;\n return _createVNode(Popup, _mergeProps({\n \"role\": \"dialog\",\n \"class\": [bem([theme]), className],\n \"style\": {\n width: addUnit(width)\n },\n \"aria-labelledby\": title || message,\n \"onUpdate:show\": updateShow\n }, pick(props, popupInheritKeys)), {\n default: () => [renderTitle(), renderContent(), renderFooter()]\n });\n };\n }\n\n});","import { Dialog } from './function-call';\nexport default Dialog;\nexport { Dialog };","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar n$ToString = RegExpPrototype[TO_STRING];\nvar getFlags = uncurryThis(regExpFlags);\n\nvar NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = $toString(R.source);\n var rf = R.flags;\n var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","var global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar n$Fetch = getBuiltIn('fetch');\nvar N$Request = getBuiltIn('Request');\nvar Headers = getBuiltIn('Headers');\nvar RequestPrototype = N$Request && N$Request.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar validateArgumentsLength = function (passed, required) {\n if (passed < required) throw TypeError('Not enough arguments');\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n});\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\nredefineAll(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);\n else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\nredefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\nredefine(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(n$Fetch)) {\n $({ global: true, enumerable: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(N$Request)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","import {Dialog} from \"vant\";\r\n\r\n// export var baseUrl = \"http://192.168.6.27:8080\"\r\nexport const baseUrl = process.env.NODE_ENV === \"production\" ? \"\" : \"http://127.0.0.1:8081/\"\r\nvar appsystemUrl = \"http://127.0.0.1\"\r\nvar ocrUrl = \"/appsystem/ocr\"\r\nvar exitUrl = \"/appsystem/exit\"\r\nvar clearCache = \"/appsystem/clearCache\"\r\nvar qrcodeUrl = \"/appsystem/qrcode\"\r\nvar token = null\r\n\r\n\r\nexport function cache(key, value) {\r\n if (value == null) {\r\n value = localStorage.getItem(key)\r\n if (value == null) {\r\n return null\r\n }\r\n value = JSON.parse(value)\r\n return value[\"data\"];\r\n }\r\n localStorage.setItem(key, null)\r\n localStorage.setItem(key, JSON.stringify({data: value}))\r\n}\r\n\r\nexport function getToken() {\r\n if (token == null) {\r\n token = localStorage.getItem(\"token\")\r\n }\r\n return token\r\n}\r\n\r\nexport function setToken(tt) {\r\n\r\n if (tt == null) {\r\n token = null\r\n localStorage.removeItem(\"token\")\r\n return\r\n }\r\n token = localStorage.setItem(\"token\", tt)\r\n return token\r\n}\r\n\r\nexport function install() {\r\n\r\n fetch(\"app.json?time=\" + new Date().getTime()).then(function (response) {\r\n return response.json();\r\n }).then(function (res) {\r\n\r\n let version = localStorage.getItem(\"version\")\r\n\r\n\r\n if (version != null && version != res.version) {\r\n Dialog({message: \"你有新的升级包,点确认开始升级\"}).then(() => {\r\n // on close\r\n fetch(appsystemUrl + clearCache);\r\n });\r\n }\r\n\r\n localStorage.setItem(\"version\", res.version)\r\n\r\n });\r\n\r\n}\r\n\r\nexport function get(url, data) {\r\n if (data == null) {\r\n data = {}\r\n }\r\n if(getToken()!=null){\r\n data[\"token\"] = getToken()\r\n }\r\n const reData = new Promise(function (resolve) { //做一些异步操作\r\n fetch(window.H.makeUrl(baseUrl + url, data)).then(function (response) {\r\n return response.json();\r\n }).then(function (res) {\r\n\r\n if (res.status == 2) {\r\n setToken(null)\r\n cache(\"org_id\",window.H.getParam(\"org_id\"))\r\n location.hash = \"#/login\"\r\n }\r\n if (res.status != 0) {\r\n Dialog({message: res.error.msg});\r\n return\r\n }\r\n resolve(res)\r\n })\r\n });\r\n return reData\r\n}\r\n\r\nexport function post(url, data) {\r\n\r\n const searchParams = new URLSearchParams(data);\r\n var urlData={}\r\n if(getToken()!=null){\r\n urlData={\"token\": getToken()}\r\n }\r\n const reData = new Promise(function (resolve) { //做一些异步操作\r\n\r\n fetch(window.H.makeUrl(baseUrl + url, urlData), {\r\n method: 'POST',\r\n // mode:\"cors\",\r\n // credentials:\"include\",\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8',\r\n },\r\n body: searchParams.toString(),\r\n }).then(function (response) {\r\n return response.json();\r\n }).then(function (res) {\r\n if (res.status == 2) {\r\n setToken(null)\r\n cache(\"org_id\",window.H.getParam(\"org_id\"))\r\n location.hash = \"#/companyone\"\r\n // window.H.upUrl('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2edb802f5c3ae1ae&redirect_uri='+window.H.makeUrl(\"wx/code.html\")+'&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect');\r\n return\r\n }\r\n if (res.status != 0) {\r\n Dialog({message: res.error.msg});\r\n return\r\n }\r\n resolve(res)\r\n })\r\n });\r\n\r\n\r\n return reData\r\n}\r\n\r\n// 新增任务\r\nexport function upload(file) {\r\n let param = new FormData()\r\n // 将得到的文件流添加到FormData对象\r\n param.append('file', file, file.name)\r\n const reData = new Promise(function (resolve) { //做一些异步操作\r\n fetch(baseUrl + \"app/user/upload\", {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'multipart/form-data',\r\n },\r\n body: param,\r\n }).then(function (response) {\r\n return response.json();\r\n }).then(function (res) {\r\n if (res.status == 2) {\r\n // setToken(null)\r\n localStorage.setItem(\"org_id\", window.H.getParam(\"org_id\"))\r\n location.hash = \"#/companyone\"\r\n // window.H.upUrl('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2edb802f5c3ae1ae&redirect_uri='+window.H.makeUrl(\"wx/code.html\")+'&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect');\r\n return\r\n }\r\n if (res.status != 0) {\r\n Dialog({message: res.error.msg});\r\n return\r\n }\r\n resolve(res)\r\n })\r\n });\r\n return reData\r\n}\r\n\r\nexport function ocr(fn) {\r\n window.H.$off(\"ocr\");\r\n window.H.$on(\"ocr\", function (data) {\r\n fn(data.result)\r\n });\r\n fetch(appsystemUrl + ocrUrl);\r\n}\r\n\r\nexport function exit() {\r\n\r\n fetch(appsystemUrl + exitUrl);\r\n}\r\n\r\nexport function qrcode(fn) {\r\n window.H.$off(\"qrcode\");\r\n window.H.$on(\"qrcode\", function (data) {\r\n fn(data)\r\n });\r\n fetch(appsystemUrl + qrcodeUrl);\r\n}\r\n","import '../../style/base.css';\nimport '../../action-bar/index.css';\nimport '../../badge/index.css';\nimport '../../icon/index.css';\nimport '../../loading/index.css';\nimport '../../button/index.css';\nimport '../../action-bar-button/index.css';\nimport '../../overlay/index.css';\nimport '../../popup/index.css';\nimport '../index.css';"],"sourceRoot":""}