vendor: 87 bytes, lines 1-4
1/******/ (() => { // webpackBootstrap 2/******/ var __webpack_modules__ = ({ 3 4/***/ "./
4assets/js/components/GetWooCommercePrice.js": 5/*!*****************************************************!*\ 6 !*** ./assets/js/components/GetWooCommercePrice.js ***! 7 \*****************************************************/ 8/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 10"use strict"; 11__webpack_require__.r(__webpack_exports__); 12/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13/* harmony export */ "GetWooCommercePrice": () => (/* binding */ GetWooCommercePrice) 14/* harmony export */ }); 15/* harmony import */ var html_react_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! html-react-parser */ "./node_modules/html-react-parser/esm/index.mjs"); 16/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 17 18 19var GetWooCommercePrice = function GetWooCommercePrice(prop) { 20 if (undefined == prop.val || 0 == prop.val || typeof prop.val != 'string') { 21 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {}); 22 } 23 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 24 children: (0,html_react_parser__WEBPACK_IMPORTED_MODULE_0__["default"])(prop.val) 25 }); 26}; 27 28/***/ }), 29
30/***/ "./assets/js/components/quote_list/clear_list.js": 31/*!*******************************************************!*\ 32 !*** ./assets/js/components/quote_list/clear_list.js ***! 33 \*******************************************************/ 34/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 35 36"use strict"; 37__webpack_require__.r(__webpack_exports__); 38/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39/* harmony export */ "ClearList": () => (/* binding */ ClearList) 40/* harmony export */ }); 41var ClearList = function ClearList() { 42 jQuery.ajax({ 43 type: 'post', 44 url: request_a_quote_ajax_obj.ajax_url, 45 data: { 46 action: 'elex_raq_clear_list', 47 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 48 }, 49 success: function success(data) { 50 if (data.success === true) { 51 jQuery(window).trigger("clear_list_event", data.data.quote_list_data); 52 } 53 } 54 }); 55}; 56 57/***/ }), 58
59/***/ "./assets/js/components/quote_list/priceWithCurrency.js": 60/*!**************************************************************!*\ 61 !*** ./assets/js/components/quote_list/priceWithCurrency.js ***! 62 \**************************************************************/ 63/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 64 65"use strict"; 66__webpack_require__.r(__webpack_exports__); 67/* harmony export */ __webpack_require__.d(__webpack_exports__, { 68/* harmony export */ "PriceWithCurrency": () => (/* binding */ PriceWithCurrency) 69/* harmony export */ }); 70/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); 71/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_0__); 72 73var PriceWithCurrency = function PriceWithCurrency(props) { 74 var currencyPosition = props.currency_position; 75 var price = props.price; 76 var currency = props.currency; 77 switch (currencyPosition) { 78 case 'left': 79 return (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency) + '' + price; 80 case 'left_space': 81 return (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency) + ' ' + price; 82 case 'right_space': 83 return price + ' ' + (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency); 84 case 'right': 85 return price + '' + (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency); 86 } 87}; 88 89/***/ }), 90
91/***/ "./assets/js/components/quote_list/quote_items.js": 92/*!********************************************************!*\ 93 !*** ./assets/js/components/quote_list/quote_items.js ***! 94 \********************************************************/ 95/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 96 97"use strict"; 98__webpack_require__.r(__webpack_exports__); 99/* harmony export */ __webpack_require__.d(__webpack_exports__, { 100/* harmony export */ "RemoveProduct": () => (/* binding */ RemoveProduct) 101/* harmony export */ }); 102/* harmony import */ var _quote_list_content__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quote_list_content */ "./assets/js/components/quote_list/quote_list_content.js"); 103/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); 104/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_2__); 105/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 106 107 108 109var RemoveProduct = function RemoveProduct(product_id, variation_id, callback) { 110 jQuery.ajax({ 111 type: 'post', 112 url: request_a_quote_ajax_obj.ajax_url, 113 data: { 114 action: 'elex_raq_delete_item', 115 product_id: product_id, 116 variation_id: variation_id, 117 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 118 }, 119 success: function success(data) { 120 if (data.success === true) { 121 callback && callback(product_id); 122 jQuery(window).trigger("delete_event", data.data.quote_list_data); 123 } 124 } 125 }); 126}; 127var ShowSKU = function ShowSKU(props) { 128 if (props.is_sku_checked === true) { 129 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 130 className: "raq-fs", 131 children: props.item.sku 132 }); 133 } 134 return ''; 135}; 136var ShowPrice = function ShowPrice(props) { 137 if (props.show_price === true) { 138 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 139 className: "raq-fs", 140 children: props.item.item_cost 141 }); 142 } 143 return null; 144}; 145var ShowImage = function ShowImage(props) { 146 // if(props.show_image === true){ 147 // return( 148 // <img src={props.item.image_url} 149 // alt="" /> 150 // ) 151 152 // } 153 return ''; 154}; 155var ShowItemSubtotal = function ShowItemSubtotal(props) { 156 if (props.show_item_total == true) { 157 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 158 className: "text-end", 159 children: props.item.item_total + '' + (0,html_entities__WEBPACK_IMPORTED_MODULE_2__.decode)(props.currency) 160 }); 161 } 162 return ''; 163}; 164 165/***/ }), 166
167/***/ "./assets/js/components/quote_list/quote_list_content.js": 168/*!***************************************************************!*\ 169 !*** ./assets/js/components/quote_list/quote_list_content.js ***! 170 \***************************************************************/ 171/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 172 173"use strict"; 174__webpack_require__.r(__webpack_exports__); 175/* harmony export */ __webpack_require__.d(__webpack_exports__, { 176/* harmony export */ "QuoteListProducts": () => (/* binding */ QuoteListProducts), 177/* harmony export */ "RenderDelete": () => (/* binding */ RenderDelete) 178/* harmony export */ }); 179/* harmony import */ var _show_add_more_button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./show_add_more_button */ "./assets/js/components/quote_list/show_add_more_button.js"); 180/* harmony import */ var _show_clear_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./show_clear_list */ "./assets/js/components/quote_list/show_clear_list.js"); 181/* harmony import */ var _priceWithCurrency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./priceWithCurrency */ "./assets/js/components/quote_list/priceWithCurrency.js"); 182/* harmony import */ var _quote_items__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./quote_items */ "./assets/js/components/quote_list/quote_items.js"); 183/* harmony import */ var _GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../GetWooCommercePrice */ "./assets/js/components/GetWooCommercePrice.js"); 184/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 185/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 186function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 187function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } 188function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } 189function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } 190function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } 191function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } 192function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } 193function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } 194function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {};
194 i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } 195function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } 196function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } 197function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } 198 199 200 201 202 203 204 205 206 207 208var tempElexRqQuoteList = []; 209var RenderDelete = function RenderDelete(data) { 210 if (data.props.item.type === 'composite' && data.props.item.child === true) { 211 return null; 212 } 213 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { 214 onClick: function onClick(e) { 215 e.preventDefault(); 216 (0,_quote_items__WEBPACK_IMPORTED_MODULE_3__.RemoveProduct)(data.props.item.product_id, data.props.item.variation_id, data.props.onDelete); 217 }, 218 className: "remove_product btn btn-sm rounded-circle p-1 lh-1", 219 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { 220 xmlns: "http://www.w3.org/2000/svg", 221 width: "15", 222 height: "16.5", 223 viewBox: "0 0 15 16.5", 224 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("g", { 225 id: "Icon_feather-trash-2", 226 "data-name": "Icon feather-trash-2", 227 transform: "translate(0.75 0.75)", 228 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 229 "data-name": "Path 482", 230 d: "M2.25,4.5h13.5", 231 transform: "translate(-2.25 -1.5)", 232 fill: "none", 233 stroke: "#000", 234 "stroke-linecap": "round", 235 "stroke-linejoin": "round", 236 "stroke-width": "1.5" 237 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 238 "data-name": "Path 483", 239 d: "M14.25,4.5V15a1.5,1.5,0,0,1-1.5,1.5H5.25A1.5,1.5,0,0,1,3.75,15V4.5M6,4.5V3A1.5,1.5,0,0,1,7.5,1.5h3A1.5,1.5,0,0,1,12,3V4.5", 240 transform: "translate(-2.25 -1.5)", 241 fill: "none", 242 stroke: "#000", 243 "stroke-linecap": "round", 244 "stroke-linejoin": "round", 245 "stroke-width": "1.5" 246 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 247 "data-name": "Path 484", 248 d: "M7.5,8.25v4.5", 249 transform: "translate(-2.25 -1.5)", 250 fill: "none", 251 stroke: "#000", 252 "stroke-linecap": "round", 253 "stroke-linejoin": "round", 254 "stroke-width": "1.5" 255 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 256 "data-name": "Path 485", 257 d: "M10.5,8.25v4.5", 258 transform: "translate(-2.25 -1.5)", 259 fill: "none", 260 stroke: "#000", 261 "stroke-linecap": "round", 262 "stroke-linejoin": "round", 263 "stroke-width": "1.5" 264 })] 265 }) 266 }) 267 }); 268}; 269var ShowProductPrice = function ShowProductPrice(props) { 270 if (props.show_price === true && props.is_hide_price !== true) { 271 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 272 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none", 273 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 274 className: "mb-0", 275 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Price', 'elex-request-a-quote') 276 }) 277 }); 278 } 279 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 280 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 281 }); 282 // return null; 283}; 284 285var ShowProductQuantity = function ShowProductQuantity(props) { 286 if (props.show_quantity === true) { 287 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 288 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none", 289 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 290 className: "mb-0", 291 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Quantity', 'elex-request-a-quote') 292 }) 293 }); 294 } 295 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 296 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 297 }); 298}; 299var ShowProductSubtotal = function ShowProductSubtotal(props) { 300 if (props.show_subtotal === true && props.is_hide_price !== true) { 301 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 302 className: "col-2 elex-raq-quote-hideable-header text-end d-md-block d-none", 303 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 304 className: "mb-0", 305 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Subtotal', 'elex-request-a-quote') 306 }) 307 }); 308 } 309 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 310 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 311 }); 312}; 313var ShowTax = function ShowTax(props) { 314 if (props.inclusive_tax !== true && props.show_tax === true && props.is_hide_price !== true) { 315 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 316 className: "d-flex justify-content-between mb-2", 317 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 318 className: "mb-0", 319 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Tax', 'elex-request-a-quote') 320 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 321 className: "raq-fxs", 322 children: props.tax_value !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 323 val: props.tax_value 324 }) : '' 325 })] 326 }); 327 } 328 return null; 329}; 330var ShowSubTotal = function ShowSubTotal(props) { 331 if (props.show_sub_total === true && props.is_hide_price !== true) { 332 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 333 className: "d-flex justify-content-between mb-2", 334 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 335 className: "mb-0", 336 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Subtotal', 'elex-request-a-quote') 337 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 338 className: "raq-fxs",
339 children: props.sub_total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 340 val: props.sub_total 341 }) : '' 342 })] 343 }); 344 } 345 return null; 346}; 347var ShowTotal = function ShowTotal(props) { 348 if (props.show_sub_total === true && props.is_hide_price !== true) { 349 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 350 className: "d-flex justify-content-between mb-2", 351 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 352 className: "mb-0", 353 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Total', 'elex-request-a-quote') 354 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 355 className: "raq-fxs", 356 children: props.total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 357 val: props.total 358 }) : '' 359 })] 360 }); 361 } 362 return null; 363}; 364var ShowSKU = function ShowSKU(props) { 365 if (props.is_sku_checked === true) { 366 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 367 className: "raq-fs", 368 children: props.item.sku 369 }); 370 } 371 return ''; 372}; 373var ShowPrice = function ShowPrice(props) { 374 if (props.show_price === true && props.is_hide_price !== true) { 375 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 376 className: "raq-fs", 377 children: props.item.item_cost !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 378 val: props.item.item_cost 379 }) : '' 380 }); 381 } 382 return null; 383}; 384var ShowImage = function ShowImage(props) { 385 if (props.show_image === true) { 386 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("img", { 387 src: props.item.image_url, 388 alt: "" 389 }); 390 } 391 return ''; 392}; 393var ShowItemSubtotal = function ShowItemSubtotal(props) { 394 if (props.show_item_total == true && props.is_hide_price !== true) { 395 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 396 className: "text-end", 397 children: props.item.item_total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 398 val: props.item.item_total 399 }) : '' 400 }); 401 } 402 return ''; 403}; 404var QuoteListProducts = function QuoteListProducts(props) { 405 var button_color = wp.element.useState(props.data.quote_items.general.general.button_default_color); 406 var wc_currency = wp.element.useState(props.data.quote_items, quote_list.wc_currency); 407 wp.element.useEffect(function () { 408 jQuery(window).on("update_quantity_event", function (e, quotelist_data) { 409 setQuoteItems(quotelist_data); 410 }); 411 jQuery(window).on("clear_list_event", function (e, quotelist_data) { 412 setQuoteItems(quotelist_data); 413 }); 414 jQuery(window).on("delete_event", function (e, quotelist_data) { 415 setQuoteItems(quotelist_data); 416 }); 417 }, []); 418 var onQuoteListItemRemove = function onQuoteListItemRemove(i) { 419 var newQuoteList = _objectSpread({}, quoteItems); 420 newQuoteList.quote_list.items.splice(i, 1); 421 setQuoteItems(newQuoteList); 422 }; 423 var HideOrShowUpdateList = function HideOrShowUpdateList(props) { 424 if (props.data.additional_settings.update_list_button === true) { 425 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { 426 onClick: function onClick() { 427 setQuoteItems(tempElexRqQuoteList); 428 UpdateListApi(); 429 }, 430 style: { 431 backgroundColor: props.color[0], 432 border: 'none' 433 }, 434 className: "update_list_btn btn btn-sm btn-primary px-4", 435 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Update List', 'elex-request-a-quote') 436 }); 437 } 438 return ''; 439 }; 440 var IsPriceHidden = function IsPriceHidden(props) { 441 if (true === props.is_hide_price) { 442 return null; 443 } 444 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 445 className: "col-md-6 col-7 border-0 mb-2 border-bottom border-secondary", 446 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowSubTotal, { 447 is_hide_price: props.is_hide_price, 448 currency: props.currency, 449 currency_position: props.currency_position, 450 sub_total: props.items.quote_list.sub_total, 451 show_sub_total: props.items.settings.show_on_product_table.each_product_subtotal 452 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowTax, { 453 inclusive_tax: props.items.quote_list.inclusive_tax, 454 is_hide_price: props.is_hide_price, 455 currency: props.currency, 456 currency_position: props.currency_position, 457 tax_value: props.items.quote_list.tax, 458 show_tax: props.items.settings.show_on_product_table.taxes 459 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowTotal, { 460 is_hide_price: props.is_hide_price, 461 currency: props.currency, 462 currency_position: props.currency_position, 463 total: props.items.quote_list.total, 464 show_sub_total: props.items.settings.show_on_product_table.each_product_subtotal 465 })] 466 }); 467 }; 468 var UpdateListApi = function UpdateListApi() { 469 var newQuoteList = _objectSpread({}, quoteItems); 470 var product_data = []; 471 jQuery.each(newQuoteList.quote_list.items, function (k) { 472 var data = { 473 product_id: newQuoteList.quote_list.items[k].product_id, 474 quantity: newQuoteList.quote_list.items[k].quantity, 475 variation_id: newQuoteList.quote_list.items[k].variation_id 476 }; 477 product_data.push(data); 478 }); 479 jQuery.ajax({ 480 type: 'post', 481 url: request_a_quote_ajax_obj.ajax_url, 482 data: { 483 action: 'elex_raq_update_quote_list', 484 data: product_data, 485 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 486 }, 487 success: function success(data) { 488 if (data.success === true) { 489 jQuery(window).trigger("update_quantity_event", data.data.quote_list_data); 490 } 491 } 492 }); 493 }; 494 var QuoteItems = function QuoteItems(props) { 495 var UpdateLocalList = function UpdateLocalList(newQuantity, product_id, variation_id) { 496 var newQuoteList = _objectSpread({}, quoteItems); 497 jQuery.each(newQuoteList.quote_list.items, function (k) { 498 if (newQuoteList.quote_list.items[k].product_id === product_id && newQuoteList.quote_list.items[k].variation_id === variation_id) { 499 newQuoteList.quote_list.items[k].quantity = newQuantity; 500 } 501 }); 502 // Note: if we update state here component rerenders and input gets out of focus. 503 tempElexRqQuoteList = newQuoteList; 504 }; 505 var UpdateItemQuantity = function UpdateItemQuantity(product_id, quantity, variation_id) { 506 jQuery.ajax({ 507 type: 'post', 508 url: request_a_quote_ajax_obj.ajax_url, 509 data: { 510 action: 'elex_raq_update_quantity', 511 product_id: product_id, 512 quote_list_id: props.quote_list_id, 513 quantity: quantity, 514 variation_id: variation_id, 515 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 516 }, 517 success: function success(data) { 518 if (data.success === true) { 519 jQuery(window).trigger("update_quantity_event", data.data.quote_list_data); 520 jQuery("#elex-raq-updated-sucess-toast").addClass("show"); 521 setTimeout(function () { 522 jQuery("#elex-raq-updated-sucess-toast").removeClass("show"); 523 }, 3000); 524 } 525 } 526 }); 527 }; 528 var ShowQuantity = function ShowQuantity(props) { 529 var is_disabled = ''; 530 if (props.item.child === true) { 531 is_disabled = "disabled"; 532 } 533 if (props.show_quantity === true && !props.item.child) { 534 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("input", { 535 type: "number", 536 min: "1", 537 id: props.item.product_id, 538 onChange: function onChange(e) { 539 UpdateLocalList(e.target.value, props.item.product_id, props.item.variation_id); 540 props.is_update_btn_enabled === false ? UpdateItemQuantity(props.item.product_id, e.target.value, props.item.variation_id) : ''; 541 }, 542 defaultValue: props.item.quantity, 543 className: "form-control product_quantity px-1" 544 }); 545 } 546 if (props.show_quantity === true && props.item.child) { 547 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("input", { 548 disabled: true, 549 type: "number", 550 min: "1", 551 id: props.item.product_id, 552 onChange: function onChange(e) { 553 UpdateLocalList(e.target.value, props.item.product_id, props.item.variation_id); 554 props.is_update_btn_enabled === false ? UpdateItemQuantity(props.item.product_id, e.target.value, props.item.variation_id) : ''; 555 }, 556 defaultValue: props.item.quantity, 557 className: "form-control product_quantity px-1" 558 }); 559 } 560 return null; 561 }; 562 var ShowProdcutDetails = function ShowProdcutDetails(props) { 563 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("a", { 564 href: props.link, 565 children: props.title 566 }); 567 }; 568 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.Fragment, { 569 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 570 className: "row text-start align-items-center border-0 pb-2 mb-2 border-bottom border-secondary", 571 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 572 className: "col-xl-1 col-md-1 col-2 mb-2", 573 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(RenderDelete, { 574 props: props 575 }) 576 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 577 className: "col-xl-5 col-md-5 col-10 mb-2", 578 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 579 className: "d-flex gap-2", 580 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 581 className: "elex-raq-icon", 582 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 583 className: "ratio ratio-1x1", 584 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowImage, { 585 show_image: props.settings.show_on_product_table.product_image, 586 item: props.item 587 }) 588 }) 589 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 590 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProdcutDetails, { 591 link: props.item.product_link, 592 title: props.item.title 593 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 594 className: "raq-fs" 595 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowSKU, { 596 is_sku_checked: props.settings.show_on_product_table.product_sku, 597 item: props.item 598 })] 599 })] 600 }) 601 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 602 className: "col-xl-2 col-md-2 col-3 offset-xl-0 offset-md-0 offset-2 mb-2", 603 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowPrice, { 604 currency: props.currency, 605 currency_position: props.currency_position, 606 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 607 show_price: props.settings.show_on_product_table.product_price, 608 item: props.item 609 }) 610 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 611 className: "col-xl-2 col-md-2 col-3 mb-2 p-0", 612 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowQuantity, { 613 onUpdate: props.onUpdate, 614 show_quantity: props.settings.show_on_product_table.quantity, 615 is_update_btn_enabled: props.is_update_btn_enabled, 616 item: props.item 617 }) 618 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 619 className: "col-xl-2 col-md-2 col-4 text-end ps-2 mb-2", 620 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowItemSubtotal, { 621 currency_position: props.currency_position, 622 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 623 currency: props.currency, 624 show_item_total: props.settings.show_on_product_table.each_product_subtotal, 625 item: props.item 626 }) 627 })] 628 }) 629 }); 630 }; 631 var _wp$element$useState = wp.element.useState(props.data.quote_items), 632 _wp$element$useState2 = _slicedToArray(_wp$element$useState, 2), 633 quoteItems = _wp$element$useState2[0], 634 setQuoteItems = _wp$element$useState2[1]; 635 if (undefined == quoteItems.quote_list) { 636 return ''; 637 } 638 if (quoteItems.quote_list.items.length === 0) { 639 return ''; 640 } 641 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 642 className: "shadow quote_list_page overflow-auto w-100 mb-3 flex-fill rounded-3 bg-white ", 643 id: "elex_quote_list_page_div", 644 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 645 className: "quote_list_product_table", 646 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 647 className: "bg-secondary bg-opacity-10 p-3", 648 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 649 className: "row text-start", 650 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 651 className: "col-1" 652 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 653 className: "col-sm-5 col-12", 654 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 655 className: "mb-0", 656 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Product Detail', 'elex-request-a-quote') 657 }) 658 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductPrice, { 659 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 660 show_price: quoteItems.settings.show_on_product_table.product_price 661 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductQuantity, { 662 show_quantity: quoteItems.settings.show_on_product_table.quantity 663 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductSubtotal, { 664 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 665 show_subtotal: quoteItems.settings.show_on_product_table.each_product_subtotal 666 })] 667 }) 668 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 669 className: "p-3", 670 children: [quoteItems.quote_list.items.map(function (item, i) { 671 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(QuoteItems, { 672 onDelete: function onDelete() { 673 return onQuoteListItemRemove(i); 674 }, 675 ad_settings: quoteItems.additional_settings, 676 settings: quoteItems.settings, 677 currency: quoteItems.quote_list.wc_currency, 678 currency_position: quoteItems.quote_list.currency_position, 679
679 quote_list_id: quoteItems.quote_list.id, 680 item: item, 681 is_update_btn_enabled: quoteItems.additional_settings.update_list_button 682 }, i); 683 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 684 className: "row text-start align-items-center mb-2 justify-content-end", 685 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(IsPriceHidden, { 686 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 687 currency_position: quoteItems.quote_list.currency_position, 688 currency: quoteItems.quote_list.wc_currency, 689 items: quoteItems 690 }) 691 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 692 className: "d-flex flex-wrap justify-content-between flex-sm-row flex-column align-items-center gap-2", 693 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_show_add_more_button__WEBPACK_IMPORTED_MODULE_0__.HideOrShowAddMoreButton, { 694 data: quoteItems.additional_settings, 695 color: button_color 696 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 697 className: "d-flex gap-2", 698 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_show_clear_list__WEBPACK_IMPORTED_MODULE_1__.HideOrShowClearList, { 699 data: quoteItems.additional_settings, 700 color: button_color 701 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(HideOrShowUpdateList, { 702 data: quoteItems, 703 color: button_color 704 })] 705 })] 706 })] 707 })] 708 }) 709 }); 710}; 711 712/***/ }), 713
714/***/ "./assets/js/components/quote_list/show_add_more_button.js": 715/*!*****************************************************************!*\ 716 !*** ./assets/js/components/quote_list/show_add_more_button.js ***! 717 \*****************************************************************/ 718/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 719 720"use strict"; 721__webpack_require__.r(__webpack_exports__); 722/* harmony export */ __webpack_require__.d(__webpack_exports__, { 723/* harmony export */ "HideOrShowAddMoreButton": () => (/* binding */ HideOrShowAddMoreButton) 724/* harmony export */ }); 725/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 726/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 727 728 729var HideOrShowAddMoreButton = function HideOrShowAddMoreButton(props) { 730 if (props.data.add_more_items_button === true) { 731 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a", { 732 href: props.data.add_more_items_button_redirection, 733 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 734 style: { 735 backgroundColor: props.color[0], 736 border: 'none' 737 }, 738 className: "add_more_items_btn btn btn-sm btn-primary px-4", 739 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(props.data.add_more_items_button_label, 'elex-request-a-quote') 740 }) 741 }); 742 } 743 return ''; 744}; 745 746/***/ }), 747
748/***/ "./assets/js/components/quote_list/show_clear_list.js": 749/*!************************************************************!*\ 750 !*** ./assets/js/components/quote_list/show_clear_list.js ***! 751 \************************************************************/ 752/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 753 754"use strict"; 755__webpack_require__.r(__webpack_exports__); 756/* harmony export */ __webpack_require__.d(__webpack_exports__, { 757/* harmony export */ "HideOrShowClearList": () => (/* binding */ HideOrShowClearList) 758/* harmony export */ }); 759/* harmony import */ var _clear_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clear_list */ "./assets/js/components/quote_list/clear_list.js"); 760/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 761/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 762 763 764 765var HideOrShowClearList = function HideOrShowClearList(props) { 766 if (props.data.clear_list === true) { 767 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("button", { 768 style: { 769 backgroundColor: props.color[0], 770 border: 'none' 771 }, 772 onClick: _clear_list__WEBPACK_IMPORTED_MODULE_0__.ClearList, 773 className: "clear_list_btn btn btn-sm btn-primary px-4", 774 children: (0,_translate__WEBPACK_IMPORTED_MODULE_1__["default"])('Clear List', 'elex-request-a-quote') 775 }); 776 } 777 return ''; 778}; 779 780/***/ }), 781
782/***/ "./assets/js/components/translate.js": 783/*!*******************************************!*\ 784 !*** ./assets/js/components/translate.js ***! 785 \*******************************************/ 786/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 787 788"use strict"; 789__webpack_require__.r(__webpack_exports__); 790/* harmony export */ __webpack_require__.d(__webpack_exports__, { 791/* harmony export */ "default": () => (/* binding */ __) 792/* harmony export */ }); 793// eslint-disable-next-line no-underscore-dangle 794function __(string, domain) { 795 var _window = window, 796 elexRaqTranslations = _window.elex_raq_translations; 797 if (domain === 'elex-request-a-quote' && elexRaqTranslations && elexRaqTranslations !== null && elexRaqTranslations !== void 0 && elexRaqTranslations[string]) { 798 return elexRaqTranslations[string]; 799 } 800 return string; 801} 802 803/***/ }), 804
vendor: 2,261 bytes, lines 805-870
805/***/ "./node_modules/domelementtype/lib/index.js": 806/*!**************************************************!*\ 807 !*** ./node_modules/domelementtype/lib/index.js ***! 808 \**************************************************/ 809/***/ ((__unused_webpack_module, exports) => { 810 811"use strict"; 812 813Object.defineProperty(exports, "__esModule", ({ value: true })); 814exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0; 815/** Types of elements found in htmlparser2's DOM */ 816var ElementType; 817(function (ElementType) { 818 /** Type for the root element of a document */ 819 ElementType["Root"] = "root"; 820 /** Type for Text */ 821 ElementType["Text"] = "text"; 822 /** Type for <? ... ?> */ 823 ElementType["Directive"] = "directive"; 824 /** Type for <!-- ... --> */ 825 ElementType["Comment"] = "comment"; 826 /** Type for <script> tags */ 827 ElementType["Script"] = "script"; 828 /** Type for <style> tags */ 829 ElementType["Style"] = "style"; 830 /** Type for Any tag */ 831 ElementType["Tag"] = "tag"; 832 /** Type for <![CDATA[ ... ]]> */ 833 ElementType["CDATA"] = "cdata"; 834 /** Type for <!doctype ...> */ 835 ElementType["Doctype"] = "doctype"; 836})(ElementType = exports.ElementType || (exports.ElementType = {})); 837/** 838 * Tests whether an element is a tag or not. 839 * 840 * @param elem Element to test 841 */ 842function isTag(elem) { 843 return (elem.type === ElementType.Tag || 844 elem.type === ElementType.Script || 845 elem.type === ElementType.Style); 846} 847exports.isTag = isTag; 848// Exports for backwards compatibility 849/** Type for the root element of a document */ 850exports.Root = ElementType.Root; 851/** Type for Text */ 852exports.Text = ElementType.Text; 853/** Type for <? ... ?> */ 854exports.Directive = ElementType.Directive; 855/** Type for <!-- ... --> */ 856exports.Comment = ElementType.Comment; 857/** Type for <script> tags */ 858exports.Script = ElementType.Script; 859/** Type for <style> tags */ 860exports.Style = ElementType.Style; 861/** Type for Any tag */ 862exports.Tag = ElementType.Tag; 863/** Type for <![CDATA[ ... ]]> */ 864exports.CDATA = ElementType.CDATA; 865/** Type for <!doctype ...> */ 866exports.Doctype = ElementType.Doctype; 867 868 869/***/ }), 870
vendor: 1,487 bytes, lines 871-926
871/***/ "./node_modules/html-dom-parser/lib/client/constants.js": 872/*!**************************************************************!*\ 873 !*** ./node_modules/html-dom-parser/lib/client/constants.js ***! 874 \**************************************************************/ 875/***/ ((__unused_webpack_module, exports) => { 876 877"use strict"; 878 879Object.defineProperty(exports, "__esModule", ({ value: true })); 880exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES = void 0; 881/** 882 * SVG elements are case-sensitive. 883 * 884 * @see https://developer.mozilla.org/docs/Web/SVG/Element#svg_elements_a_to_z 885 */ 886exports.CASE_SENSITIVE_TAG_NAMES = [ 887 'animateMotion', 888 'animateTransform', 889 'clipPath', 890 'feBlend', 891 'feColorMatrix', 892 'feComponentTransfer', 893 'feComposite', 894 'feConvolveMatrix', 895 'feDiffuseLighting', 896 'feDisplacementMap', 897 'feDropShadow', 898 'feFlood', 899 'feFuncA', 900 'feFuncB', 901 'feFuncG', 902 'feFuncR', 903 'feGaussianBlur', 904 'feImage', 905 'feMerge', 906 'feMergeNode', 907 'feMorphology', 908 'feOffset', 909 'fePointLight', 910 'feSpecularLighting', 911 'feSpotLight', 912 'feTile', 913 'feTurbulence', 914 'foreignObject', 915 'linearGradient', 916 'radialGradient', 917 'textPath', 918]; 919exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES.reduce(function (accumulator, tagName) { 920 accumulator[tagName.toLowerCase()] = tagName; 921 return accumulator; 922}, {}); 923//# sourceMappingURL=constants.js.map 924 925/***/ }), 926
vendor: 5,360 bytes, lines 927-1073
927/***/ "./node_modules/html-dom-parser/lib/client/domparser.js": 928/*!**************************************************************!*\ 929 !*** ./node_modules/html-dom-parser/lib/client/domparser.js ***! 930 \**************************************************************/ 931/***/ ((__unused_webpack_module, exports) => { 932 933"use strict"; 934 935Object.defineProperty(exports, "__esModule", ({ value: true })); 936exports["default"] = domparser; 937// constants 938var HTML = 'html'; 939var HEAD = 'head'; 940var BODY = 'body'; 941var FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1> 942// match-all-characters in case of newlines (DOTALL) 943var HEAD_TAG_REGEX = /<head[^]*>/i; 944var BODY_TAG_REGEX = /<body[^]*>/i; 945// falls back to `parseFromString` if `createHTMLDocument` cannot be used 946// eslint-disable-next-line @typescript-eslint/no-unused-vars 947var parseFromDocument = function (html, tagName) { 948 /* istanbul ignore next */ 949 throw new Error('This browser does not support `document.implementation.createHTMLDocument`'); 950}; 951// eslint-disable-next-line @typescript-eslint/no-unused-vars 952var parseFromString = function (html, tagName) { 953 /* istanbul ignore next */ 954 throw new Error('This browser does not support `DOMParser.prototype.parseFromString`'); 955}; 956var DOMParser = typeof window === 'object' && window.DOMParser; 957/** 958 * DOMParser (performance: slow). 959 * 960 * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document 961 */ 962if (typeof DOMParser === 'function') { 963 var domParser_1 = new DOMParser(); 964 var mimeType_1 = 'text/html'; 965 /** 966 * Creates an HTML document using `DOMParser.parseFromString`. 967 * 968 * @param html - The HTML string. 969 * @param tagName - The element to render the HTML (with 'body' as fallback). 970 * @returns - Document. 971 */ 972 parseFromString = function (html, tagName) { 973 if (tagName) { 974 /* istanbul ignore next */ 975 html = "<".concat(tagName, ">").concat(html, "</").concat(tagName, ">"); 976 } 977 return domParser_1.parseFromString(html, mimeType_1); 978 }; 979 parseFromDocument = parseFromString; 980} 981/** 982 * DOMImplementation (performance: fair). 983 * 984 * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument 985 */ 986if (typeof document === 'object' && document.implementation) { 987 var htmlDocument_1 = document.implementation.createHTMLDocument(); 988 /** 989 * Use HTML document created by `document.implementation.createHTMLDocument`. 990 * 991 * @param html - The HTML string. 992 * @param tagName - The element to render the HTML (with 'body' as fallback). 993 * @returns - Document 994 */ 995 parseFromDocument = function (html, tagName) { 996 if (tagName) { 997 var element = htmlDocument_1.documentElement.querySelector(tagName); 998 if (element) { 999 element.innerHTML = html; 1000 } 1001 return htmlDocument_1; 1002 } 1003 htmlDocument_1.documentElement.innerHTML = html; 1004 return htmlDocument_1; 1005 }; 1006} 1007/** 1008 * Template (performance: fast). 1009 * 1010 * @see https://developer.mozilla.org/docs/Web/HTML/Element/template 1011 */ 1012var template = typeof document === 'object' && document.createElement('template'); 1013var parseFromTemplate; 1014if (template && template.content) { 1015 /** 1016 * Uses a template element (content fragment) to parse HTML. 1017 * 1018 * @param html - HTML string. 1019 * @returns - Nodes. 1020 */ 1021 parseFromTemplate = function (html) { 1022 template.innerHTML = html; 1023 return template.content.childNodes; 1024 }; 1025} 1026/** 1027 * Parses HTML string to DOM nodes. 1028 * 1029 * @param html - HTML markup. 1030 * @returns - DOM nodes. 1031 */ 1032function domparser(html) { 1033 var _a, _b; 1034 var match = html.match(FIRST_TAG_REGEX); 1035 var firstTagName = match && match[1] ? match[1].toLowerCase() : ''; 1036 switch (firstTagName) { 1037 case HTML: { 1038 var doc = parseFromString(html); 1039 // the created document may come with filler head/body elements, 1040 // so make sure to remove them if they don't actually exist 1041 if (!HEAD_TAG_REGEX.test(html)) { 1042 var element = doc.querySelector(HEAD); 1043 (_a = element === null || element === void 0 ? void 0 : element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(element); 1044 } 1045 if (!BODY_TAG_REGEX.test(html)) { 1046 var element = doc.querySelector(BODY); 1047 (_b = element === null || element === void 0 ? void 0 : element.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(element); 1048 } 1049 return doc.querySelectorAll(HTML); 1050 } 1051 case HEAD: 1052 case BODY: { 1053 var elements = parseFromDocument(html).querySelectorAll(firstTagName); 1054 // if there's a sibling element, then return both elements 1055 if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) { 1056 return elements[0].parentNode.childNodes; 1057 } 1058 return elements; 1059 } 1060 // low-level tag or text 1061 default: { 1062 if (parseFromTemplate) { 1063 return parseFromTemplate(html); 1064 } 1065 var element = parseFromDocument(html, BODY).querySelector(BODY); 1066 return element.childNodes; 1067 } 1068 } 1069} 1070//# sourceMappingURL=domparser.js.map 1071 1072/***/ }), 1073
vendor: 1,475 bytes, lines 1074-1111
1074/***/ "./node_modules/html-dom-parser/lib/client/html-to-dom.js": 1075/*!****************************************************************!*\ 1076 !*** ./node_modules/html-dom-parser/lib/client/html-to-dom.js ***! 1077 \****************************************************************/ 1078/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1079 1080"use strict"; 1081 1082var __importDefault = (this && this.__importDefault) || function (mod) { 1083 return (mod && mod.__esModule) ? mod : { "default": mod }; 1084}; 1085Object.defineProperty(exports, "__esModule", ({ value: true })); 1086exports["default"] = HTMLDOMParser; 1087var domparser_1 = __importDefault(__webpack_require__(/*! ./domparser */ "./node_modules/html-dom-parser/lib/client/domparser.js")); 1088var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-dom-parser/lib/client/utilities.js"); 1089var DIRECTIVE_REGEX = /<(![a-zA-Z\s]+)>/; // e.g., <!doctype html> 1090/** 1091 * Parses HTML string to DOM nodes in browser. 1092 * 1093 * @param html - HTML markup. 1094 * @returns - DOM elements. 1095 */ 1096function HTMLDOMParser(html) { 1097 if (typeof html !== 'string') { 1098 throw new TypeError('First argument must be a string'); 1099 } 1100 if (!html) { 1101 return []; 1102 } 1103 // match directive 1104 var match = html.match(DIRECTIVE_REGEX); 1105 var directive = match ? match[1] : undefined; 1106 return (0, utilities_1.formatDOM)((0, domparser_1.default)(html), null, directive); 1107} 1108//# sourceMappingURL=html-to-dom.js.map 1109 1110/***/ }), 1111
vendor: 3,879 bytes, lines 1112-1229
1112/***/ "./node_modules/html-dom-parser/lib/client/utilities.js": 1113/*!**************************************************************!*\ 1114 !*** ./node_modules/html-dom-parser/lib/client/utilities.js ***! 1115 \**************************************************************/ 1116/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 1117 1118"use strict"; 1119 1120Object.defineProperty(exports, "__esModule", ({ value: true })); 1121exports.formatAttributes = formatAttributes; 1122exports.formatDOM = formatDOM; 1123var domhandler_1 = __webpack_require__(/*! domhandler */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js"); 1124var constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/html-dom-parser/lib/client/constants.js"); 1125/** 1126 * Gets case-sensitive tag name. 1127 * 1128 * @param tagName - Tag name in lowercase. 1129 * @returns - Case-sensitive tag name. 1130 */ 1131function getCaseSensitiveTagName(tagName) { 1132 return constants_1.CASE_SENSITIVE_TAG_NAMES_MAP[tagName]; 1133} 1134/** 1135 * Formats DOM attributes to a hash map. 1136 * 1137 * @param attributes - List of attributes. 1138 * @returns - Map of attribute name to value. 1139 */ 1140function formatAttributes(attributes) { 1141 var map = {}; 1142 var index = 0; 1143 var attributesLength = attributes.length; 1144 // `NamedNodeMap` is array-like 1145 for (; index < attributesLength; index++) { 1146 var attribute = attributes[index]; 1147 map[attribute.name] = attribute.value; 1148 } 1149 return map; 1150} 1151/** 1152 * Corrects the tag name if it is case-sensitive (SVG). 1153 * Otherwise, returns the lowercase tag name (HTML). 1154 * 1155 * @param tagName - Lowercase tag name. 1156 * @returns - Formatted tag name. 1157 */ 1158function formatTagName(tagName) { 1159 tagName = tagName.toLowerCase(); 1160 var caseSensitiveTagName = getCaseSensitiveTagName(tagName); 1161 if (caseSensitiveTagName) { 1162 return caseSensitiveTagName; 1163 } 1164 return tagName; 1165} 1166/** 1167 * Transforms DOM nodes to `domhandler` nodes. 1168 * 1169 * @param nodes - DOM nodes. 1170 * @param parent - Parent node. 1171 * @param directive - Directive. 1172 * @returns - Nodes. 1173 */ 1174function formatDOM(nodes, parent, directive) { 1175 if (parent === void 0) { parent = null; } 1176 var domNodes = []; 1177 var current; 1178 var index = 0; 1179 var nodesLength = nodes.length; 1180 for (; index < nodesLength; index++) { 1181 var node = nodes[index]; 1182 // set the node data given the type 1183 switch (node.nodeType) { 1184 case 1: { 1185 var tagName = formatTagName(node.nodeName); 1186 // script, style, or tag 1187 current = new domhandler_1.Element(tagName, formatAttributes(node.attributes)); 1188 current.children = formatDOM( 1189 // template children are on content 1190 tagName === 'template' 1191 ? node.content.childNodes 1192 : node.childNodes, current); 1193 break; 1194 } 1195 case 3: 1196 current = new domhandler_1.Text(node.nodeValue); 1197 break; 1198 case 8: 1199 current = new domhandler_1.Comment(node.nodeValue); 1200 break; 1201 default: 1202 continue; 1203 } 1204 // set previous node next 1205 var prev = domNodes[index - 1] || null; 1206 if (prev) { 1207 prev.next = current; 1208 } 1209 // set properties for current node 1210 current.parent = parent; 1211 current.prev = prev; 1212 current.next = null; 1213 domNodes.push(current); 1214 } 1215 if (directive) { 1216 current = new domhandler_1.ProcessingInstruction(directive.substring(0, directive.indexOf(' ')).toLowerCase(), directive); 1217 current.next = domNodes[0] || null; 1218 current.parent = parent; 1219 domNodes.unshift(current); 1220 if (domNodes[1]) { 1221 domNodes[1].prev = domNodes[0]; 1222 } 1223 } 1224 return domNodes; 1225} 1226//# sourceMappingURL=utilities.js.map 1227 1228/***/ }), 1229
vendor: 6,756 bytes, lines 1230-1405
1230/***/ "./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js": 1231/*!***************************************************************************!*\ 1232 !*** ./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js ***! 1233 \***************************************************************************/ 1234/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1235 1236"use strict"; 1237 1238var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 1239 if (k2 === undefined) k2 = k; 1240 var desc = Object.getOwnPropertyDescriptor(m, k); 1241 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 1242 desc = { enumerable: true, get: function() { return m[k]; } }; 1243 } 1244 Object.defineProperty(o, k2, desc); 1245}) : (function(o, m, k, k2) { 1246 if (k2 === undefined) k2 = k; 1247 o[k2] = m[k]; 1248})); 1249var __exportStar = (this && this.__exportStar) || function(m, exports) { 1250 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 1251}; 1252Object.defineProperty(exports, "__esModule", ({ value: true })); 1253exports.DomHandler = void 0; 1254var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 1255var node_js_1 = __webpack_require__(/*! ./node.js */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js"); 1256__exportStar(__webpack_require__(/*! ./node.js */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js"), exports); 1257// Default options 1258var defaultOpts = { 1259 withStartIndices: false, 1260 withEndIndices: false, 1261 xmlMode: false, 1262}; 1263var DomHandler = /** @class */ (function () { 1264 /** 1265 * @param callback Called once parsing has completed. 1266 * @param options Settings for the handler. 1267 * @param elementCB Callback whenever a tag is closed. 1268 */ 1269 function DomHandler(callback, options, elementCB) { 1270 /** The elements of the DOM */ 1271 this.dom = []; 1272 /** The root element for the DOM */ 1273 this.root = new node_js_1.Document(this.dom); 1274 /** Indicated whether parsing has been completed. */ 1275 this.done = false; 1276 /** Stack of open tags. */ 1277 this.tagStack = [this.root]; 1278 /** A data node that is still being written to. */ 1279 this.lastNode = null; 1280 /** Reference to the parser instance. Used for location information. */ 1281 this.parser = null; 1282 // Make it possible to skip arguments, for backwards-compatibility 1283 if (typeof options === "function") { 1284 elementCB = options; 1285 options = defaultOpts; 1286 } 1287 if (typeof callback === "object") { 1288 options = callback; 1289 callback = undefined; 1290 } 1291 this.callback = callback !== null && callback !== void 0 ? callback : null; 1292 this.options = options !== null && options !== void 0 ? options : defaultOpts; 1293 this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; 1294 } 1295 DomHandler.prototype.onparserinit = function (parser) { 1296 this.parser = parser; 1297 }; 1298 // Resets the handler back to starting state 1299 DomHandler.prototype.onreset = function () { 1300 this.dom = []; 1301 this.root = new node_js_1.Document(this.dom); 1302 this.done = false; 1303 this.tagStack = [this.root]; 1304 this.lastNode = null; 1305 this.parser = null; 1306 }; 1307 // Signals the handler that parsing is done 1308 DomHandler.prototype.onend = function () { 1309 if (this.done) 1310 return; 1311 this.done = true; 1312 this.parser = null; 1313 this.handleCallback(null); 1314 }; 1315 DomHandler.prototype.onerror = function (error) { 1316 this.handleCallback(error); 1317 }; 1318 DomHandler.prototype.onclosetag = function () { 1319 this.lastNode = null; 1320 var elem = this.tagStack.pop(); 1321 if (this.options.withEndIndices) { 1322 elem.endIndex = this.parser.endIndex; 1323 } 1324 if (this.elementCB) 1325 this.elementCB(elem); 1326 }; 1327 DomHandler.prototype.onopentag = function (name, attribs) { 1328 var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined; 1329 var element = new node_js_1.Element(name, attribs, undefined, type); 1330 this.addNode(element); 1331 this.tagStack.push(element); 1332 }; 1333 DomHandler.prototype.ontext = function (data) { 1334 var lastNode = this.lastNode; 1335 if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { 1336 lastNode.data += data; 1337 if (this.options.withEndIndices) { 1338 lastNode.endIndex = this.parser.endIndex; 1339 } 1340 } 1341 else { 1342 var node = new node_js_1.Text(data); 1343 this.addNode(node); 1344 this.lastNode = node; 1345 } 1346 }; 1347 DomHandler.prototype.oncomment = function (data) { 1348 if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { 1349 this.lastNode.data += data; 1350 return; 1351 } 1352 var node = new node_js_1.Comment(data); 1353 this.addNode(node); 1354 this.lastNode = node; 1355 }; 1356 DomHandler.prototype.oncommentend = function () { 1357 this.lastNode = null; 1358 }; 1359 DomHandler.prototype.oncdatastart = function () { 1360 var text = new node_js_1.Text(""); 1361 var node = new node_js_1.CDATA([text]); 1362 this.addNode(node); 1363 text.parent = node; 1364 this.lastNode = text; 1365 }; 1366 DomHandler.prototype.oncdataend = function () { 1367 this.lastNode = null; 1368 }; 1369 DomHandler.prototype.onprocessinginstruction = function (name, data) { 1370 var node = new node_js_1.ProcessingInstruction(name, data); 1371 this.addNode(node); 1372 }; 1373 DomHandler.prototype.handleCallback = function (error) { 1374 if (typeof this.callback === "function") { 1375 this.callback(error, this.dom); 1376 } 1377 else if (error) { 1378 throw error; 1379 } 1380 }; 1381 DomHandler.prototype.addNode = function (node) { 1382 var parent = this.tagStack[this.tagStack.length - 1]; 1383 var previousSibling = parent.children[parent.children.length - 1]; 1384 if (this.options.withStartIndices) { 1385 node.startIndex = this.parser.startIndex; 1386 } 1387 if (this.options.withEndIndices) { 1388 node.endIndex = this.parser.endIndex; 1389 } 1390 parent.children.push(node); 1391 if (previousSibling) { 1392 node.prev = previousSibling; 1393 previousSibling.next = node; 1394 } 1395 node.parent = parent; 1396 this.lastNode = null; 1397 }; 1398 return DomHandler; 1399}()); 1400exports.DomHandler = DomHandler; 1401exports["default"] = DomHandler; 1402 1403 1404/***/ }), 1405
vendor: 15,849 bytes, lines 1406-1890
1406/***/ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js": 1407/*!**************************************************************************!*\ 1408 !*** ./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js ***! 1409 \**************************************************************************/ 1410/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1411 1412"use strict"; 1413 1414var __extends = (this && this.__extends) || (function () { 1415 var extendStatics = function (d, b) { 1416 extendStatics = Object.setPrototypeOf || 1417 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 1418 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 1419 return extendStatics(d, b); 1420 }; 1421 return function (d, b) { 1422 if (typeof b !== "function" && b !== null) 1423 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 1424 extendStatics(d, b); 1425 function __() { this.constructor = d; } 1426 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 1427 }; 1428})(); 1429var __assign = (this && this.__assign) || function () { 1430 __assign = Object.assign || function(t) { 1431 for (var s, i = 1, n = arguments.length; i < n; i++) { 1432 s = arguments[i]; 1433 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 1434 t[p] = s[p]; 1435 } 1436 return t; 1437 }; 1438 return __assign.apply(this, arguments); 1439}; 1440Object.defineProperty(exports, "__esModule", ({ value: true })); 1441exports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0; 1442var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 1443/** 1444 * This object will be used as the prototype for Nodes when creating a 1445 * DOM-Level-1-compliant structure. 1446 */ 1447var Node = /** @class */ (function () { 1448 function Node() { 1449 /** Parent of the node */ 1450 this.parent = null; 1451 /** Previous sibling */ 1452 this.prev = null; 1453 /** Next sibling */ 1454 this.next = null; 1455 /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */ 1456 this.startIndex = null; 1457 /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */ 1458 this.endIndex = null; 1459 } 1460 Object.defineProperty(Node.prototype, "parentNode", { 1461 // Read-write aliases for properties 1462 /** 1463 * Same as {@link parent}. 1464 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1465 */ 1466 get: function () { 1467 return this.parent; 1468 }, 1469 set: function (parent) { 1470 this.parent = parent; 1471 }, 1472 enumerable: false, 1473 configurable: true 1474 }); 1475 Object.defineProperty(Node.prototype, "previousSibling", { 1476 /** 1477 * Same as {@link prev}. 1478 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1479 */ 1480 get: function () { 1481 return this.prev; 1482 }, 1483 set: function (prev) { 1484 this.prev = prev; 1485 }, 1486 enumerable: false, 1487 configurable: true 1488 }); 1489 Object.defineProperty(Node.prototype, "nextSibling", { 1490 /** 1491 * Same as {@link next}. 1492 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1493 */ 1494 get: function () { 1495 return this.next; 1496 }, 1497 set: function (next) { 1498 this.next = next; 1499 }, 1500 enumerable: false, 1501 configurable: true 1502 }); 1503 /** 1504 * Clone this node, and optionally its children. 1505 * 1506 * @param recursive Clone child nodes as well. 1507 * @returns A clone of the node. 1508 */ 1509 Node.prototype.cloneNode = function (recursive) { 1510 if (recursive === void 0) { recursive = false; } 1511 return cloneNode(this, recursive); 1512 }; 1513 return Node; 1514}()); 1515exports.Node = Node; 1516/** 1517 * A node that contains some data. 1518 */ 1519var DataNode = /** @class */ (function (_super) { 1520 __extends(DataNode, _super); 1521 /** 1522 * @param data The content of the data node 1523 */ 1524 function DataNode(data) { 1525 var _this = _super.call(this) || this; 1526 _this.data = data; 1527 return _this; 1528 } 1529 Object.defineProperty(DataNode.prototype, "nodeValue", { 1530 /** 1531 * Same as {@link data}. 1532 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1533 */ 1534 get: function () { 1535 return this.data; 1536 }, 1537 set: function (data) { 1538 this.data = data; 1539 }, 1540 enumerable: false, 1541 configurable: true 1542 }); 1543 return DataNode; 1544}(Node)); 1545exports.DataNode = DataNode; 1546/** 1547 * Text within the document. 1548 */ 1549var Text = /** @class */ (function (_super) { 1550 __extends(Text, _super); 1551 function Text() { 1552 var _this = _super !== null && _super.apply(this, arguments) || this; 1553 _this.type = domelementtype_1.ElementType.Text; 1554 return _this; 1555 } 1556 Object.defineProperty(Text.prototype, "nodeType", { 1557 get: function () { 1558 return 3; 1559 }, 1560 enumerable: false, 1561 configurable: true 1562 }); 1563 return Text; 1564}(DataNode)); 1565exports.Text = Text; 1566/** 1567 * Comments within the document. 1568 */ 1569var Comment = /** @class */ (function (_super) { 1570 __extends(Comment, _super); 1571 function Comment() { 1572 var _this = _super !== null && _super.apply(this, arguments) || this; 1573 _this.type = domelementtype_1.ElementType.Comment; 1574 return _this; 1575 } 1576 Object.defineProperty(Comment.prototype, "nodeType", { 1577 get: function () { 1578 return 8; 1579 }, 1580 enumerable: false, 1581 configurable: true 1582 }); 1583 return Comment; 1584}(DataNode)); 1585exports.Comment = Comment; 1586/** 1587 * Processing instructions, including doc types. 1588 */ 1589var ProcessingInstruction = /** @class */ (function (_super) { 1590 __extends(ProcessingInstruction, _super); 1591 function ProcessingInstruction(name, data) { 1592 var _this = _super.call(this, data) || this; 1593 _this.name = name; 1594 _this.type = domelementtype_1.ElementType.Directive; 1595 return _this; 1596 } 1597 Object.defineProperty(ProcessingInstruction.prototype, "nodeType", { 1598 get: function () { 1599 return 1; 1600 }, 1601 enumerable: false, 1602 configurable: true 1603 }); 1604 return ProcessingInstruction; 1605}(DataNode)); 1606exports.ProcessingInstruction = ProcessingInstruction; 1607/** 1608 * A `Node` that can have children. 1609 */ 1610var NodeWithChildren = /** @class */ (function (_super) { 1611 __extends(NodeWithChildren, _super); 1612 /** 1613 * @param children Children of the node. Only certain node types can have children. 1614 */ 1615 function NodeWithChildren(children) { 1616 var _this = _super.call(this) || this; 1617 _this.children = children; 1618 return _this; 1619 } 1620 Object.defineProperty(NodeWithChildren.prototype, "firstChild", { 1621 // Aliases 1622 /** First child of the node. */ 1623 get: function () { 1624 var _a; 1625 return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; 1626 }, 1627 enumerable: false, 1628 configurable: true 1629 }); 1630 Object.defineProperty(NodeWithChildren.prototype, "lastChild", { 1631 /** Last child of the node. */ 1632 get: function () { 1633 return this.children.length > 0 1634 ? this.children[this.children.length - 1] 1635 : null; 1636 }, 1637 enumerable: false, 1638 configurable: true 1639 }); 1640 Object.defineProperty(NodeWithChildren.prototype, "childNodes", { 1641 /** 1642 * Same as {@link children}. 1643 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1644 */ 1645 get: function () { 1646 return this.children; 1647 }, 1648 set: function (children) { 1649 this.children = children; 1650 }, 1651 enumerable: false, 1652 configurable: true 1653 }); 1654 return NodeWithChildren; 1655}(Node)); 1656exports.NodeWithChildren = NodeWithChildren; 1657var CDATA = /** @class */ (function (_super) { 1658 __extends(CDATA, _super); 1659 function CDATA() { 1660 var _this = _super !== null && _super.apply(this, arguments) || this; 1661 _this.type = domelementtype_1.ElementType.CDATA; 1662 return _this; 1663 } 1664 Object.defineProperty(CDATA.prototype, "nodeType", { 1665 get: function () { 1666 return 4; 1667 }, 1668 enumerable: false, 1669 configurable: true 1670 }); 1671 return CDATA; 1672}(NodeWithChildren)); 1673exports.CDATA = CDATA; 1674/** 1675 * The root node of the document. 1676 */ 1677var Document = /** @class */ (function (_super) { 1678 __extends(Document, _super); 1679 function Document() { 1680 var _this = _super !== null && _super.apply(this, arguments) || this; 1681 _this.type = domelementtype_1.ElementType.Root; 1682 return _this; 1683 } 1684 Object.defineProperty(Document.prototype, "nodeType", { 1685 get: function () { 1686 return 9; 1687 }, 1688 enumerable: false, 1689 configurable: true 1690 }); 1691 return Document; 1692}(NodeWithChildren)); 1693exports.Document = Document; 1694/** 1695 * An element within the DOM. 1696 */ 1697var Element = /** @class */ (function (_super) { 1698 __extends(Element, _super); 1699 /** 1700 * @param name Name of the tag, eg. `div`, `span`. 1701 * @param attribs Object mapping attribute names to attribute values. 1702 * @param children Children of the node. 1703 */ 1704 function Element(name, attribs, children, type) { 1705 if (children === void 0) { children = []; } 1706 if (type === void 0) { type = name === "script" 1707 ? domelementtype_1.ElementType.Script 1708 : name === "style" 1709 ? domelementtype_1.ElementType.Style 1710 : domelementtype_1.ElementType.Tag; } 1711 var _this = _super.call(this, children) || this; 1712 _this.name = name; 1713 _this.attribs = attribs; 1714 _this.type = type; 1715 return _this; 1716 } 1717 Object.defineProperty(Element.prototype, "nodeType", { 1718 get: function () { 1719 return 1; 1720 }, 1721 enumerable: false, 1722 configurable: true 1723 }); 1724 Object.defineProperty(Element.prototype, "tagName", { 1725 // DOM Level 1 aliases 1726 /** 1727 * Same as {@link name}. 1728 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1729 */ 1730 get: function () { 1731 return this.name; 1732 }, 1733 set: function (name) { 1734 this.name = name; 1735 }, 1736 enumerable: false, 1737 configurable: true 1738 }); 1739 Object.defineProperty(Element.prototype, "attributes", { 1740 get: function () { 1741 var _this = this; 1742 return Object.keys(this.attribs).map(function (name) { 1743 var _a, _b; 1744 return ({ 1745 name: name, 1746 value: _this.attribs[name], 1747 namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name], 1748 prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name], 1749 }); 1750 }); 1751 }, 1752 enumerable: false, 1753 configurable: true 1754 }); 1755 return Element; 1756}(NodeWithChildren)); 1757exports.Element = Element; 1758/** 1759 * @param node Node to check. 1760 * @returns `true` if the node is a `Element`, `false` otherwise. 1761 */ 1762function isTag(node) { 1763 return (0, domelementtype_1.isTag)(node); 1764} 1765exports.isTag = isTag; 1766/** 1767 * @param node Node to check. 1768 * @returns `true` if the node has the type `CDATA`, `false` otherwise. 1769 */ 1770function isCDATA(node) { 1771 return node.type === domelementtype_1.ElementType.CDATA; 1772} 1773exports.isCDATA = isCDATA; 1774/** 1775 * @param node Node to check. 1776 * @returns `true` if the node has the type `Text`, `false` otherwise. 1777 */ 1778function isText(node) { 1779 return node.type === domelementtype_1.ElementType.Text; 1780} 1781exports.isText = isText; 1782/** 1783 * @param node Node to check. 1784 * @returns `true` if the node has the type `Comment`, `false` otherwise. 1785 */ 1786function isComment(node) { 1787 return node.type === domelementtype_1.ElementType.Comment; 1788} 1789exports.isComment = isComment; 1790/** 1791 * @param node Node to check. 1792 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 1793 */ 1794function isDirective(node) { 1795 return node.type === domelementtype_1.ElementType.Directive; 1796} 1797exports.isDirective = isDirective; 1798/** 1799 * @param node Node to check. 1800 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 1801 */ 1802function isDocument(node) { 1803 return node.type === domelementtype_1.ElementType.Root; 1804} 1805exports.isDocument = isDocument; 1806/** 1807 * @param node Node to check. 1808 * @returns `true` if the node has children, `false` otherwise. 1809 */ 1810function hasChildren(node) { 1811 return Object.prototype.hasOwnProperty.call(node, "children"); 1812} 1813exports.hasChildren = hasChildren; 1814/** 1815 * Clone a node, and optionally its children. 1816 * 1817 * @param recursive Clone child nodes as well. 1818 * @returns A clone of the node. 1819 */ 1820function cloneNode(node, recursive) { 1821 if (recursive === void 0) { recursive = false; } 1822 var result; 1823 if (isText(node)) { 1824 result = new Text(node.data); 1825 } 1826 else if (isComment(node)) { 1827 result = new Comment(node.data); 1828 } 1829 else if (isTag(node)) { 1830 var children = recursive ? cloneChildren(node.children) : []; 1831 var clone_1 = new Element(node.name, __assign({}, node.attribs), children); 1832 children.forEach(function (child) { return (child.parent = clone_1); }); 1833 if (node.namespace != null) { 1834 clone_1.namespace = node.namespace; 1835 } 1836 if (node["x-attribsNamespace"]) { 1837 clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]); 1838 } 1839 if (node["x-attribsPrefix"]) { 1840 clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]); 1841 } 1842 result = clone_1; 1843 } 1844 else if (isCDATA(node)) { 1845 var children = recursive ? cloneChildren(node.children) : []; 1846 var clone_2 = new CDATA(children); 1847 children.forEach(function (child) { return (child.parent = clone_2); }); 1848 result = clone_2; 1849 } 1850 else if (isDocument(node)) { 1851 var children = recursive ? cloneChildren(node.children) : []; 1852 var clone_3 = new Document(children); 1853 children.forEach(function (child) { return (child.parent = clone_3); }); 1854 if (node["x-mode"]) { 1855 clone_3["x-mode"] = node["x-mode"]; 1856 } 1857 result = clone_3; 1858 } 1859 else if (isDirective(node)) { 1860 var instruction = new ProcessingInstruction(node.name, node.data); 1861 if (node["x-name"] != null) { 1862 instruction["x-name"] = node["x-name"]; 1863 instruction["x-publicId"] = node["x-publicId"]; 1864 instruction["x-systemId"] = node["x-systemId"]; 1865 } 1866 result = instruction; 1867 } 1868 else { 1869 throw new Error("Not implemented yet: ".concat(node.type)); 1870 } 1871 result.startIndex = node.startIndex; 1872 result.endIndex = node.endIndex; 1873 if (node.sourceCodeLocation != null) { 1874 result.sourceCodeLocation = node.sourceCodeLocation; 1875 } 1876 return result; 1877} 1878exports.cloneNode = cloneNode; 1879function cloneChildren(childs) { 1880 var children = childs.map(function (child) { return cloneNode(child, true); }); 1881 for (var i = 1; i < children.length; i++) { 1882 children[i].prev = children[i - 1]; 1883 children[i - 1].next = children[i]; 1884 } 1885 return children; 1886} 1887 1888 1889/***/ }), 1890
vendor: 8,286 bytes, lines 1891-2091
1891/***/ "./node_modules/html-entities/lib/index.js": 1892/*!*************************************************!*\ 1893 !*** ./node_modules/html-entities/lib/index.js ***! 1894 \*************************************************/ 1895/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1896 1897"use strict"; 1898 1899var __assign = (this && this.__assign) || function () { 1900 __assign = Object.assign || function(t) { 1901 for (var s, i = 1, n = arguments.length; i < n; i++) { 1902 s = arguments[i]; 1903 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 1904 t[p] = s[p]; 1905 } 1906 return t; 1907 }; 1908 return __assign.apply(this, arguments); 1909}; 1910Object.defineProperty(exports, "__esModule", ({ value: true })); 1911var named_references_1 = __webpack_require__(/*! ./named-references */ "./node_modules/html-entities/lib/named-references.js"); 1912var numeric_unicode_map_1 = __webpack_require__(/*! ./numeric-unicode-map */ "./node_modules/html-entities/lib/numeric-unicode-map.js"); 1913var surrogate_pairs_1 = __webpack_require__(/*! ./surrogate-pairs */ "./node_modules/html-entities/lib/surrogate-pairs.js"); 1914var allNamedReferences = __assign(__assign({}, named_references_1.namedReferences), { all: named_references_1.namedReferences.html5 }); 1915var encodeRegExps = { 1916 specialChars: /[<>'"&]/g, 1917 nonAscii: /(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, 1918 nonAsciiPrintable: /(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, 1919 extensive: /(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g 1920}; 1921var defaultEncodeOptions = { 1922 mode: 'specialChars', 1923 level: 'all', 1924 numeric: 'decimal' 1925}; 1926/** Encodes all the necessary (specified by `level`) characters in the text */ 1927function encode(text, _a) { 1928 var _b = _a === void 0 ? defaultEncodeOptions : _a, _c = _b.mode, mode = _c === void 0 ? 'specialChars' : _c, _d = _b.numeric, numeric = _d === void 0 ? 'decimal' : _d, _e = _b.level, level = _e === void 0 ? 'all' : _e; 1929 if (!text) { 1930 return ''; 1931 } 1932 var encodeRegExp = encodeRegExps[mode]; 1933 var references = allNamedReferences[level].characters; 1934 var isHex = numeric === 'hexadecimal'; 1935 encodeRegExp.lastIndex = 0; 1936 var _b = encodeRegExp.exec(text); 1937 var _c; 1938 if (_b) { 1939 _c = ''; 1940 var _d = 0; 1941 do { 1942 if (_d !== _b.index) { 1943 _c += text.substring(_d, _b.index); 1944 } 1945 var _e = _b[0]; 1946 var result_1 = references[_e]; 1947 if (!result_1) { 1948 var code_1 = _e.length > 1 ? surrogate_pairs_1.getCodePoint(_e, 0) : _e.charCodeAt(0); 1949 result_1 = (isHex ? '&#x' + code_1.toString(16) : '&#' + code_1) + ';'; 1950 } 1951 _c += result_1; 1952 _d = _b.index + _e.length; 1953 } while ((_b = encodeRegExp.exec(text))); 1954 if (_d !== text.length) { 1955 _c += text.substring(_d); 1956 } 1957 } 1958 else { 1959 _c = 1960 text; 1961 } 1962 return _c; 1963} 1964exports.encode = encode; 1965var defaultDecodeOptions = { 1966 scope: 'body', 1967 level: 'all' 1968}; 1969var strict = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g; 1970var attribute = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g; 1971var baseDecodeRegExps = { 1972 xml: { 1973 strict: strict, 1974 attribute: attribute, 1975 body: named_references_1.bodyRegExps.xml 1976 }, 1977 html4: { 1978 strict: strict, 1979 attribute: attribute, 1980 body: named_references_1.bodyRegExps.html4 1981 }, 1982 html5: { 1983 strict: strict, 1984 attribute: attribute, 1985 body: named_references_1.bodyRegExps.html5 1986 } 1987}; 1988var decodeRegExps = __assign(__assign({}, baseDecodeRegExps), { all: baseDecodeRegExps.html5 }); 1989var fromCharCode = String.fromCharCode; 1990var outOfBoundsChar = fromCharCode(65533); 1991var defaultDecodeEntityOptions = { 1992 level: 'all' 1993}; 1994/** Decodes a single entity */ 1995function decodeEntity(entity, _a) { 1996 var _b = (_a === void 0 ? defaultDecodeEntityOptions : _a).level, level = _b === void 0 ? 'all' : _b; 1997 if (!entity) { 1998 return ''; 1999 } 2000 var _b = entity; 2001 var decodeEntityLastChar_1 = entity[entity.length - 1]; 2002 if (false) {} 2003 else if (false) {} 2004 else { 2005 var decodeResultByReference_1 = allNamedReferences[level].entities[entity]; 2006 if (decodeResultByReference_1) { 2007 _b = decodeResultByReference_1; 2008 } 2009 else if (entity[0] === '&' && entity[1] === '#') { 2010 var decodeSecondChar_1 = entity[2]; 2011 var decodeCode_1 = decodeSecondChar_1 == 'x' || decodeSecondChar_1 == 'X' 2012 ? parseInt(entity.substr(3), 16) 2013 : parseInt(entity.substr(2)); 2014 _b = 2015 decodeCode_1 >= 0x10ffff 2016 ? outOfBoundsChar 2017 : decodeCode_1 > 65535 2018 ? surrogate_pairs_1.fromCodePoint(decodeCode_1) 2019 : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_1] || decodeCode_1); 2020 } 2021 } 2022 return _b; 2023} 2024exports.decodeEntity = decodeEntity; 2025/** Decodes all entities in the text */ 2026function decode(text, _a) { 2027 var decodeSecondChar_1 = _a === void 0 ? defaultDecodeOptions : _a, decodeCode_1 = decodeSecondChar_1.level, level = decodeCode_1 === void 0 ? 'all' : decodeCode_1, _b = decodeSecondChar_1.scope, scope = _b === void 0 ? level === 'xml' ? 'strict' : 'body' : _b; 2028 if (!text) { 2029 return ''; 2030 } 2031 var decodeRegExp = decodeRegExps[level][scope]; 2032 var references = allNamedReferences[level].entities; 2033 var isAttribute = scope === 'attribute'; 2034 var isStrict = scope === 'strict'; 2035 decodeRegExp.lastIndex = 0; 2036 var replaceMatch_1 = decodeRegExp.exec(text); 2037 var replaceResult_1; 2038 if (replaceMatch_1) { 2039 replaceResult_1 = ''; 2040 var replaceLastIndex_1 = 0; 2041 do { 2042 if (replaceLastIndex_1 !== replaceMatch_1.index) { 2043 replaceResult_1 += text.substring(replaceLastIndex_1, replaceMatch_1.index); 2044 } 2045 var replaceInput_1 = replaceMatch_1[0]; 2046 var decodeResult_1 = replaceInput_1; 2047 var decodeEntityLastChar_2 = replaceInput_1[replaceInput_1.length - 1]; 2048 if (isAttribute 2049 && decodeEntityLastChar_2 === '=') { 2050 decodeResult_1 = replaceInput_1; 2051 } 2052 else if (isStrict 2053 && decodeEntityLastChar_2 !== ';') { 2054 decodeResult_1 = replaceInput_1; 2055 } 2056 else { 2057 var decodeResultByReference_2 = references[replaceInput_1]; 2058 if (decodeResultByReference_2) { 2059 decodeResult_1 = decodeResultByReference_2; 2060 } 2061 else if (replaceInput_1[0] === '&' && replaceInput_1[1] === '#') { 2062 var decodeSecondChar_2 = replaceInput_1[2]; 2063 var decodeCode_2 = decodeSecondChar_2 == 'x' || decodeSecondChar_2 == 'X' 2064 ? parseInt(replaceInput_1.substr(3), 16) 2065 : parseInt(replaceInput_1.substr(2)); 2066 decodeResult_1 = 2067 decodeCode_2 >= 0x10ffff 2068 ? outOfBoundsChar 2069 : decodeCode_2 > 65535 2070 ? surrogate_pairs_1.fromCodePoint(decodeCode_2) 2071 : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_2] || decodeCode_2); 2072 } 2073 } 2074 replaceResult_1 += decodeResult_1; 2075 replaceLastIndex_1 = replaceMatch_1.index + replaceInput_1.length; 2076 } while ((replaceMatch_1 = decodeRegExp.exec(text))); 2077 if (replaceLastIndex_1 !== text.length) { 2078 replaceResult_1 += text.substring(replaceLastIndex_1); 2079 } 2080 } 2081 else { 2082 replaceResult_1 = 2083 text; 2084 } 2085 return replaceResult_1; 2086} 2087exports.decode = decode; 2088 2089 2090/***/ }), 2091
vendor: 74,737 bytes, lines 2092-2102
2092/***/ "./node_modules/html-entities/lib/named-references.js": 2093/*!************************************************************!*\ 2094 !*** ./node_modules/html-entities/lib/named-references.js ***! 2095 \************************************************************/ 2096/***/ ((__unused_webpack_module, exports) => { 2097 2098"use strict"; 2099Object.defineProperty(exports, "__esModule", ({value:true}));exports.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g};exports.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"Â¥","¥":"Â¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"Â","­":"Â","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"Ã","À":"Ã","Á":"Ã","Á":"Ã","Â":"Ã","Â":"Ã","Ã":"Ã","Ã":"Ã","Ä":"Ã","Ä":"Ã","Å":"à ","Å":"à ","Æ":"Ã","Æ":"Ã","Ç":"Ã","Ç":"Ã","È":"Ã","È":"Ã","É":"Ã","É":"Ã","Ê":"Ã","Ê":"Ã","Ë":"Ã","Ë":"Ã","Ì":"Ã","Ì":"Ã","Í":"Ã","Í":"Ã","Î":"Ã","Î":"Ã","Ï":"Ã","Ï":"Ã","Ð":"Ã","Ð":"Ã","Ñ":"Ã","Ñ":"Ã","Ò":"Ã","Ò":"Ã","Ó":"Ã","Ó":"Ã","Ô":"Ã","Ô":"Ã","Õ":"Ã","Õ":"Ã","Ö":"Ã","Ö":"Ã","×":"Ã","×":"Ã","Ø":"Ã","Ø":"Ã","Ù":"Ã","Ù":"Ã","Ú":"Ã","Ú":"Ã","Û":"Ã","Û":"Ã","Ü":"Ã","Ü":"Ã","Ý":"Ã","Ý":"Ã","Þ":"Ã","Þ":"Ã","ß":"Ã","ß":"Ã","à":"à ","à":"à ","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"Ã¥","å":"Ã¥","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"Ã","í":"Ã","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Å","œ":"Å","Š":"Å ","š":"Å¡","Ÿ":"Ÿ","ˆ":"Ë","˜":"Ë"," ":"â"," ":"â"," ":"â","‌":"â","‍":"â","‎":"â","‏":"â","–":"â","—":"â","‘":"â","’":"â","‚":"â","“":"â","”":"â","„":"â","†":"â ","‡":"â¡","‰":"â°","‹":"â¹","›":"âº","€":"â¬","ƒ":"Æ","Α":"Î","Β":"Î","Γ":"Î","Δ":"Î","Ε":"Î","Ζ":"Î","Η":"Î","Θ":"Î","Ι":"Î","Κ":"Î","Λ":"Î","Μ":"Î","Ν":"Î","Ξ":"Î","Ο":"Î","Π":"Î ","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Î¥","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"Ï","ρ":"Ï","ς":"Ï","σ":"Ï","τ":"Ï","υ":"Ï ","φ":"Ï","χ":"Ï","ψ":"Ï","ω":"Ï","ϑ":"Ï","ϒ":"Ï","ϖ":"Ï","•":"â¢","…":"â¦","′":"â²","″":"â³","‾":"â¾","⁄":"â","℘":"â","ℑ":"â","ℜ":"â","™":"â¢","ℵ":"âµ","←":"â","↑":"â","→":"â","↓":"â","↔":"â","↵":"âµ","⇐":"â","⇑":"â","⇒":"â","⇓":"â","⇔":"â","∀":"â","∂":"â","∃":"â","∅":"â ","∇":"â","∈":"â","∉":"â","∋":"â","∏":"â","∑":"â","−":"â","∗":"â","√":"â","∝":"â","∞":"â","∠":"â ","∧":"â§","∨":"â¨","∩":"â©","∪":"âª","∫":"â«","∴":"â´","∼":"â¼","≅":"â ","≈":"â","≠":"â ","≡":"â¡","≤":"â¤","≥":"â¥","⊂":"â","⊃":"â","⊄":"â","⊆":"â","⊇":"â","⊕":"â","⊗":"â","⊥":"â¥","⋅":"â ","⌈":"â","⌉":"â","⌊":"â","⌋":"â","⟨":"â©","⟩":"âª","◊":"â","♠":"â ","♣":"â£","♥":"â¥","♦":"â¦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","Â¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©","ª":"ª","«":"«","¬":"¬","Â":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´","µ":"µ","¶":"¶","·":"·","¸":"¸","¹":"¹","º":"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿","Ã":"À","Ã":"Á","Ã":"Â","Ã":"Ã","Ã":"Ä","à ":"Å","Ã":"Æ","Ã":"Ç","Ã":"È","Ã":"É","Ã":"Ê","Ã":"Ë","Ã":"Ì","Ã":"Í","Ã":"Î","Ã":"Ï","Ã":"Ð","Ã":"Ñ","Ã":"Ò","Ã":"Ó","Ã":"Ô","Ã":"Õ","Ã":"Ö","Ã":"×","Ã":"Ø","Ã":"Ù","Ã":"Ú","Ã":"Û","Ã":"Ü","Ã":"Ý","Ã":"Þ","Ã":"ß","à ":"à","á":"á","â":"â","ã":"ã","ä":"ä","Ã¥":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","Ã":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","÷":"÷","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ",'"':""","&":"&","<":"<",">":">","Å":"Œ","Å":"œ","Å ":"Š","Å¡":"š","Ÿ":"Ÿ","Ë":"ˆ","Ë":"˜","â":" ","â":" ","â":" ","â":"‌","â":"‍","â":"‎","â":"‏","â":"–","â":"—","â":"‘","â":"’","â":"‚","â":"“","â":"”","â":"„","â ":"†","â¡":"‡","â°":"‰","â¹":"‹","âº":"›","â¬":"€","Æ":"ƒ","Î":"Α","Î":"Β","Î":"Γ","Î":"Δ","Î":"Ε","Î":"Ζ","Î":"Η","Î":"Θ","Î":"Ι","Î":"Κ","Î":"Λ","Î":"Μ","Î":"Ν","Î":"Ξ","Î":"Ο","Î ":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Î¥":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","Ï":"π","Ï":"ρ","Ï":"ς","Ï":"σ","Ï":"τ","Ï ":"υ","Ï":"φ","Ï":"χ","Ï":"ψ","Ï":"ω","Ï":"ϑ","Ï":"ϒ","Ï":"ϖ","â¢":"•","â¦":"…","â²":"′","â³":"″","â¾":"‾","â":"⁄","â":"℘","â":"ℑ","â":"ℜ","â¢":"™","âµ":"ℵ","â":"←","â":"↑","â":"→","â":"↓","â":"↔","âµ":"↵","â":"⇐","â":"⇑","â":"⇒","â":"⇓","â":"⇔","â":"∀","â":"∂","â":"∃","â ":"∅","â":"∇","â":"∈","â":"∉","â":"∋","â":"∏","â":"∑","â":"−","â":"∗","â":"√","â":"∝","â":"∞","â ":"∠","â§":"∧","â¨":"∨","â©":"∩","âª":"∪","â«":"∫","â´":"∴","â¼":"∼","â ":"≅","â":"≈","â ":"≠","â¡":"≡","â¤":"≤","â¥":"≥","â":"⊂","â":"⊃","â":"⊄","â":"⊆","â":"⊇","â":"⊕","â":"⊗","â¥":"⊥","â ":"⋅","â":"⌈","â":"⌉","â":"⌊","â":"⌋","â©":"⟨","âª":"⟩","â":"◊","â ":"♠","â£":"♣","â¥":"♥","â¦":"♦"}},html5:{entities:{"Æ":"Ã","Æ":"Ã","&":"&","&":"&","Á":"Ã","Á":"Ã","Ă":"Ä","Â":"Ã","Â":"Ã","А":"Ð","𝔄":"ð","À":"Ã","À":"Ã","Α":"Î","Ā":"Ä","⩓":"â©","Ą":"Ä","𝔸":"ð¸","⁡":"â¡","Å":"à ","Å":"à ","𝒜":"ð","≔":"â","Ã":"Ã","Ã":"Ã","Ä":"Ã","Ä":"Ã","∖":"â","⫧":"â«§","⌆":"â","Б":"Ð","∵":"âµ","ℬ":"â¬","Β":"Î","𝔅":"ð ","𝔹":"ð¹","˘":"Ë","ℬ":"â¬","≎":"â","Ч":"Ч","©":"©","©":"©","Ć":"Ä","⋒":"â","ⅅ":"â ","ℭ":"â","Č":"Ä","Ç":"Ã","Ç":"Ã","Ĉ":"Ä","∰":"â°","Ċ":"Ä","¸":"¸","·":"·","ℭ":"â","Χ":"Χ","⊙":"â","⊖":"â","⊕":"â","⊗":"â","∲":"â²","”":"â","’":"â","∷":"â·","⩴":"â©´","≡":"â¡","∯":"â¯","∮":"â®","ℂ":"â","∐":"â","∳":"â³","⨯":"⨯","𝒞":"ð","⋓":"â","≍":"â","ⅅ":"â ","⤑":"â¤","Ђ":"Ð","Ѕ":"Ð ","Џ":"Ð","‡":"â¡","↡":"â¡","⫤":"⫤","Ď":"Ä","Д":"Ð","∇":"â","Δ":"Î","𝔇":"ð","´":"´","˙":"Ë","˝":"Ë","`":"`","˜":"Ë","⋄":"â","ⅆ":"â ","𝔻":"ð»","¨":"¨","⃜":"â","≐":"â","∯":"â¯","¨":"¨","⇓":"â","⇐":"â","⇔":"â","⫤":"⫤","⟸":"â¸","⟺":"âº","⟹":"â¹","⇒":"â","⊨":"â¨","⇑":"â","⇕":"â","∥":"â¥","↓":"â","⤓":"â¤","⇵":"âµ","̑":"Ì","⥐":"â¥","⥞":"â¥","↽":"â½","⥖":"â¥","⥟":"â¥","⇁":"â","⥗":"â¥","⊤":"â¤","↧":"â§","⇓":"â","𝒟":"ð","Đ":"Ä","Ŋ":"Å","Ð":"Ã","Ð":"Ã","É":"Ã","É":"Ã","Ě":"Ä","Ê":"Ã","Ê":"Ã","Э":"Ð","Ė":"Ä","𝔈":"ð","È":"Ã","È":"Ã","∈":"â","Ē":"Ä","◻":"â»","▫":"â«","Ę":"Ä","𝔼":"ð¼","Ε":"Î","⩵":"⩵","≂":"â","⇌":"â","ℰ":"â°","⩳":"⩳","Η":"Î","Ë":"Ã","Ë":"Ã","∃":"â","ⅇ":"â ","Ф":"Ф","𝔉":"ð","◼":"â¼","▪":"âª","𝔽":"ð½","∀":"â","ℱ":"â±","ℱ":"â±","Ѓ":"Ð",">":">",">":">","Γ":"Î","Ϝ":"Ï","Ğ":"Ä","Ģ":"Ä¢","Ĝ":"Ä","Г":"Ð","Ġ":"Ä ","𝔊":"ð","⋙":"â","𝔾":"ð¾","≥":"â¥","⋛":"â","≧":"â§","⪢":"⪢","≷":"â·","⩾":"⩾","≳":"â³","𝒢":"ð¢","≫":"â«","Ъ":"Ъ","ˇ":"Ë","^":"^","Ĥ":"Ĥ","ℌ":"â","ℋ":"â","ℍ":"â","─":"â","ℋ":"â","Ħ":"Ħ","≎":"â","≏":"â","Е":"Ð","IJ":"IJ","Ё":"Ð","Í":"Ã","Í":"Ã","Î":"Ã","Î":"Ã","И":"Ð","İ":"İ","ℑ":"â","Ì":"Ã","Ì":"Ã","ℑ":"â","Ī":"Ī","ⅈ":"â ","⇒":"â","∬":"â¬","∫":"â«","⋂":"â","⁣":"â£","⁢":"â¢","Į":"Ä®","𝕀":"ð","Ι":"Î","ℐ":"â","Ĩ":"Ĩ","І":"Ð","Ï":"Ã","Ï":"Ã","Ĵ":"Ä´","Й":"Ð","𝔍":"ð","𝕁":"ð","𝒥":"ð¥","Ј":"Ð","Є":"Ð","Х":"Ð¥","Ќ":"Ð","Κ":"Î","Ķ":"Ķ","К":"Ð","𝔎":"ð","𝕂":"ð","𝒦":"ð¦","Љ":"Ð","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Î","⟪":"âª","ℒ":"â","↞":"â","Ľ":"Ľ","Ļ":"Ä»","Л":"Ð","⟨":"â¨","←":"â","⇤":"â¤","⇆":"â","⌈":"â","⟦":"â¦","⥡":"⥡","⇃":"â","⥙":"â¥","⌊":"â","↔":"â","⥎":"â¥","⊣":"â£","↤":"â¤","⥚":"â¥","⊲":"â²","⧏":"â§","⊴":"â´","⥑":"â¥","⥠":"⥠","↿":"â¿","⥘":"â¥","↼":"â¼","⥒":"â¥","⇐":"â","⇔":"â","⋚":"â","≦":"â¦","≶":"â¶","⪡":"⪡","⩽":"⩽","≲":"â²","𝔏":"ð","⋘":"â","⇚":"â","Ŀ":"Ä¿","⟵":"âµ","⟷":"â·","⟶":"â¶","⟸":"â¸","⟺":"âº","⟹":"â¹","𝕃":"ð","↙":"â","↘":"â","ℒ":"â","↰":"â°","Ł":"Å","≪":"âª","⤅":"⤠","М":"Ð"," ":"â","ℳ":"â³","𝔐":"ð","∓":"â","𝕄":"ð","ℳ":"â³","Μ":"Î","Њ":"Ð","Ń":"Å","Ň":"Å","Ņ":"Å ","Н":"Ð","​":"â","​":"â","​":"â","​":"â","≫":"â«","≪":"âª","
":"\n","𝔑":"ð","⁠":"â "," ":" ","ℕ":"â","⫬":"⫬","≢":"â¢","≭":"â","∦":"â¦","∉":"â","≠":"â ","≂̸":"â̸","∄":"â","≯":"â¯","≱":"â±","≧̸":"â§Ì¸","≫̸":"â«Ì¸","≹":"â¹","⩾̸":"⩾̸","≵":"âµ","≎̸":"â̸","≏̸":"â̸","⋪":"âª","⧏̸":"â§Ì¸","⋬":"â¬","≮":"â®","≰":"â°","≸":"â¸","≪̸":"âªÌ¸","⩽̸":"⩽̸","≴":"â´","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"â","⪯̸":"⪯̸","⋠":"â ","∌":"â","⋫":"â«","⧐̸":"â§Ì¸","⋭":"â","⊏̸":"â̸","⋢":"â¢","⊐̸":"â̸","⋣":"â£","⊂⃒":"ââ","⊈":"â","⊁":"â","⪰̸":"⪰̸","⋡":"â¡","≿̸":"â¿Ì¸","⊃⃒":"ââ","⊉":"â","≁":"â","≄":"â","≇":"â","≉":"â","∤":"â¤","𝒩":"ð©","Ñ":"Ã","Ñ":"Ã","Ν":"Î","Œ":"Å","Ó":"Ã","Ó":"Ã","Ô":"Ã","Ô":"Ã","О":"Ð","Ő":"Å","𝔒":"ð","Ò":"Ã","Ò":"Ã","Ō":"Å","Ω":"Ω","Ο":"Î","𝕆":"ð","“":"â","‘":"â","⩔":"â©","𝒪":"ðª","Ø":"Ã","Ø":"Ã","Õ":"Ã","Õ":"Ã","⨷":"⨷","Ö":"Ã","Ö":"Ã","‾":"â¾","⏞":"â","⎴":"â´","⏜":"â","∂":"â","П":"Ð","𝔓":"ð","Φ":"Φ","Π":"Î ","±":"±","ℌ":"â","ℙ":"â","⪻":"⪻","≺":"âº","⪯":"⪯","≼":"â¼","≾":"â¾","″":"â³","∏":"â","∷":"â·","∝":"â","𝒫":"ð«","Ψ":"Ψ",""":'"',""":'"',"𝔔":"ð","ℚ":"â","𝒬":"ð¬","⤐":"â¤","®":"®","®":"®","Ŕ":"Å","⟫":"â«","↠":"â ","⤖":"â¤","Ř":"Å","Ŗ":"Å","Р":"Ð ","ℜ":"â","∋":"â","⇋":"â","⥯":"⥯","ℜ":"â","Ρ":"Ρ","⟩":"â©","→":"â","⇥":"â¥","⇄":"â","⌉":"â","⟧":"â§","⥝":"â¥","⇂":"â","⥕":"â¥","⌋":"â","⊢":"â¢","↦":"â¦","⥛":"â¥","⊳":"â³","⧐":"â§","⊵":"âµ","⥏":"â¥","⥜":"â¥","↾":"â¾","⥔":"â¥","⇀":"â","⥓":"â¥","⇒":"â","ℝ":"â","⥰":"⥰","⇛":"â","ℛ":"â","↱":"â±","⧴":"â§´","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Å","⪼":"⪼","Š":"Å ","Ş":"Å","Ŝ":"Å","С":"С","𝔖":"ð","↓":"â","←":"â","→":"â","↑":"â","Σ":"Σ","∘":"â","𝕊":"ð","√":"â","□":"â¡","⊓":"â","⊏":"â","⊑":"â","⊐":"â","⊒":"â","⊔":"â","𝒮":"ð®","⋆":"â","⋐":"â","⋐":"â","⊆":"â","≻":"â»","⪰":"⪰","≽":"â½","≿":"â¿","∋":"â","∑":"â","⋑":"â","⊃":"â","⊇":"â","⋑":"â","Þ":"Ã","Þ":"Ã","™":"â¢","Ћ":"Ð","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Å¢","Т":"Т","𝔗":"ð","∴":"â´","Θ":"Î","  ":"ââ"," ":"â","∼":"â¼","≃":"â","≅":"â ","≈":"â","𝕋":"ð","⃛":"â","𝒯":"ð¯","Ŧ":"Ŧ","Ú":"Ã","Ú":"Ã","↟":"â","⥉":"â¥","Ў":"Ð","Ŭ":"Ŭ","Û":"Ã","Û":"Ã","У":"У","Ű":"Ű","𝔘":"ð","Ù":"Ã","Ù":"Ã","Ū":"Ū","_":"_","⏟":"â","⎵":"âµ","⏝":"â","⋃":"â","⊎":"â","Ų":"Ų","𝕌":"ð","↑":"â","⤒":"â¤","⇅":"â ","↕":"â","⥮":"⥮","⊥":"â¥","↥":"â¥","⇑":"â","⇕":"â","↖":"â","↗":"â","ϒ":"Ï","Υ":"Î¥","Ů":"Å®","𝒰":"ð°","Ũ":"Ũ","Ü":"Ã","Ü":"Ã","⊫":"â«","⫫":"â««","В":"Ð","⊩":"â©","⫦":"⫦","⋁":"â","‖":"â","‖":"â","∣":"â£","|":"|","❘":"â","≀":"â"," ":"â","𝔙":"ð","𝕍":"ð","𝒱":"ð±","⊪":"âª","Ŵ":"Å´","⋀":"â","𝔚":"ð","𝕎":"ð","𝒲":"ð²","𝔛":"ð","Ξ":"Î","𝕏":"ð","𝒳":"ð³","Я":"Я","Ї":"Ð","Ю":"Ю","Ý":"Ã","Ý":"Ã","Ŷ":"Ŷ","Ы":"Ы","𝔜":"ð","𝕐":"ð","𝒴":"ð´","Ÿ":"Ÿ","Ж":"Ð","Ź":"Ź","Ž":"Ž","З":"Ð","Ż":"Å»","​":"â","Ζ":"Î","ℨ":"â¨","ℤ":"â¤","𝒵":"ðµ","á":"á","á":"á","ă":"Ä","∾":"â¾","∾̳":"â¾Ì³","∿":"â¿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"â¡","𝔞":"ð","à":"à ","à":"à ","ℵ":"âµ","ℵ":"âµ","α":"α","ā":"Ä","⨿":"⨿","&":"&","&":"&","∧":"â§","⩕":"â©","⩜":"â©","⩘":"â©","⩚":"â©","∠":"â ","⦤":"⦤","∠":"â ","∡":"â¡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"â¦","⦮":"⦮","⦯":"⦯","∟":"â","⊾":"â¾","⦝":"â¦","∢":"â¢","Å":"à ","⍼":"â¼","ą":"Ä ","𝕒":"ð","≈":"â","⩰":"â©°","⩯":"⩯","≊":"â","≋":"â","'":"'","≈":"â","≊":"â","å":"Ã¥","å":"Ã¥","𝒶":"ð¶","*":"*","≈":"â","≍":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"â³","⨑":"â¨","⫭":"â«","≌":"â","϶":"϶","‵":"âµ","∽":"â½","⋍":"â","⊽":"â½","⌅":"â ","⌅":"â ","⎵":"âµ","⎶":"â¶","≌":"â","б":"б","„":"â","∵":"âµ","∵":"âµ","⦰":"⦰","϶":"϶","ℬ":"â¬","β":"β","ℶ":"â¶","≬":"â¬","𝔟":"ð","⋂":"â","◯":"â¯","⋃":"â","⨀":"â¨","⨁":"â¨","⨂":"â¨","⨆":"â¨","★":"â ","▽":"â½","△":"â³","⨄":"â¨","⋁":"â","⋀":"â","⤍":"â¤","⧫":"â§«","▪":"âª","▴":"â´","▾":"â¾","◂":"â","▸":"â¸","␣":"â£","▒":"â","░":"â","▓":"â","█":"â","=⃥":"=â¥","≡⃥":"â¡â¥","⌐":"â","𝕓":"ð","⊥":"â¥","⊥":"â¥","⋈":"â","╗":"â","╔":"â","╖":"â","╓":"â","═":"â","╦":"â¦","╩":"â©","╤":"â¤","╧":"â§","╝":"â","╚":"â","╜":"â","╙":"â","║":"â","╬":"â¬","╣":"â£","╠":"â ","╫":"â«","╢":"â¢","╟":"â","⧉":"â§","╕":"â","╒":"â","┐":"â","┌":"â","─":"â","╥":"â¥","╨":"â¨","┬":"â¬","┴":"â´","⊟":"â","⊞":"â","⊠":"â ","╛":"â","╘":"â","┘":"â","└":"â","│":"â","╪":"âª","╡":"â¡","╞":"â","┼":"â¼","┤":"â¤","├":"â","‵":"âµ","˘":"Ë","¦":"¦","¦":"¦","𝒷":"ð·","⁏":"â","∽":"â½","⋍":"â","\":"\\","⧅":"â§ ","⟈":"â","•":"â¢","•":"â¢","≎":"â","⪮":"⪮","≏":"â","≏":"â","ć":"Ä","∩":"â©","⩄":"â©","⩉":"â©","⩋":"â©","⩇":"â©","⩀":"â©","∩︀":"â©ï¸","⁁":"â","ˇ":"Ë","⩍":"â©","č":"Ä","ç":"ç","ç":"ç","ĉ":"Ä","⩌":"â©","⩐":"â©","ċ":"Ä","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"ð ","ч":"Ñ","✓":"â","✓":"â","χ":"Ï","○":"â","⧃":"â§","ˆ":"Ë","≗":"â","↺":"âº","↻":"â»","®":"®","Ⓢ":"â","⊛":"â","⊚":"â","⊝":"â","≗":"â","⨐":"â¨","⫯":"⫯","⧂":"â§","♣":"â£","♣":"â£",":":":","≔":"â","≔":"â",",":",","@":"@","∁":"â","∘":"â","∁":"â","ℂ":"â","≅":"â ","⩭":"â©","∮":"â®","𝕔":"ð","∐":"â","©":"©","©":"©","℗":"â","↵":"âµ","✗":"â","𝒸":"ð¸","⫏":"â«","⫑":"â«","⫐":"â«","⫒":"â«","⋯":"â¯","⤸":"⤸","⤵":"⤵","⋞":"â","⋟":"â","↶":"â¶","⤽":"⤽","∪":"âª","⩈":"â©","⩆":"â©","⩊":"â©","⊍":"â","⩅":"â© ","∪︀":"âªï¸","↷":"â·","⤼":"⤼","⋞":"â","⋟":"â","⋎":"â","⋏":"â","¤":"¤","¤":"¤","↶":"â¶","↷":"â·","⋎":"â","⋏":"â","∲":"â²","∱":"â±","⌭":"â","⇓":"â","⥥":"⥥","†":"â ","ℸ":"â¸","↓":"â","‐":"â","⊣":"â£","⤏":"â¤","˝":"Ë","ď":"Ä","д":"д","ⅆ":"â ","‡":"â¡","⇊":"â","⩷":"â©·","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"ð¡","⇃":"â","⇂":"â","⋄":"â","⋄":"â","♦":"â¦","♦":"â¦","¨":"¨","ϝ":"Ï","⋲":"â²","÷":"÷","÷":"÷","÷":"÷","⋇":"â","⋇":"â","ђ":"Ñ","⌞":"â","⌍":"â","$":"$","𝕕":"ð","˙":"Ë","≐":"â","≑":"â","∸":"â¸","∔":"â","⊡":"â¡","⌆":"â","↓":"â","⇊":"â","⇃":"â","⇂":"â","⤐":"â¤","⌟":"â","⌌":"â","𝒹":"ð¹","ѕ":"Ñ","⧶":"â§¶","đ":"Ä","⋱":"â±","▿":"â¿","▾":"â¾","⇵":"âµ","⥯":"⥯","⦦":"⦦","џ":"Ñ","⟿":"â¿","⩷":"â©·","≑":"â","é":"é","é":"é","⩮":"â©®","ě":"Ä","≖":"â","ê":"ê","ê":"ê","≕":"â","э":"Ñ","ė":"Ä","ⅇ":"â ","≒":"â","𝔢":"ð¢","⪚":"âª","è":"è","è":"è","⪖":"âª","⪘":"âª","⪙":"âª","⏧":"â§","ℓ":"â","⪕":"âª","⪗":"âª","ē":"Ä","∅":"â ","∅":"â ","∅":"â "," ":"â"," ":"â "," ":"â","ŋ":"Å"," ":"â","ę":"Ä","𝕖":"ð","⋕":"â","⧣":"â§£","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"â","≕":"â","≂":"â","⪖":"âª","⪕":"âª","=":"=","≟":"â","≡":"â¡","⩸":"⩸","⧥":"â§¥","≓":"â","⥱":"⥱","ℯ":"â¯","≐":"â","≂":"â","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"â¬","!":"!","∃":"â","ℰ":"â°","ⅇ":"â ","≒":"â","ф":"Ñ","♀":"â","ffi":"ï¬","ff":"ï¬","ffl":"ï¬","𝔣":"ð£","fi":"ï¬","fj":"fj","♭":"â","fl":"ï¬","▱":"â±","ƒ":"Æ","𝕗":"ð","∀":"â","⋔":"â","⫙":"â«","⨍":"â¨","½":"½","½":"½","⅓":"â ","¼":"¼","¼":"¼","⅕":"â ","⅙":"â ","⅛":"â ","⅔":"â ","⅖":"â ","¾":"¾","¾":"¾","⅗":"â ","⅜":"â ","⅘":"â ","⅚":"â ","⅝":"â ","⅞":"â ","⁄":"â","⌢":"â¢","𝒻":"ð»","≧":"â§","⪌":"âª","ǵ":"ǵ","γ":"γ","ϝ":"Ï","⪆":"âª","ğ":"Ä","ĝ":"Ä","г":"г","ġ":"Ä¡","≥":"â¥","⋛":"â","≥":"â¥","≧":"â§","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"âª","⪂":"âª","⪄":"âª","⋛︀":"âï¸","⪔":"âª","𝔤":"ð¤","≫":"â«","⋙":"â","ℷ":"â·","ѓ":"Ñ","≷":"â·","⪒":"âª","⪥":"⪥","⪤":"⪤","≩":"â©","⪊":"âª","⪊":"âª","⪈":"âª","⪈":"âª","≩":"â©","⋧":"â§","𝕘":"ð","`":"`","ℊ":"â","≳":"â³","⪎":"âª","⪐":"âª",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"â","⦕":"â¦","⩼":"⩼","⪆":"âª","⥸":"⥸","⋗":"â","⋛":"â","⪌":"âª","≷":"â·","≳":"â³","≩︀":"â©ï¸","≩︀":"â©ï¸","⇔":"â"," ":"â","½":"½","ℋ":"â","ъ":"Ñ","↔":"â","⥈":"â¥","↭":"â","ℏ":"â","ĥ":"Ä¥","♥":"â¥","♥":"â¥","…":"â¦","⊹":"â¹","𝔥":"ð¥","⤥":"⤥","⤦":"⤦","⇿":"â¿","∻":"â»","↩":"â©","↪":"âª","𝕙":"ð","―":"â","𝒽":"ð½","ℏ":"â","ħ":"ħ","⁃":"â","‐":"â","í":"Ã","í":"Ã","⁣":"â£","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"â","𝔦":"ð¦","ì":"ì","ì":"ì","ⅈ":"â ","⨌":"â¨","∭":"â","⧜":"â§","℩":"â©","ij":"ij","ī":"Ä«","ℑ":"â","ℐ":"â","ℑ":"â","ı":"ı","⊷":"â·","Ƶ":"Ƶ","∈":"â","℅":"â ","∞":"â","⧝":"â§","ı":"ı","∫":"â«","⊺":"âº","ℤ":"â¤","⊺":"âº","⨗":"â¨","⨼":"⨼","ё":"Ñ","į":"į","𝕚":"ð","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"ð¾","∈":"â","⋹":"â¹","⋵":"âµ","⋴":"â´","⋳":"â³","∈":"â","⁢":"â¢","ĩ":"Ä©","і":"Ñ","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"ð§","ȷ":"È·","𝕛":"ð","𝒿":"ð¿","ј":"Ñ","є":"Ñ","κ":"κ","ϰ":"ϰ","ķ":"Ä·","к":"к","𝔨":"ð¨","ĸ":"ĸ","х":"Ñ ","ќ":"Ñ","𝕜":"ð","𝓀":"ð","⇚":"â","⇐":"â","⤛":"â¤","⤎":"â¤","≦":"â¦","⪋":"âª","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"â","λ":"λ","⟨":"â¨","⦑":"â¦","⟨":"â¨","⪅":"⪠","«":"«","«":"«","←":"â","⇤":"â¤","⤟":"â¤","⤝":"â¤","↩":"â©","↫":"â«","⤹":"⤹","⥳":"⥳","↢":"â¢","⪫":"⪫","⤙":"â¤","⪭":"âª","⪭︀":"âªï¸","⤌":"â¤","❲":"â²","{":"{","[":"[","⦋":"â¦","⦏":"â¦","⦍":"â¦","ľ":"ľ","ļ":"ļ","⌈":"â","{":"{","л":"л","⤶":"⤶","“":"â","„":"â","⥧":"⥧","⥋":"â¥","↲":"â²","≤":"â¤","←":"â","↢":"â¢","↽":"â½","↼":"â¼","⇇":"â","↔":"â","⇆":"â","⇋":"â","↭":"â","⋋":"â","⋚":"â","≤":"â¤","≦":"â¦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"â©¿","⪁":"âª","⪃":"âª","⋚︀":"âï¸","⪓":"âª","⪅":"⪠","⋖":"â","⋚":"â","⪋":"âª","≶":"â¶","≲":"â²","⥼":"⥼","⌊":"â","𝔩":"ð©","≶":"â¶","⪑":"âª","↽":"â½","↼":"â¼","⥪":"⥪","▄":"â","љ":"Ñ","≪":"âª","⇇":"â","⌞":"â","⥫":"⥫","◺":"âº","ŀ":"Å","⎰":"â°","⎰":"â°","≨":"â¨","⪉":"âª","⪉":"âª","⪇":"âª","⪇":"âª","≨":"â¨","⋦":"â¦","⟬":"â¬","⇽":"â½","⟦":"â¦","⟵":"âµ","⟷":"â·","⟼":"â¼","⟶":"â¶","↫":"â«","↬":"â¬","⦅":"⦠","𝕝":"ð","⨭":"â¨","⨴":"⨴","∗":"â","_":"_","◊":"â","◊":"â","⧫":"â§«","(":"(","⦓":"â¦","⇆":"â","⌟":"â","⇋":"â","⥭":"â¥","‎":"â","⊿":"â¿","‹":"â¹","𝓁":"ð","↰":"â°","≲":"â²","⪍":"âª","⪏":"âª","[":"[","‘":"â","‚":"â","ł":"Å","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"â","⋋":"â","⋉":"â","⥶":"⥶","⩻":"â©»","⦖":"â¦","◃":"â","⊴":"â´","◂":"â","⥊":"â¥","⥦":"⥦","≨︀":"â¨ï¸","≨︀":"â¨ï¸","∺":"âº","¯":"¯","¯":"¯","♂":"â","✠":"â ","✠":"â ","↦":"â¦","↦":"â¦","↧":"â§","↤":"â¤","↥":"â¥","▮":"â®","⨩":"⨩","м":"м","—":"â","∡":"â¡","𝔪":"ðª","℧":"â§","µ":"µ","µ":"µ","∣":"â£","*":"*","⫰":"â«°","·":"·","·":"·","−":"â","⊟":"â","∸":"â¸","⨪":"⨪","⫛":"â«","…":"â¦","∓":"â","⊧":"â§","𝕞":"ð","∓":"â","𝓂":"ð","∾":"â¾","μ":"μ","⊸":"â¸","⊸":"â¸","⋙̸":"â̸","≫⃒":"â«â","≫̸":"â«Ì¸","⇍":"â","⇎":"â","⋘̸":"â̸","≪⃒":"âªâ","≪̸":"âªÌ¸","⇏":"â","⊯":"â¯","⊮":"â®","∇":"â","ń":"Å","∠⃒":"â â","≉":"â","⩰̸":"⩰̸","≋̸":"â̸","ʼn":"Å","≉":"â","♮":"â®","♮":"â®","ℕ":"â"," ":" "," ":" ","≎̸":"â̸","≏̸":"â̸","⩃":"â©","ň":"Å","ņ":"Å","≇":"â","⩭̸":"â©Ì¸","⩂":"â©","н":"н","–":"â","≠":"â ","⇗":"â","⤤":"⤤","↗":"â","↗":"â","≐̸":"â̸","≢":"â¢","⤨":"⤨","≂̸":"â̸","∄":"â","∄":"â","𝔫":"ð«","≧̸":"â§Ì¸","≱":"â±","≱":"â±","≧̸":"â§Ì¸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"âµ","≯":"â¯","≯":"â¯","⇎":"â","↮":"â®","⫲":"⫲","∋":"â","⋼":"â¼","⋺":"âº","∋":"â","њ":"Ñ","⇍":"â","≦̸":"â¦Ì¸","↚":"â","‥":"â¥","≰":"â°","↚":"â","↮":"â®","≰":"â°","≦̸":"â¦Ì¸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"â®","≴":"â´","≮":"â®","⋪":"âª","⋬":"â¬","∤":"â¤","𝕟":"ð","¬":"¬","¬":"¬","∉":"â","⋹̸":"â¹Ì¸","⋵̸":"âµÌ¸","∉":"â","⋷":"â·","⋶":"â¶","∌":"â","∌":"â","⋾":"â¾","⋽":"â½","∦":"â¦","∦":"â¦","⫽⃥":"⫽â¥","∂̸":"â̸","⨔":"â¨","⊀":"â","⋠":"â ","⪯̸":"⪯̸","⊀":"â","⪯̸":"⪯̸","⇏":"â","↛":"â","⤳̸":"⤳̸","↝̸":"â̸","↛":"â","⋫":"â«","⋭":"â","⊁":"â","⋡":"â¡","⪰̸":"⪰̸","𝓃":"ð","∤":"â¤","∦":"â¦","≁":"â","≄":"â","≄":"â","∤":"â¤","∦":"â¦","⋢":"â¢","⋣":"â£","⊄":"â","⫅̸":"⫠̸","⊈":"â","⊂⃒":"ââ","⊈":"â","⫅̸":"⫠̸","⊁":"â","⪰̸":"⪰̸","⊅":"â ","⫆̸":"â«Ì¸","⊉":"â","⊃⃒":"ââ","⊉":"â","⫆̸":"â«Ì¸","≹":"â¹","ñ":"ñ","ñ":"ñ","≸":"â¸","⋪":"âª","⋬":"â¬","⋫":"â«","⋭":"â","ν":"ν","#":"#","№":"â"," ":"â","⊭":"â","⤄":"â¤","≍⃒":"ââ","⊬":"â¬","≥⃒":"â¥â",">⃒":">â","⧞":"â§","⤂":"â¤","≤⃒":"â¤â","<⃒":"<â","⊴⃒":"â´â","⤃":"â¤","⊵⃒":"âµâ","∼⃒":"â¼â","⇖":"â","⤣":"⤣","↖":"â","↖":"â","⤧":"⤧","Ⓢ":"â","ó":"ó","ó":"ó","⊛":"â","⊚":"â","ô":"ô","ô":"ô","о":"о","⊝":"â","ő":"Å","⨸":"⨸","⊙":"â","⦼":"⦼","œ":"Å","⦿":"⦿","𝔬":"ð¬","˛":"Ë","ò":"ò","ò":"ò","⧁":"â§","⦵":"⦵","Ω":"Ω","∮":"â®","↺":"âº","⦾":"⦾","⦻":"⦻","‾":"â¾","⧀":"â§","ō":"Å","ω":"Ï","ο":"ο","⦶":"⦶","⊖":"â","𝕠":"ð ","⦷":"⦷","⦹":"⦹","⊕":"â","∨":"â¨","↻":"â»","⩝":"â©","ℴ":"â´","ℴ":"â´","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"â¶","⩖":"â©","⩗":"â©","⩛":"â©","ℴ":"â´","ø":"ø","ø":"ø","⊘":"â","õ":"õ","õ":"õ","⊗":"â","⨶":"⨶","ö":"ö","ö":"ö","⌽":"â½","∥":"â¥","¶":"¶","¶":"¶","∥":"â¥","⫳":"⫳","⫽":"⫽","∂":"â","п":"п","%":"%",".":".","‰":"â°","⊥":"â¥","‱":"â±","𝔭":"ð","φ":"Ï","ϕ":"Ï","ℳ":"â³","☎":"â","π":"Ï","⋔":"â","ϖ":"Ï","ℏ":"â","ℎ":"â","ℏ":"â","+":"+","⨣":"⨣","⊞":"â","⨢":"⨢","∔":"â","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"â¨","𝕡":"ð¡","£":"£","£":"£","≺":"âº","⪳":"⪳","⪷":"⪷","≼":"â¼","⪯":"⪯","≺":"âº","⪷":"⪷","≼":"â¼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"â¨","≾":"â¾","′":"â²","ℙ":"â","⪵":"⪵","⪹":"⪹","⋨":"â¨","∏":"â","⌮":"â®","⌒":"â","⌓":"â","∝":"â","∝":"â","≾":"â¾","⊰":"â°","𝓅":"ð ","ψ":"Ï"," ":"â","𝔮":"ð®","⨌":"â¨","𝕢":"ð¢","⁗":"â","𝓆":"ð","ℍ":"â","⨖":"â¨","?":"?","≟":"â",""":'"',""":'"',"⇛":"â","⇒":"â","⤜":"â¤","⤏":"â¤","⥤":"⥤","∽̱":"â½Ì±","ŕ":"Å","√":"â","⦳":"⦳","⟩":"â©","⦒":"â¦","⦥":"⦥","⟩":"â©","»":"»","»":"»","→":"â","⥵":"⥵","⇥":"â¥","⤠":"⤠","⤳":"⤳","⤞":"â¤","↪":"âª","↬":"â¬","⥅":"⥠","⥴":"⥴","↣":"â£","↝":"â","⤚":"â¤","∶":"â¶","ℚ":"â","⤍":"â¤","❳":"â³","}":"}","]":"]","⦌":"â¦","⦎":"â¦","⦐":"â¦","ř":"Å","ŗ":"Å","⌉":"â","}":"}","р":"Ñ","⤷":"⤷","⥩":"⥩","”":"â","”":"â","↳":"â³","ℜ":"â","ℛ":"â","ℜ":"â","ℝ":"â","▭":"â","®":"®","®":"®","⥽":"⥽","⌋":"â","𝔯":"ð¯","⇁":"â","⇀":"â","⥬":"⥬","ρ":"Ï","ϱ":"ϱ","→":"â","↣":"â£","⇁":"â","⇀":"â","⇄":"â","⇌":"â","⇉":"â","↝":"â","⋌":"â","˚":"Ë","≓":"â","⇄":"â","⇌":"â","‏":"â","⎱":"â±","⎱":"â±","⫮":"â«®","⟭":"â","⇾":"â¾","⟧":"â§","⦆":"â¦","𝕣":"ð£","⨮":"⨮","⨵":"⨵",")":")","⦔":"â¦","⨒":"â¨","⇉":"â","›":"âº","𝓇":"ð","↱":"â±","]":"]","’":"â","’":"â","⋌":"â","⋊":"â","▹":"â¹","⊵":"âµ","▸":"â¸","⧎":"â§","⥨":"⥨","℞":"â","ś":"Å","‚":"â","≻":"â»","⪴":"⪴","⪸":"⪸","š":"Å¡","≽":"â½","⪰":"⪰","ş":"Å","ŝ":"Å","⪶":"⪶","⪺":"⪺","⋩":"â©","⨓":"â¨","≿":"â¿","с":"Ñ","⋅":"â ","⊡":"â¡","⩦":"⩦","⇘":"â","⤥":"⤥","↘":"â","↘":"â","§":"§","§":"§",";":";","⤩":"⤩","∖":"â","∖":"â","✶":"â¶","𝔰":"ð°","⌢":"â¢","♯":"â¯","щ":"Ñ","ш":"Ñ","∣":"â£","∥":"â¥","­":"Â","­":"Â","σ":"Ï","ς":"Ï","ς":"Ï","∼":"â¼","⩪":"⩪","≃":"â","≃":"â","⪞":"âª","⪠":"⪠","⪝":"âª","⪟":"âª","≆":"â","⨤":"⨤","⥲":"⥲","←":"â","∖":"â","⨳":"⨳","⧤":"⧤","∣":"â£","⌣":"â£","⪪":"⪪","⪬":"⪬","⪬︀":"⪬ï¸","ь":"Ñ","/":"/","⧄":"â§","⌿":"â¿","𝕤":"ð¤","♠":"â ","♠":"â ","∥":"â¥","⊓":"â","⊓︀":"âï¸","⊔":"â","⊔︀":"âï¸","⊏":"â","⊑":"â","⊏":"â","⊑":"â","⊐":"â","⊒":"â","⊐":"â","⊒":"â","□":"â¡","□":"â¡","▪":"âª","▪":"âª","→":"â","𝓈":"ð","∖":"â","⌣":"â£","⋆":"â","☆":"â","★":"â ","ϵ":"ϵ","ϕ":"Ï","¯":"¯","⊂":"â","⫅":"â« ","⪽":"⪽","⊆":"â","⫃":"â«","⫁":"â«","⫋":"â«","⊊":"â","⪿":"⪿","⥹":"⥹","⊂":"â","⊆":"â","⫅":"â« ","⊊":"â","⫋":"â«","⫇":"â«","⫕":"â«","⫓":"â«","≻":"â»","⪸":"⪸","≽":"â½","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"â©","≿":"â¿","∑":"â","♪":"âª","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"â","⫆":"â«","⪾":"⪾","⫘":"â«","⊇":"â","⫄":"â«","⟉":"â","⫗":"â«","⥻":"⥻","⫂":"â«","⫌":"â«","⊋":"â","⫀":"â«","⊃":"â","⊇":"â","⫆":"â«","⊋":"â","⫌":"â«","⫈":"â«","⫔":"â«","⫖":"â«","⇙":"â","⤦":"⤦","↙":"â","↙":"â","⤪":"⤪","ß":"Ã","ß":"Ã","⌖":"â","τ":"Ï","⎴":"â´","ť":"Å¥","ţ":"Å£","т":"Ñ","⃛":"â","⌕":"â","𝔱":"ð±","∴":"â´","∴":"â´","θ":"θ","ϑ":"Ï","ϑ":"Ï","≈":"â","∼":"â¼"," ":"â","≈":"â","∼":"â¼","þ":"þ","þ":"þ","˜":"Ë","×":"Ã","×":"Ã","⊠":"â ","⨱":"⨱","⨰":"⨰","∭":"â","⤨":"⤨","⊤":"â¤","⌶":"â¶","⫱":"⫱","𝕥":"ð¥","⫚":"â«","⤩":"⤩","‴":"â´","™":"â¢","▵":"âµ","▿":"â¿","◃":"â","⊴":"â´","≜":"â","▹":"â¹","⊵":"âµ","◬":"â¬","≜":"â","⨺":"⨺","⨹":"⨹","⧍":"â§","⨻":"⨻","⏢":"â¢","𝓉":"ð","ц":"Ñ","ћ":"Ñ","ŧ":"ŧ","≬":"â¬","↞":"â","↠":"â ","⇑":"â","⥣":"⥣","ú":"ú","ú":"ú","↑":"â","ў":"Ñ","ŭ":"Å","û":"û","û":"û","у":"Ñ","⇅":"â ","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"ð²","ù":"ù","ù":"ù","↿":"â¿","↾":"â¾","▀":"â","⌜":"â","⌜":"â","⌏":"â","◸":"â¸","ū":"Å«","¨":"¨","¨":"¨","ų":"ų","𝕦":"ð¦","↑":"â","↕":"â","↿":"â¿","↾":"â¾","⊎":"â","υ":"Ï ","ϒ":"Ï","υ":"Ï ","⇈":"â","⌝":"â","⌝":"â","⌎":"â","ů":"ů","◹":"â¹","𝓊":"ð","⋰":"â°","ũ":"Å©","▵":"âµ","▴":"â´","⇈":"â","ü":"ü","ü":"ü","⦧":"⦧","⇕":"â","⫨":"⫨","⫩":"â«©","⊨":"â¨","⦜":"â¦","ϵ":"ϵ","ϰ":"ϰ","∅":"â ","ϕ":"Ï","ϖ":"Ï","∝":"â","↕":"â","ϱ":"ϱ","ς":"Ï","⊊︀":"âï¸","⫋︀":"â«ï¸","⊋︀":"âï¸","⫌︀":"â«ï¸","ϑ":"Ï","⊲":"â²","⊳":"â³","в":"в","⊢":"â¢","∨":"â¨","⊻":"â»","≚":"â","⋮":"â®","|":"|","|":"|","𝔳":"ð³","⊲":"â²","⊂⃒":"ââ","⊃⃒":"ââ","𝕧":"ð§","∝":"â","⊳":"â³","𝓋":"ð","⫋︀":"â«ï¸","⊊︀":"âï¸","⫌︀":"â«ï¸","⊋︀":"âï¸","⦚":"â¦","ŵ":"ŵ","⩟":"â©","∧":"â§","≙":"â","℘":"â","𝔴":"ð´","𝕨":"ð¨","℘":"â","≀":"â","≀":"â","𝓌":"ð","⋂":"â","◯":"â¯","⋃":"â","▽":"â½","𝔵":"ðµ","⟺":"âº","⟷":"â·","ξ":"ξ","⟸":"â¸","⟵":"âµ","⟼":"â¼","⋻":"â»","⨀":"â¨","𝕩":"ð©","⨁":"â¨","⨂":"â¨","⟹":"â¹","⟶":"â¶","𝓍":"ð","⨆":"â¨","⨄":"â¨","△":"â³","⋁":"â","⋀":"â","ý":"ý","ý":"ý","я":"Ñ","ŷ":"Å·","ы":"Ñ","¥":"Â¥","¥":"Â¥","𝔶":"ð¶","ї":"Ñ","𝕪":"ðª","𝓎":"ð","ю":"Ñ","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"â¨","ζ":"ζ","𝔷":"ð·","ж":"ж","⇝":"â","𝕫":"ð«","𝓏":"ð","‍":"â","‌":"â"},characters:{"Ã":"Æ","&":"&","Ã":"Á","Ä":"Ă","Ã":"Â","Ð":"А","ð":"𝔄","Ã":"À","Î":"Α","Ä":"Ā","â©":"⩓","Ä":"Ą","ð¸":"𝔸","â¡":"⁡","à ":"Å","ð":"𝒜","â":"≔","Ã":"Ã","Ã":"Ä","â":"∖","â«§":"⫧","â":"⌆","Ð":"Б","âµ":"∵","â¬":"ℬ","Î":"Β","ð ":"𝔅","ð¹":"𝔹","Ë":"˘","â":"≎","Ч":"Ч","©":"©","Ä":"Ć","â":"⋒","â ":"ⅅ","â":"ℭ","Ä":"Č","Ã":"Ç","Ä":"Ĉ","â°":"∰","Ä":"Ċ","¸":"¸","·":"·","Χ":"Χ","â":"⊙","â":"⊖","â":"⊕","â":"⊗","â²":"∲","â":"”","â":"’","â·":"∷","â©´":"⩴","â¡":"≡","â¯":"∯","â®":"∮","â":"ℂ","â":"∐","â³":"∳","⨯":"⨯","ð":"𝒞","â":"⋓","â":"≍","â¤":"⤑","Ð":"Ђ","Ð ":"Ѕ","Ð":"Џ","â¡":"‡","â¡":"↡","⫤":"⫤","Ä":"Ď","Ð":"Д","â":"∇","Î":"Δ","ð":"𝔇","´":"´","Ë":"˙","Ë":"˝","`":"`","Ë":"˜","â":"⋄","â ":"ⅆ","ð»":"𝔻","¨":"¨","â":"⃜","â":"≐","â":"⇓","â":"⇐","â":"⇔","â¸":"⟸","âº":"⟺","â¹":"⟹","â":"⇒","â¨":"⊨","â":"⇑","â":"⇕","â¥":"∥","â":"↓","â¤":"⤓","âµ":"⇵","Ì":"̑","â¥":"⥐","â¥":"⥞","â½":"↽","â¥":"⥖","â¥":"⥟","â":"⇁","â¥":"⥗","â¤":"⊤","â§":"↧","ð":"𝒟","Ä":"Đ","Å":"Ŋ","Ã":"Ð","Ã":"É","Ä":"Ě","Ã":"Ê","Ð":"Э","Ä":"Ė","ð":"𝔈","Ã":"È","â":"∈","Ä":"Ē","â»":"◻","â«":"▫","Ä":"Ę","ð¼":"𝔼","Î":"Ε","⩵":"⩵","â":"≂","â":"⇌","â°":"ℰ","⩳":"⩳","Î":"Η","Ã":"Ë","â":"∃","â ":"ⅇ","Ф":"Ф","ð":"𝔉","â¼":"◼","âª":"▪","ð½":"𝔽","â":"∀","â±":"ℱ","Ð":"Ѓ",">":">","Î":"Γ","Ï":"Ϝ","Ä":"Ğ","Ä¢":"Ģ","Ä":"Ĝ","Ð":"Г","Ä ":"Ġ","ð":"𝔊","â":"⋙","ð¾":"𝔾","â¥":"≥","â":"⋛","â§":"≧","⪢":"⪢","â·":"≷","⩾":"⩾","â³":"≳","ð¢":"𝒢","â«":"≫","Ъ":"Ъ","Ë":"ˇ","^":"^","Ĥ":"Ĥ","â":"ℌ","â":"ℋ","â":"ℍ","â":"─","Ħ":"Ħ","â":"≏","Ð":"Е","IJ":"IJ","Ð":"Ё","Ã":"Í","Ã":"Î","Ð":"И","İ":"İ","â":"ℑ","Ã":"Ì","Ī":"Ī","â ":"ⅈ","â¬":"∬","â«":"∫","â":"⋂","â£":"⁣","â¢":"⁢","Ä®":"Į","ð":"𝕀","Î":"Ι","â":"ℐ","Ĩ":"Ĩ","Ð":"І","Ã":"Ï","Ä´":"Ĵ","Ð":"Й","ð":"𝔍","ð":"𝕁","ð¥":"𝒥","Ð":"Ј","Ð":"Є","Ð¥":"Х","Ð":"Ќ","Î":"Κ","Ķ":"Ķ","Ð":"К","ð":"𝔎","ð":"𝕂","ð¦":"𝒦","Ð":"Љ","<":"<","Ĺ":"Ĺ","Î":"Λ","âª":"⟪","â":"ℒ","â":"↞","Ľ":"Ľ","Ä»":"Ļ","Ð":"Л","â¨":"⟨","â":"←","â¤":"⇤","â":"⇆","â":"⌈","â¦":"⟦","⥡":"⥡","â":"⇃","â¥":"⥙","â":"⌊","â":"↔","â¥":"⥎","â£":"⊣","â¤":"↤","â¥":"⥚","â²":"⊲","â§":"⧏","â´":"⊴","â¥":"⥑","⥠":"⥠","â¿":"↿","â¥":"⥘","â¼":"↼","â¥":"⥒","â":"⋚","â¦":"≦","â¶":"≶","⪡":"⪡","⩽":"⩽","â²":"≲","ð":"𝔏","â":"⋘","â":"⇚","Ä¿":"Ŀ","âµ":"⟵","â·":"⟷","â¶":"⟶","ð":"𝕃","â":"↙","â":"↘","â°":"↰","Å":"Ł","âª":"≪","⤠":"⤅","Ð":"М","â":" ","â³":"ℳ","ð":"𝔐","â":"∓","ð":"𝕄","Î":"Μ","Ð":"Њ","Å":"Ń","Å":"Ň","Å ":"Ņ","Ð":"Н","â":"​","\n":"
","ð":"𝔑","â ":"⁠"," ":" ","â":"ℕ","⫬":"⫬","â¢":"≢","â":"≭","â¦":"∦","â":"∉","â ":"≠","â̸":"≂̸","â":"∄","â¯":"≯","â±":"≱","â§Ì¸":"≧̸","â«Ì¸":"≫̸","â¹":"≹","⩾̸":"⩾̸","âµ":"≵","â̸":"≎̸","â̸":"≏̸","âª":"⋪","â§Ì¸":"⧏̸","â¬":"⋬","â®":"≮","â°":"≰","â¸":"≸","âªÌ¸":"≪̸","⩽̸":"⩽̸","â´":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","â":"⊀","⪯̸":"⪯̸","â ":"⋠","â":"∌","â«":"⋫","â§Ì¸":"⧐̸","â":"⋭","â̸":"⊏̸","â¢":"⋢","â̸":"⊐̸","â£":"⋣","ââ":"⊂⃒","â":"⊈","â":"⊁","⪰̸":"⪰̸","â¡":"⋡","â¿Ì¸":"≿̸","ââ":"⊃⃒","â":"⊉","â":"≁","â":"≄","â":"≇","â":"≉","â¤":"∤","ð©":"𝒩","Ã":"Ñ","Î":"Ν","Å":"Œ","Ã":"Ó","Ã":"Ô","Ð":"О","Å":"Ő","ð":"𝔒","Ã":"Ò","Å":"Ō","Ω":"Ω","Î":"Ο","ð":"𝕆","â":"“","â":"‘","â©":"⩔","ðª":"𝒪","Ã":"Ø","Ã":"Õ","⨷":"⨷","Ã":"Ö","â¾":"‾","â":"⏞","â´":"⎴","â":"⏜","â":"∂","Ð":"П","ð":"𝔓","Φ":"Φ","Î ":"Π","±":"±","â":"ℙ","⪻":"⪻","âº":"≺","⪯":"⪯","â¼":"≼","â¾":"≾","â³":"″","â":"∏","â":"∝","ð«":"𝒫","Ψ":"Ψ",'"':""","ð":"𝔔","â":"ℚ","ð¬":"𝒬","â¤":"⤐","®":"®","Å":"Ŕ","â«":"⟫","â ":"↠","â¤":"⤖","Å":"Ř","Å":"Ŗ","Ð ":"Р","â":"ℜ","â":"∋","â":"⇋","⥯":"⥯","Ρ":"Ρ","â©":"⟩","â":"→","â¥":"⇥","â":"⇄","â":"⌉","â§":"⟧","â¥":"⥝","â":"⇂","â¥":"⥕","â":"⌋","â¢":"⊢","â¦":"↦","â¥":"⥛","â³":"⊳","â§":"⧐","âµ":"⊵","â¥":"⥏","â¥":"⥜","â¾":"↾","â¥":"⥔","â":"⇀","â¥":"⥓","â":"ℝ","⥰":"⥰","â":"⇛","â":"ℛ","â±":"↱","â§´":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Å":"Ś","⪼":"⪼","Å ":"Š","Å":"Ş","Å":"Ŝ","С":"С","ð":"𝔖","â":"↑","Σ":"Σ","â":"∘","ð":"𝕊","â":"√","â¡":"□","â":"⊓","â":"⊏","â":"⊑","â":"⊐","â":"⊒","â":"⊔","ð®":"𝒮","â":"⋆","â":"⋐","â":"⊆","â»":"≻","⪰":"⪰","â½":"≽","â¿":"≿","â":"∑","â":"⋑","â":"⊃","â":"⊇","Ã":"Þ","â¢":"™","Ð":"Ћ","Ц":"Ц","\t":"	","Τ":"Τ","Ť":"Ť","Å¢":"Ţ","Т":"Т","ð":"𝔗","â´":"∴","Î":"Θ","ââ":"  ","â":" ","â¼":"∼","â":"≃","â ":"≅","â":"≈","ð":"𝕋","â":"⃛","ð¯":"𝒯","Ŧ":"Ŧ","Ã":"Ú","â":"↟","â¥":"⥉","Ð":"Ў","Ŭ":"Ŭ","Ã":"Û","У":"У","Ű":"Ű","ð":"𝔘","Ã":"Ù","Ū":"Ū",_:"_","â":"⏟","âµ":"⎵","â":"⏝","â":"⋃","â":"⊎","Ų":"Ų","ð":"𝕌","â¤":"⤒","â ":"⇅","â":"↕","⥮":"⥮","â¥":"⊥","â¥":"↥","â":"↖","â":"↗","Ï":"ϒ","Î¥":"Υ","Å®":"Ů","ð°":"𝒰","Ũ":"Ũ","Ã":"Ü","â«":"⊫","â««":"⫫","Ð":"В","â©":"⊩","⫦":"⫦","â":"⋁","â":"‖","â£":"∣","|":"|","â":"❘","â":"≀","â":" ","ð":"𝔙","ð":"𝕍","ð±":"𝒱","âª":"⊪","Å´":"Ŵ","â":"⋀","ð":"𝔚","ð":"𝕎","ð²":"𝒲","ð":"𝔛","Î":"Ξ","ð":"𝕏","ð³":"𝒳","Я":"Я","Ð":"Ї","Ю":"Ю","Ã":"Ý","Ŷ":"Ŷ","Ы":"Ы","ð":"𝔜","ð":"𝕐","ð´":"𝒴","Ÿ":"Ÿ","Ð":"Ж","Ź":"Ź","Ž":"Ž","Ð":"З","Å»":"Ż","Î":"Ζ","â¨":"ℨ","â¤":"ℤ","ðµ":"𝒵","á":"á","Ä":"ă","â¾":"∾","â¾Ì³":"∾̳","â¿":"∿","â":"â","а":"а","æ":"æ","ð":"𝔞","à ":"à","âµ":"ℵ","α":"α","Ä":"ā","⨿":"⨿","â§":"∧","â©":"⩕","â©":"⩜","â©":"⩘","â©":"⩚","â ":"∠","⦤":"⦤","â¡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","â¦":"⦭","⦮":"⦮","⦯":"⦯","â":"∟","â¾":"⊾","â¦":"⦝","â¢":"∢","â¼":"⍼","Ä ":"ą","ð":"𝕒","â©°":"⩰","⩯":"⩯","â":"≊","â":"≋","'":"'","Ã¥":"å","ð¶":"𝒶","*":"*","ã":"ã","ä":"ä","â¨":"⨑","â«":"⫭","â":"≌","϶":"϶","âµ":"‵","â½":"∽","â":"⋍","â½":"⊽","â ":"⌅","â¶":"⎶","б":"б","â":"„","⦰":"⦰","β":"β","â¶":"ℶ","â¬":"≬","ð":"𝔟","â¯":"◯","â¨":"⨀","â¨":"⨁","â¨":"⨂","â¨":"⨆","â ":"★","â½":"▽","â³":"△","â¨":"⨄","â¤":"⤍","â§«":"⧫","â´":"▴","â¾":"▾","â":"◂","â¸":"▸","â£":"␣","â":"▒","â":"░","â":"▓","â":"█","=â¥":"=⃥","â¡â¥":"≡⃥","â":"⌐","ð":"𝕓","â":"⋈","â":"╗","â":"╔","â":"╖","â":"╓","â":"═","â¦":"╦","â©":"╩","â¤":"╤","â§":"╧","â":"╝","â":"╚","â":"╜","â":"╙","â":"║","â¬":"╬","â£":"╣","â ":"╠","â«":"╫","â¢":"╢","â":"╟","â§":"⧉","â":"╕","â":"╒","â":"┐","â":"┌","â¥":"╥","â¨":"╨","â¬":"┬","â´":"┴","â":"⊟","â":"⊞","â ":"⊠","â":"╛","â":"╘","â":"┘","â":"└","â":"│","âª":"╪","â¡":"╡","â":"╞","â¼":"┼","â¤":"┤","â":"├","¦":"¦","ð·":"𝒷","â":"⁏","\\":"\","â§ ":"⧅","â":"⟈","â¢":"•","⪮":"⪮","Ä":"ć","â©":"∩","â©":"⩄","â©":"⩉","â©":"⩋","â©":"⩇","â©":"⩀","â©ï¸":"∩︀","â":"⁁","â©":"⩍","Ä":"č","ç":"ç","Ä":"ĉ","â©":"⩌","â©":"⩐","Ä":"ċ","⦲":"⦲","¢":"¢","ð ":"𝔠","Ñ":"ч","â":"✓","Ï":"χ","â":"○","â§":"⧃","Ë":"ˆ","â":"≗","âº":"↺","â»":"↻","â":"Ⓢ","â":"⊛","â":"⊚","â":"⊝","â¨":"⨐","⫯":"⫯","â§":"⧂","â£":"♣",":":":",",":",","@":"@","â":"∁","â©":"⩭","ð":"𝕔","â":"℗","âµ":"↵","â":"✗","ð¸":"𝒸","â«":"⫏","â«":"⫑","â«":"⫐","â«":"⫒","â¯":"⋯","⤸":"⤸","⤵":"⤵","â":"⋞","â":"⋟","â¶":"↶","⤽":"⤽","âª":"∪","â©":"⩈","â©":"⩆","â©":"⩊","â":"⊍","â© ":"⩅","âªï¸":"∪︀","â·":"↷","⤼":"⤼","â":"⋎","â":"⋏","¤":"¤","â±":"∱","â":"⌭","⥥":"⥥","â ":"†","â¸":"ℸ","â":"‐","â¤":"⤏","Ä":"ď","д":"д","â":"⇊","â©·":"⩷","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","ð¡":"𝔡","â¦":"♦","Ï":"ϝ","â²":"⋲","÷":"÷","â":"⋇","Ñ":"ђ","â":"⌞","â":"⌍",$:"$","ð":"𝕕","â":"≑","â¸":"∸","â":"∔","â¡":"⊡","â":"⌟","â":"⌌","ð¹":"𝒹","Ñ":"ѕ","â§¶":"⧶","Ä":"đ","â±":"⋱","â¿":"▿","⦦":"⦦","Ñ":"џ","â¿":"⟿","é":"é","â©®":"⩮","Ä":"ě","â":"≖","ê":"ê","â":"≕","Ñ":"э","Ä":"ė","â":"≒","ð¢":"𝔢","âª":"⪚","è":"è","âª":"⪖","âª":"⪘","âª":"⪙","â§":"⏧","â":"ℓ","âª":"⪕","âª":"⪗","Ä":"ē","â ":"∅","â":" ","â ":" ","â":" ","Å":"ŋ","â":" ","Ä":"ę","ð":"𝕖","â":"⋕","â§£":"⧣","⩱":"⩱","ε":"ε","ϵ":"ϵ","=":"=","â":"≟","⩸":"⩸","â§¥":"⧥","â":"≓","⥱":"⥱","â¯":"ℯ","η":"η","ð":"ð","ë":"ë","â¬":"€","!":"!","Ñ":"ф","â":"♀","ï¬":"ffi","ï¬":"ff","ï¬":"ffl","ð£":"𝔣","ï¬":"fi",fj:"fj","â":"♭","ï¬":"fl","â±":"▱","Æ":"ƒ","ð":"𝕗","â":"⋔","â«":"⫙","â¨":"⨍","½":"½","â ":"⅓","¼":"¼","â ":"⅕","â ":"⅙","â ":"⅛","â ":"⅔","â ":"⅖","¾":"¾","â ":"⅗","â ":"⅜","â ":"⅘","â ":"⅚","â ":"⅝","â ":"⅞","â":"⁄","â¢":"⌢","ð»":"𝒻","âª":"⪌","ǵ":"ǵ","γ":"γ","âª":"⪆","Ä":"ğ","Ä":"ĝ","г":"г","Ä¡":"ġ","⪩":"⪩","âª":"⪀","âª":"⪂","âª":"⪄","âï¸":"⋛︀","âª":"⪔","ð¤":"𝔤","â·":"ℷ","Ñ":"ѓ","âª":"⪒","⪥":"⪥","⪤":"⪤","â©":"≩","âª":"⪊","âª":"⪈","â§":"⋧","ð":"𝕘","â":"ℊ","âª":"⪎","âª":"⪐","⪧":"⪧","⩺":"⩺","â":"⋗","â¦":"⦕","⩼":"⩼","⥸":"⥸","â©ï¸":"≩︀","Ñ":"ъ","â¥":"⥈","â":"↭","â":"ℏ","Ä¥":"ĥ","â¥":"♥","â¦":"…","â¹":"⊹","ð¥":"𝔥","⤥":"⤥","⤦":"⤦","â¿":"⇿","â»":"∻","â©":"↩","âª":"↪","ð":"𝕙","â":"―","ð½":"𝒽","ħ":"ħ","â":"⁃","Ã":"í","î":"î","и":"и","е":"е","¡":"¡","ð¦":"𝔦","ì":"ì","â¨":"⨌","â":"∭","â§":"⧜","â©":"℩","ij":"ij","Ä«":"ī","ı":"ı","â·":"⊷","Ƶ":"Ƶ","â ":"℅","â":"∞","â§":"⧝","âº":"⊺","â¨":"⨗","⨼":"⨼","Ñ":"ё","į":"į","ð":"𝕚","ι":"ι","¿":"¿","ð¾":"𝒾","â¹":"⋹","âµ":"⋵","â´":"⋴","â³":"⋳","Ä©":"ĩ","Ñ":"і","ï":"ï","ĵ":"ĵ","й":"й","ð§":"𝔧","È·":"ȷ","ð":"𝕛","ð¿":"𝒿","Ñ":"ј","Ñ":"є","κ":"κ","ϰ":"ϰ","Ä·":"ķ","к":"к","ð¨":"𝔨","ĸ":"ĸ","Ñ ":"х","Ñ":"ќ","ð":"𝕜","ð":"𝓀","â¤":"⤛","â¤":"⤎","âª":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","λ":"λ","â¦":"⦑","⪠":"⪅","«":"«","â¤":"⤟","â¤":"⤝","â«":"↫","⤹":"⤹","⥳":"⥳","â¢":"↢","⪫":"⪫","â¤":"⤙","âª":"⪭","âªï¸":"⪭︀","â¤":"⤌","â²":"❲","{":"{","[":"[","â¦":"⦋","â¦":"⦏","â¦":"⦍","ľ":"ľ","ļ":"ļ","л":"л","⤶":"⤶","⥧":"⥧","â¥":"⥋","â²":"↲","â¤":"≤","â":"⇇","â":"⋋","⪨":"⪨","â©¿":"⩿","âª":"⪁","âª":"⪃","âï¸":"⋚︀","âª":"⪓","â":"⋖","⥼":"⥼","ð©":"𝔩","âª":"⪑","⥪":"⥪","â":"▄","Ñ":"љ","⥫":"⥫","âº":"◺","Å":"ŀ","â°":"⎰","â¨":"≨","âª":"⪉","âª":"⪇","â¦":"⋦","â¬":"⟬","â½":"⇽","â¼":"⟼","â¬":"↬","⦠":"⦅","ð":"𝕝","â¨":"⨭","⨴":"⨴","â":"∗","â":"◊","(":"(","â¦":"⦓","â¥":"⥭","â":"‎","â¿":"⊿","â¹":"‹","ð":"𝓁","âª":"⪍","âª":"⪏","â":"‚","Å":"ł","⪦":"⪦","⩹":"⩹","â":"⋉","⥶":"⥶","â©»":"⩻","â¦":"⦖","â":"◃","â¥":"⥊","⥦":"⥦","â¨ï¸":"≨︀","âº":"∺","¯":"¯","â":"♂","â ":"✠","â®":"▮","⨩":"⨩","м":"м","â":"—","ðª":"𝔪","â§":"℧","µ":"µ","â«°":"⫰","â":"−","⨪":"⨪","â«":"⫛","â§":"⊧","ð":"𝕞","ð":"𝓂","μ":"μ","â¸":"⊸","â̸":"⋙̸","â«â":"≫⃒","â":"⇍","â":"⇎","â̸":"⋘̸","âªâ":"≪⃒","â":"⇏","â¯":"⊯","â®":"⊮","Å":"ń","â â":"∠⃒","⩰̸":"⩰̸","â̸":"≋̸","Å":"ʼn","â®":"♮","â©":"⩃","Å":"ň","Å":"ņ","â©Ì¸":"⩭̸","â©":"⩂","н":"н","â":"–","â":"⇗","⤤":"⤤","â̸":"≐̸","⤨":"⤨","ð«":"𝔫","â®":"↮","⫲":"⫲","â¼":"⋼","âº":"⋺","Ñ":"њ","â¦Ì¸":"≦̸","â":"↚","â¥":"‥","ð":"𝕟","¬":"¬","â¹Ì¸":"⋹̸","âµÌ¸":"⋵̸","â·":"⋷","â¶":"⋶","â¾":"⋾","â½":"⋽","⫽â¥":"⫽⃥","â̸":"∂̸","â¨":"⨔","â":"↛","⤳̸":"⤳̸","â̸":"↝̸","ð":"𝓃","â":"⊄","⫠̸":"⫅̸","â ":"⊅","â«Ì¸":"⫆̸","ñ":"ñ","ν":"ν","#":"#","â":"№","â":" ","â":"⊭","â¤":"⤄","ââ":"≍⃒","â¬":"⊬","â¥â":"≥⃒",">â":">⃒","â§":"⧞","â¤":"⤂","â¤â":"≤⃒","<â":"<⃒","â´â":"⊴⃒","â¤":"⤃","âµâ":"⊵⃒","â¼â":"∼⃒","â":"⇖","⤣":"⤣","⤧":"⤧","ó":"ó","ô":"ô","о":"о","Å":"ő","⨸":"⨸","⦼":"⦼","Å":"œ","⦿":"⦿","ð¬":"𝔬","Ë":"˛","ò":"ò","â§":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","â§":"⧀","Å":"ō","Ï":"ω","ο":"ο","⦶":"⦶","ð ":"𝕠","⦷":"⦷","⦹":"⦹","â¨":"∨","â©":"⩝","â´":"ℴ","ª":"ª","º":"º","â¶":"⊶","â©":"⩖","â©":"⩗","â©":"⩛","ø":"ø","â":"⊘","õ":"õ","⨶":"⨶","ö":"ö","â½":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽","п":"п","%":"%",".":".","â°":"‰","â±":"‱","ð":"𝔭","Ï":"φ","Ï":"ϕ","â":"☎","Ï":"π","Ï":"ϖ","â":"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","â¨":"⨕","ð¡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","â¨":"⋨","â²":"′","â®":"⌮","â":"⌒","â":"⌓","â°":"⊰","ð ":"𝓅","Ï":"ψ","â":" ","ð®":"𝔮","ð¢":"𝕢","â":"⁗","ð":"𝓆","â¨":"⨖","?":"?","â¤":"⤜","⥤":"⥤","â½Ì±":"∽̱","Å":"ŕ","⦳":"⦳","â¦":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","â¤":"⤞","⥠":"⥅","⥴":"⥴","â£":"↣","â":"↝","â¤":"⤚","â¶":"∶","â³":"❳","}":"}","]":"]","â¦":"⦌","â¦":"⦎","â¦":"⦐","Å":"ř","Å":"ŗ","Ñ":"р","⤷":"⤷","⥩":"⥩","â³":"↳","â":"▭","⥽":"⥽","ð¯":"𝔯","⥬":"⥬","Ï":"ρ","ϱ":"ϱ","â":"⇉","â":"⋌","Ë":"˚","â":"‏","â±":"⎱","â«®":"⫮","â":"⟭","â¾":"⇾","â¦":"⦆","ð£":"𝕣","⨮":"⨮","⨵":"⨵",")":")","â¦":"⦔","â¨":"⨒","âº":"›","ð":"𝓇","â":"⋊","â¹":"▹","â§":"⧎","⥨":"⥨","â":"℞","Å":"ś","⪴":"⪴","⪸":"⪸","Å¡":"š","Å":"ş","Å":"ŝ","⪶":"⪶","⪺":"⪺","â©":"⋩","â¨":"⨓","Ñ":"с","â ":"⋅","⩦":"⩦","â":"⇘","§":"§",";":";","⤩":"⤩","â¶":"✶","ð°":"𝔰","â¯":"♯","Ñ":"щ","Ñ":"ш","Â":"­","Ï":"σ","Ï":"ς","⩪":"⩪","âª":"⪞","⪠":"⪠","âª":"⪝","âª":"⪟","â":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","â£":"⌣","⪪":"⪪","⪬":"⪬","⪬ï¸":"⪬︀","Ñ":"ь","/":"/","â§":"⧄","â¿":"⌿","ð¤":"𝕤","â ":"♠","âï¸":"⊓︀","âï¸":"⊔︀","ð":"𝓈","â":"☆","â":"⊂","â« ":"⫅","⪽":"⪽","â«":"⫃","â«":"⫁","â«":"⫋","â":"⊊","⪿":"⪿","⥹":"⥹","â«":"⫇","â«":"⫕","â«":"⫓","âª":"♪","¹":"¹","²":"²","³":"³","â«":"⫆","⪾":"⪾","â«":"⫘","â«":"⫄","â":"⟉","â«":"⫗","⥻":"⥻","â«":"⫂","â«":"⫌","â":"⊋","â«":"⫀","â«":"⫈","â«":"⫔","â«":"⫖","â":"⇙","⤪":"⤪","Ã":"ß","â":"⌖","Ï":"τ","Å¥":"ť","Å£":"ţ","Ñ":"т","â":"⌕","ð±":"𝔱","θ":"θ","Ï":"ϑ","þ":"þ","Ã":"×","⨱":"⨱","⨰":"⨰","â¶":"⌶","⫱":"⫱","ð¥":"𝕥","â«":"⫚","â´":"‴","âµ":"▵","â":"≜","â¬":"◬","⨺":"⨺","⨹":"⨹","â§":"⧍","⨻":"⨻","â¢":"⏢","ð":"𝓉","Ñ":"ц","Ñ":"ћ","ŧ":"ŧ","⥣":"⥣","ú":"ú","Ñ":"ў","Å":"ŭ","û":"û","Ñ":"у","ű":"ű","⥾":"⥾","ð²":"𝔲","ù":"ù","â":"▀","â":"⌜","â":"⌏","â¸":"◸","Å«":"ū","ų":"ų","ð¦":"𝕦","Ï ":"υ","â":"⇈","â":"⌝","â":"⌎","ů":"ů","â¹":"◹","ð":"𝓊","â°":"⋰","Å©":"ũ","ü":"ü","⦧":"⦧","⫨":"⫨","â«©":"⫩","â¦":"⦜","âï¸":"⊊︀","â«ï¸":"⫋︀","âï¸":"⊋︀","â«ï¸":"⫌︀","в":"в","â»":"⊻","â":"≚","â®":"⋮","ð³":"𝔳","ð§":"𝕧","ð":"𝓋","â¦":"⦚","ŵ":"ŵ","â©":"⩟","â":"≙","â":"℘","ð´":"𝔴","ð¨":"𝕨","ð":"𝓌","ðµ":"𝔵","ξ":"ξ","â»":"⋻","ð©":"𝕩","ð":"𝓍","ý":"ý","Ñ":"я","Å·":"ŷ","Ñ":"ы","Â¥":"¥","ð¶":"𝔶","Ñ":"ї","ðª":"𝕪","ð":"𝓎","Ñ":"ю","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ζ":"ζ","ð·":"𝔷","ж":"ж","â":"⇝","ð«":"𝕫","ð":"𝓏","â":"‍","â":"‌"}}}; 2100 2101/***/ }), 2102
vendor: 676 bytes, lines 2103-2113
2103/***/ "./node_modules/html-entities/lib/numeric-unicode-map.js": 2104/*!***************************************************************!*\ 2105 !*** ./node_modules/html-entities/lib/numeric-unicode-map.js ***! 2106 \***************************************************************/ 2107/***/ ((__unused_webpack_module, exports) => { 2108 2109"use strict"; 2110Object.defineProperty(exports, "__esModule", ({value:true}));exports.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}; 2111 2112/***/ }), 2113
vendor: 858 bytes, lines 2114-2124
2114/***/ "./node_modules/html-entities/lib/surrogate-pairs.js": 2115/*!***********************************************************!*\ 2116 !*** ./node_modules/html-entities/lib/surrogate-pairs.js ***! 2117 \***********************************************************/ 2118/***/ ((__unused_webpack_module, exports) => { 2119 2120"use strict"; 2121Object.defineProperty(exports, "__esModule", ({value:true}));exports.fromCodePoint=String.fromCodePoint||function(astralCodePoint){return String.fromCharCode(Math.floor((astralCodePoint-65536)/1024)+55296,(astralCodePoint-65536)%1024+56320)};exports.getCodePoint=String.prototype.codePointAt?function(input,position){return input.codePointAt(position)}:function(input,position){return(input.charCodeAt(position)-55296)*1024+input.charCodeAt(position+1)-56320+65536};exports.highSurrogateFrom=55296;exports.highSurrogateTo=56319; 2122 2123/***/ }), 2124
vendor: 3,463 bytes, lines 2125-2208
2125/***/ "./node_modules/html-react-parser/lib/attributes-to-props.js": 2126/*!*******************************************************************!*\ 2127 !*** ./node_modules/html-react-parser/lib/attributes-to-props.js ***! 2128 \*******************************************************************/ 2129/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 2130 2131"use strict"; 2132 2133Object.defineProperty(exports, "__esModule", ({ value: true })); 2134exports["default"] = attributesToProps; 2135var react_property_1 = __webpack_require__(/*! react-property */ "./node_modules/react-property/lib/index.js"); 2136var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-react-parser/lib/utilities.js"); 2137// https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components 2138// https://developer.mozilla.org/docs/Web/HTML/Attributes 2139var UNCONTROLLED_COMPONENT_ATTRIBUTES = ['checked', 'value']; 2140var UNCONTROLLED_COMPONENT_NAMES = ['input', 'select', 'textarea']; 2141var valueOnlyInputs = { 2142 reset: true, 2143 submit: true, 2144}; 2145/** 2146 * Converts HTML/SVG DOM attributes to React props. 2147 * 2148 * @param attributes - HTML/SVG DOM attributes. 2149 * @param nodeName - DOM node name. 2150 * @returns - React props. 2151 */ 2152function attributesToProps(attributes, nodeName) { 2153 if (attributes === void 0) { attributes = {}; } 2154 var props = {}; 2155 var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]); 2156 for (var attributeName in attributes) { 2157 var attributeValue = attributes[attributeName]; 2158 // ARIA (aria-*) or custom data (data-*) attribute 2159 if ((0, react_property_1.isCustomAttribute)(attributeName)) { 2160 props[attributeName] = attributeValue; 2161 continue; 2162 } 2163 // convert HTML/SVG attribute to React prop 2164 var attributeNameLowerCased = attributeName.toLowerCase(); 2165 var propName = getPropName(attributeNameLowerCased); 2166 if (propName) { 2167 var propertyInfo = (0, react_property_1.getPropertyInfo)(propName); 2168 // convert attribute to uncontrolled component prop (e.g., `value` to `defaultValue`) 2169 if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) && 2170 UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) && 2171 !isInputValueOnly) { 2172 propName = getPropName('default' + attributeNameLowerCased); 2173 } 2174 props[propName] = attributeValue; 2175 switch (propertyInfo && propertyInfo.type) { 2176 case react_property_1.BOOLEAN: 2177 props[propName] = true; 2178 break; 2179 case react_property_1.OVERLOADED_BOOLEAN: 2180 if (attributeValue === '') { 2181 props[propName] = true; 2182 } 2183 break; 2184 } 2185 continue; 2186 } 2187 // preserve custom attribute if React >=16 2188 if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) { 2189 props[attributeName] = attributeValue; 2190 } 2191 } 2192 // transform inline style to object 2193 (0, utilities_1.setStyleProp)(attributes.style, props); 2194 return props; 2195} 2196/** 2197 * Gets prop name from lowercased attribute name. 2198 * 2199 * @param attributeName - Lowercased attribute name. 2200 * @returns - Prop name. 2201 */ 2202function getPropName(attributeName) { 2203 return react_property_1.possibleStandardNames[attributeName]; 2204} 2205//# sourceMappingURL=attributes-to-props.js.map 2206 2207/***/ }), 2208
vendor: 5,631 bytes, lines 2209-2340
2209/***/ "./node_modules/html-react-parser/lib/dom-to-react.js": 2210/*!************************************************************!*\ 2211 !*** ./node_modules/html-react-parser/lib/dom-to-react.js ***! 2212 \************************************************************/ 2213/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2214 2215"use strict"; 2216 2217var __importDefault = (this && this.__importDefault) || function (mod) { 2218 return (mod && mod.__esModule) ? mod : { "default": mod }; 2219}; 2220Object.defineProperty(exports, "__esModule", ({ value: true })); 2221exports["default"] = domToReact; 2222var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 2223var attributes_to_props_1 = __importDefault(__webpack_require__(/*! ./attributes-to-props */ "./node_modules/html-react-parser/lib/attributes-to-props.js")); 2224var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-react-parser/lib/utilities.js"); 2225var React = { 2226 cloneElement: react_1.cloneElement, 2227 createElement: react_1.createElement, 2228 isValidElement: react_1.isValidElement, 2229}; 2230/** 2231 * Converts DOM nodes to JSX element(s). 2232 * 2233 * @param nodes - DOM nodes. 2234 * @param options - Options. 2235 * @returns - String or JSX element(s). 2236 */ 2237function domToReact(nodes, options) { 2238 if (options === void 0) { options = {}; } 2239 var reactElements = []; 2240 var hasReplace = typeof options.replace === 'function'; 2241 var transform = options.transform || utilities_1.returnFirstArg; 2242 var _a = options.library || React, cloneElement = _a.cloneElement, createElement = _a.createElement, isValidElement = _a.isValidElement; 2243 var nodesLength = nodes.length; 2244 for (var index = 0; index < nodesLength; index++) { 2245 var node = nodes[index]; 2246 // replace with custom React element (if present) 2247 if (hasReplace) { 2248 var replaceElement = options.replace(node, index); 2249 if (isValidElement(replaceElement)) { 2250 // set "key" prop for sibling elements 2251 // https://react.dev/learn/rendering-lists#rules-of-keys 2252 if (nodesLength > 1) { 2253 replaceElement = cloneElement(replaceElement, { 2254 key: replaceElement.key || index, 2255 }); 2256 } 2257 reactElements.push(transform(replaceElement, node, index)); 2258 continue; 2259 } 2260 } 2261 if (node.type === 'text') { 2262 var isWhitespace = !node.data.trim().length; 2263 // We have a whitespace node that can't be nested in its parent 2264 // so skip it 2265 if (isWhitespace && 2266 node.parent && 2267 !(0, utilities_1.canTextBeChildOfNode)(node.parent)) { 2268 continue; 2269 } 2270 // Trim is enabled and we have a whitespace node 2271 // so skip it 2272 if (options.trim && isWhitespace) { 2273 continue; 2274 } 2275 // We have a text node that's not whitespace and it can be nested 2276 // in its parent so add it to the results 2277 reactElements.push(transform(node.data, node, index)); 2278 continue; 2279 } 2280 var element = node; 2281 var props = {}; 2282 if (skipAttributesToProps(element)) { 2283 (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs); 2284 props = element.attribs; 2285 } 2286 else if (element.attribs) { 2287 props = (0, attributes_to_props_1.default)(element.attribs, element.name); 2288 } 2289 var children = void 0; 2290 switch (node.type) { 2291 case 'script': 2292 case 'style': 2293 // prevent text in <script> or <style> from being escaped 2294 // https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html 2295 if (node.children[0]) { 2296 props.dangerouslySetInnerHTML = { 2297 __html: node.children[0].data, 2298 }; 2299 } 2300 break; 2301 case 'tag': 2302 // setting textarea value in children is an antipattern in React 2303 // https://react.dev/reference/react-dom/components/textarea#caveats 2304 if (node.name === 'textarea' && node.children[0]) { 2305 props.defaultValue = node.children[0].data; 2306 } 2307 else if (node.children && node.children.length) { 2308 // continue recursion of creating React elements (if applicable) 2309 children = domToReact(node.children, options); 2310 } 2311 break; 2312 // skip all other cases (e.g., comment) 2313 default: 2314 continue; 2315 } 2316 // set "key" prop for sibling elements 2317 // https://react.dev/learn/rendering-lists#rules-of-keys 2318 if (nodesLength > 1) { 2319 props.key = index; 2320 } 2321 reactElements.push(transform(createElement(node.name, props, children), node, index)); 2322 } 2323 return reactElements.length === 1 ? reactElements[0] : reactElements; 2324} 2325/** 2326 * Determines whether DOM element attributes should be transformed to props. 2327 * Web Components should not have their attributes transformed except for `style`. 2328 * 2329 * @param node - Element node. 2330 * @returns - Whether the node attributes should be converted to props. 2331 */ 2332function skipAttributesToProps(node) { 2333 return (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES && 2334 node.type === 'tag' && 2335 (0, utilities_1.isCustomComponent)(node.name, node.attribs)); 2336} 2337//# sourceMappingURL=dom-to-react.js.map 2338 2339/***/ }), 2340
vendor: 2,591 bytes, lines 2341-2386
2341/***/ "./node_modules/html-react-parser/lib/index.js": 2342/*!*****************************************************!*\ 2343 !*** ./node_modules/html-react-parser/lib/index.js ***! 2344 \*****************************************************/ 2345/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2346 2347"use strict"; 2348 2349var __importDefault = (this && this.__importDefault) || function (mod) { 2350 return (mod && mod.__esModule) ? mod : { "default": mod }; 2351}; 2352Object.defineProperty(exports, "__esModule", ({ value: true })); 2353exports.htmlToDOM = exports.domToReact = exports.attributesToProps = exports.Text = exports.ProcessingInstruction = exports.Element = exports.Comment = void 0; 2354exports["default"] = HTMLReactParser; 2355var html_dom_parser_1 = __importDefault(__webpack_require__(/*! html-dom-parser */ "./node_modules/html-dom-parser/lib/client/html-to-dom.js")); 2356exports.htmlToDOM = html_dom_parser_1.default; 2357var attributes_to_props_1 = __importDefault(__webpack_require__(/*! ./attributes-to-props */ "./node_modules/html-react-parser/lib/attributes-to-props.js")); 2358exports.attributesToProps = attributes_to_props_1.default; 2359var dom_to_react_1 = __importDefault(__webpack_require__(/*! ./dom-to-react */ "./node_modules/html-react-parser/lib/dom-to-react.js")); 2360exports.domToReact = dom_to_react_1.default; 2361var domhandler_1 = __webpack_require__(/*! domhandler */ "./node_modules/html-react-parser/node_modules/domhandler/lib/index.js"); 2362Object.defineProperty(exports, "Comment", ({ enumerable: true, get: function () { return domhandler_1.Comment; } })); 2363Object.defineProperty(exports, "Element", ({ enumerable: true, get: function () { return domhandler_1.Element; } })); 2364Object.defineProperty(exports, "ProcessingInstruction", ({ enumerable: true, get: function () { return domhandler_1.ProcessingInstruction; } })); 2365Object.defineProperty(exports, "Text", ({ enumerable: true, get: function () { return domhandler_1.Text; } })); 2366var domParserOptions = { lowerCaseAttributeNames: false }; 2367/** 2368 * Converts HTML string to React elements. 2369 * 2370 * @param html - HTML string. 2371 * @param options - Parser options. 2372 * @returns - React element(s), empty array, or string. 2373 */ 2374function HTMLReactParser(html, options) { 2375 if (typeof html !== 'string') { 2376 throw new TypeError('First argument must be a string'); 2377 } 2378 if (!html) { 2379 return []; 2380 } 2381 return (0, dom_to_react_1.default)((0, html_dom_parser_1.default)(html, (options === null || options === void 0 ? void 0 : options.htmlparser2) || domParserOptions), options); 2382} 2383//# sourceMappingURL=index.js.map 2384 2385/***/ }), 2386
vendor: 3,642 bytes, lines 2387-2500
2387/***/ "./node_modules/html-react-parser/lib/utilities.js": 2388/*!*********************************************************!*\ 2389 !*** ./node_modules/html-react-parser/lib/utilities.js ***! 2390 \*********************************************************/ 2391/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2392 2393"use strict"; 2394 2395var __importDefault = (this && this.__importDefault) || function (mod) { 2396 return (mod && mod.__esModule) ? mod : { "default": mod }; 2397}; 2398Object.defineProperty(exports, "__esModule", ({ value: true })); 2399exports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = void 0; 2400exports.isCustomComponent = isCustomComponent; 2401exports.setStyleProp = setStyleProp; 2402var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 2403var style_to_js_1 = __importDefault(__webpack_require__(/*! style-to-js */ "./node_modules/style-to-js/cjs/index.js")); 2404var RESERVED_SVG_MATHML_ELEMENTS = new Set([ 2405 'annotation-xml', 2406 'color-profile', 2407 'font-face', 2408 'font-face-src', 2409 'font-face-uri', 2410 'font-face-format', 2411 'font-face-name', 2412 'missing-glyph', 2413]); 2414/** 2415 * Check if a tag is a custom component. 2416 * 2417 * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js} 2418 * 2419 * @param tagName - Tag name. 2420 * @param props - Props passed to the element. 2421 * @returns - Whether the tag is custom component. 2422 */ 2423function isCustomComponent(tagName, props) { 2424 if (!tagName.includes('-')) { 2425 return Boolean(props && typeof props.is === 'string'); 2426 } 2427 // These are reserved SVG and MathML elements. 2428 // We don't mind this whitelist too much because we expect it to never grow. 2429 // The alternative is to track the namespace in a few places which is convoluted. 2430 // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts 2431 if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) { 2432 return false; 2433 } 2434 return true; 2435} 2436var styleOptions = { 2437 reactCompat: true, 2438}; 2439/** 2440 * Sets style prop. 2441 * 2442 * @param style - Inline style. 2443 * @param props - Props object. 2444 */ 2445function setStyleProp(style, props) { 2446 if (typeof style !== 'string') { 2447 return; 2448 } 2449 if (!style.trim()) { 2450 props.style = {}; 2451 return; 2452 } 2453 try { 2454 props.style = (0, style_to_js_1.default)(style, styleOptions); 2455 // eslint-disable-next-line @typescript-eslint/no-unused-vars 2456 } 2457 catch (error) { 2458 props.style = {}; 2459 } 2460} 2461/** 2462 * @see https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html 2463 */ 2464exports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split('.')[0]) >= 16; 2465/** 2466 * @see https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213 2467 */ 2468exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = new Set([ 2469 'tr', 2470 'tbody', 2471 'thead', 2472 'tfoot', 2473 'colgroup', 2474 'table', 2475 'head', 2476 'html', 2477 'frameset', 2478]); 2479/** 2480 * Checks if the given node can contain text nodes 2481 * 2482 * @param node - Element node. 2483 * @returns - Whether the node can contain text nodes. 2484 */ 2485var canTextBeChildOfNode = function (node) { 2486 return !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name); 2487}; 2488exports.canTextBeChildOfNode = canTextBeChildOfNode; 2489/** 2490 * Returns the first argument as is. 2491 * 2492 * @param arg - The argument to be returned. 2493 * @returns - The input argument `arg`. 2494 */ 2495var returnFirstArg = function (arg) { return arg; }; 2496exports.returnFirstArg = returnFirstArg; 2497//# sourceMappingURL=utilities.js.map 2498 2499/***/ }), 2500
vendor: 6,768 bytes, lines 2501-2676
2501/***/ "./node_modules/html-react-parser/node_modules/domhandler/lib/index.js": 2502/*!*****************************************************************************!*\ 2503 !*** ./node_modules/html-react-parser/node_modules/domhandler/lib/index.js ***! 2504 \*****************************************************************************/ 2505/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2506 2507"use strict"; 2508 2509var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 2510 if (k2 === undefined) k2 = k; 2511 var desc = Object.getOwnPropertyDescriptor(m, k); 2512 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 2513 desc = { enumerable: true, get: function() { return m[k]; } }; 2514 } 2515 Object.defineProperty(o, k2, desc); 2516}) : (function(o, m, k, k2) { 2517 if (k2 === undefined) k2 = k; 2518 o[k2] = m[k]; 2519})); 2520var __exportStar = (this && this.__exportStar) || function(m, exports) { 2521 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 2522}; 2523Object.defineProperty(exports, "__esModule", ({ value: true })); 2524exports.DomHandler = void 0; 2525var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 2526var node_js_1 = __webpack_require__(/*! ./node.js */ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js"); 2527__exportStar(__webpack_require__(/*! ./node.js */ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js"), exports); 2528// Default options 2529var defaultOpts = { 2530 withStartIndices: false, 2531 withEndIndices: false, 2532 xmlMode: false, 2533}; 2534var DomHandler = /** @class */ (function () { 2535 /** 2536 * @param callback Called once parsing has completed. 2537 * @param options Settings for the handler. 2538 * @param elementCB Callback whenever a tag is closed. 2539 */ 2540 function DomHandler(callback, options, elementCB) { 2541 /** The elements of the DOM */ 2542 this.dom = []; 2543 /** The root element for the DOM */ 2544 this.root = new node_js_1.Document(this.dom); 2545 /** Indicated whether parsing has been completed. */ 2546 this.done = false; 2547 /** Stack of open tags. */ 2548 this.tagStack = [this.root]; 2549 /** A data node that is still being written to. */ 2550 this.lastNode = null; 2551 /** Reference to the parser instance. Used for location information. */ 2552 this.parser = null; 2553 // Make it possible to skip arguments, for backwards-compatibility 2554 if (typeof options === "function") { 2555 elementCB = options; 2556 options = defaultOpts; 2557 } 2558 if (typeof callback === "object") { 2559 options = callback; 2560 callback = undefined; 2561 } 2562 this.callback = callback !== null && callback !== void 0 ? callback : null; 2563 this.options = options !== null && options !== void 0 ? options : defaultOpts; 2564 this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; 2565 } 2566 DomHandler.prototype.onparserinit = function (parser) { 2567 this.parser = parser; 2568 }; 2569 // Resets the handler back to starting state 2570 DomHandler.prototype.onreset = function () { 2571 this.dom = []; 2572 this.root = new node_js_1.Document(this.dom); 2573 this.done = false; 2574 this.tagStack = [this.root]; 2575 this.lastNode = null; 2576 this.parser = null; 2577 }; 2578 // Signals the handler that parsing is done 2579 DomHandler.prototype.onend = function () { 2580 if (this.done) 2581 return; 2582 this.done = true; 2583 this.parser = null; 2584 this.handleCallback(null); 2585 }; 2586 DomHandler.prototype.onerror = function (error) { 2587 this.handleCallback(error); 2588 }; 2589 DomHandler.prototype.onclosetag = function () { 2590 this.lastNode = null; 2591 var elem = this.tagStack.pop(); 2592 if (this.options.withEndIndices) { 2593 elem.endIndex = this.parser.endIndex; 2594 } 2595 if (this.elementCB) 2596 this.elementCB(elem); 2597 }; 2598 DomHandler.prototype.onopentag = function (name, attribs) { 2599 var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined; 2600 var element = new node_js_1.Element(name, attribs, undefined, type); 2601 this.addNode(element); 2602 this.tagStack.push(element); 2603 }; 2604 DomHandler.prototype.ontext = function (data) { 2605 var lastNode = this.lastNode; 2606 if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { 2607 lastNode.data += data; 2608 if (this.options.withEndIndices) { 2609 lastNode.endIndex = this.parser.endIndex; 2610 } 2611 } 2612 else { 2613 var node = new node_js_1.Text(data); 2614 this.addNode(node); 2615 this.lastNode = node; 2616 } 2617 }; 2618 DomHandler.prototype.oncomment = function (data) { 2619 if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { 2620 this.lastNode.data += data; 2621 return; 2622 } 2623 var node = new node_js_1.Comment(data); 2624 this.addNode(node); 2625 this.lastNode = node; 2626 }; 2627 DomHandler.prototype.oncommentend = function () { 2628 this.lastNode = null; 2629 }; 2630 DomHandler.prototype.oncdatastart = function () { 2631 var text = new node_js_1.Text(""); 2632 var node = new node_js_1.CDATA([text]); 2633 this.addNode(node); 2634 text.parent = node; 2635 this.lastNode = text; 2636 }; 2637 DomHandler.prototype.oncdataend = function () { 2638 this.lastNode = null; 2639 }; 2640 DomHandler.prototype.onprocessinginstruction = function (name, data) { 2641 var node = new node_js_1.ProcessingInstruction(name, data); 2642 this.addNode(node); 2643 }; 2644 DomHandler.prototype.handleCallback = function (error) { 2645 if (typeof this.callback === "function") { 2646 this.callback(error, this.dom); 2647 } 2648 else if (error) { 2649 throw error; 2650 } 2651 }; 2652 DomHandler.prototype.addNode = function (node) { 2653 var parent = this.tagStack[this.tagStack.length - 1]; 2654 var previousSibling = parent.children[parent.children.length - 1]; 2655 if (this.options.withStartIndices) { 2656 node.startIndex = this.parser.startIndex; 2657 } 2658 if (this.options.withEndIndices) { 2659 node.endIndex = this.parser.endIndex; 2660 } 2661 parent.children.push(node); 2662 if (previousSibling) { 2663 node.prev = previousSibling; 2664 previousSibling.next = node; 2665 } 2666 node.parent = parent; 2667 this.lastNode = null; 2668 }; 2669 return DomHandler; 2670}()); 2671exports.DomHandler = DomHandler; 2672exports["default"] = DomHandler; 2673 2674 2675/***/ }), 2676
vendor: 15,857 bytes, lines 2677-3161
2677/***/ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js": 2678/*!****************************************************************************!*\ 2679 !*** ./node_modules/html-react-parser/node_modules/domhandler/lib/node.js ***! 2680 \****************************************************************************/ 2681/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2682 2683"use strict"; 2684 2685var __extends = (this && this.__extends) || (function () { 2686 var extendStatics = function (d, b) { 2687 extendStatics = Object.setPrototypeOf || 2688 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 2689 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 2690 return extendStatics(d, b); 2691 }; 2692 return function (d, b) { 2693 if (typeof b !== "function" && b !== null) 2694 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 2695 extendStatics(d, b); 2696 function __() { this.constructor = d; } 2697 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 2698 }; 2699})(); 2700var __assign = (this && this.__assign) || function () { 2701 __assign = Object.assign || function(t) { 2702 for (var s, i = 1, n = arguments.length; i < n; i++) { 2703 s = arguments[i]; 2704 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 2705 t[p] = s[p]; 2706 } 2707 return t; 2708 }; 2709 return __assign.apply(this, arguments); 2710}; 2711Object.defineProperty(exports, "__esModule", ({ value: true })); 2712exports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0; 2713var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 2714/** 2715 * This object will be used as the prototype for Nodes when creating a 2716 * DOM-Level-1-compliant structure. 2717 */ 2718var Node = /** @class */ (function () { 2719 function Node() { 2720 /** Parent of the node */ 2721 this.parent = null; 2722 /** Previous sibling */ 2723 this.prev = null; 2724 /** Next sibling */ 2725 this.next = null; 2726 /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */ 2727 this.startIndex = null; 2728 /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */ 2729 this.endIndex = null; 2730 } 2731 Object.defineProperty(Node.prototype, "parentNode", { 2732 // Read-write aliases for properties 2733 /** 2734 * Same as {@link parent}. 2735 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2736 */ 2737 get: function () { 2738 return this.parent; 2739 }, 2740 set: function (parent) { 2741 this.parent = parent; 2742 }, 2743 enumerable: false, 2744 configurable: true 2745 }); 2746 Object.defineProperty(Node.prototype, "previousSibling", { 2747 /** 2748 * Same as {@link prev}. 2749 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2750 */ 2751 get: function () { 2752 return this.prev; 2753 }, 2754 set: function (prev) { 2755 this.prev = prev; 2756 }, 2757 enumerable: false, 2758 configurable: true 2759 }); 2760 Object.defineProperty(Node.prototype, "nextSibling", { 2761 /** 2762 * Same as {@link next}. 2763 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2764 */ 2765 get: function () { 2766 return this.next; 2767 }, 2768 set: function (next) { 2769 this.next = next; 2770 }, 2771 enumerable: false, 2772 configurable: true 2773 }); 2774 /** 2775 * Clone this node, and optionally its children. 2776 * 2777 * @param recursive Clone child nodes as well. 2778 * @returns A clone of the node. 2779 */ 2780 Node.prototype.cloneNode = function (recursive) { 2781 if (recursive === void 0) { recursive = false; } 2782 return cloneNode(this, recursive); 2783 }; 2784 return Node; 2785}()); 2786exports.Node = Node; 2787/** 2788 * A node that contains some data. 2789 */ 2790var DataNode = /** @class */ (function (_super) { 2791 __extends(DataNode, _super); 2792 /** 2793 * @param data The content of the data node 2794 */ 2795 function DataNode(data) { 2796 var _this = _super.call(this) || this; 2797 _this.data = data; 2798 return _this; 2799 } 2800 Object.defineProperty(DataNode.prototype, "nodeValue", { 2801 /** 2802 * Same as {@link data}. 2803 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2804 */ 2805 get: function () { 2806 return this.data; 2807 }, 2808 set: function (data) { 2809 this.data = data; 2810 }, 2811 enumerable: false, 2812 configurable: true 2813 }); 2814 return DataNode; 2815}(Node)); 2816exports.DataNode = DataNode; 2817/** 2818 * Text within the document. 2819 */ 2820var Text = /** @class */ (function (_super) { 2821 __extends(Text, _super); 2822 function Text() { 2823 var _this = _super !== null && _super.apply(this, arguments) || this; 2824 _this.type = domelementtype_1.ElementType.Text; 2825 return _this; 2826 } 2827 Object.defineProperty(Text.prototype, "nodeType", { 2828 get: function () { 2829 return 3; 2830 }, 2831 enumerable: false, 2832 configurable: true 2833 }); 2834 return Text; 2835}(DataNode)); 2836exports.Text = Text; 2837/** 2838 * Comments within the document. 2839 */ 2840var Comment = /** @class */ (function (_super) { 2841 __extends(Comment, _super); 2842 function Comment() { 2843 var _this = _super !== null && _super.apply(this, arguments) || this; 2844 _this.type = domelementtype_1.ElementType.Comment; 2845 return _this; 2846 } 2847 Object.defineProperty(Comment.prototype, "nodeType", { 2848 get: function () { 2849 return 8; 2850 }, 2851 enumerable: false, 2852 configurable: true 2853 }); 2854 return Comment; 2855}(DataNode)); 2856exports.Comment = Comment; 2857/** 2858 * Processing instructions, including doc types. 2859 */ 2860var ProcessingInstruction = /** @class */ (function (_super) { 2861 __extends(ProcessingInstruction, _super); 2862 function ProcessingInstruction(name, data) { 2863 var _this = _super.call(this, data) || this; 2864 _this.name = name; 2865 _this.type = domelementtype_1.ElementType.Directive; 2866 return _this; 2867 } 2868 Object.defineProperty(ProcessingInstruction.prototype, "nodeType", { 2869 get: function () { 2870 return 1; 2871 }, 2872 enumerable: false, 2873 configurable: true 2874 }); 2875 return ProcessingInstruction; 2876}(DataNode)); 2877exports.ProcessingInstruction = ProcessingInstruction; 2878/** 2879 * A `Node` that can have children. 2880 */ 2881var NodeWithChildren = /** @class */ (function (_super) { 2882 __extends(NodeWithChildren, _super); 2883 /** 2884 * @param children Children of the node. Only certain node types can have children. 2885 */ 2886 function NodeWithChildren(children) { 2887 var _this = _super.call(this) || this; 2888 _this.children = children; 2889 return _this; 2890 } 2891 Object.defineProperty(NodeWithChildren.prototype, "firstChild", { 2892 // Aliases 2893 /** First child of the node. */ 2894 get: function () { 2895 var _a; 2896 return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; 2897 }, 2898 enumerable: false, 2899 configurable: true 2900 }); 2901 Object.defineProperty(NodeWithChildren.prototype, "lastChild", { 2902 /** Last child of the node. */ 2903 get: function () { 2904 return this.children.length > 0 2905 ? this.children[this.children.length - 1] 2906 : null; 2907 }, 2908 enumerable: false, 2909 configurable: true 2910 }); 2911 Object.defineProperty(NodeWithChildren.prototype, "childNodes", { 2912 /** 2913 * Same as {@link children}. 2914 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2915 */ 2916 get: function () { 2917 return this.children; 2918 }, 2919 set: function (children) { 2920 this.children = children; 2921 }, 2922 enumerable: false, 2923 configurable: true 2924 }); 2925 return NodeWithChildren; 2926}(Node)); 2927exports.NodeWithChildren = NodeWithChildren; 2928var CDATA = /** @class */ (function (_super) { 2929 __extends(CDATA, _super); 2930 function CDATA() { 2931 var _this = _super !== null && _super.apply(this, arguments) || this; 2932 _this.type = domelementtype_1.ElementType.CDATA; 2933 return _this; 2934 } 2935 Object.defineProperty(CDATA.prototype, "nodeType", { 2936 get: function () { 2937 return 4; 2938 }, 2939 enumerable: false, 2940 configurable: true 2941 }); 2942 return CDATA; 2943}(NodeWithChildren)); 2944exports.CDATA = CDATA; 2945/** 2946 * The root node of the document. 2947 */ 2948var Document = /** @class */ (function (_super) { 2949 __extends(Document, _super); 2950 function Document() { 2951 var _this = _super !== null && _super.apply(this, arguments) || this; 2952 _this.type = domelementtype_1.ElementType.Root; 2953 return _this; 2954 } 2955 Object.defineProperty(Document.prototype, "nodeType", { 2956 get: function () { 2957 return 9; 2958 }, 2959 enumerable: false, 2960 configurable: true 2961 }); 2962 return Document; 2963}(NodeWithChildren)); 2964exports.Document = Document; 2965/** 2966 * An element within the DOM. 2967 */ 2968var Element = /** @class */ (function (_super) { 2969 __extends(Element, _super); 2970 /** 2971 * @param name Name of the tag, eg. `div`, `span`. 2972 * @param attribs Object mapping attribute names to attribute values. 2973 * @param children Children of the node. 2974 */ 2975 function Element(name, attribs, children, type) { 2976 if (children === void 0) { children = []; } 2977 if (type === void 0) { type = name === "script" 2978 ? domelementtype_1.ElementType.Script 2979 : name === "style" 2980 ? domelementtype_1.ElementType.Style 2981 : domelementtype_1.ElementType.Tag; } 2982 var _this = _super.call(this, children) || this; 2983 _this.name = name; 2984 _this.attribs = attribs; 2985 _this.type = type; 2986 return _this; 2987 } 2988 Object.defineProperty(Element.prototype, "nodeType", { 2989 get: function () { 2990 return 1; 2991 }, 2992 enumerable: false, 2993 configurable: true 2994 }); 2995 Object.defineProperty(Element.prototype, "tagName", { 2996 // DOM Level 1 aliases 2997 /** 2998 * Same as {@link name}. 2999 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3000 */ 3001 get: function () { 3002 return this.name; 3003 }, 3004 set: function (name) { 3005 this.name = name; 3006 }, 3007 enumerable: false, 3008 configurable: true 3009 }); 3010 Object.defineProperty(Element.prototype, "attributes", { 3011 get: function () { 3012 var _this = this; 3013 return Object.keys(this.attribs).map(function (name) { 3014 var _a, _b; 3015 return ({ 3016 name: name, 3017 value: _this.attribs[name], 3018 namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name], 3019 prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name], 3020 }); 3021 }); 3022 }, 3023 enumerable: false, 3024 configurable: true 3025 }); 3026 return Element; 3027}(NodeWithChildren)); 3028exports.Element = Element; 3029/** 3030 * @param node Node to check. 3031 * @returns `true` if the node is a `Element`, `false` otherwise. 3032 */ 3033function isTag(node) { 3034 return (0, domelementtype_1.isTag)(node); 3035} 3036exports.isTag = isTag; 3037/** 3038 * @param node Node to check. 3039 * @returns `true` if the node has the type `CDATA`, `false` otherwise. 3040 */ 3041function isCDATA(node) { 3042 return node.type === domelementtype_1.ElementType.CDATA; 3043} 3044exports.isCDATA = isCDATA; 3045/** 3046 * @param node Node to check. 3047 * @returns `true` if the node has the type `Text`, `false` otherwise. 3048 */ 3049function isText(node) { 3050 return node.type === domelementtype_1.ElementType.Text; 3051} 3052exports.isText = isText; 3053/** 3054 * @param node Node to check. 3055 * @returns `true` if the node has the type `Comment`, `false` otherwise. 3056 */ 3057function isComment(node) { 3058 return node.type === domelementtype_1.ElementType.Comment; 3059} 3060exports.isComment = isComment; 3061/** 3062 * @param node Node to check. 3063 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 3064 */ 3065function isDirective(node) { 3066 return node.type === domelementtype_1.ElementType.Directive; 3067} 3068exports.isDirective = isDirective; 3069/** 3070 * @param node Node to check. 3071 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 3072 */ 3073function isDocument(node) { 3074 return node.type === domelementtype_1.ElementType.Root; 3075} 3076exports.isDocument = isDocument; 3077/** 3078 * @param node Node to check. 3079 * @returns `true` if the node has children, `false` otherwise. 3080 */ 3081function hasChildren(node) { 3082 return Object.prototype.hasOwnProperty.call(node, "children"); 3083} 3084exports.hasChildren = hasChildren; 3085/** 3086 * Clone a node, and optionally its children. 3087 * 3088 * @param recursive Clone child nodes as well. 3089 * @returns A clone of the node. 3090 */ 3091function cloneNode(node, recursive) { 3092 if (recursive === void 0) { recursive = false; } 3093 var result; 3094 if (isText(node)) { 3095 result = new Text(node.data); 3096 } 3097 else if (isComment(node)) { 3098 result = new Comment(node.data); 3099 } 3100 else if (isTag(node)) { 3101 var children = recursive ? cloneChildren(node.children) : []; 3102 var clone_1 = new Element(node.name, __assign({}, node.attribs), children); 3103 children.forEach(function (child) { return (child.parent = clone_1); }); 3104 if (node.namespace != null) { 3105 clone_1.namespace = node.namespace; 3106 } 3107 if (node["x-attribsNamespace"]) { 3108 clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]); 3109 } 3110 if (node["x-attribsPrefix"]) { 3111 clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]); 3112 } 3113 result = clone_1; 3114 } 3115 else if (isCDATA(node)) { 3116 var children = recursive ? cloneChildren(node.children) : []; 3117 var clone_2 = new CDATA(children); 3118 children.forEach(function (child) { return (child.parent = clone_2); }); 3119 result = clone_2; 3120 } 3121 else if (isDocument(node)) { 3122 var children = recursive ? cloneChildren(node.children) : []; 3123 var clone_3 = new Document(children); 3124 children.forEach(function (child) { return (child.parent = clone_3); }); 3125 if (node["x-mode"]) { 3126 clone_3["x-mode"] = node["x-mode"]; 3127 } 3128 result = clone_3; 3129 } 3130 else if (isDirective(node)) { 3131 var instruction = new ProcessingInstruction(node.name, node.data); 3132 if (node["x-name"] != null) { 3133 instruction["x-name"] = node["x-name"]; 3134 instruction["x-publicId"] = node["x-publicId"]; 3135 instruction["x-systemId"] = node["x-systemId"]; 3136 } 3137 result = instruction; 3138 } 3139 else { 3140 throw new Error("Not implemented yet: ".concat(node.type)); 3141 } 3142 result.startIndex = node.startIndex; 3143 result.endIndex = node.endIndex; 3144 if (node.sourceCodeLocation != null) { 3145 result.sourceCodeLocation = node.sourceCodeLocation; 3146 } 3147 return result; 3148} 3149exports.cloneNode = cloneNode; 3150function cloneChildren(childs) { 3151 var children = childs.map(function (child) { return cloneNode(child, true); }); 3152 for (var i = 1; i < children.length; i++) { 3153 children[i].prev = children[i - 1]; 3154 children[i - 1].next = children[i]; 3155 } 3156 return children; 3157} 3158 3159 3160/***/ }), 3161
vendor: 5,353 bytes, lines 3162-3432
3162/***/ "./node_modules/inline-style-parser/index.js": 3163/*!***************************************************!*\ 3164 !*** ./node_modules/inline-style-parser/index.js ***! 3165 \***************************************************/ 3166/***/ ((module) => { 3167 3168// http://www.w3.org/TR/CSS21/grammar.html 3169// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027 3170var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g; 3171 3172var NEWLINE_REGEX = /\n/g; 3173var WHITESPACE_REGEX = /^\s*/; 3174 3175// declaration 3176var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/; 3177var COLON_REGEX = /^:\s*/; 3178var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/; 3179var SEMICOLON_REGEX = /^[;\s]*/; 3180 3181// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill 3182var TRIM_REGEX = /^\s+|\s+$/g; 3183 3184// strings 3185var NEWLINE = '\n'; 3186var FORWARD_SLASH = '/'; 3187var ASTERISK = '*'; 3188var EMPTY_STRING = ''; 3189 3190// types 3191var TYPE_COMMENT = 'comment'; 3192var TYPE_DECLARATION = 'declaration'; 3193 3194/** 3195 * @param {String} style 3196 * @param {Object} [options] 3197 * @return {Object[]} 3198 * @throws {TypeError} 3199 * @throws {Error} 3200 */ 3201module.exports = function (style, options) { 3202 if (typeof style !== 'string') { 3203 throw new TypeError('First argument must be a string'); 3204 } 3205 3206 if (!style) return []; 3207 3208 options = options || {}; 3209 3210 /** 3211 * Positional. 3212 */ 3213 var lineno = 1; 3214 var column = 1; 3215 3216 /** 3217 * Update lineno and column based on `str`. 3218 * 3219 * @param {String} str 3220 */ 3221 function updatePosition(str) { 3222 var lines = str.match(NEWLINE_REGEX); 3223 if (lines) lineno += lines.length; 3224 var i = str.lastIndexOf(NEWLINE); 3225 column = ~i ? str.length - i : column + str.length; 3226 } 3227 3228 /** 3229 * Mark position and patch `node.position`. 3230 * 3231 * @return {Function} 3232 */ 3233 function position() { 3234 var start = { line: lineno, column: column }; 3235 return function (node) { 3236 node.position = new Position(start); 3237 whitespace(); 3238 return node; 3239 }; 3240 } 3241 3242 /** 3243 * Store position information for a node. 3244 * 3245 * @constructor 3246 * @property {Object} start 3247 * @property {Object} end 3248 * @property {undefined|String} source 3249 */ 3250 function Position(start) { 3251 this.start = start; 3252 this.end = { line: lineno, column: column }; 3253 this.source = options.source; 3254 } 3255 3256 /** 3257 * Non-enumerable source string. 3258 */ 3259 Position.prototype.content = style; 3260 3261 var errorsList = []; 3262 3263 /** 3264 * Error `msg`. 3265 * 3266 * @param {String} msg 3267 * @throws {Error} 3268 */ 3269 function error(msg) { 3270 var err = new Error( 3271 options.source + ':' + lineno + ':' + column + ': ' + msg 3272 ); 3273 err.reason = msg; 3274 err.filename = options.source; 3275 err.line = lineno; 3276 err.column = column; 3277 err.source = style; 3278 3279 if (options.silent) { 3280 errorsList.push(err); 3281 } else { 3282 throw err; 3283 } 3284 } 3285 3286 /** 3287 * Match `re` and return captures. 3288 * 3289 * @param {RegExp} re 3290 * @return {undefined|Array} 3291 */ 3292 function match(re) { 3293 var m = re.exec(style); 3294 if (!m) return; 3295 var str = m[0]; 3296 updatePosition(str); 3297 style = style.slice(str.length); 3298 return m; 3299 } 3300 3301 /** 3302 * Parse whitespace. 3303 */ 3304 function whitespace() { 3305 match(WHITESPACE_REGEX); 3306 } 3307 3308 /** 3309 * Parse comments. 3310 * 3311 * @param {Object[]} [rules] 3312 * @return {Object[]} 3313 */ 3314 function comments(rules) { 3315 var c; 3316 rules = rules || []; 3317 while ((c = comment())) { 3318 if (c !== false) { 3319 rules.push(c); 3320 } 3321 } 3322 return rules; 3323 } 3324 3325 /** 3326 * Parse comment. 3327 * 3328 * @return {Object} 3329 * @throws {Error} 3330 */ 3331 function comment() { 3332 var pos = position(); 3333 if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return; 3334 3335 var i = 2; 3336 while ( 3337 EMPTY_STRING != style.charAt(i) && 3338 (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1)) 3339 ) { 3340 ++i; 3341 } 3342 i += 2; 3343 3344 if (EMPTY_STRING === style.charAt(i - 1)) { 3345 return error('End of comment missing'); 3346 } 3347 3348 var str = style.slice(2, i - 2); 3349 column += 2; 3350 updatePosition(str); 3351 style = style.slice(i); 3352 column += 2; 3353 3354 return pos({ 3355 type: TYPE_COMMENT, 3356 comment: str 3357 }); 3358 } 3359 3360 /** 3361 * Parse declaration. 3362 * 3363 * @return {Object} 3364 * @throws {Error} 3365 */ 3366 function declaration() { 3367 var pos = position(); 3368 3369 // prop 3370 var prop = match(PROPERTY_REGEX); 3371 if (!prop) return; 3372 comment(); 3373 3374 // : 3375 if (!match(COLON_REGEX)) return error("property missing ':'"); 3376 3377 // val 3378 var val = match(VALUE_REGEX); 3379 3380 var ret = pos({ 3381 type: TYPE_DECLARATION, 3382 property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)), 3383 value: val 3384 ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) 3385 : EMPTY_STRING 3386 }); 3387 3388 // ; 3389 match(SEMICOLON_REGEX); 3390 3391 return ret; 3392 } 3393 3394 /** 3395 * Parse declarations. 3396 * 3397 * @return {Object[]} 3398 */ 3399 function declarations() { 3400 var decls = []; 3401 3402 comments(decls); 3403 3404 // declarations 3405 var decl; 3406 while ((decl = declaration())) { 3407 if (decl !== false) { 3408 decls.push(decl); 3409 comments(decls); 3410 } 3411 } 3412 3413 return decls; 3414 } 3415 3416 whitespace(); 3417 return declarations(); 3418}; 3419 3420/** 3421 * Trim `str`. 3422 * 3423 * @param {String} str 3424 * @return {String} 3425 */ 3426function trim(str) { 3427 return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING; 3428} 3429 3430 3431/***/ }), 3432
vendor: 2,343 bytes, lines 3433-3533
3433/***/ "./node_modules/object-assign/index.js": 3434/*!*********************************************!*\ 3435 !*** ./node_modules/object-assign/index.js ***! 3436 \*********************************************/ 3437/***/ ((module) => { 3438 3439"use strict"; 3440/* 3441object-assign 3442(c) Sindre Sorhus 3443@license MIT 3444*/ 3445 3446 3447/* eslint-disable no-unused-vars */ 3448var getOwnPropertySymbols = Object.getOwnPropertySymbols; 3449var hasOwnProperty = Object.prototype.hasOwnProperty; 3450var propIsEnumerable = Object.prototype.propertyIsEnumerable; 3451 3452function toObject(val) { 3453 if (val === null || val === undefined) { 3454 throw new TypeError('Object.assign cannot be called with null or undefined'); 3455 } 3456 3457 return Object(val); 3458} 3459 3460function shouldUseNative() { 3461 try { 3462 if (!Object.assign) { 3463 return false; 3464 } 3465 3466 // Detect buggy property enumeration order in older V8 versions. 3467 3468 // https://bugs.chromium.org/p/v8/issues/detail?id=4118 3469 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers 3470 test1[5] = 'de'; 3471 if (Object.getOwnPropertyNames(test1)[0] === '5') { 3472 return false; 3473 } 3474 3475 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 3476 var test2 = {}; 3477 for (var i = 0; i < 10; i++) { 3478 test2['_' + String.fromCharCode(i)] = i; 3479 } 3480 var order2 = Object.getOwnPropertyNames(test2).map(function (n) { 3481 return test2[n]; 3482 }); 3483 if (order2.join('') !== '0123456789') { 3484 return false; 3485 } 3486 3487 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 3488 var test3 = {}; 3489 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { 3490 test3[letter] = letter; 3491 }); 3492 if (Object.keys(Object.assign({}, test3)).join('') !== 3493 'abcdefghijklmnopqrst') { 3494 return false; 3495 } 3496 3497 return true; 3498 } catch (err) { 3499 // We don't expect any of the above to throw, but better to be safe. 3500 return false; 3501 } 3502} 3503 3504module.exports = shouldUseNative() ? Object.assign : function (target, source) { 3505 var from; 3506 var to = toObject(target); 3507 var symbols; 3508 3509 for (var s = 1; s < arguments.length; s++) { 3510 from = Object(arguments[s]); 3511 3512 for (var key in from) { 3513 if (hasOwnProperty.call(from, key)) { 3514 to[key] = from[key]; 3515 } 3516 } 3517 3518 if (getOwnPropertySymbols) { 3519 symbols = getOwnPropertySymbols(from); 3520 for (var i = 0; i < symbols.length; i++) { 3521 if (propIsEnumerable.call(from, symbols[i])) { 3522 to[symbols[i]] = from[symbols[i]]; 3523 } 3524 } 3525 } 3526 } 3527 3528 return to; 3529}; 3530 3531 3532/***/ }), 3533
vendor: 4,204 bytes, lines 3534-3647
3534/***/ "./node_modules/prop-types/checkPropTypes.js": 3535/*!***************************************************!*\ 3536 !*** ./node_modules/prop-types/checkPropTypes.js ***! 3537 \***************************************************/ 3538/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 3539 3540"use strict"; 3541/** 3542 * Copyright (c) 2013-present, Facebook, Inc. 3543 * 3544 * This source code is licensed under the MIT license found in the 3545 * LICENSE file in the root directory of this source tree. 3546 */ 3547 3548 3549 3550var printWarning = function() {}; 3551 3552if (true) { 3553 var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"); 3554 var loggedTypeFailures = {}; 3555 var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js"); 3556 3557 printWarning = function(text) { 3558 var message = 'Warning: ' + text; 3559 if (typeof console !== 'undefined') { 3560 console.error(message); 3561 } 3562 try { 3563 // --- Welcome to debugging React --- 3564 // This error was thrown as a convenience so that you can use this stack 3565 // to find the callsite that caused this warning to fire. 3566 throw new Error(message); 3567 } catch (x) { /**/ } 3568 }; 3569} 3570 3571/** 3572 * Assert that the values match with the type specs. 3573 * Error messages are memorized and will only be shown once. 3574 * 3575 * @param {object} typeSpecs Map of name to a ReactPropType 3576 * @param {object} values Runtime values that need to be type-checked 3577 * @param {string} location e.g. "prop", "context", "child context" 3578 * @param {string} componentName Name of the component for error messages. 3579 * @param {?Function} getStack Returns the component stack. 3580 * @private 3581 */ 3582function checkPropTypes(typeSpecs, values, location, componentName, getStack) { 3583 if (true) { 3584 for (var typeSpecName in typeSpecs) { 3585 if (has(typeSpecs, typeSpecName)) { 3586 var error; 3587 // Prop type validation may throw. In case they do, we don't want to 3588 // fail the render phase where it didn't fail before. So we log it. 3589 // After these have been cleaned up, we'll let them throw. 3590 try { 3591 // This is intentionally an invariant that gets caught. It's the same 3592 // behavior as without this statement except with a better message. 3593 if (typeof typeSpecs[typeSpecName] !== 'function') { 3594 var err = Error( 3595 (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 3596 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 3597 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' 3598 ); 3599 err.name = 'Invariant Violation'; 3600 throw err; 3601 } 3602 error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); 3603 } catch (ex) { 3604 error = ex; 3605 } 3606 if (error && !(error instanceof Error)) { 3607 printWarning( 3608 (componentName || 'React class') + ': type specification of ' + 3609 location + ' `' + typeSpecName + '` is invalid; the type checker ' + 3610 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 3611 'You may have forgotten to pass an argument to the type checker ' + 3612 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 3613 'shape all require an argument).' 3614 ); 3615 } 3616 if (error instanceof Error && !(error.message in loggedTypeFailures)) { 3617 // Only monitor this failure once because there tends to be a lot of the 3618 // same error. 3619 loggedTypeFailures[error.message] = true; 3620 3621 var stack = getStack ? getStack() : ''; 3622 3623 printWarning( 3624 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') 3625 ); 3626 } 3627 } 3628 } 3629 } 3630} 3631 3632/** 3633 * Resets warning cache when testing. 3634 * 3635 * @private 3636 */ 3637checkPropTypes.resetWarningCache = function() { 3638 if (true) { 3639 loggedTypeFailures = {}; 3640 } 3641} 3642 3643module.exports = checkPropTypes; 3644 3645 3646/***/ }), 3647
vendor: 613 bytes, lines 3648-3670
3648/***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js": 3649/*!*************************************************************!*\ 3650 !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***! 3651 \*************************************************************/ 3652/***/ ((module) => { 3653 3654"use strict"; 3655/** 3656 * Copyright (c) 2013-present, Facebook, Inc. 3657 * 3658 * This source code is licensed under the MIT license found in the 3659 * LICENSE file in the root directory of this source tree. 3660 */ 3661 3662 3663 3664var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; 3665 3666module.exports = ReactPropTypesSecret; 3667 3668 3669/***/ }), 3670
vendor: 300 bytes, lines 3671-3681
3671/***/ "./node_modules/prop-types/lib/has.js": 3672/*!********************************************!*\ 3673 !*** ./node_modules/prop-types/lib/has.js ***! 3674 \********************************************/ 3675/***/ ((module) => { 3676 3677module.exports = Function.call.bind(Object.prototype.hasOwnProperty); 3678 3679 3680/***/ }), 3681
vendor: 14,478 bytes, lines 3682-4212
3682/***/ "./node_modules/react-property/lib/index.js": 3683/*!**************************************************!*\ 3684 !*** ./node_modules/react-property/lib/index.js ***! 3685 \**************************************************/ 3686/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 3687 3688"use strict"; 3689 3690 3691/** 3692 * Copyright (c) Facebook, Inc. and its affiliates. 3693 * 3694 * This source code is licensed under the MIT license found in the 3695 * LICENSE file in the root directory of this source tree. 3696 * 3697 * 3698 */ 3699 3700 3701 3702 3703// A reserved attribute. 3704// It is handled by React separately and shouldn't be written to the DOM. 3705const RESERVED = 0; 3706 3707// A simple string attribute. 3708// Attributes that aren't in the filter are presumed to have this type. 3709const STRING = 1; 3710 3711// A string attribute that accepts booleans in React. In HTML, these are called 3712// "enumerated" attributes with "true" and "false" as possible values. 3713// When true, it should be set to a "true" string. 3714// When false, it should be set to a "false" string. 3715const BOOLEANISH_STRING = 2; 3716 3717// A real boolean attribute. 3718// When true, it should be present (set either to an empty string or its name). 3719// When false, it should be omitted. 3720const BOOLEAN = 3; 3721 3722// An attribute that can be used as a flag as well as with a value. 3723// When true, it should be present (set either to an empty string or its name). 3724// When false, it should be omitted. 3725// For any other value, should be present with that value. 3726const OVERLOADED_BOOLEAN = 4; 3727 3728// An attribute that must be numeric or parse as a numeric. 3729// When falsy, it should be removed. 3730const NUMERIC = 5; 3731 3732// An attribute that must be positive numeric or parse as a positive numeric. 3733// When falsy, it should be removed. 3734const POSITIVE_NUMERIC = 6; 3735 3736function getPropertyInfo(name) { 3737 return properties.hasOwnProperty(name) ? properties[name] : null; 3738} 3739 3740function PropertyInfoRecord( 3741 name, 3742 type, 3743 mustUseProperty, 3744 attributeName, 3745 attributeNamespace, 3746 sanitizeURL, 3747 removeEmptyString, 3748) { 3749 this.acceptsBooleans = 3750 type === BOOLEANISH_STRING || 3751 type === BOOLEAN || 3752 type === OVERLOADED_BOOLEAN; 3753 this.attributeName = attributeName; 3754 this.attributeNamespace = attributeNamespace; 3755 this.mustUseProperty = mustUseProperty; 3756 this.propertyName = name; 3757 this.type = type; 3758 this.sanitizeURL = sanitizeURL; 3759 this.removeEmptyString = removeEmptyString; 3760} 3761 3762// When adding attributes to this list, be sure to also add them to 3763// the `possibleStandardNames` module to ensure casing and incorrect 3764// name warnings. 3765const properties = {}; 3766 3767// These props are reserved by React. They shouldn't be written to the DOM. 3768const reservedProps = [ 3769 'children', 3770 'dangerouslySetInnerHTML', 3771 // TODO: This prevents the assignment of defaultValue to regular 3772 // elements (not just inputs). Now that ReactDOMInput assigns to the 3773 // defaultValue property -- do we need this? 3774 'defaultValue', 3775 'defaultChecked', 3776 'innerHTML', 3777 'suppressContentEditableWarning', 3778 'suppressHydrationWarning', 3779 'style', 3780]; 3781 3782reservedProps.forEach(name => { 3783 properties[name] = new PropertyInfoRecord( 3784 name, 3785 RESERVED, 3786 false, // mustUseProperty 3787 name, // attributeName 3788 null, // attributeNamespace 3789 false, // sanitizeURL 3790 false, // removeEmptyString 3791 ); 3792}); 3793 3794// A few React string attributes have a different name. 3795// This is a mapping from React prop names to the attribute names. 3796[ 3797 ['acceptCharset', 'accept-charset'], 3798 ['className', 'class'], 3799 ['htmlFor', 'for'], 3800 ['httpEquiv', 'http-equiv'], 3801].forEach(([name, attributeName]) => { 3802 properties[name] = new PropertyInfoRecord( 3803 name, 3804 STRING, 3805 false, // mustUseProperty 3806 attributeName, // attributeName 3807 null, // attributeNamespace 3808 false, // sanitizeURL 3809 false, // removeEmptyString 3810 ); 3811}); 3812 3813// These are "enumerated" HTML attributes that accept "true" and "false". 3814// In React, we let users pass `true` and `false` even though technically 3815// these aren't boolean attributes (they are coerced to strings). 3816['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(name => { 3817 properties[name] = new PropertyInfoRecord( 3818 name, 3819 BOOLEANISH_STRING, 3820 false, // mustUseProperty 3821 name.toLowerCase(), // attributeName 3822 null, // attributeNamespace 3823 false, // sanitizeURL 3824 false, // removeEmptyString 3825 ); 3826}); 3827 3828// These are "enumerated" SVG attributes that accept "true" and "false". 3829// In React, we let users pass `true` and `false` even though technically 3830// these aren't boolean attributes (they are coerced to strings). 3831// Since these are SVG attributes, their attribute names are case-sensitive. 3832[ 3833 'autoReverse', 3834 'externalResourcesRequired', 3835 'focusable', 3836 'preserveAlpha', 3837].forEach(name => { 3838 properties[name] = new PropertyInfoRecord( 3839 name, 3840 BOOLEANISH_STRING, 3841 false, // mustUseProperty 3842 name, // attributeName 3843 null, // attributeNamespace 3844 false, // sanitizeURL 3845 false, // removeEmptyString 3846 ); 3847}); 3848 3849// These are HTML boolean attributes. 3850[ 3851 'allowFullScreen', 3852 'async', 3853 // Note: there is a special case that prevents it from being written to the DOM 3854 // on the client side because the browsers are inconsistent. Instead we call focus(). 3855 'autoFocus', 3856 'autoPlay', 3857 'controls', 3858 'default', 3859 'defer', 3860 'disabled', 3861 'disablePictureInPicture', 3862 'disableRemotePlayback', 3863 'formNoValidate', 3864 'hidden', 3865 'loop', 3866 'noModule', 3867 'noValidate', 3868 'open', 3869 'playsInline', 3870 'readOnly', 3871 'required', 3872 'reversed', 3873 'scoped', 3874 'seamless', 3875 // Microdata 3876 'itemScope', 3877].forEach(name => { 3878 properties[name] = new PropertyInfoRecord( 3879 name, 3880 BOOLEAN, 3881 false, // mustUseProperty 3882 name.toLowerCase(), // attributeName 3883 null, // attributeNamespace 3884 false, // sanitizeURL 3885 false, // removeEmptyString 3886 ); 3887}); 3888 3889// These are the few React props that we set as DOM properties 3890// rather than attributes. These are all booleans. 3891[ 3892 'checked', 3893 // Note: `option.selected` is not updated if `select.multiple` is 3894 // disabled with `removeAttribute`. We have special logic for handling this. 3895 'multiple', 3896 'muted', 3897 'selected', 3898 3899 // NOTE: if you add a camelCased prop to this list, 3900 // you'll need to set attributeName to name.toLowerCase() 3901 // instead in the assignment below. 3902].forEach(name => { 3903 properties[name] = new PropertyInfoRecord( 3904 name, 3905 BOOLEAN, 3906 true, // mustUseProperty 3907 name, // attributeName 3908 null, // attributeNamespace 3909 false, // sanitizeURL 3910 false, // removeEmptyString 3911 ); 3912}); 3913 3914// These are HTML attributes that are "overloaded booleans": they behave like 3915// booleans, but can also accept a string value. 3916[ 3917 'capture', 3918 'download', 3919 3920 // NOTE: if you add a camelCased prop to this list, 3921 // you'll need to set attributeName to name.toLowerCase() 3922 // instead in the assignment below. 3923].forEach(name => { 3924 properties[name] = new PropertyInfoRecord( 3925 name, 3926 OVERLOADED_BOOLEAN, 3927 false, // mustUseProperty 3928 name, // attributeName 3929 null, // attributeNamespace 3930 false, // sanitizeURL 3931 false, // removeEmptyString 3932 ); 3933}); 3934 3935// These are HTML attributes that must be positive numbers. 3936[ 3937 'cols', 3938 'rows', 3939 'size', 3940 'span', 3941 3942 // NOTE: if you add a camelCased prop to this list, 3943 // you'll need to set attributeName to name.toLowerCase() 3944 // instead in the assignment below. 3945].forEach(name => { 3946 properties[name] = new PropertyInfoRecord( 3947 name, 3948 POSITIVE_NUMERIC, 3949 false, // mustUseProperty 3950 name, // attributeName 3951 null, // attributeNamespace 3952 false, // sanitizeURL 3953 false, // removeEmptyString 3954 ); 3955}); 3956 3957// These are HTML attributes that must be numbers. 3958['rowSpan', 'start'].forEach(name => { 3959 properties[name] = new PropertyInfoRecord( 3960 name, 3961 NUMERIC, 3962 false, // mustUseProperty 3963 name.toLowerCase(), // attributeName 3964 null, // attributeNamespace 3965 false, // sanitizeURL 3966 false, // removeEmptyString 3967 ); 3968}); 3969 3970const CAMELIZE = /[\-\:]([a-z])/g; 3971const capitalize = token => token[1].toUpperCase(); 3972 3973// This is a list of all SVG attributes that need special casing, namespacing, 3974// or boolean value assignment. Regular attributes that just accept strings 3975// and have the same names are omitted, just like in the HTML attribute filter. 3976// Some of these attributes can be hard to find. This list was created by 3977// scraping the MDN documentation. 3978[ 3979 'accent-height', 3980 'alignment-baseline', 3981 'arabic-form', 3982 'baseline-shift', 3983 'cap-height', 3984 'clip-path', 3985 'clip-rule', 3986 'color-interpolation', 3987 'color-interpolation-filters', 3988 'color-profile', 3989 'color-rendering', 3990 'dominant-baseline', 3991 'enable-background', 3992 'fill-opacity', 3993 'fill-rule', 3994 'flood-color', 3995 'flood-opacity', 3996 'font-family', 3997 'font-size', 3998 'font-size-adjust', 3999 'font-stretch', 4000 'font-style', 4001 'font-variant', 4002 'font-weight', 4003 'glyph-name', 4004 'glyph-orientation-horizontal', 4005 'glyph-orientation-vertical', 4006 'horiz-adv-x', 4007 'horiz-origin-x', 4008 'image-rendering', 4009 'letter-spacing', 4010 'lighting-color', 4011 'marker-end', 4012 'marker-mid', 4013 'marker-start', 4014 'overline-position', 4015 'overline-thickness', 4016 'paint-order', 4017 'panose-1', 4018 'pointer-events', 4019 'rendering-intent', 4020 'shape-rendering', 4021 'stop-color', 4022 'stop-opacity', 4023 'strikethrough-position', 4024 'strikethrough-thickness', 4025 'stroke-dasharray', 4026 'stroke-dashoffset', 4027 'stroke-linecap', 4028 'stroke-linejoin', 4029 'stroke-miterlimit', 4030 'stroke-opacity', 4031 'stroke-width', 4032 'text-anchor', 4033 'text-decoration', 4034 'text-rendering', 4035 'underline-position', 4036 'underline-thickness', 4037 'unicode-bidi', 4038 'unicode-range', 4039 'units-per-em', 4040 'v-alphabetic', 4041 'v-hanging', 4042 'v-ideographic', 4043 'v-mathematical', 4044 'vector-effect', 4045 'vert-adv-y', 4046 'vert-origin-x', 4047 'vert-origin-y', 4048 'word-spacing', 4049 'writing-mode', 4050 'xmlns:xlink', 4051 'x-height', 4052 4053 // NOTE: if you add a camelCased prop to this list, 4054 // you'll need to set attributeName to name.toLowerCase() 4055 // instead in the assignment below. 4056].forEach(attributeName => { 4057 const name = attributeName.replace(CAMELIZE, capitalize); 4058 properties[name] = new PropertyInfoRecord( 4059 name, 4060 STRING, 4061 false, // mustUseProperty 4062 attributeName, 4063 null, // attributeNamespace 4064 false, // sanitizeURL 4065 false, // removeEmptyString 4066 ); 4067}); 4068 4069// String SVG attributes with the xlink namespace. 4070[ 4071 'xlink:actuate', 4072 'xlink:arcrole', 4073 'xlink:role', 4074 'xlink:show', 4075 'xlink:title', 4076 'xlink:type', 4077 4078 // NOTE: if you add a camelCased prop to this list, 4079 // you'll need to set attributeName to name.toLowerCase() 4080 // instead in the assignment below. 4081].forEach(attributeName => { 4082 const name = attributeName.replace(CAMELIZE, capitalize); 4083 properties[name] = new PropertyInfoRecord( 4084 name, 4085 STRING, 4086 false, // mustUseProperty 4087 attributeName, 4088 'http://www.w3.org/1999/xlink', 4089 false, // sanitizeURL 4090 false, // removeEmptyString 4091 ); 4092}); 4093 4094// String SVG attributes with the xml namespace. 4095[ 4096 'xml:base', 4097 'xml:lang', 4098 'xml:space', 4099 4100 // NOTE: if you add a camelCased prop to this list, 4101 // you'll need to set attributeName to name.toLowerCase() 4102 // instead in the assignment below. 4103].forEach(attributeName => { 4104 const name = attributeName.replace(CAMELIZE, capitalize); 4105 properties[name] = new PropertyInfoRecord( 4106 name, 4107 STRING, 4108 false, // mustUseProperty 4109 attributeName, 4110 'http://www.w3.org/XML/1998/namespace', 4111 false, // sanitizeURL 4112 false, // removeEmptyString 4113 ); 4114}); 4115 4116// These attribute exists both in HTML and SVG. 4117// The attribute name is case-sensitive in SVG so we can't just use 4118// the React name like we do for attributes that exist only in HTML. 4119['tabIndex', 'crossOrigin'].forEach(attributeName => { 4120 properties[attributeName] = new PropertyInfoRecord( 4121 attributeName, 4122 STRING, 4123 false, // mustUseProperty 4124 attributeName.toLowerCase(), // attributeName 4125 null, // attributeNamespace 4126 false, // sanitizeURL 4127 false, // removeEmptyString 4128 ); 4129}); 4130 4131// These attributes accept URLs. These must not allow javascript: URLS. 4132// These will also need to accept Trusted Types object in the future. 4133const xlinkHref = 'xlinkHref'; 4134properties[xlinkHref] = new PropertyInfoRecord( 4135 'xlinkHref', 4136 STRING, 4137 false, // mustUseProperty 4138 'xlink:href', 4139 'http://www.w3.org/1999/xlink', 4140 true, // sanitizeURL 4141 false, // removeEmptyString 4142); 4143 4144['src', 'href', 'action', 'formAction'].forEach(attributeName => { 4145 properties[attributeName] = new PropertyInfoRecord( 4146 attributeName, 4147 STRING, 4148 false, // mustUseProperty 4149 attributeName.toLowerCase(), // attributeName 4150 null, // attributeNamespace 4151 true, // sanitizeURL 4152 true, // removeEmptyString 4153 ); 4154}); 4155 4156// 4157const { 4158 CAMELCASE, 4159 SAME, 4160 possibleStandardNames: possibleStandardNamesOptimized 4161} = __webpack_require__(/*! ../lib/possibleStandardNamesOptimized */ "./node_modules/react-property/lib/possibleStandardNamesOptimized.js"); 4162 4163const ATTRIBUTE_NAME_START_CHAR = 4164 ':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; 4165 4166const ATTRIBUTE_NAME_CHAR = 4167 ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; 4168 4169/** 4170 * Checks whether a property name is a custom attribute. 4171 * 4172 * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25 4173 * 4174 * @type {(attribute: string) => boolean} 4175 */ 4176const isCustomAttribute = 4177 RegExp.prototype.test.bind( 4178 // eslint-disable-next-line no-misleading-character-class 4179 new RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$') 4180 ); 4181 4182/** 4183 * @type {Record<string, string>} 4184 */ 4185const possibleStandardNames = Object.keys( 4186 possibleStandardNamesOptimized 4187).reduce((accumulator, standardName) => { 4188 const propName = possibleStandardNamesOptimized[standardName]; 4189 if (propName === SAME) { 4190 accumulator[standardName] = standardName; 4191 } else if (propName === CAMELCASE) { 4192 accumulator[standardName.toLowerCase()] = standardName; 4193 } else { 4194 accumulator[standardName] = propName; 4195 } 4196 return accumulator; 4197}, {}); 4198 4199exports.BOOLEAN = BOOLEAN; 4200exports.BOOLEANISH_STRING = BOOLEANISH_STRING; 4201exports.NUMERIC = NUMERIC; 4202exports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN; 4203exports.POSITIVE_NUMERIC = POSITIVE_NUMERIC; 4204exports.RESERVED = RESERVED; 4205exports.STRING = STRING; 4206exports.getPropertyInfo = getPropertyInfo; 4207exports.isCustomAttribute = isCustomAttribute; 4208exports.possibleStandardNames = possibleStandardNames; 4209 4210 4211/***/ }), 4212
vendor: 10,044 bytes, lines 4213-4715
4213/***/ "./node_modules/react-property/lib/possibleStandardNamesOptimized.js": 4214/*!***************************************************************************!*\ 4215 !*** ./node_modules/react-property/lib/possibleStandardNamesOptimized.js ***! 4216 \***************************************************************************/ 4217/***/ ((__unused_webpack_module, exports) => { 4218 4219// An attribute in which the DOM/SVG standard name is the same as the React prop name (e.g., 'accept'). 4220var SAME = 0; 4221exports.SAME = SAME; 4222 4223// An attribute in which the React prop name is the camelcased version of the DOM/SVG standard name (e.g., 'acceptCharset'). 4224var CAMELCASE = 1; 4225exports.CAMELCASE = CAMELCASE; 4226 4227exports.possibleStandardNames = { 4228 accept: 0, 4229 acceptCharset: 1, 4230 'accept-charset': 'acceptCharset', 4231 accessKey: 1, 4232 action: 0, 4233 allowFullScreen: 1, 4234 alt: 0, 4235 as: 0, 4236 async: 0, 4237 autoCapitalize: 1, 4238 autoComplete: 1, 4239 autoCorrect: 1, 4240 autoFocus: 1, 4241 autoPlay: 1, 4242 autoSave: 1, 4243 capture: 0, 4244 cellPadding: 1, 4245 cellSpacing: 1, 4246 challenge: 0, 4247 charSet: 1, 4248 checked: 0, 4249 children: 0, 4250 cite: 0, 4251 class: 'className', 4252 classID: 1, 4253 className: 1, 4254 cols: 0, 4255 colSpan: 1, 4256 content: 0, 4257 contentEditable: 1, 4258 contextMenu: 1, 4259 controls: 0, 4260 controlsList: 1, 4261 coords: 0, 4262 crossOrigin: 1, 4263 dangerouslySetInnerHTML: 1, 4264 data: 0, 4265 dateTime: 1, 4266 default: 0, 4267 defaultChecked: 1, 4268 defaultValue: 1, 4269 defer: 0, 4270 dir: 0, 4271 disabled: 0, 4272 disablePictureInPicture: 1, 4273 disableRemotePlayback: 1, 4274 download: 0, 4275 draggable: 0, 4276 encType: 1, 4277 enterKeyHint: 1, 4278 for: 'htmlFor', 4279 form: 0, 4280 formMethod: 1, 4281 formAction: 1, 4282 formEncType: 1, 4283 formNoValidate: 1, 4284 formTarget: 1, 4285 frameBorder: 1, 4286 headers: 0, 4287 height: 0, 4288 hidden: 0, 4289 high: 0, 4290 href: 0, 4291 hrefLang: 1, 4292 htmlFor: 1, 4293 httpEquiv: 1, 4294 'http-equiv': 'httpEquiv', 4295 icon: 0, 4296 id: 0, 4297 innerHTML: 1, 4298 inputMode: 1, 4299 integrity: 0, 4300 is: 0, 4301 itemID: 1, 4302 itemProp: 1, 4303 itemRef: 1, 4304 itemScope: 1, 4305 itemType: 1, 4306 keyParams: 1, 4307 keyType: 1, 4308 kind: 0, 4309 label: 0, 4310 lang: 0, 4311 list: 0, 4312 loop: 0, 4313 low: 0, 4314 manifest: 0, 4315 marginWidth: 1, 4316 marginHeight: 1, 4317 max: 0, 4318 maxLength: 1, 4319 media: 0, 4320 mediaGroup: 1, 4321 method: 0, 4322 min: 0, 4323 minLength: 1, 4324 multiple: 0, 4325 muted: 0, 4326 name: 0, 4327 noModule: 1, 4328 nonce: 0, 4329 noValidate: 1, 4330 open: 0, 4331 optimum: 0, 4332 pattern: 0, 4333 placeholder: 0, 4334 playsInline: 1, 4335 poster: 0, 4336 preload: 0, 4337 profile: 0, 4338 radioGroup: 1, 4339 readOnly: 1, 4340 referrerPolicy: 1, 4341 rel: 0, 4342 required: 0, 4343 reversed: 0, 4344 role: 0, 4345 rows: 0, 4346 rowSpan: 1, 4347 sandbox: 0, 4348 scope: 0, 4349 scoped: 0, 4350 scrolling: 0, 4351 seamless: 0, 4352 selected: 0, 4353 shape: 0, 4354 size: 0, 4355 sizes: 0, 4356 span: 0, 4357 spellCheck: 1, 4358 src: 0, 4359 srcDoc: 1, 4360 srcLang: 1, 4361 srcSet: 1, 4362 start: 0, 4363 step: 0, 4364 style: 0, 4365 summary: 0, 4366 tabIndex: 1, 4367 target: 0, 4368 title: 0, 4369 type: 0, 4370 useMap: 1, 4371 value: 0, 4372 width: 0, 4373 wmode: 0, 4374 wrap: 0, 4375 about: 0, 4376 accentHeight: 1, 4377 'accent-height': 'accentHeight', 4378 accumulate: 0, 4379 additive: 0, 4380 alignmentBaseline: 1, 4381 'alignment-baseline': 'alignmentBaseline', 4382 allowReorder: 1, 4383 alphabetic: 0, 4384 amplitude: 0, 4385 arabicForm: 1, 4386 'arabic-form': 'arabicForm', 4387 ascent: 0, 4388 attributeName: 1, 4389 attributeType: 1, 4390 autoReverse: 1, 4391 azimuth: 0, 4392 baseFrequency: 1, 4393 baselineShift: 1, 4394 'baseline-shift': 'baselineShift', 4395 baseProfile: 1, 4396 bbox: 0, 4397 begin: 0, 4398 bias: 0, 4399 by: 0, 4400 calcMode: 1, 4401 capHeight: 1, 4402 'cap-height': 'capHeight', 4403 clip: 0, 4404 clipPath: 1, 4405 'clip-path': 'clipPath', 4406 clipPathUnits: 1, 4407 clipRule: 1, 4408 'clip-rule': 'clipRule', 4409 color: 0, 4410 colorInterpolation: 1, 4411 'color-interpolation': 'colorInterpolation', 4412 colorInterpolationFilters: 1, 4413 'color-interpolation-filters': 'colorInterpolationFilters', 4414 colorProfile: 1, 4415 'color-profile': 'colorProfile', 4416 colorRendering: 1, 4417 'color-rendering': 'colorRendering', 4418 contentScriptType: 1, 4419 contentStyleType: 1, 4420 cursor: 0, 4421 cx: 0, 4422 cy: 0, 4423 d: 0, 4424 datatype: 0, 4425 decelerate: 0, 4426 descent: 0, 4427 diffuseConstant: 1, 4428 direction: 0, 4429 display: 0, 4430 divisor: 0, 4431 dominantBaseline: 1, 4432 'dominant-baseline': 'dominantBaseline', 4433 dur: 0, 4434 dx: 0, 4435 dy: 0, 4436 edgeMode: 1, 4437 elevation: 0, 4438 enableBackground: 1, 4439 'enable-background': 'enableBackground', 4440 end: 0, 4441 exponent: 0, 4442 externalResourcesRequired: 1, 4443 fill: 0, 4444 fillOpacity: 1, 4445 'fill-opacity': 'fillOpacity', 4446 fillRule: 1, 4447 'fill-rule': 'fillRule', 4448 filter: 0, 4449 filterRes: 1, 4450 filterUnits: 1, 4451 floodOpacity: 1, 4452 'flood-opacity': 'floodOpacity', 4453 floodColor: 1, 4454 'flood-color': 'floodColor', 4455 focusable: 0, 4456 fontFamily: 1, 4457 'font-family': 'fontFamily', 4458 fontSize: 1, 4459 'font-size': 'fontSize', 4460 fontSizeAdjust: 1, 4461 'font-size-adjust': 'fontSizeAdjust', 4462 fontStretch: 1, 4463 'font-stretch': 'fontStretch', 4464 fontStyle: 1, 4465 'font-style': 'fontStyle', 4466 fontVariant: 1, 4467 'font-variant': 'fontVariant', 4468 fontWeight: 1, 4469 'font-weight': 'fontWeight', 4470 format: 0, 4471 from: 0, 4472 fx: 0, 4473 fy: 0, 4474 g1: 0, 4475 g2: 0, 4476 glyphName: 1, 4477 'glyph-name': 'glyphName', 4478 glyphOrientationHorizontal: 1, 4479 'glyph-orientation-horizontal': 'glyphOrientationHorizontal', 4480 glyphOrientationVertical: 1, 4481 'glyph-orientation-vertical': 'glyphOrientationVertical', 4482 glyphRef: 1, 4483 gradientTransform: 1, 4484 gradientUnits: 1, 4485 hanging: 0, 4486 horizAdvX: 1, 4487 'horiz-adv-x': 'horizAdvX', 4488 horizOriginX: 1, 4489 'horiz-origin-x': 'horizOriginX', 4490 ideographic: 0, 4491 imageRendering: 1, 4492 'image-rendering': 'imageRendering', 4493 in2: 0, 4494 in: 0, 4495 inlist: 0, 4496 intercept: 0, 4497 k1: 0, 4498 k2: 0, 4499 k3: 0, 4500 k4: 0, 4501 k: 0, 4502 kernelMatrix: 1, 4503 kernelUnitLength: 1, 4504 kerning: 0, 4505 keyPoints: 1, 4506 keySplines: 1, 4507 keyTimes: 1, 4508 lengthAdjust: 1, 4509 letterSpacing: 1, 4510 'letter-spacing': 'letterSpacing', 4511 lightingColor: 1, 4512 'lighting-color': 'lightingColor', 4513 limitingConeAngle: 1, 4514 local: 0, 4515 markerEnd: 1, 4516 'marker-end': 'markerEnd', 4517 markerHeight: 1, 4518 markerMid: 1, 4519 'marker-mid': 'markerMid', 4520 markerStart: 1, 4521 'marker-start': 'markerStart', 4522 markerUnits: 1, 4523 markerWidth: 1, 4524 mask: 0, 4525 maskContentUnits: 1, 4526 maskUnits: 1, 4527 mathematical: 0, 4528 mode: 0, 4529 numOctaves: 1, 4530 offset: 0, 4531 opacity: 0, 4532 operator: 0, 4533 order: 0, 4534 orient: 0, 4535 orientation: 0, 4536 origin: 0, 4537 overflow: 0, 4538 overlinePosition: 1, 4539 'overline-position': 'overlinePosition', 4540 overlineThickness: 1, 4541 'overline-thickness': 'overlineThickness', 4542 paintOrder: 1, 4543 'paint-order': 'paintOrder', 4544 panose1: 0, 4545 'panose-1': 'panose1', 4546 pathLength: 1, 4547 patternContentUnits: 1, 4548 patternTransform: 1, 4549 patternUnits: 1, 4550 pointerEvents: 1, 4551 'pointer-events': 'pointerEvents', 4552 points: 0, 4553 pointsAtX: 1, 4554 pointsAtY: 1, 4555 pointsAtZ: 1, 4556 prefix: 0, 4557 preserveAlpha: 1, 4558 preserveAspectRatio: 1, 4559 primitiveUnits: 1, 4560 property: 0, 4561 r: 0, 4562 radius: 0, 4563 refX: 1, 4564 refY: 1, 4565 renderingIntent: 1, 4566 'rendering-intent': 'renderingIntent', 4567 repeatCount: 1, 4568 repeatDur: 1, 4569 requiredExtensions: 1, 4570 requiredFeatures: 1, 4571 resource: 0, 4572 restart: 0, 4573 result: 0, 4574 results: 0, 4575 rotate: 0, 4576 rx: 0, 4577 ry: 0, 4578 scale: 0, 4579 security: 0, 4580 seed: 0, 4581 shapeRendering: 1, 4582 'shape-rendering': 'shapeRendering', 4583 slope: 0, 4584 spacing: 0, 4585 specularConstant: 1, 4586 specularExponent: 1, 4587 speed: 0, 4588 spreadMethod: 1, 4589 startOffset: 1, 4590 stdDeviation: 1, 4591 stemh: 0, 4592 stemv: 0, 4593 stitchTiles: 1, 4594 stopColor: 1, 4595 'stop-color': 'stopColor', 4596 stopOpacity: 1, 4597 'stop-opacity': 'stopOpacity', 4598 strikethroughPosition: 1, 4599 'strikethrough-position': 'strikethroughPosition', 4600 strikethroughThickness: 1, 4601 'strikethrough-thickness': 'strikethroughThickness', 4602 string: 0, 4603 stroke: 0, 4604 strokeDasharray: 1, 4605 'stroke-dasharray': 'strokeDasharray', 4606 strokeDashoffset: 1, 4607 'stroke-dashoffset': 'strokeDashoffset', 4608 strokeLinecap: 1, 4609 'stroke-linecap': 'strokeLinecap', 4610 strokeLinejoin: 1, 4611 'stroke-linejoin': 'strokeLinejoin', 4612 strokeMiterlimit: 1, 4613 'stroke-miterlimit': 'strokeMiterlimit', 4614 strokeWidth: 1, 4615 'stroke-width': 'strokeWidth', 4616 strokeOpacity: 1, 4617 'stroke-opacity': 'strokeOpacity', 4618 suppressContentEditableWarning: 1, 4619 suppressHydrationWarning: 1, 4620 surfaceScale: 1, 4621 systemLanguage: 1, 4622 tableValues: 1, 4623 targetX: 1, 4624 targetY: 1, 4625 textAnchor: 1, 4626 'text-anchor': 'textAnchor', 4627 textDecoration: 1, 4628 'text-decoration': 'textDecoration', 4629 textLength: 1, 4630 textRendering: 1, 4631 'text-rendering': 'textRendering', 4632 to: 0, 4633 transform: 0, 4634 typeof: 0, 4635 u1: 0, 4636 u2: 0, 4637 underlinePosition: 1, 4638 'underline-position': 'underlinePosition', 4639 underlineThickness: 1, 4640 'underline-thickness': 'underlineThickness', 4641 unicode: 0, 4642 unicodeBidi: 1, 4643 'unicode-bidi': 'unicodeBidi', 4644 unicodeRange: 1, 4645 'unicode-range': 'unicodeRange', 4646 unitsPerEm: 1, 4647 'units-per-em': 'unitsPerEm', 4648 unselectable: 0, 4649 vAlphabetic: 1, 4650 'v-alphabetic': 'vAlphabetic', 4651 values: 0, 4652 vectorEffect: 1, 4653 'vector-effect': 'vectorEffect', 4654 version: 0, 4655 vertAdvY: 1, 4656 'vert-adv-y': 'vertAdvY', 4657 vertOriginX: 1, 4658 'vert-origin-x': 'vertOriginX', 4659 vertOriginY: 1, 4660 'vert-origin-y': 'vertOriginY', 4661 vHanging: 1, 4662 'v-hanging': 'vHanging', 4663 vIdeographic: 1, 4664 'v-ideographic': 'vIdeographic', 4665 viewBox: 1, 4666 viewTarget: 1, 4667 visibility: 0, 4668 vMathematical: 1, 4669 'v-mathematical': 'vMathematical', 4670 vocab: 0, 4671 widths: 0, 4672 wordSpacing: 1, 4673 'word-spacing': 'wordSpacing', 4674 writingMode: 1, 4675 'writing-mode': 'writingMode', 4676 x1: 0, 4677 x2: 0, 4678 x: 0, 4679 xChannelSelector: 1, 4680 xHeight: 1, 4681 'x-height': 'xHeight', 4682 xlinkActuate: 1, 4683 'xlink:actuate': 'xlinkActuate', 4684 xlinkArcrole: 1, 4685 'xlink:arcrole': 'xlinkArcrole', 4686 xlinkHref: 1, 4687 'xlink:href': 'xlinkHref', 4688 xlinkRole: 1, 4689 'xlink:role': 'xlinkRole', 4690 xlinkShow: 1, 4691 'xlink:show': 'xlinkShow', 4692 xlinkTitle: 1, 4693 'xlink:title': 'xlinkTitle', 4694 xlinkType: 1, 4695 'xlink:type': 'xlinkType', 4696 xmlBase: 1, 4697 'xml:base': 'xmlBase', 4698 xmlLang: 1, 4699 'xml:lang': 'xmlLang', 4700 xmlns: 0, 4701 'xml:space': 'xmlSpace', 4702 xmlnsXlink: 1, 4703 'xmlns:xlink': 'xmlnsXlink', 4704 xmlSpace: 1, 4705 y1: 0, 4706 y2: 0, 4707 y: 0, 4708 yChannelSelector: 1, 4709 z: 0, 4710 zoomAndPan: 1 4711}; 4712 4713 4714/***/ }), 4715
vendor: 29,695 bytes, lines 4716-5637
4716/***/ "./node_modules/react/cjs/react-jsx-runtime.development.js": 4717/*!*****************************************************************!*\ 4718 !*** ./node_modules/react/cjs/react-jsx-runtime.development.js ***! 4719 \*****************************************************************/ 4720/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 4721 4722"use strict"; 4723/** @license React v16.14.0 4724 * react-jsx-runtime.development.js 4725 * 4726 * Copyright (c) Facebook, Inc. and its affiliates. 4727 * 4728 * This source code is licensed under the MIT license found in the 4729 * LICENSE file in the root directory of this source tree. 4730 */ 4731 4732 4733 4734if (true) { 4735 (function() { 4736'use strict'; 4737 4738var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 4739 4740// ATTENTION 4741// When adding new symbols to this file, 4742// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' 4743// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 4744// nor polyfill, then a plain number is used for performance. 4745var REACT_ELEMENT_TYPE = 0xeac7; 4746var REACT_PORTAL_TYPE = 0xeaca; 4747exports.Fragment = 0xeacb; 4748var REACT_STRICT_MODE_TYPE = 0xeacc; 4749var REACT_PROFILER_TYPE = 0xead2; 4750var REACT_PROVIDER_TYPE = 0xeacd; 4751var REACT_CONTEXT_TYPE = 0xeace; 4752var REACT_FORWARD_REF_TYPE = 0xead0; 4753var REACT_SUSPENSE_TYPE = 0xead1; 4754var REACT_SUSPENSE_LIST_TYPE = 0xead8; 4755var REACT_MEMO_TYPE = 0xead3; 4756var REACT_LAZY_TYPE = 0xead4; 4757var REACT_BLOCK_TYPE = 0xead9; 4758var REACT_SERVER_BLOCK_TYPE = 0xeada; 4759var REACT_FUNDAMENTAL_TYPE = 0xead5; 4760var REACT_SCOPE_TYPE = 0xead7; 4761var REACT_OPAQUE_ID_TYPE = 0xeae0; 4762var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; 4763var REACT_OFFSCREEN_TYPE = 0xeae2; 4764var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; 4765 4766if (typeof Symbol === 'function' && Symbol.for) { 4767 var symbolFor = Symbol.for; 4768 REACT_ELEMENT_TYPE = symbolFor('react.element'); 4769 REACT_PORTAL_TYPE = symbolFor('react.portal'); 4770 exports.Fragment = symbolFor('react.fragment'); 4771 REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); 4772 REACT_PROFILER_TYPE = symbolFor('react.profiler'); 4773 REACT_PROVIDER_TYPE = symbolFor('react.provider'); 4774 REACT_CONTEXT_TYPE = symbolFor('react.context'); 4775 REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); 4776 REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); 4777 REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); 4778 REACT_MEMO_TYPE = symbolFor('react.memo'); 4779 REACT_LAZY_TYPE = symbolFor('react.lazy'); 4780 REACT_BLOCK_TYPE = symbolFor('react.block'); 4781 REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block'); 4782 REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental'); 4783 REACT_SCOPE_TYPE = symbolFor('react.scope'); 4784 REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id'); 4785 REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); 4786 REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); 4787 REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); 4788} 4789 4790var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 4791var FAUX_ITERATOR_SYMBOL = '@@iterator'; 4792function getIteratorFn(maybeIterable) { 4793 if (maybeIterable === null || typeof maybeIterable !== 'object') { 4794 return null; 4795 } 4796 4797 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; 4798 4799 if (typeof maybeIterator === 'function') { 4800 return maybeIterator; 4801 } 4802 4803 return null; 4804} 4805 4806var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; 4807 4808function error(format) { 4809 { 4810 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { 4811 args[_key2 - 1] = arguments[_key2]; 4812 } 4813 4814 printWarning('error', format, args); 4815 } 4816} 4817 4818function printWarning(level, format, args) { 4819 // When changing this logic, you might want to also 4820 // update consoleWithStackDev.www.js as well. 4821 { 4822 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 4823 var stack = ''; 4824 4825 if (currentlyValidatingElement) { 4826 var name = getComponentName(currentlyValidatingElement.type); 4827 var owner = currentlyValidatingElement._owner; 4828 stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type)); 4829 } 4830 4831 stack += ReactDebugCurrentFrame.getStackAddendum(); 4832 4833 if (stack !== '') { 4834 format += '%s'; 4835 args = args.concat([stack]); 4836 } 4837 4838 var argsWithFormat = args.map(function (item) { 4839 return '' + item; 4840 }); // Careful: RN currently depends on this prefix 4841 4842 argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it 4843 // breaks IE9: https://github.com/facebook/react/issues/13610 4844 // eslint-disable-next-line react-internal/no-production-logging 4845 4846 Function.prototype.apply.call(console[level], console, argsWithFormat); 4847 } 4848} 4849 4850// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. 4851 4852var enableScopeAPI = false; // Experimental Create Event Handle API. 4853 4854function isValidElementType(type) { 4855 if (typeof type === 'string' || typeof type === 'function') { 4856 return true; 4857 } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill). 4858 4859 4860 if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) { 4861 return true; 4862 } 4863 4864 if (typeof type === 'object' && type !== null) { 4865 if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) { 4866 return true; 4867 } 4868 } 4869 4870 return false; 4871} 4872 4873 4874var BEFORE_SLASH_RE = /^(.*)[\\\/]/; 4875function describeComponentFrame (name, source, ownerName) { 4876 var sourceInfo = ''; 4877 4878 if (source) { 4879 var path = source.fileName; 4880 var fileName = path.replace(BEFORE_SLASH_RE, ''); 4881 4882 { 4883 // In DEV, include code for a common special case: 4884 // prefer "folder/index.js" instead of just "index.js". 4885 if (/^index\./.test(fileName)) { 4886 var match = path.match(BEFORE_SLASH_RE); 4887 4888 if (match) { 4889 var pathBeforeSlash = match[1]; 4890 4891 if (pathBeforeSlash) { 4892 var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, ''); 4893 fileName = folderName + '/' + fileName; 4894 } 4895 } 4896 } 4897 } 4898 4899 sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; 4900 } else if (ownerName) { 4901 sourceInfo = ' (created by ' + ownerName + ')'; 4902 } 4903 4904 return '\n in ' + (name || 'Unknown') + sourceInfo; 4905} 4906 4907var Resolved = 1; 4908function refineResolvedLazyComponent(lazyComponent) { 4909 return lazyComponent._status === Resolved ? lazyComponent._result : null; 4910} 4911 4912function getWrappedName(outerType, innerType, wrapperName) { 4913 var functionName = innerType.displayName || innerType.name || ''; 4914 return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); 4915} 4916 4917function getComponentName(type) { 4918 if (type == null) { 4919 // Host root, text node or just invalid type. 4920 return null; 4921 } 4922 4923 { 4924 if (typeof type.tag === 'number') { 4925 error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.'); 4926 } 4927 } 4928 4929 if (typeof type === 'function') { 4930 return type.displayName || type.name || null; 4931 } 4932 4933 if (typeof type === 'string') { 4934 return type; 4935 } 4936 4937 switch (type) { 4938 case exports.Fragment: 4939 return 'Fragment'; 4940 4941 case REACT_PORTAL_TYPE: 4942 return 'Portal'; 4943 4944 case REACT_PROFILER_TYPE: 4945 return "Profiler"; 4946 4947 case REACT_STRICT_MODE_TYPE: 4948 return 'StrictMode'; 4949 4950 case REACT_SUSPENSE_TYPE: 4951 return 'Suspense'; 4952 4953 case REACT_SUSPENSE_LIST_TYPE: 4954 return 'SuspenseList'; 4955 } 4956 4957 if (typeof type === 'object') { 4958 switch (type.$$typeof) { 4959 case REACT_CONTEXT_TYPE: 4960 return 'Context.Consumer'; 4961 4962 case REACT_PROVIDER_TYPE: 4963 return 'Context.Provider'; 4964 4965 case REACT_FORWARD_REF_TYPE: 4966 return getWrappedName(type, type.render, 'ForwardRef'); 4967 4968 case REACT_MEMO_TYPE: 4969 return getComponentName(type.type); 4970 4971 case REACT_BLOCK_TYPE: 4972 return getComponentName(type.render); 4973 4974 case REACT_LAZY_TYPE: 4975 { 4976 var thenable = type; 4977 var resolvedThenable = refineResolvedLazyComponent(thenable); 4978 4979 if (resolvedThenable) { 4980 return getComponentName(resolvedThenable); 4981 } 4982 4983 break; 4984 } 4985 } 4986 } 4987 4988 return null; 4989} 4990 4991var loggedTypeFailures = {}; 4992var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 4993var currentlyValidatingElement = null; 4994 4995function setCurrentlyValidatingElement(element) { 4996 { 4997 currentlyValidatingElement = element; 4998 } 4999} 5000 5001function checkPropTypes(typeSpecs, values, location, componentName, element) { 5002 { 5003 // $FlowFixMe This is okay but Flow doesn't know it. 5004 var has = Function.call.bind(Object.prototype.hasOwnProperty); 5005 5006 for (var typeSpecName in typeSpecs) { 5007 if (has(typeSpecs, typeSpecName)) { 5008 var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to 5009 // fail the render phase where it didn't fail before. So we log it. 5010 // After these have been cleaned up, we'll let them throw. 5011 5012 try { 5013 // This is intentionally an invariant that gets caught. It's the same 5014 // behavior as without this statement except with a better message. 5015 if (typeof typeSpecs[typeSpecName] !== 'function') { 5016 var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'); 5017 err.name = 'Invariant Violation'; 5018 throw err; 5019 } 5020 5021 error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'); 5022 } catch (ex) { 5023 error$1 = ex; 5024 } 5025 5026 if (error$1 && !(error$1 instanceof Error)) { 5027 setCurrentlyValidatingElement(element); 5028 5029 error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1); 5030 5031 setCurrentlyValidatingElement(null); 5032 } 5033 5034 if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) { 5035 // Only monitor this failure once because there tends to be a lot of the 5036 // same error. 5037 loggedTypeFailures[error$1.message] = true; 5038 setCurrentlyValidatingElement(element); 5039 5040 error('Failed %s type: %s', location, error$1.message); 5041 5042 setCurrentlyValidatingElement(null); 5043 } 5044 } 5045 } 5046 } 5047} 5048 5049var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; 5050var hasOwnProperty = Object.prototype.hasOwnProperty; 5051var RESERVED_PROPS = { 5052 key: true, 5053 ref: true, 5054 __self: true, 5055 __source: true 5056}; 5057var specialPropKeyWarningShown; 5058var specialPropRefWarningShown; 5059var didWarnAboutStringRefs; 5060 5061{ 5062 didWarnAboutStringRefs = {}; 5063} 5064 5065function hasValidRef(config) { 5066 { 5067 if (hasOwnProperty.call(config, 'ref')) { 5068 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; 5069 5070 if (getter && getter.isReactWarning) { 5071 return false; 5072 } 5073 } 5074 } 5075 5076 return config.ref !== undefined; 5077} 5078 5079function hasValidKey(config) { 5080 { 5081 if (hasOwnProperty.call(config, 'key')) { 5082 var getter = Object.getOwnPropertyDescriptor(config, 'key').get; 5083 5084 if (getter && getter.isReactWarning) { 5085 return false; 5086 } 5087 } 5088 } 5089 5090 return config.key !== undefined; 5091} 5092 5093function warnIfStringRefCannotBeAutoConverted(config, self) { 5094 { 5095 if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { 5096 var componentName = getComponentName(ReactCurrentOwner.current.type); 5097 5098 if (!didWarnAboutStringRefs[componentName]) { 5099 error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref); 5100 5101 didWarnAboutStringRefs[componentName] = true; 5102 } 5103 } 5104 } 5105} 5106 5107function defineKeyPropWarningGetter(props, displayName) { 5108 { 5109 var warnAboutAccessingKey = function () { 5110 if (!specialPropKeyWarningShown) { 5111 specialPropKeyWarningShown = true; 5112 5113 error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName); 5114 } 5115 }; 5116 5117 warnAboutAccessingKey.isReactWarning = true; 5118 Object.defineProperty(props, 'key', { 5119 get: warnAboutAccessingKey, 5120 configurable: true 5121 }); 5122 } 5123} 5124 5125function defineRefPropWarningGetter(props, displayName) { 5126 { 5127 var warnAboutAccessingRef = function () { 5128 if (!specialPropRefWarningShown) { 5129 specialPropRefWarningShown = true; 5130 5131 error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName); 5132 } 5133 }; 5134 5135 warnAboutAccessingRef.isReactWarning = true; 5136 Object.defineProperty(props, 'ref', { 5137 get: warnAboutAccessingRef, 5138 configurable: true 5139 }); 5140 } 5141} 5142/** 5143 * Factory method to create a new React element. This no longer adheres to 5144 * the class pattern, so do not use new to call it. Also, instanceof check 5145 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check 5146 * if something is a React Element. 5147 * 5148 * @param {*} type 5149 * @param {*} props 5150 * @param {*} key 5151 * @param {string|object} ref 5152 * @param {*} owner 5153 * @param {*} self A *temporary* helper to detect places where `this` is 5154 * different from the `owner` when React.createElement is called, so that we 5155 * can warn. We want to get rid of owner and replace string `ref`s with arrow 5156 * functions, and as long as `this` and owner are the same, there will be no 5157 * change in behavior. 5158 * @param {*} source An annotation object (added by a transpiler or otherwise) 5159 * indicating filename, line number, and/or other information. 5160 * @internal 5161 */ 5162 5163 5164var ReactElement = function (type, key, ref, self, source, owner, props) { 5165 var element = { 5166 // This tag allows us to uniquely identify this as a React Element 5167 $$typeof: REACT_ELEMENT_TYPE, 5168 // Built-in properties that belong on the element 5169 type: type, 5170 key: key, 5171 ref: ref, 5172 props: props, 5173 // Record the component responsible for creating this element. 5174 _owner: owner 5175 }; 5176 5177 { 5178 // The validation flag is currently mutative. We put it on 5179 // an external backing store so that we can freeze the whole object. 5180 // This can be replaced with a WeakMap once they are implemented in 5181 // commonly used development environments. 5182 element._store = {}; // To make comparing ReactElements easier for testing purposes, we make 5183 // the validation flag non-enumerable (where possible, which should 5184 // include every environment we run tests in), so the test framework 5185 // ignores it. 5186 5187 Object.defineProperty(element._store, 'validated', { 5188 configurable: false, 5189 enumerable: false, 5190 writable: true, 5191 value: false 5192 }); // self and source are DEV only properties. 5193 5194 Object.defineProperty(element, '_self', { 5195 configurable: false, 5196 enumerable: false, 5197 writable: false, 5198 value: self 5199 }); // Two elements created in two different places should be considered 5200 // equal for testing purposes and therefore we hide it from enumeration. 5201 5202 Object.defineProperty(element, '_source', { 5203 configurable: false, 5204 enumerable: false, 5205 writable: false, 5206 value: source 5207 }); 5208 5209 if (Object.freeze) { 5210 Object.freeze(element.props); 5211 Object.freeze(element); 5212 } 5213 } 5214 5215 return element; 5216}; 5217/** 5218 * https://github.com/reactjs/rfcs/pull/107 5219 * @param {*} type 5220 * @param {object} props 5221 * @param {string} key 5222 */ 5223 5224function jsxDEV(type, config, maybeKey, source, self) { 5225 { 5226 var propName; // Reserved names are extracted 5227 5228 var props = {}; 5229 var key = null; 5230 var ref = null; // Currently, key can be spread in as a prop. This causes a potential 5231 // issue if key is also explicitly declared (ie. <div {...props} key="Hi" /> 5232 // or <div key="Hi" {...props} /> ). We want to deprecate key spread, 5233 // but as an intermediary step, we will use jsxDEV for everything except 5234 // <div {...props} key="Hi" />, because we aren't currently able to tell if 5235 // key is explicitly declared to be undefined or not. 5236 5237 if (maybeKey !== undefined) { 5238 key = '' + maybeKey; 5239 } 5240 5241 if (hasValidKey(config)) { 5242 key = '' + config.key; 5243 } 5244 5245 if (hasValidRef(config)) { 5246 ref = config.ref; 5247 warnIfStringRefCannotBeAutoConverted(config, self); 5248 } // Remaining properties are added to a new props object 5249 5250 5251 for (propName in config) { 5252 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 5253 props[propName] = config[propName]; 5254 } 5255 } // Resolve default props 5256 5257 5258 if (type && type.defaultProps) { 5259 var defaultProps = type.defaultProps; 5260 5261 for (propName in defaultProps) { 5262 if (props[propName] === undefined) { 5263 props[propName] = defaultProps[propName]; 5264 } 5265 } 5266 } 5267 5268 if (key || ref) { 5269 var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; 5270 5271 if (key) { 5272 defineKeyPropWarningGetter(props, displayName); 5273 } 5274 5275 if (ref) { 5276 defineRefPropWarningGetter(props, displayName); 5277 } 5278 } 5279 5280 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); 5281 } 5282} 5283 5284var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; 5285var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; 5286 5287function setCurrentlyValidatingElement$1(element) { 5288 currentlyValidatingElement = element; 5289} 5290 5291var propTypesMisspellWarningShown; 5292 5293{ 5294 propTypesMisspellWarningShown = false; 5295} 5296/** 5297 * Verifies the object is a ReactElement. 5298 * See https://reactjs.org/docs/react-api.html#isvalidelement 5299 * @param {?object} object 5300 * @return {boolean} True if `object` is a ReactElement. 5301 * @final 5302 */ 5303 5304function isValidElement(object) { 5305 { 5306 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 5307 } 5308} 5309 5310function getDeclarationErrorAddendum() { 5311 { 5312 if (ReactCurrentOwner$1.current) { 5313 var name = getComponentName(ReactCurrentOwner$1.current.type); 5314 5315 if (name) { 5316 return '\n\nCheck the render method of `' + name + '`.'; 5317 } 5318 } 5319 5320 return ''; 5321 } 5322} 5323 5324function getSourceInfoErrorAddendum(source) { 5325 { 5326 if (source !== undefined) { 5327 var fileName = source.fileName.replace(/^.*[\\\/]/, ''); 5328 var lineNumber = source.lineNumber; 5329 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; 5330 } 5331 5332 return ''; 5333 } 5334} 5335/** 5336 * Warn if there's no key explicitly set on dynamic arrays of children or 5337 * object keys are not valid. This allows us to keep track of children between 5338 * updates. 5339 */ 5340 5341 5342var ownerHasKeyUseWarning = {}; 5343 5344function getCurrentComponentErrorInfo(parentType) { 5345 { 5346 var info = getDeclarationErrorAddendum(); 5347 5348 if (!info) { 5349 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; 5350 5351 if (parentName) { 5352 info = "\n\nCheck the top-level render call using <" + parentName + ">."; 5353 } 5354 } 5355 5356 return info; 5357 } 5358} 5359/** 5360 * Warn if the element doesn't have an explicit key assigned to it. 5361 * This element is in an array. The array could grow and shrink or be 5362 * reordered. All children that haven't already been validated are required to 5363 * have a "key" property assigned to it. Error statuses are cached so a warning 5364 * will only be shown once. 5365 * 5366 * @internal 5367 * @param {ReactElement} element Element that requires a key. 5368 * @param {*} parentType element's parent's type. 5369 */ 5370 5371 5372function validateExplicitKey(element, parentType) { 5373 { 5374 if (!element._store || element._store.validated || element.key != null) { 5375 return; 5376 } 5377 5378 element._store.validated = true; 5379 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); 5380 5381 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { 5382 return; 5383 } 5384 5385 ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a 5386 // property, it may be the creator of the child that's responsible for 5387 // assigning it a key. 5388 5389 var childOwner = ''; 5390 5391 if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) { 5392 // Give the component that originally created this child. 5393 childOwner = " It was passed a child from " + getComponentName(element._owner.type) + "."; 5394 } 5395 5396 setCurrentlyValidatingElement$1(element); 5397 5398 error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner); 5399 5400 setCurrentlyValidatingElement$1(null); 5401 } 5402} 5403/** 5404 * Ensure that every element either is passed in a static location, in an 5405 * array with an explicit keys property defined, or in an object literal 5406 * with valid key property. 5407 * 5408 * @internal 5409 * @param {ReactNode} node Statically passed child of any type. 5410 * @param {*} parentType node's parent's type. 5411 */ 5412 5413 5414function validateChildKeys(node, parentType) { 5415 { 5416 if (typeof node !== 'object') { 5417 return; 5418 } 5419 5420 if (Array.isArray(node)) { 5421 for (var i = 0; i < node.length; i++) { 5422 var child = node[i]; 5423 5424 if (isValidElement(child)) { 5425 validateExplicitKey(child, parentType); 5426 } 5427 } 5428 } else if (isValidElement(node)) { 5429 // This element was passed in a valid location. 5430 if (node._store) { 5431 node._store.validated = true; 5432 } 5433 } else if (node) { 5434 var iteratorFn = getIteratorFn(node); 5435 5436 if (typeof iteratorFn === 'function') { 5437 // Entry iterators used to provide implicit keys, 5438 // but now we print a separate warning for them later. 5439 if (iteratorFn !== node.entries) { 5440 var iterator = iteratorFn.call(node); 5441 var step; 5442 5443 while (!(step = iterator.next()).done) { 5444 if (isValidElement(step.value)) { 5445 validateExplicitKey(step.value, parentType); 5446 } 5447 } 5448 } 5449 } 5450 } 5451 } 5452} 5453/** 5454 * Given an element, validate that its props follow the propTypes definition, 5455 * provided by the type. 5456 * 5457 * @param {ReactElement} element 5458 */ 5459 5460 5461function validatePropTypes(element) { 5462 { 5463 var type = element.type; 5464 5465 if (type === null || type === undefined || typeof type === 'string') { 5466 return; 5467 } 5468 5469 var propTypes; 5470 5471 if (typeof type === 'function') { 5472 propTypes = type.propTypes; 5473 } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. 5474 // Inner props are checked in the reconciler. 5475 type.$$typeof === REACT_MEMO_TYPE)) { 5476 propTypes = type.propTypes; 5477 } else { 5478 return; 5479 } 5480 5481 if (propTypes) { 5482 // Intentionally inside to avoid triggering lazy initializers: 5483 var name = getComponentName(type); 5484 checkPropTypes(propTypes, element.props, 'prop', name, element); 5485 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { 5486 propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers: 5487 5488 var _name = getComponentName(type); 5489 5490 error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown'); 5491 } 5492 5493 if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { 5494 error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); 5495 } 5496 } 5497} 5498/** 5499 * Given a fragment, validate that it can only be provided with fragment props 5500 * @param {ReactElement} fragment 5501 */ 5502 5503 5504function validateFragmentProps(fragment) { 5505 { 5506 var keys = Object.keys(fragment.props); 5507 5508 for (var i = 0; i < keys.length; i++) { 5509 var key = keys[i]; 5510 5511 if (key !== 'children' && key !== 'key') { 5512 setCurrentlyValidatingElement$1(fragment); 5513 5514 error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); 5515 5516 setCurrentlyValidatingElement$1(null); 5517 break; 5518 } 5519 } 5520 5521 if (fragment.ref !== null) { 5522 setCurrentlyValidatingElement$1(fragment); 5523 5524 error('Invalid attribute `ref` supplied to `React.Fragment`.'); 5525 5526 setCurrentlyValidatingElement$1(null); 5527 } 5528 } 5529} 5530 5531function jsxWithValidation(type, props, key, isStaticChildren, source, self) { 5532 { 5533 var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to 5534 // succeed and there will likely be errors in render. 5535 5536 if (!validType) { 5537 var info = ''; 5538 5539 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 5540 info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports."; 5541 } 5542 5543 var sourceInfo = getSourceInfoErrorAddendum(source); 5544 5545 if (sourceInfo) { 5546 info += sourceInfo; 5547 } else { 5548 info += getDeclarationErrorAddendum(); 5549 } 5550 5551 var typeString; 5552 5553 if (type === null) { 5554 typeString = 'null'; 5555 } else if (Array.isArray(type)) { 5556 typeString = 'array'; 5557 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { 5558 typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />"; 5559 info = ' Did you accidentally export a JSX literal instead of a component?'; 5560 } else { 5561 typeString = typeof type; 5562 } 5563 5564 error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info); 5565 } 5566 5567 var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used. 5568 // TODO: Drop this when these are no longer allowed as the type argument. 5569 5570 if (element == null) { 5571 return element; 5572 } // Skip key warning if the type isn't valid since our key validation logic 5573 // doesn't expect a non-string/function type and can throw confusing errors. 5574 // We don't want exception behavior to differ between dev and prod. 5575 // (Rendering will throw with a helpful message and as soon as the type is 5576 // fixed, the key warnings will appear.) 5577 5578 5579 if (validType) { 5580 var children = props.children; 5581 5582 if (children !== undefined) { 5583 if (isStaticChildren) { 5584 if (Array.isArray(children)) { 5585 for (var i = 0; i < children.length; i++) { 5586 validateChildKeys(children[i], type); 5587 } 5588 5589 if (Object.freeze) { 5590 Object.freeze(children); 5591 } 5592 } else { 5593 error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.'); 5594 } 5595 } else { 5596 validateChildKeys(children, type); 5597 } 5598 } 5599 } 5600 5601 if (type === exports.Fragment) { 5602 validateFragmentProps(element); 5603 } else { 5604 validatePropTypes(element); 5605 } 5606 5607 return element; 5608 } 5609} // These two functions exist to still get child warnings in dev 5610// even with the prod transform. This means that jsxDEV is purely 5611// opt-in behavior for better messages but that we won't stop 5612// giving you warnings if you use production apis. 5613 5614function jsxWithValidationStatic(type, props, key) { 5615 { 5616 return jsxWithValidation(type, props, key, true); 5617 } 5618} 5619function jsxWithValidationDynamic(type, props, key) { 5620 { 5621 return jsxWithValidation(type, props, key, false); 5622 } 5623} 5624 5625var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children. 5626// for now we can ship identical prod functions 5627 5628var jsxs = jsxWithValidationStatic ; 5629 5630exports.jsx = jsx; 5631exports.jsxs = jsxs; 5632 })(); 5633} 5634 5635 5636/***/ }), 5637
vendor: 61,046 bytes, lines 5638-7560
5638/***/ "./node_modules/react/cjs/react.development.js": 5639/*!*****************************************************!*\ 5640 !*** ./node_modules/react/cjs/react.development.js ***! 5641 \*****************************************************/ 5642/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 5643 5644"use strict"; 5645/** @license React v16.14.0 5646 * react.development.js 5647 * 5648 * Copyright (c) Facebook, Inc. and its affiliates. 5649 * 5650 * This source code is licensed under the MIT license found in the 5651 * LICENSE file in the root directory of this source tree. 5652 */ 5653 5654 5655 5656 5657 5658if (true) { 5659 (function() { 5660'use strict'; 5661 5662var _assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"); 5663var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js"); 5664 5665var ReactVersion = '16.14.0'; 5666 5667// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 5668// nor polyfill, then a plain number is used for performance. 5669var hasSymbol = typeof Symbol === 'function' && Symbol.for; 5670var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; 5671var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; 5672var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; 5673var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; 5674var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; 5675var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; 5676var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary 5677var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; 5678var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; 5679var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; 5680var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8; 5681var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; 5682var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; 5683var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9; 5684var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5; 5685var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6; 5686var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7; 5687var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 5688var FAUX_ITERATOR_SYMBOL = '@@iterator'; 5689function getIteratorFn(maybeIterable) { 5690 if (maybeIterable === null || typeof maybeIterable !== 'object') { 5691 return null; 5692 } 5693 5694 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; 5695 5696 if (typeof maybeIterator === 'function') { 5697 return maybeIterator; 5698 } 5699 5700 return null; 5701} 5702 5703/** 5704 * Keeps track of the current dispatcher. 5705 */ 5706var ReactCurrentDispatcher = { 5707 /** 5708 * @internal 5709 * @type {ReactComponent} 5710 */ 5711 current: null 5712}; 5713 5714/** 5715 * Keeps track of the current batch's configuration such as how long an update 5716 * should suspend for if it needs to. 5717 */ 5718var ReactCurrentBatchConfig = { 5719 suspense: null 5720}; 5721 5722/** 5723 * Keeps track of the current owner. 5724 * 5725 * The current owner is the component who should own any components that are 5726 * currently being constructed. 5727 */ 5728var ReactCurrentOwner = { 5729 /** 5730 * @internal 5731 * @type {ReactComponent} 5732 */ 5733 current: null 5734}; 5735 5736var BEFORE_SLASH_RE = /^(.*)[\\\/]/; 5737function describeComponentFrame (name, source, ownerName) { 5738 var sourceInfo = ''; 5739 5740 if (source) { 5741 var path = source.fileName; 5742 var fileName = path.replace(BEFORE_SLASH_RE, ''); 5743 5744 { 5745 // In DEV, include code for a common special case: 5746 // prefer "folder/index.js" instead of just "index.js". 5747 if (/^index\./.test(fileName)) { 5748 var match = path.match(BEFORE_SLASH_RE); 5749 5750 if (match) { 5751 var pathBeforeSlash = match[1]; 5752 5753 if (pathBeforeSlash) { 5754 var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, ''); 5755 fileName = folderName + '/' + fileName; 5756 } 5757 } 5758 } 5759 } 5760 5761 sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; 5762 } else if (ownerName) { 5763 sourceInfo = ' (created by ' + ownerName + ')'; 5764 } 5765 5766 return '\n in ' + (name || 'Unknown') + sourceInfo; 5767} 5768 5769var Resolved = 1; 5770function refineResolvedLazyComponent(lazyComponent) { 5771 return lazyComponent._status === Resolved ? lazyComponent._result : null; 5772} 5773 5774function getWrappedName(outerType, innerType, wrapperName) { 5775 var functionName = innerType.displayName || innerType.name || ''; 5776 return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); 5777} 5778 5779function getComponentName(type) { 5780 if (type == null) { 5781 // Host root, text node or just invalid type. 5782 return null; 5783 } 5784 5785 { 5786 if (typeof type.tag === 'number') { 5787 error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.'); 5788 } 5789 } 5790 5791 if (typeof type === 'function') { 5792 return type.displayName || type.name || null; 5793 } 5794 5795 if (typeof type === 'string') { 5796 return type; 5797 } 5798 5799 switch (type) { 5800 case REACT_FRAGMENT_TYPE: 5801 return 'Fragment'; 5802 5803 case REACT_PORTAL_TYPE: 5804 return 'Portal'; 5805 5806 case REACT_PROFILER_TYPE: 5807 return "Profiler"; 5808 5809 case REACT_STRICT_MODE_TYPE: 5810 return 'StrictMode'; 5811 5812 case REACT_SUSPENSE_TYPE: 5813 return 'Suspense'; 5814 5815 case REACT_SUSPENSE_LIST_TYPE: 5816 return 'SuspenseList'; 5817 } 5818 5819 if (typeof type === 'object') { 5820 switch (type.$$typeof) { 5821 case REACT_CONTEXT_TYPE: 5822 return 'Context.Consumer'; 5823 5824 case REACT_PROVIDER_TYPE: 5825 return 'Context.Provider'; 5826 5827 case REACT_FORWARD_REF_TYPE: 5828 return getWrappedName(type, type.render, 'ForwardRef'); 5829 5830 case REACT_MEMO_TYPE: 5831 return getComponentName(type.type); 5832 5833 case REACT_BLOCK_TYPE: 5834 return getComponentName(type.render); 5835 5836 case REACT_LAZY_TYPE: 5837 { 5838 var thenable = type; 5839 var resolvedThenable = refineResolvedLazyComponent(thenable); 5840 5841 if (resolvedThenable) { 5842 return getComponentName(resolvedThenable); 5843 } 5844 5845 break; 5846 } 5847 } 5848 } 5849 5850 return null; 5851} 5852 5853var ReactDebugCurrentFrame = {}; 5854var currentlyValidatingElement = null; 5855function setCurrentlyValidatingElement(element) { 5856 { 5857 currentlyValidatingElement = element; 5858 } 5859} 5860 5861{ 5862 // Stack implementation injected by the current renderer. 5863 ReactDebugCurrentFrame.getCurrentStack = null; 5864 5865 ReactDebugCurrentFrame.getStackAddendum = function () { 5866 var stack = ''; // Add an extra top frame while an element is being validated 5867 5868 if (currentlyValidatingElement) { 5869 var name = getComponentName(currentlyValidatingElement.type); 5870 var owner = currentlyValidatingElement._owner; 5871 stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type)); 5872 } // Delegate to the injected renderer-specific implementation 5873 5874 5875 var impl = ReactDebugCurrentFrame.getCurrentStack; 5876 5877 if (impl) { 5878 stack += impl() || ''; 5879 } 5880 5881 return stack; 5882 }; 5883} 5884 5885/** 5886 * Used by act() to track whether you're inside an act() scope. 5887 */ 5888var IsSomeRendererActing = { 5889 current: false 5890}; 5891 5892var ReactSharedInternals = { 5893 ReactCurrentDispatcher: ReactCurrentDispatcher, 5894 ReactCurrentBatchConfig: ReactCurrentBatchConfig, 5895 ReactCurrentOwner: ReactCurrentOwner, 5896 IsSomeRendererActing: IsSomeRendererActing, 5897 // Used by renderers to avoid bundling object-assign twice in UMD bundles: 5898 assign: _assign 5899}; 5900 5901{ 5902 _assign(ReactSharedInternals, { 5903 // These should not be included in production. 5904 ReactDebugCurrentFrame: ReactDebugCurrentFrame, 5905 // Shim for React DOM 16.0.0 which still destructured (but not used) this. 5906 // TODO: remove in React 17.0. 5907 ReactComponentTreeHook: {} 5908 }); 5909} 5910 5911// by calls to these methods by a Babel plugin. 5912// 5913// In PROD (or in packages without access to React internals), 5914// they are left as they are instead. 5915 5916function warn(format) { 5917 { 5918 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 5919 args[_key - 1] = arguments[_key]; 5920 } 5921 5922 printWarning('warn', format, args); 5923 } 5924} 5925function error(format) { 5926 { 5927 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { 5928 args[_key2 - 1] = arguments[_key2]; 5929 } 5930 5931 printWarning('error', format, args); 5932 } 5933} 5934 5935function printWarning(level, format, args) { 5936 // When changing this logic, you might want to also 5937 // update consoleWithStackDev.www.js as well. 5938 { 5939 var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0; 5940 5941 if (!hasExistingStack) { 5942 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 5943 var stack = ReactDebugCurrentFrame.getStackAddendum(); 5944 5945 if (stack !== '') { 5946 format += '%s'; 5947 args = args.concat([stack]); 5948 } 5949 } 5950 5951 var argsWithFormat = args.map(function (item) { 5952 return '' + item; 5953 }); // Careful: RN currently depends on this prefix 5954 5955 argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it 5956 // breaks IE9: https://github.com/facebook/react/issues/13610 5957 // eslint-disable-next-line react-internal/no-production-logging 5958 5959 Function.prototype.apply.call(console[level], console, argsWithFormat); 5960 5961 try { 5962 // --- Welcome to debugging React --- 5963 // This error was thrown as a convenience so that you can use this stack 5964 // to find the callsite that caused this warning to fire. 5965 var argIndex = 0; 5966 var message = 'Warning: ' + format.replace(/%s/g, function () { 5967 return args[argIndex++]; 5968 }); 5969 throw new Error(message); 5970 } catch (x) {} 5971 } 5972} 5973 5974var didWarnStateUpdateForUnmountedComponent = {}; 5975 5976function warnNoop(publicInstance, callerName) { 5977 { 5978 var _constructor = publicInstance.constructor; 5979 var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass'; 5980 var warningKey = componentName + "." + callerName; 5981 5982 if (didWarnStateUpdateForUnmountedComponent[warningKey]) { 5983 return; 5984 } 5985 5986 error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName); 5987 5988 didWarnStateUpdateForUnmountedComponent[warningKey] = true; 5989 } 5990} 5991/** 5992 * This is the abstract API for an update queue. 5993 */ 5994 5995 5996var ReactNoopUpdateQueue = { 5997 /** 5998 * Checks whether or not this composite component is mounted. 5999 * @param {ReactClass} publicInstance The instance we want to test. 6000 * @return {boolean} True if mounted, false otherwise. 6001 * @protected 6002 * @final 6003 */ 6004 isMounted: function (publicInstance) { 6005 return false; 6006 }, 6007 6008 /** 6009 * Forces an update. This should only be invoked when it is known with 6010 * certainty that we are **not** in a DOM transaction. 6011 * 6012 * You may want to call this when you know that some deeper aspect of the 6013 * component's state has changed but `setState` was not called. 6014 * 6015 * This will not invoke `shouldComponentUpdate`, but it will invoke 6016 * `componentWillUpdate` and `componentDidUpdate`. 6017 * 6018 * @param {ReactClass} publicInstance The instance that should rerender. 6019 * @param {?function} callback Called after component is updated. 6020 * @param {?string} callerName name of the calling function in the public API. 6021 * @internal 6022 */ 6023 enqueueForceUpdate: function (publicInstance, callback, callerName) { 6024 warnNoop(publicInstance, 'forceUpdate'); 6025 }, 6026 6027 /** 6028 * Replaces all of the state. Always use this or `setState` to mutate state. 6029 * You should treat `this.state` as immutable. 6030 * 6031 * There is no guarantee that `this.state` will be immediately updated, so 6032 * accessing `this.state` after calling this method may return the old value. 6033 * 6034 * @param {ReactClass} publicInstance The instance that should rerender. 6035 * @param {object} completeState Next state. 6036 * @param {?function} callback Called after component is updated. 6037 * @param {?string} callerName name of the calling function in the public API. 6038 * @internal 6039 */ 6040 enqueueReplaceState: function (publicInstance, completeState, callback, callerName) { 6041 warnNoop(publicInstance, 'replaceState'); 6042 }, 6043 6044 /** 6045 * Sets a subset of the state. This only exists because _pendingState is 6046 * internal. This provides a merging strategy that is not available to deep 6047 * properties which is confusing. TODO: Expose pendingState or don't use it 6048 * during the merge. 6049 * 6050 * @param {ReactClass} publicInstance The instance that should rerender. 6051 * @param {object} partialState Next partial state to be merged with state. 6052 * @param {?function} callback Called after component is updated. 6053 * @param {?string} Name of the calling function in the public API. 6054 * @internal 6055 */ 6056 enqueueSetState: function (publicInstance, partialState, callback, callerName) { 6057 warnNoop(publicInstance, 'setState'); 6058 } 6059}; 6060 6061var emptyObject = {}; 6062 6063{ 6064 Object.freeze(emptyObject); 6065} 6066/** 6067 * Base class helpers for the updating state of a component. 6068 */ 6069 6070 6071function Component(props, context, updater) { 6072 this.props = props; 6073 this.context = context; // If a component has string refs, we will assign a different object later. 6074 6075 this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the 6076 // renderer. 6077 6078 this.updater = updater || ReactNoopUpdateQueue; 6079} 6080 6081Component.prototype.isReactComponent = {}; 6082/** 6083 * Sets a subset of the state. Always use this to mutate 6084 * state. You should treat `this.state` as immutable. 6085 * 6086 * There is no guarantee that `this.state` will be immediately updated, so 6087 * accessing `this.state` after calling this method may return the old value. 6088 * 6089 * There is no guarantee that calls to `setState` will run synchronously, 6090 * as they may eventually be batched together. You can provide an optional 6091 * callback that will be executed when the call to setState is actually 6092 * completed. 6093 * 6094 * When a function is provided to setState, it will be called at some point in 6095 * the future (not synchronously). It will be called with the up to date 6096 * component arguments (state, props, context). These values can be different 6097 * from this.* because your function may be called after receiveProps but before 6098 * shouldComponentUpdate, and this new state, props, and context will not yet be 6099 * assigned to this. 6100 * 6101 * @param {object|function} partialState Next partial state or function to 6102 * produce next partial state to be merged with current state. 6103 * @param {?function} callback Called after state is updated. 6104 * @final 6105 * @protected 6106 */ 6107 6108Component.prototype.setState = function (partialState, callback) { 6109 if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) { 6110 { 6111 throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." ); 6112 } 6113 } 6114 6115 this.updater.enqueueSetState(this, partialState, callback, 'setState'); 6116}; 6117/** 6118 * Forces an update. This should only be invoked when it is known with 6119 * certainty that we are **not** in a DOM transaction. 6120 * 6121 * You may want to call this when you know that some deeper aspect of the 6122 * component's state has changed but `setState` was not called. 6123 * 6124 * This will not invoke `shouldComponentUpdate`, but it will invoke 6125 * `componentWillUpdate` and `componentDidUpdate`. 6126 * 6127 * @param {?function} callback Called after update is complete. 6128 * @final 6129 * @protected 6130 */ 6131 6132 6133Component.prototype.forceUpdate = function (callback) { 6134 this.updater.enqueueForceUpdate(this, callback, 'forceUpdate'); 6135}; 6136/** 6137 * Deprecated APIs. These APIs used to exist on classic React classes but since 6138 * we would like to deprecate them, we're not going to move them over to this 6139 * modern base class. Instead, we define a getter that warns if it's accessed. 6140 */ 6141 6142 6143{ 6144 var deprecatedAPIs = { 6145 isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'], 6146 replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'] 6147 }; 6148 6149 var defineDeprecationWarning = function (methodName, info) { 6150 Object.defineProperty(Component.prototype, methodName, { 6151 get: function () { 6152 warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]); 6153 6154 return undefined; 6155 } 6156 }); 6157 }; 6158 6159 for (var fnName in deprecatedAPIs) { 6160 if (deprecatedAPIs.hasOwnProperty(fnName)) { 6161 defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); 6162 } 6163 } 6164} 6165 6166function ComponentDummy() {} 6167 6168ComponentDummy.prototype = Component.prototype; 6169/** 6170 * Convenience component with default shallow equality check for sCU. 6171 */ 6172 6173function PureComponent(props, context, updater) { 6174 this.props = props; 6175 this.context = context; // If a component has string refs, we will assign a different object later. 6176 6177 this.refs = emptyObject; 6178 this.updater = updater || ReactNoopUpdateQueue; 6179} 6180 6181var pureComponentPrototype = PureComponent.prototype = new ComponentDummy(); 6182pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods. 6183 6184_assign(pureComponentPrototype, Component.prototype); 6185 6186pureComponentPrototype.isPureReactComponent = true; 6187 6188// an immutable object with a single mutable value 6189function createRef() { 6190 var refObject = { 6191 current: null 6192 }; 6193 6194 { 6195 Object.seal(refObject); 6196 } 6197 6198 return refObject; 6199} 6200 6201var hasOwnProperty = Object.prototype.hasOwnProperty; 6202var RESERVED_PROPS = { 6203 key: true, 6204 ref: true, 6205 __self: true, 6206 __source: true 6207}; 6208var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs; 6209 6210{ 6211 didWarnAboutStringRefs = {}; 6212} 6213 6214function hasValidRef(config) { 6215 { 6216 if (hasOwnProperty.call(config, 'ref')) { 6217 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; 6218 6219 if (getter && getter.isReactWarning) { 6220 return false; 6221 } 6222 } 6223 } 6224 6225 return config.ref !== undefined; 6226} 6227 6228function hasValidKey(config) { 6229 { 6230 if (hasOwnProperty.call(config, 'key')) { 6231 var getter = Object.getOwnPropertyDescriptor(config, 'key').get; 6232 6233 if (getter && getter.isReactWarning) { 6234 return false; 6235 } 6236 } 6237 } 6238 6239 return config.key !== undefined; 6240} 6241 6242function defineKeyPropWarningGetter(props, displayName) { 6243 var warnAboutAccessingKey = function () { 6244 { 6245 if (!specialPropKeyWarningShown) { 6246 specialPropKeyWarningShown = true; 6247 6248 error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName); 6249 } 6250 } 6251 }; 6252 6253 warnAboutAccessingKey.isReactWarning = true; 6254 Object.defineProperty(props, 'key', { 6255 get: warnAboutAccessingKey, 6256 configurable: true 6257 }); 6258} 6259 6260function defineRefPropWarningGetter(props, displayName) { 6261 var warnAboutAccessingRef = function () { 6262 { 6263 if (!specialPropRefWarningShown) { 6264 specialPropRefWarningShown = true; 6265 6266 error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName); 6267 } 6268 } 6269 }; 6270 6271 warnAboutAccessingRef.isReactWarning = true; 6272 Object.defineProperty(props, 'ref', { 6273 get: warnAboutAccessingRef, 6274 configurable: true 6275 }); 6276} 6277 6278function warnIfStringRefCannotBeAutoConverted(config) { 6279 { 6280 if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) { 6281 var componentName = getComponentName(ReactCurrentOwner.current.type); 6282 6283 if (!didWarnAboutStringRefs[componentName]) { 6284 error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://fb.me/react-strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref); 6285 6286 didWarnAboutStringRefs[componentName] = true; 6287 } 6288 } 6289 } 6290} 6291/** 6292 * Factory method to create a new React element. This no longer adheres to 6293 * the class pattern, so do not use new to call it. Also, instanceof check 6294 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check 6295 * if something is a React Element. 6296 * 6297 * @param {*} type 6298 * @param {*} props 6299 * @param {*} key 6300 * @param {string|object} ref 6301 * @param {*} owner 6302 * @param {*} self A *temporary* helper to detect places where `this` is 6303 * different from the `owner` when React.createElement is called, so that we 6304 * can warn. We want to get rid of owner and replace string `ref`s with arrow 6305 * functions, and as long as `this` and owner are the same, there will be no 6306 * change in behavior. 6307 * @param {*} source An annotation object (added by a transpiler or otherwise) 6308 * indicating filename, line number, and/or other information. 6309 * @internal 6310 */ 6311 6312 6313var ReactElement = function (type, key, ref, self, source, owner, props) { 6314 var element = { 6315 // This tag allows us to uniquely identify this as a React Element 6316 $$typeof: REACT_ELEMENT_TYPE, 6317 // Built-in properties that belong on the element 6318 type: type, 6319 key: key, 6320 ref: ref, 6321 props: props, 6322 // Record the component responsible for creating this element. 6323 _owner: owner 6324 }; 6325 6326 { 6327 // The validation flag is currently mutative. We put it on 6328 // an external backing store so that we can freeze the whole object. 6329 // This can be replaced with a WeakMap once they are implemented in 6330 // commonly used development environments. 6331 element._store = {}; // To make comparing ReactElements easier for testing purposes, we make 6332 // the validation flag non-enumerable (where possible, which should 6333 // include every environment we run tests in), so the test framework 6334 // ignores it. 6335 6336 Object.defineProperty(element._store, 'validated', { 6337 configurable: false, 6338 enumerable: false, 6339 writable: true, 6340 value: false 6341 }); // self and source are DEV only properties. 6342 6343 Object.defineProperty(element, '_self', { 6344 configurable: false, 6345 enumerable: false, 6346 writable: false, 6347 value: self 6348 }); // Two elements created in two different places should be considered 6349 // equal for testing purposes and therefore we hide it from enumeration. 6350 6351 Object.defineProperty(element, '_source', { 6352 configurable: false, 6353 enumerable: false, 6354 writable: false, 6355 value: source 6356 }); 6357 6358 if (Object.freeze) { 6359 Object.freeze(element.props); 6360 Object.freeze(element); 6361 } 6362 } 6363 6364 return element; 6365}; 6366/** 6367 * Create and return a new ReactElement of the given type. 6368 * See https://reactjs.org/docs/react-api.html#createelement 6369 */ 6370 6371function createElement(type, config, children) { 6372 var propName; // Reserved names are extracted 6373 6374 var props = {}; 6375 var key = null; 6376 var ref = null; 6377 var self = null; 6378 var source = null; 6379 6380 if (config != null) { 6381 if (hasValidRef(config)) { 6382 ref = config.ref; 6383 6384 { 6385 warnIfStringRefCannotBeAutoConverted(config); 6386 } 6387 } 6388 6389 if (hasValidKey(config)) { 6390 key = '' + config.key; 6391 } 6392 6393 self = config.__self === undefined ? null : config.__self; 6394 source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object 6395 6396 for (propName in config) { 6397 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 6398 props[propName] = config[propName]; 6399 } 6400 } 6401 } // Children can be more than one argument, and those are transferred onto 6402 // the newly allocated props object. 6403 6404 6405 var childrenLength = arguments.length - 2; 6406 6407 if (childrenLength === 1) { 6408 props.children = children; 6409 } else if (childrenLength > 1) { 6410 var childArray = Array(childrenLength); 6411 6412 for (var i = 0; i < childrenLength; i++) { 6413 childArray[i] = arguments[i + 2]; 6414 } 6415 6416 { 6417 if (Object.freeze) { 6418 Object.freeze(childArray); 6419 } 6420 } 6421 6422 props.children = childArray; 6423 } // Resolve default props 6424 6425 6426 if (type && type.defaultProps) { 6427 var defaultProps = type.defaultProps; 6428 6429 for (propName in defaultProps) { 6430 if (props[propName] === undefined) { 6431 props[propName] = defaultProps[propName]; 6432 } 6433 } 6434 } 6435 6436 { 6437 if (key || ref) { 6438 var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; 6439 6440 if (key) { 6441 defineKeyPropWarningGetter(props, displayName); 6442 } 6443 6444 if (ref) { 6445 defineRefPropWarningGetter(props, displayName); 6446 } 6447 } 6448 } 6449 6450 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); 6451} 6452function cloneAndReplaceKey(oldElement, newKey) { 6453 var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); 6454 return newElement; 6455} 6456/** 6457 * Clone and return a new ReactElement using element as the starting point. 6458 * See https://reactjs.org/docs/react-api.html#cloneelement 6459 */ 6460 6461function cloneElement(element, config, children) { 6462 if (!!(element === null || element === undefined)) { 6463 { 6464 throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." ); 6465 } 6466 } 6467 6468 var propName; // Original props are copied 6469 6470 var props = _assign({}, element.props); // Reserved names are extracted 6471 6472 6473 var key = element.key; 6474 var ref = element.ref; // Self is preserved since the owner is preserved. 6475 6476 var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a 6477 // transpiler, and the original source is probably a better indicator of the 6478 // true owner. 6479 6480 var source = element._source; // Owner will be preserved, unless ref is overridden 6481 6482 var owner = element._owner; 6483 6484 if (config != null) { 6485 if (hasValidRef(config)) { 6486 // Silently steal the ref from the parent. 6487 ref = config.ref; 6488 owner = ReactCurrentOwner.current; 6489 } 6490 6491 if (hasValidKey(config)) { 6492 key = '' + config.key; 6493 } // Remaining properties override existing props 6494 6495 6496 var defaultProps; 6497 6498 if (element.type && element.type.defaultProps) { 6499 defaultProps = element.type.defaultProps; 6500 } 6501 6502 for (propName in config) { 6503 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 6504 if (config[propName] === undefined && defaultProps !== undefined) { 6505 // Resolve default props 6506 props[propName] = defaultProps[propName]; 6507 } else { 6508 props[propName] = config[propName]; 6509 } 6510 } 6511 } 6512 } // Children can be more than one argument, and those are transferred onto 6513 // the newly allocated props object. 6514 6515 6516 var childrenLength = arguments.length - 2; 6517 6518 if (childrenLength === 1) { 6519 props.children = children; 6520 } else if (childrenLength > 1) { 6521 var childArray = Array(childrenLength); 6522 6523 for (var i = 0; i < childrenLength; i++) { 6524 childArray[i] = arguments[i + 2]; 6525 } 6526 6527 props.children = childArray; 6528 } 6529 6530 return ReactElement(element.type, key, ref, self, source, owner, props); 6531} 6532/** 6533 * Verifies the object is a ReactElement. 6534 * See https://reactjs.org/docs/react-api.html#isvalidelement 6535 * @param {?object} object 6536 * @return {boolean} True if `object` is a ReactElement. 6537 * @final 6538 */ 6539 6540function isValidElement(object) { 6541 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 6542} 6543 6544var SEPARATOR = '.'; 6545var SUBSEPARATOR = ':'; 6546/** 6547 * Escape and wrap key so it is safe to use as a reactid 6548 * 6549 * @param {string} key to be escaped. 6550 * @return {string} the escaped key. 6551 */ 6552 6553function escape(key) { 6554 var escapeRegex = /[=:]/g; 6555 var escaperLookup = { 6556 '=': '=0', 6557 ':': '=2' 6558 }; 6559 var escapedString = ('' + key).replace(escapeRegex, function (match) { 6560 return escaperLookup[match]; 6561 }); 6562 return '$' + escapedString; 6563} 6564/** 6565 * TODO: Test that a single child and an array with one item have the same key 6566 * pattern. 6567 */ 6568 6569 6570var didWarnAboutMaps = false; 6571var userProvidedKeyEscapeRegex = /\/+/g; 6572 6573function escapeUserProvidedKey(text) { 6574 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); 6575} 6576 6577var POOL_SIZE = 10; 6578var traverseContextPool = []; 6579 6580function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) { 6581 if (traverseContextPool.length) { 6582 var traverseContext = traverseContextPool.pop(); 6583 traverseContext.result = mapResult; 6584 traverseContext.keyPrefix = keyPrefix; 6585 traverseContext.func = mapFunction; 6586 traverseContext.context = mapContext; 6587 traverseContext.count = 0; 6588 return traverseContext; 6589 } else { 6590 return { 6591 result: mapResult, 6592 keyPrefix: keyPrefix, 6593 func: mapFunction, 6594 context: mapContext, 6595 count: 0 6596 }; 6597 } 6598} 6599 6600function releaseTraverseContext(traverseContext) { 6601 traverseContext.result = null; 6602 traverseContext.keyPrefix = null; 6603 traverseContext.func = null; 6604 traverseContext.context = null; 6605 traverseContext.count = 0; 6606 6607 if (traverseContextPool.length < POOL_SIZE) { 6608 traverseContextPool.push(traverseContext); 6609 } 6610} 6611/** 6612 * @param {?*} children Children tree container. 6613 * @param {!string} nameSoFar Name of the key path so far. 6614 * @param {!function} callback Callback to invoke with each child found. 6615 * @param {?*} traverseContext Used to pass information throughout the traversal 6616 * process. 6617 * @return {!number} The number of children in this subtree. 6618 */ 6619 6620 6621function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { 6622 var type = typeof children; 6623 6624 if (type === 'undefined' || type === 'boolean') { 6625 // All of the above are perceived as null. 6626 children = null; 6627 } 6628 6629 var invokeCallback = false; 6630 6631 if (children === null) { 6632 invokeCallback = true; 6633 } else { 6634 switch (type) { 6635 case 'string': 6636 case 'number': 6637 invokeCallback = true; 6638 break; 6639 6640 case 'object': 6641 switch (children.$$typeof) { 6642 case REACT_ELEMENT_TYPE: 6643 case REACT_PORTAL_TYPE: 6644 invokeCallback = true; 6645 } 6646 6647 } 6648 } 6649 6650 if (invokeCallback) { 6651 callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array 6652 // so that it's consistent if the number of children grows. 6653 nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); 6654 return 1; 6655 } 6656 6657 var child; 6658 var nextName; 6659 var subtreeCount = 0; // Count of children found in the current subtree. 6660 6661 var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; 6662 6663 if (Array.isArray(children)) { 6664 for (var i = 0; i < children.length; i++) { 6665 child = children[i]; 6666 nextName = nextNamePrefix + getComponentKey(child, i); 6667 subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); 6668 } 6669 } else { 6670 var iteratorFn = getIteratorFn(children); 6671 6672 if (typeof iteratorFn === 'function') { 6673 6674 { 6675 // Warn about using Maps as children 6676 if (iteratorFn === children.entries) { 6677 if (!didWarnAboutMaps) { 6678 warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.'); 6679 } 6680 6681 didWarnAboutMaps = true; 6682 } 6683 } 6684 6685 var iterator = iteratorFn.call(children); 6686 var step; 6687 var ii = 0; 6688 6689 while (!(step = iterator.next()).done) { 6690 child = step.value; 6691 nextName = nextNamePrefix + getComponentKey(child, ii++); 6692 subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); 6693 } 6694 } else if (type === 'object') { 6695 var addendum = ''; 6696 6697 { 6698 addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum(); 6699 } 6700 6701 var childrenString = '' + children; 6702 6703 { 6704 { 6705 throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum ); 6706 } 6707 } 6708 } 6709 } 6710 6711 return subtreeCount; 6712} 6713/** 6714 * Traverses children that are typically specified as `props.children`, but 6715 * might also be specified through attributes: 6716 * 6717 * - `traverseAllChildren(this.props.children, ...)` 6718 * - `traverseAllChildren(this.props.leftPanelChildren, ...)` 6719 * 6720 * The `traverseContext` is an optional argument that is passed through the 6721 * entire traversal. It can be used to store accumulations or anything else that 6722 * the callback might find relevant. 6723 * 6724 * @param {?*} children Children tree object. 6725 * @param {!function} callback To invoke upon traversing each child. 6726 * @param {?*} traverseContext Context for traversal. 6727 * @return {!number} The number of children in this subtree. 6728 */ 6729 6730 6731function traverseAllChildren(children, callback, traverseContext) { 6732 if (children == null) { 6733 return 0; 6734 } 6735 6736 return traverseAllChildrenImpl(children, '', callback, traverseContext); 6737} 6738/** 6739 * Generate a key string that identifies a component within a set. 6740 * 6741 * @param {*} component A component that could contain a manual key. 6742 * @param {number} index Index that is used if a manual key is not provided. 6743 * @return {string} 6744 */ 6745 6746 6747function getComponentKey(component, index) { 6748 // Do some typechecking here since we call this blindly. We want to ensure 6749 // that we don't block potential future ES APIs. 6750 if (typeof component === 'object' && component !== null && component.key != null) { 6751 // Explicit key 6752 return escape(component.key); 6753 } // Implicit key determined by the index in the set 6754 6755 6756 return index.toString(36); 6757} 6758 6759function forEachSingleChild(bookKeeping, child, name) { 6760 var func = bookKeeping.func, 6761 context = bookKeeping.context; 6762 func.call(context, child, bookKeeping.count++); 6763} 6764/** 6765 * Iterates through children that are typically specified as `props.children`. 6766 * 6767 * See https://reactjs.org/docs/react-api.html#reactchildrenforeach 6768 * 6769 * The provided forEachFunc(child, index) will be called for each 6770 * leaf child. 6771 * 6772 * @param {?*} children Children tree container. 6773 * @param {function(*, int)} forEachFunc 6774 * @param {*} forEachContext Context for forEachContext. 6775 */ 6776 6777 6778function forEachChildren(children, forEachFunc, forEachContext) { 6779 if (children == null) { 6780 return children; 6781 } 6782 6783 var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext); 6784 traverseAllChildren(children, forEachSingleChild, traverseContext); 6785 releaseTraverseContext(traverseContext); 6786} 6787 6788function mapSingleChildIntoContext(bookKeeping, child, childKey) { 6789 var result = bookKeeping.result, 6790 keyPrefix = bookKeeping.keyPrefix, 6791 func = bookKeeping.func, 6792 context = bookKeeping.context; 6793 var mappedChild = func.call(context, child, bookKeeping.count++); 6794 6795 if (Array.isArray(mappedChild)) { 6796 mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) { 6797 return c; 6798 }); 6799 } else if (mappedChild != null) { 6800 if (isValidElement(mappedChild)) { 6801 mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as 6802 // traverseAllChildren used to do for objects as children 6803 keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey); 6804 } 6805 6806 result.push(mappedChild); 6807 } 6808} 6809 6810function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { 6811 var escapedPrefix = ''; 6812 6813 if (prefix != null) { 6814 escapedPrefix = escapeUserProvidedKey(prefix) + '/'; 6815 } 6816 6817 var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context); 6818 traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); 6819 releaseTraverseContext(traverseContext); 6820} 6821/** 6822 * Maps children that are typically specified as `props.children`. 6823 * 6824 * See https://reactjs.org/docs/react-api.html#reactchildrenmap 6825 * 6826 * The provided mapFunction(child, key, index) will be called for each 6827 * leaf child. 6828 * 6829 * @param {?*} children Children tree container. 6830 * @param {function(*, int)} func The map function. 6831 * @param {*} context Context for mapFunction. 6832 * @return {object} Object containing the ordered map of results. 6833 */ 6834 6835 6836function mapChildren(children, func, context) { 6837 if (children == null) { 6838 return children; 6839 } 6840 6841 var result = []; 6842 mapIntoWithKeyPrefixInternal(children, result, null, func, context); 6843 return result; 6844} 6845/** 6846 * Count the number of children that are typically specified as 6847 * `props.children`. 6848 * 6849 * See https://reactjs.org/docs/react-api.html#reactchildrencount 6850 * 6851 * @param {?*} children Children tree container. 6852 * @return {number} The number of children. 6853 */ 6854 6855 6856function countChildren(children) { 6857 return traverseAllChildren(children, function () { 6858 return null; 6859 }, null); 6860} 6861/** 6862 * Flatten a children object (typically specified as `props.children`) and 6863 * return an array with appropriately re-keyed children. 6864 * 6865 * See https://reactjs.org/docs/react-api.html#reactchildrentoarray 6866 */ 6867 6868 6869function toArray(children) { 6870 var result = []; 6871 mapIntoWithKeyPrefixInternal(children, result, null, function (child) { 6872 return child; 6873 }); 6874 return result; 6875} 6876/** 6877 * Returns the first child in a collection of children and verifies that there 6878 * is only one child in the collection. 6879 * 6880 * See https://reactjs.org/docs/react-api.html#reactchildrenonly 6881 * 6882 * The current implementation of this function assumes that a single child gets 6883 * passed without a wrapper, but the purpose of this helper function is to 6884 * abstract away the particular structure of children. 6885 * 6886 * @param {?object} children Child collection structure. 6887 * @return {ReactElement} The first and only `ReactElement` contained in the 6888 * structure. 6889 */ 6890 6891 6892function onlyChild(children) { 6893 if (!isValidElement(children)) { 6894 { 6895 throw Error( "React.Children.only expected to receive a single React element child." ); 6896 } 6897 } 6898 6899 return children; 6900} 6901 6902function createContext(defaultValue, calculateChangedBits) { 6903 if (calculateChangedBits === undefined) { 6904 calculateChangedBits = null; 6905 } else { 6906 { 6907 if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') { 6908 error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits); 6909 } 6910 } 6911 } 6912 6913 var context = { 6914 $$typeof: REACT_CONTEXT_TYPE, 6915 _calculateChangedBits: calculateChangedBits, 6916 // As a workaround to support multiple concurrent renderers, we categorize 6917 // some renderers as primary and others as secondary. We only expect 6918 // there to be two concurrent renderers at most: React Native (primary) and 6919 // Fabric (secondary); React DOM (primary) and React ART (secondary). 6920 // Secondary renderers store their context values on separate fields. 6921 _currentValue: defaultValue, 6922 _currentValue2: defaultValue, 6923 // Used to track how many concurrent renderers this context currently 6924 // supports within in a single renderer. Such as parallel server rendering. 6925 _threadCount: 0, 6926 // These are circular 6927 Provider: null, 6928 Consumer: null 6929 }; 6930 context.Provider = { 6931 $$typeof: REACT_PROVIDER_TYPE, 6932 _context: context 6933 }; 6934 var hasWarnedAboutUsingNestedContextConsumers = false; 6935 var hasWarnedAboutUsingConsumerProvider = false; 6936 6937 { 6938 // A separate object, but proxies back to the original context object for 6939 // backwards compatibility. It has a different $$typeof, so we can properly 6940 // warn for the incorrect usage of Context as a Consumer. 6941 var Consumer = { 6942 $$typeof: REACT_CONTEXT_TYPE, 6943 _context: context, 6944 _calculateChangedBits: context._calculateChangedBits 6945 }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here 6946 6947 Object.defineProperties(Consumer, { 6948 Provider: { 6949 get: function () { 6950 if (!hasWarnedAboutUsingConsumerProvider) { 6951 hasWarnedAboutUsingConsumerProvider = true; 6952 6953 error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?'); 6954 } 6955 6956 return context.Provider; 6957 }, 6958 set: function (_Provider) { 6959 context.Provider = _Provider; 6960 } 6961 }, 6962 _currentValue: { 6963 get: function () { 6964 return context._currentValue; 6965 }, 6966 set: function (_currentValue) { 6967 context._currentValue = _currentValue; 6968 } 6969 }, 6970 _currentValue2: { 6971 get: function () { 6972 return context._currentValue2; 6973 }, 6974 set: function (_currentValue2) { 6975 context._currentValue2 = _currentValue2; 6976 } 6977 }, 6978 _threadCount: { 6979 get: function () { 6980 return context._threadCount; 6981 }, 6982 set: function (_threadCount) { 6983 context._threadCount = _threadCount; 6984 } 6985 }, 6986 Consumer: { 6987 get: function () { 6988 if (!hasWarnedAboutUsingNestedContextConsumers) { 6989 hasWarnedAboutUsingNestedContextConsumers = true; 6990 6991 error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?'); 6992 } 6993 6994 return context.Consumer; 6995 } 6996 } 6997 }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty 6998 6999 context.Consumer = Consumer; 7000 } 7001 7002 { 7003 context._currentRenderer = null; 7004 context._currentRenderer2 = null; 7005 } 7006 7007 return context; 7008} 7009 7010function lazy(ctor) { 7011 var lazyType = { 7012 $$typeof: REACT_LAZY_TYPE, 7013 _ctor: ctor, 7014 // React uses these fields to store the result. 7015 _status: -1, 7016 _result: null 7017 }; 7018 7019 { 7020 // In production, this would just set it on the object. 7021 var defaultProps; 7022 var propTypes; 7023 Object.defineProperties(lazyType, { 7024 defaultProps: { 7025 configurable: true, 7026 get: function () { 7027 return defaultProps; 7028 }, 7029 set: function (newDefaultProps) { 7030 error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.'); 7031 7032 defaultProps = newDefaultProps; // Match production behavior more closely: 7033 7034 Object.defineProperty(lazyType, 'defaultProps', { 7035 enumerable: true 7036 }); 7037 } 7038 }, 7039 propTypes: { 7040 configurable: true, 7041 get: function () { 7042 return propTypes; 7043 }, 7044 set: function (newPropTypes) { 7045 error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.'); 7046 7047 propTypes = newPropTypes; // Match production behavior more closely: 7048 7049 Object.defineProperty(lazyType, 'propTypes', { 7050 enumerable: true 7051 }); 7052 } 7053 } 7054 }); 7055 } 7056 7057 return lazyType; 7058} 7059 7060function forwardRef(render) { 7061 { 7062 if (render != null && render.$$typeof === REACT_MEMO_TYPE) { 7063 error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).'); 7064 } else if (typeof render !== 'function') { 7065 error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render); 7066 } else { 7067 if (render.length !== 0 && render.length !== 2) { 7068 error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.'); 7069 } 7070 } 7071 7072 if (render != null) { 7073 if (render.defaultProps != null || render.propTypes != null) { 7074 error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?'); 7075 } 7076 } 7077 } 7078 7079 return { 7080 $$typeof: REACT_FORWARD_REF_TYPE, 7081 render: render 7082 }; 7083} 7084 7085function isValidElementType(type) { 7086 return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. 7087 type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE); 7088} 7089 7090function memo(type, compare) { 7091 { 7092 if (!isValidElementType(type)) { 7093 error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type); 7094 } 7095 } 7096 7097 return { 7098 $$typeof: REACT_MEMO_TYPE, 7099 type: type, 7100 compare: compare === undefined ? null : compare 7101 }; 7102} 7103 7104function resolveDispatcher() { 7105 var dispatcher = ReactCurrentDispatcher.current; 7106 7107 if (!(dispatcher !== null)) { 7108 { 7109 throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem." ); 7110 } 7111 } 7112 7113 return dispatcher; 7114} 7115 7116function useContext(Context, unstable_observedBits) { 7117 var dispatcher = resolveDispatcher(); 7118 7119 { 7120 if (unstable_observedBits !== undefined) { 7121 error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : ''); 7122 } // TODO: add a more generic warning for invalid values. 7123 7124 7125 if (Context._context !== undefined) { 7126 var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs 7127 // and nobody should be using this in existing code. 7128 7129 if (realContext.Consumer === Context) { 7130 error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?'); 7131 } else if (realContext.Provider === Context) { 7132 error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?'); 7133 } 7134 } 7135 } 7136 7137 return dispatcher.useContext(Context, unstable_observedBits); 7138} 7139function useState(initialState) { 7140 var dispatcher = resolveDispatcher(); 7141 return dispatcher.useState(initialState); 7142} 7143function useReducer(reducer, initialArg, init) { 7144 var dispatcher = resolveDispatcher(); 7145 return dispatcher.useReducer(reducer, initialArg, init); 7146} 7147function useRef(initialValue) { 7148 var dispatcher = resolveDispatcher(); 7149 return dispatcher.useRef(initialValue); 7150} 7151function useEffect(create, deps) { 7152 var dispatcher = resolveDispatcher(); 7153 return dispatcher.useEffect(create, deps); 7154} 7155function useLayoutEffect(create, deps) { 7156 var dispatcher = resolveDispatcher(); 7157 return dispatcher.useLayoutEffect(create, deps); 7158} 7159function useCallback(callback, deps) { 7160 var dispatcher = resolveDispatcher(); 7161 return dispatcher.useCallback(callback, deps); 7162} 7163function useMemo(create, deps) { 7164 var dispatcher = resolveDispatcher(); 7165 return dispatcher.useMemo(create, deps); 7166} 7167function useImperativeHandle(ref, create, deps) { 7168 var dispatcher = resolveDispatcher(); 7169 return dispatcher.useImperativeHandle(ref, create, deps); 7170} 7171function useDebugValue(value, formatterFn) { 7172 { 7173 var dispatcher = resolveDispatcher(); 7174 return dispatcher.useDebugValue(value, formatterFn); 7175 } 7176} 7177 7178var propTypesMisspellWarningShown; 7179 7180{ 7181 propTypesMisspellWarningShown = false; 7182} 7183 7184function getDeclarationErrorAddendum() { 7185 if (ReactCurrentOwner.current) { 7186 var name = getComponentName(ReactCurrentOwner.current.type); 7187 7188 if (name) { 7189 return '\n\nCheck the render method of `' + name + '`.'; 7190 } 7191 } 7192 7193 return ''; 7194} 7195 7196function getSourceInfoErrorAddendum(source) { 7197 if (source !== undefined) { 7198 var fileName = source.fileName.replace(/^.*[\\\/]/, ''); 7199 var lineNumber = source.lineNumber; 7200 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; 7201 } 7202 7203 return ''; 7204} 7205 7206function getSourceInfoErrorAddendumForProps(elementProps) { 7207 if (elementProps !== null && elementProps !== undefined) { 7208 return getSourceInfoErrorAddendum(elementProps.__source); 7209 } 7210 7211 return ''; 7212} 7213/** 7214 * Warn if there's no key explicitly set on dynamic arrays of children or 7215 * object keys are not valid. This allows us to keep track of children between 7216 * updates. 7217 */ 7218 7219 7220var ownerHasKeyUseWarning = {}; 7221 7222function getCurrentComponentErrorInfo(parentType) { 7223 var info = getDeclarationErrorAddendum(); 7224 7225 if (!info) { 7226 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; 7227 7228 if (parentName) { 7229 info = "\n\nCheck the top-level render call using <" + parentName + ">."; 7230 } 7231 } 7232 7233 return info; 7234} 7235/** 7236 * Warn if the element doesn't have an explicit key assigned to it. 7237 * This element is in an array. The array could grow and shrink or be 7238 * reordered. All children that haven't already been validated are required to 7239 * have a "key" property assigned to it. Error statuses are cached so a warning 7240 * will only be shown once. 7241 * 7242 * @internal 7243 * @param {ReactElement} element Element that requires a key. 7244 * @param {*} parentType element's parent's type. 7245 */ 7246 7247 7248function validateExplicitKey(element, parentType) { 7249 if (!element._store || element._store.validated || element.key != null) { 7250 return; 7251 } 7252 7253 element._store.validated = true; 7254 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); 7255 7256 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { 7257 return; 7258 } 7259 7260 ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a 7261 // property, it may be the creator of the child that's responsible for 7262 // assigning it a key. 7263 7264 var childOwner = ''; 7265 7266 if (element && element._owner && element._owner !== ReactCurrentOwner.current) { 7267 // Give the component that originally created this child. 7268 childOwner = " It was passed a child from " + getComponentName(element._owner.type) + "."; 7269 } 7270 7271 setCurrentlyValidatingElement(element); 7272 7273 { 7274 error('Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner); 7275 } 7276 7277 setCurrentlyValidatingElement(null); 7278} 7279/** 7280 * Ensure that every element either is passed in a static location, in an 7281 * array with an explicit keys property defined, or in an object literal 7282 * with valid key property. 7283 * 7284 * @internal 7285 * @param {ReactNode} node Statically passed child of any type. 7286 * @param {*} parentType node's parent's type. 7287 */ 7288 7289 7290function validateChildKeys(node, parentType) { 7291 if (typeof node !== 'object') { 7292 return; 7293 } 7294 7295 if (Array.isArray(node)) { 7296 for (var i = 0; i < node.length; i++) { 7297 var child = node[i]; 7298 7299 if (isValidElement(child)) { 7300 validateExplicitKey(child, parentType); 7301 } 7302 } 7303 } else if (isValidElement(node)) { 7304 // This element was passed in a valid location. 7305 if (node._store) { 7306 node._store.validated = true; 7307 } 7308 } else if (node) { 7309 var iteratorFn = getIteratorFn(node); 7310 7311 if (typeof iteratorFn === 'function') { 7312 // Entry iterators used to provide implicit keys, 7313 // but now we print a separate warning for them later. 7314 if (iteratorFn !== node.entries) { 7315 var iterator = iteratorFn.call(node); 7316 var step; 7317 7318 while (!(step = iterator.next()).done) { 7319 if (isValidElement(step.value)) { 7320 validateExplicitKey(step.value, parentType); 7321 } 7322 } 7323 } 7324 } 7325 } 7326} 7327/** 7328 * Given an element, validate that its props follow the propTypes definition, 7329 * provided by the type. 7330 * 7331 * @param {ReactElement} element 7332 */ 7333 7334 7335function validatePropTypes(element) { 7336 { 7337 var type = element.type; 7338 7339 if (type === null || type === undefined || typeof type === 'string') { 7340 return; 7341 } 7342 7343 var name = getComponentName(type); 7344 var propTypes; 7345 7346 if (typeof type === 'function') { 7347 propTypes = type.propTypes; 7348 } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. 7349 // Inner props are checked in the reconciler. 7350 type.$$typeof === REACT_MEMO_TYPE)) { 7351 propTypes = type.propTypes; 7352 } else { 7353 return; 7354 } 7355 7356 if (propTypes) { 7357 setCurrentlyValidatingElement(element); 7358 checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum); 7359 setCurrentlyValidatingElement(null); 7360 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { 7361 propTypesMisspellWarningShown = true; 7362 7363 error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown'); 7364 } 7365 7366 if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { 7367 error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); 7368 } 7369 } 7370} 7371/** 7372 * Given a fragment, validate that it can only be provided with fragment props 7373 * @param {ReactElement} fragment 7374 */ 7375 7376 7377function validateFragmentProps(fragment) { 7378 { 7379 setCurrentlyValidatingElement(fragment); 7380 var keys = Object.keys(fragment.props); 7381 7382 for (var i = 0; i < keys.length; i++) { 7383 var key = keys[i]; 7384 7385 if (key !== 'children' && key !== 'key') { 7386 error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); 7387 7388 break; 7389 } 7390 } 7391 7392 if (fragment.ref !== null) { 7393 error('Invalid attribute `ref` supplied to `React.Fragment`.'); 7394 } 7395 7396 setCurrentlyValidatingElement(null); 7397 } 7398} 7399function createElementWithValidation(type, props, children) { 7400 var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to 7401 // succeed and there will likely be errors in render. 7402 7403 if (!validType) { 7404 var info = ''; 7405 7406 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 7407 info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports."; 7408 } 7409 7410 var sourceInfo = getSourceInfoErrorAddendumForProps(props); 7411 7412 if (sourceInfo) { 7413 info += sourceInfo; 7414 } else { 7415 info += getDeclarationErrorAddendum(); 7416 } 7417 7418 var typeString; 7419 7420 if (type === null) { 7421 typeString = 'null'; 7422 } else if (Array.isArray(type)) { 7423 typeString = 'array'; 7424 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { 7425 typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />"; 7426 info = ' Did you accidentally export a JSX literal instead of a component?'; 7427 } else { 7428 typeString = typeof type; 7429 } 7430 7431 { 7432 error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info); 7433 } 7434 } 7435 7436 var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used. 7437 // TODO: Drop this when these are no longer allowed as the type argument. 7438 7439 if (element == null) { 7440 return element; 7441 } // Skip key warning if the type isn't valid since our key validation logic 7442 // doesn't expect a non-string/function type and can throw confusing errors. 7443 // We don't want exception behavior to differ between dev and prod. 7444 // (Rendering will throw with a helpful message and as soon as the type is 7445 // fixed, the key warnings will appear.) 7446 7447 7448 if (validType) { 7449 for (var i = 2; i < arguments.length; i++) { 7450 validateChildKeys(arguments[i], type); 7451 } 7452 } 7453 7454 if (type === REACT_FRAGMENT_TYPE) { 7455 validateFragmentProps(element); 7456 } else { 7457 validatePropTypes(element); 7458 } 7459 7460 return element; 7461} 7462var didWarnAboutDeprecatedCreateFactory = false; 7463function createFactoryWithValidation(type) { 7464 var validatedFactory = createElementWithValidation.bind(null, type); 7465 validatedFactory.type = type; 7466 7467 { 7468 if (!didWarnAboutDeprecatedCreateFactory) { 7469 didWarnAboutDeprecatedCreateFactory = true; 7470 7471 warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.'); 7472 } // Legacy hook: remove it 7473 7474 7475 Object.defineProperty(validatedFactory, 'type', { 7476 enumerable: false, 7477 get: function () { 7478 warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.'); 7479 7480 Object.defineProperty(this, 'type', { 7481 value: type 7482 }); 7483 return type; 7484 } 7485 }); 7486 } 7487 7488 return validatedFactory; 7489} 7490function cloneElementWithValidation(element, props, children) { 7491 var newElement = cloneElement.apply(this, arguments); 7492 7493 for (var i = 2; i < arguments.length; i++) { 7494 validateChildKeys(arguments[i], newElement.type); 7495 } 7496 7497 validatePropTypes(newElement); 7498 return newElement; 7499} 7500 7501{ 7502 7503 try { 7504 var frozenObject = Object.freeze({}); 7505 var testMap = new Map([[frozenObject, null]]); 7506 var testSet = new Set([frozenObject]); // This is necessary for Rollup to not consider these unused. 7507 // https://github.com/rollup/rollup/issues/1771 7508 // TODO: we can remove these if Rollup fixes the bug. 7509 7510 testMap.set(0, 0); 7511 testSet.add(0); 7512 } catch (e) { 7513 } 7514} 7515 7516var createElement$1 = createElementWithValidation ; 7517var cloneElement$1 = cloneElementWithValidation ; 7518var createFactory = createFactoryWithValidation ; 7519var Children = { 7520 map: mapChildren, 7521 forEach: forEachChildren, 7522 count: countChildren, 7523 toArray: toArray, 7524 only: onlyChild 7525}; 7526 7527exports.Children = Children; 7528exports.Component = Component; 7529exports.Fragment = REACT_FRAGMENT_TYPE; 7530exports.Profiler = REACT_PROFILER_TYPE; 7531exports.PureComponent = PureComponent; 7532exports.StrictMode = REACT_STRICT_MODE_TYPE; 7533exports.Suspense = REACT_SUSPENSE_TYPE; 7534exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; 7535exports.cloneElement = cloneElement$1; 7536exports.createContext = createContext; 7537exports.createElement = createElement$1; 7538exports.createFactory = createFactory; 7539exports.createRef = createRef; 7540exports.forwardRef = forwardRef; 7541exports.isValidElement = isValidElement; 7542exports.lazy = lazy; 7543exports.memo = memo; 7544exports.useCallback = useCallback; 7545exports.useContext = useContext; 7546exports.useDebugValue = useDebugValue; 7547exports.useEffect = useEffect; 7548exports.useImperativeHandle = useImperativeHandle; 7549exports.useLayoutEffect = useLayoutEffect; 7550exports.useMemo = useMemo; 7551exports.useReducer = useReducer; 7552exports.useRef = useRef; 7553exports.useState = useState; 7554exports.version = ReactVersion; 7555 })(); 7556} 7557 7558 7559/***/ }), 7560
vendor: 411 bytes, lines 7561-7576
7561/***/ "./node_modules/react/index.js": 7562/*!*************************************!*\ 7563 !*** ./node_modules/react/index.js ***! 7564 \*************************************/ 7565/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 7566 7567"use strict"; 7568 7569 7570if (false) {} else { 7571 module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "./node_modules/react/cjs/react.development.js"); 7572} 7573 7574 7575/***/ }), 7576
vendor: 459 bytes, lines 7577-7592
7577/***/ "./node_modules/react/jsx-runtime.js": 7578/*!*******************************************!*\ 7579 !*** ./node_modules/react/jsx-runtime.js ***! 7580 \*******************************************/ 7581/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 7582 7583"use strict"; 7584 7585 7586if (false) {} else { 7587 module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/react/cjs/react-jsx-runtime.development.js"); 7588} 7589 7590 7591/***/ }), 7592
vendor: 1,227 bytes, lines 7593-7627
7593/***/ "./node_modules/style-to-js/cjs/index.js": 7594/*!***********************************************!*\ 7595 !*** ./node_modules/style-to-js/cjs/index.js ***! 7596 \***********************************************/ 7597/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7598 7599"use strict"; 7600 7601var __importDefault = (this && this.__importDefault) || function (mod) { 7602 return (mod && mod.__esModule) ? mod : { "default": mod }; 7603}; 7604var style_to_object_1 = __importDefault(__webpack_require__(/*! style-to-object */ "./node_modules/style-to-object/cjs/index.js")); 7605var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/style-to-js/cjs/utilities.js"); 7606/** 7607 * Parses CSS inline style to JavaScript object (camelCased). 7608 */ 7609function StyleToJS(style, options) { 7610 var output = {}; 7611 if (!style || typeof style !== 'string') { 7612 return output; 7613 } 7614 (0, style_to_object_1.default)(style, function (property, value) { 7615 // skip CSS comment 7616 if (property && value) { 7617 output[(0, utilities_1.camelCase)(property, options)] = value; 7618 } 7619 }); 7620 return output; 7621} 7622StyleToJS.default = StyleToJS; 7623module.exports = StyleToJS; 7624//# sourceMappingURL=index.js.map 7625 7626/***/ }), 7627
vendor: 1,797 bytes, lines 7628-7684
7628/***/ "./node_modules/style-to-js/cjs/utilities.js": 7629/*!***************************************************!*\ 7630 !*** ./node_modules/style-to-js/cjs/utilities.js ***! 7631 \***************************************************/ 7632/***/ ((__unused_webpack_module, exports) => { 7633 7634"use strict"; 7635 7636Object.defineProperty(exports, "__esModule", ({ value: true })); 7637exports.camelCase = void 0; 7638var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/; 7639var HYPHEN_REGEX = /-([a-z])/g; 7640var NO_HYPHEN_REGEX = /^[^-]+$/; 7641var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/; 7642var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/; 7643/** 7644 * Checks whether to skip camelCase. 7645 */ 7646var skipCamelCase = function (property) { 7647 return !property || 7648 NO_HYPHEN_REGEX.test(property) || 7649 CUSTOM_PROPERTY_REGEX.test(property); 7650}; 7651/** 7652 * Replacer that capitalizes first character. 7653 */ 7654var capitalize = function (match, character) { 7655 return character.toUpperCase(); 7656}; 7657/** 7658 * Replacer that removes beginning hyphen of vendor prefix property. 7659 */ 7660var trimHyphen = function (match, prefix) { return "".concat(prefix, "-"); }; 7661/** 7662 * CamelCases a CSS property. 7663 */ 7664var camelCase = function (property, options) { 7665 if (options === void 0) { options = {}; } 7666 if (skipCamelCase(property)) { 7667 return property; 7668 } 7669 property = property.toLowerCase(); 7670 if (options.reactCompat) { 7671 // `-ms` vendor prefix should not be capitalized 7672 property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen); 7673 } 7674 else { 7675 // for non-React, remove first hyphen so vendor prefix is not capitalized 7676 property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen); 7677 } 7678 return property.replace(HYPHEN_REGEX, capitalize); 7679}; 7680exports.camelCase = camelCase; 7681//# sourceMappingURL=utilities.js.map 7682 7683/***/ }), 7684
vendor: 1,765 bytes, lines 7685-7738
7685/***/ "./node_modules/style-to-object/cjs/index.js": 7686/*!***************************************************!*\ 7687 !*** ./node_modules/style-to-object/cjs/index.js ***! 7688 \***************************************************/ 7689/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 7690 7691"use strict"; 7692 7693var __importDefault = (this && this.__importDefault) || function (mod) { 7694 return (mod && mod.__esModule) ? mod : { "default": mod }; 7695}; 7696Object.defineProperty(exports, "__esModule", ({ value: true })); 7697exports["default"] = StyleToObject; 7698var inline_style_parser_1 = __importDefault(__webpack_require__(/*! inline-style-parser */ "./node_modules/inline-style-parser/index.js")); 7699/** 7700 * Parses inline style to object. 7701 * 7702 * @param style - Inline style. 7703 * @param iterator - Iterator. 7704 * @returns - Style object or null. 7705 * 7706 * @example Parsing inline style to object: 7707 * 7708 * ```js 7709 * import parse from 'style-to-object'; 7710 * parse('line-height: 42;'); // { 'line-height': '42' } 7711 * ``` 7712 */ 7713function StyleToObject(style, iterator) { 7714 var styleObject = null; 7715 if (!style || typeof style !== 'string') { 7716 return styleObject; 7717 } 7718 var declarations = (0, inline_style_parser_1.default)(style); 7719 var hasIterator = typeof iterator === 'function'; 7720 declarations.forEach(function (declaration) { 7721 if (declaration.type !== 'declaration') { 7722 return; 7723 } 7724 var property = declaration.property, value = declaration.value; 7725 if (hasIterator) { 7726 iterator(property, value, declaration); 7727 } 7728 else if (value) { 7729 styleObject = styleObject || {}; 7730 styleObject[property] = value; 7731 } 7732 }); 7733 return styleObject; 7734} 7735//# sourceMappingURL=index.js.map 7736 7737/***/ }), 7738
vendor: 1,740 bytes, lines 7739-7765
7739/***/ "./node_modules/html-react-parser/esm/index.mjs": 7740/*!******************************************************!*\ 7741 !*** ./node_modules/html-react-parser/esm/index.mjs ***! 7742 \******************************************************/ 7743/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7744 7745"use strict"; 7746__webpack_require__.r(__webpack_exports__); 7747/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7748/* harmony export */ "Comment": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Comment), 7749/* harmony export */ "Element": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Element), 7750/* harmony export */ "ProcessingInstruction": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.ProcessingInstruction), 7751/* harmony export */ "Text": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Text), 7752/* harmony export */ "attributesToProps": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.attributesToProps), 7753/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 7754/* harmony export */ "domToReact": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.domToReact), 7755/* harmony export */ "htmlToDOM": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.htmlToDOM) 7756/* harmony export */ }); 7757/* harmony import */ var _lib_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lib/index.js */ "./node_modules/html-react-parser/lib/index.js"); 7758 7759 7760 7761 7762/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"] || _lib_index_js__WEBPACK_IMPORTED_MODULE_0__); 7763 7764 7765/***/ })
vendor: 3,048 bytes, lines 7765-7842
7765 7766 7767/******/ }); 7768/************************************************************************/ 7769/******/ // The module cache 7770/******/ var __webpack_module_cache__ = {}; 7771/******/ 7772/******/ // The require function 7773/******/ function __webpack_require__(moduleId) { 7774/******/ // Check if module is in cache 7775/******/ var cachedModule = __webpack_module_cache__[moduleId]; 7776/******/ if (cachedModule !== undefined) { 7777/******/ return cachedModule.exports; 7778/******/ } 7779/******/ // Create a new module (and put it into the cache) 7780/******/ var module = __webpack_module_cache__[moduleId] = { 7781/******/ // no module.id needed 7782/******/ // no module.loaded needed 7783/******/ exports: {} 7784/******/ }; 7785/******/ 7786/******/ // Execute the module function 7787/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); 7788/******/ 7789/******/ // Return the exports of the module 7790/******/ return module.exports; 7791/******/ } 7792/******/ 7793/************************************************************************/ 7794/******/ /* webpack/runtime/compat get default export */ 7795/******/ (() => { 7796/******/ // getDefaultExport function for compatibility with non-harmony modules 7797/******/ __webpack_require__.n = (module) => { 7798/******/ var getter = module && module.__esModule ? 7799/******/ () => (module['default']) : 7800/******/ () => (module); 7801/******/ __webpack_require__.d(getter, { a: getter }); 7802/******/ return getter; 7803/******/ }; 7804/******/ })(); 7805/******/ 7806/******/ /* webpack/runtime/define property getters */ 7807/******/ (() => { 7808/******/ // define getter functions for harmony exports 7809/******/ __webpack_require__.d = (exports, definition) => { 7810/******/ for(var key in definition) { 7811/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 7812/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 7813/******/ } 7814/******/ } 7815/******/ }; 7816/******/ })(); 7817/******/ 7818/******/ /* webpack/runtime/hasOwnProperty shorthand */ 7819/******/ (() => { 7820/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 7821/******/ })(); 7822/******/ 7823/******/ /* webpack/runtime/make namespace object */ 7824/******/ (() => { 7825/******/ // define __esModule on exports 7826/******/ __webpack_require__.r = (exports) => { 7827/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 7828/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 7829/******/ } 7830/******/ Object.defineProperty(exports, '__esModule', { value: true }); 7831/******/ }; 7832/******/ })(); 7833/******/ 7834/************************************************************************/ 7835/******/ 7836/******/ // startup 7837/******/ // Load entry module and return exports 7838/******/ // This entry module is referenced by other modules so it can't be inlined 7839/******/ var __webpack_exports__ = __webpack_require__("./assets/js/components/quote_list/quote_items.js"); 7840/******/ 7841/******/ })() 7842;
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.