1"use strict"; 2(self["webpackChunk"] = self["webpackChunk"] || []).push([["vendor--js-cookie"],{ 3
vendor: 3,970 bytes, lines 4-150
4/***/ "./node_modules/js-cookie/dist/js.cookie.mjs": 5/*!***************************************************!*\ 6 !*** ./node_modules/js-cookie/dist/js.cookie.mjs ***! 7 \***************************************************/ 8/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9 10__webpack_require__.r(__webpack_exports__); 11/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12/* harmony export */ "default": () => (/* binding */ api) 13/* harmony export */ }); 14/*! js-cookie v3.0.5 | MIT */ 15/* eslint-disable no-var */ 16function assign (target) { 17 for (var i = 1; i < arguments.length; i++) { 18 var source = arguments[i]; 19 for (var key in source) { 20 target[key] = source[key]; 21 } 22 } 23 return target 24} 25/* eslint-enable no-var */ 26 27/* eslint-disable no-var */ 28var defaultConverter = { 29 read: function (value) { 30 if (value[0] === '"') { 31 value = value.slice(1, -1); 32 } 33 return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent) 34 }, 35 write: function (value) { 36 return encodeURIComponent(value).replace( 37 /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, 38 decodeURIComponent 39 ) 40 } 41}; 42/* eslint-enable no-var */ 43 44/* eslint-disable no-var */ 45 46function init (converter, defaultAttributes) { 47 function set (name, value, attributes) { 48 if (typeof document === 'undefined') { 49 return 50 } 51 52 attributes = assign({}, defaultAttributes, attributes); 53 54 if (typeof attributes.expires === 'number') { 55 attributes.expires = new Date(Date.now() + attributes.expires * 864e5); 56 } 57 if (attributes.expires) { 58 attributes.expires = attributes.expires.toUTCString(); 59 } 60 61 name = encodeURIComponent(name) 62 .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent) 63 .replace(/[()]/g, escape); 64 65 var stringifiedAttributes = ''; 66 for (var attributeName in attributes) { 67 if (!attributes[attributeName]) { 68 continue 69 } 70 71 stringifiedAttributes += '; ' + attributeName; 72 73 if (attributes[attributeName] === true) { 74 continue 75 } 76 77 // Considers RFC 6265 section 5.2: 78 // ... 79 // 3. If the remaining unparsed-attributes contains a %x3B (";") 80 // character: 81 // Consume the characters of the unparsed-attributes up to, 82 // not including, the first %x3B (";") character. 83 // ... 84 stringifiedAttributes += '=' + attributes[attributeName].split(';')[0]; 85 } 86 87 return (document.cookie = 88 name + '=' + converter.write(value, name) + stringifiedAttributes) 89 } 90 91 function get (name) { 92 if (typeof document === 'undefined' || (arguments.length && !name)) { 93 return 94 } 95 96 // To prevent the for loop in the first place assign an empty array 97 // in case there are no cookies at all. 98 var cookies = document.cookie ? document.cookie.split('; ') : []; 99 var jar = {}; 100 for (var i = 0; i < cookies.length; i++) { 101 var parts = cookies[i].split('='); 102 var value = parts.slice(1).join('='); 103 104 try { 105 var found = decodeURIComponent(parts[0]); 106 jar[found] = converter.read(value, found); 107 108 if (name === found) { 109 break 110 } 111 } catch (e) {} 112 } 113 114 return name ? jar[name] : jar 115 } 116 117 return Object.create( 118 { 119 set, 120 get, 121 remove: function (name, attributes) { 122 set( 123 name, 124 '', 125 assign({}, attributes, { 126 expires: -1 127 }) 128 ); 129 }, 130 withAttributes: function (attributes) { 131 return init(this.converter, assign({}, this.attributes, attributes)) 132 }, 133 withConverter: function (converter) { 134 return init(assign({}, this.converter, converter), this.attributes) 135 } 136 }, 137 { 138 attributes: { value: Object.freeze(defaultAttributes) }, 139 converter: { value: Object.freeze(converter) } 140 } 141 ) 142} 143 144var api = init(defaultConverter, { path: '/' }); 145/* eslint-enable no-var */ 146 147 148 149 150/***/ })
vendor: 6 bytes, lines 150-152
150 151 152}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.