You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 lines
1.7 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{"4R1p":function(e,r,t){"use strict";t.r(r);var n=t("q1tI"),i=(t("sEfC"),Object.prototype.hasOwnProperty);function f(e,r,t){for(t of e.keys())if(u(t,r))return t}function u(e,r){var t,n,o;if(e===r)return!0;if(e&&r&&(t=e.constructor)===r.constructor){if(t===Date)return e.getTime()===r.getTime();if(t===RegExp)return e.toString()===r.toString();if(t===Array){if((n=e.length)===r.length)while(n--&&u(e[n],r[n]));return-1===n}if(t===Set){if(e.size!==r.size)return!1;for(n of e){if(o=n,o&&"object"===typeof o&&(o=f(r,o),!o))return!1;if(!r.has(o))return!1}return!0}if(t===Map){if(e.size!==r.size)return!1;for(n of e){if(o=n[0],o&&"object"===typeof o&&(o=f(r,o),!o))return!1;if(!u(n[1],r.get(o)))return!1}return!0}if(t===ArrayBuffer)e=new Uint8Array(e),r=new Uint8Array(r);else if(t===DataView){if((n=e.byteLength)===r.byteLength)while(n--&&e.getInt8(n)===r.getInt8(n));return-1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===r.byteLength)while(n--&&e[n]===r[n]);return-1===n}if(!t||"object"===typeof e){for(t in n=0,e){if(i.call(e,t)&&++n&&!i.call(r,t))return!1;if(!(t in r)||!u(e[t],r[t]))return!1}return Object.keys(r).length===n}}return e!==e&&r!==r}function o(e){var r=n["useRef"](e),t=n["useRef"](0);return u(e,r.current)||(r.current=e,t.current+=1),n["useMemo"]((function(){return r.current}),[t.current])}function c(e,r){return n["useEffect"](e,o(r))}var a=t("nKUr");function s(e){var r=Object(n["useRef"])(null);return c((()=>{(null===r||void 0===r?void 0:r.current)!==e.location.pathname+e.location.search&&(r.current=e.location.pathname+e.location.search)}),[e.location]),Object(a["jsx"])(a["Fragment"],{children:e.children})}r["default"]=s}}]);