-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcommon.js
6 lines (6 loc) · 1.53 KB
/
common.js
1
2
3
4
5
6
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("library",[],r):"object"==typeof exports?exports.library=r():e.library=r()}("undefined"!=typeof self?self:this,function(){return function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var t={};return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r(r.s=129)}({129:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.encodeValues=r.convertUrlParametersToObject=void 0;var n=t(130),o=function(e){return e&&e.__esModule?e:{default:e}}(n);r.convertUrlParametersToObject=function(e){return JSON.parse('{"'+decodeURI(e).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}')},r.encodeValues=function(e){for(var r in e){var t=e[r];e[r]=(0,o.default)(t)}return e}},130:function(e,r,t){"use strict";function n(e){return String(e).replace(u,c).replace(o,encodeURI)}/*!
* encodeurl
* Copyright(c) 2016 Douglas Christopher Wilson
* MIT Licensed
*/
e.exports=n;var o=/(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]))+/g,u=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,c="$1�$2"}})});