PageSourceSearch

https://www.farpost.ru/resources/assets/39705.cb7093584afdb4dc6cee.js

js farpost.ru collected 2026-09-24 09:03:56 UTC 10,786 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[39705],{73221(t,e,n){n.d(e,{jM:()=>pt});var r=n(93708),o=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),s=Symbol.for("immer-state");function a(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var c=Object,l=c.getPrototypeOf,u="constructor",_="prototype",f="configurable",d="enumerable",p="writable",h="value",y=t=>!!t&&!!t[s];function v(t){var e;return!!t&&(b(t)||M(t)||!!t[i]||!!(null===(e=t[u])||void 0===e?void 0:e[i])||I(t)||O(t))}var g=c[_][u].toString(),S=new WeakMap;function b(t){if(!t||!F(t))return!1;const e=l(t);if(null===e||e===c[_])return!0;const n=c.hasOwnProperty.call(e,u)&&e[u];if(n===Object)return!0;if(!C(n))return!1;let r=S.get(n);return void 0===r&&(r=Function.toString.call(n),S.set(n,r)),r===g}function m(t,e,n=!0){0===P(t)?(n?Reflect.ownKeys(t):c.keys(t)).forEach(n=>{e(n,t[n],t)}):t.forEach((n,r)=>e(r,n,t))}function P(t){const e=t[s];return e?e.type_:M(t)?1:I(t)?2:O(t)?3:0}var w=(t,e,n=P(t))=>2===n?t.has(e):c[_].hasOwnProperty.call(t,e),z=(t,e,n=P(t))=>2===n?t.get(e):t[e],k=(t,e,n,r=P(t))=>{2===r?t.set(e,n):3===r?t.add(n):t[e]=n},M=Array.isArray,I=t=>t instanceof Map,O=t=>t instanceof Set,F=t=>"object"==typeof t,C=t=>"function"==typeof t,D=t=>"boolean"==typeof t,j=t=>t.copy_||t.base_,A=t=>t.modified_?t.copy_:t.base_;function R(t,e){if(I(t))return new Map(t);if(O(t))return new Set(t);if(M(t))return Array[_].slice.call(t);const n=b(t);if(!0===e||"class_only"===e&&!n){const e=c.getOwnPropertyDescriptors(t);delete e[s];let n=Reflect.ownKeys(e);for(let r=0;r<n.length;r++){const o=n[r],i=e[o];!1===i[p]&&(i[p]=!0,i[f]=!0),(i.get||i.set)&&(e[o]={[f]:!0,[p]:!0,[d]:i[d],[h]:t[o]})}return c.create(l(t),e)}{const e=l(t);if(null!==e&&n)return(0,r._)({},t);const o=c.create(e);return c.assign(o,t)}}function x(t,e=!1){return N(t)||y(t)||!v(t)||(P(t)>1&&c.defineProperties(t,{set:E,add:E,clear:E,delete:E}),c.freeze(t),e&&m(t,(t,e)=>{x(e,!0)},!1)),t}var E={[h]:function(){a(2)}};function N(t){return null===t||!F(t)||c.isFrozen(t)}var U="MapSet",K="Patches",L="ArrayMethods",W={};function T(t){const e=W[t];return e||a(0),e}var V,X=t=>!!W[t],$=()=>V;function q(t,e){e&&(t.patchPlugin_=T(K),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function B(t){G(t),t.drafts_.forEach(J),t.drafts_=null}function G(t){t===V&&(V=t.parent_)}var H=t=>V={drafts_:[],parent_:V,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:X(U)?T(U):void 0,arrayMethodsPlugin_:X(L)?T(L):void 0};function J(t){const e=t[s];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function Q(t,e){e.unfinalizedDrafts_=e.drafts_.length;const n=e.drafts_[0];if(void 0!==t&&t!==n){n[s].modified_&&(B(e),a(4)),v(t)&&(t=Y(e,t));const{patchPlugin_:r}=e;r&&r.generateReplacementPatches_(n[s].base_,t,e)}else t=Y(e,n);return function(t,e,n=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&x(e,n)}(e,t,!0),B(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==o?t:void 0}function Y(t,e){if(N(e))return e;const n=e[s];if(!n)return ot(e,t.handledSet_,t);if(!tt(n,t))return e;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:e}=n;if(e)for(;e.length>0;)e.pop()(t);rt(n,t)}return n.copy_}function Z(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var tt=(t,e)=>t.scope_===e,et=[];function nt(t,e,n,r){var o;const i=j(t),s=t.type_;if(void 0!==r&&z(i,r,s)===e)return void k(i,r,n,s);if(!t.draftLocations_){const e=t.draftLocations_=new Map;m(i,(t,n)=>{if(y(n)){const r=e.get(n)||[];r.push(t),e.set(n,r)}})}const a=null!==(o=t.draftLocations_.get(e))&&void 0!==o?o:et;for(const t of a)k(i,t,n,s)}function rt(t,e){var n,r;if(t.modified_&&!t.finalized_&&(3===t.type_||1===t.type_&&t.allIndicesReassigned_||(null!==(n=null===(r=t.assigned_)||void 0===r?void 0:r.size)&&void 0!==n?n:0)>0)){const{patchPlugin_:n}=e;if(n){const r=n.getPath(t);r&&n.generatePatches_(t,r,e)}Z(t)}}function ot(t,e,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||y(t)||e.has(t)||!v(t)||N(t)||(e.add(t),m(t,(r,o)=>{if(y(o)){const e=o[s];if(tt(e,n)){const n=A(e);k(t,r,n,t.type_),Z(e)}}else v(o)&&ot(o,e,n)})),t}var it={get(t,e){if(e===s)return t;let n=t.scope_.arrayMethodsPlugin_;const r=1===t.type_&&"string"==typeof e;if(r&&(null==n?void 0:n.isArrayOperationMethod(e)))return n.createMethodInterceptor(t,e);const o=j(t);if(!w(o,e,t.type_))return function(t,e,n){var r;const o=ct(e,n);return o?h in o?o[h]:null===(r=o.get)||void 0===r?void 0:r.call(t.draft_):void 0}(t,o,e);const i=o[e];if(t.finalized_||!v(i))return i;if(r&&t.operationMethod&&(null==n?void 0:n.isMutatingArrayMethod(t.operationMethod))&&function(t){const e=+t;return Number.isInteger(e)&&String(e)===t}(e))return i;if(i===at(t.base_,e)||function(t,e,n){var r;return!(1!==t.type_||!t.allIndicesReassigned_||(null===(r=t.assigned_)||void 0===r?void 0:r.get(e))||!v(n)||n[s])&&t.baseRefs_.has(n)}(t,e,i)){ut(t);const n=1===t.type_?+e:e,r=_t(t.scope_,i,t,n);return t.copy_[n]=r}return i},has:(t,e)=>e in j(t),ownKeys:t=>Reflect.ownKeys(j(t)),set(t,e,n){const r=ct(j(t),e);if(null==r?void 0:r.set)return r.set.call(t.draft_,n),!0;if(!t.modified_){const r=at(j(t),e),a=null==r?void 0:r[s];if(a&&a.base_===n)return t.copy_[e]=n,t.assigned_.set(e,!1),!0;if(((o=n)===(i=r)?0!==o||1/o==1/i:o!=o&&i!=i)&&(void 0!==n||w(t.base_,e,t.type_)))return!0;ut(t),lt(t)}var o,i;return t.copy_[e]===n&&(void 0!==n||w(t.copy_,e,t.type_))||Number.isNaN(n)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=n,t.assigned_.set(e,!0),function(t,e,n){const{scope_:r}=t;if(y(n)){const o=n[s];tt(o,r)&&o.callbacks_.push(function(){ut(t);const r=A(o);nt(t,n,r,e)})}else v(n)&&t.callbacks_.push(function(){const o=j(t);var i;3===t.type_?o.has(n)&&ot(n,r.handledSet_,r):z(o,e,t.type_)===n&&r.drafts_.length>1&&!0===(null!==(i=t.assigned_.get(e))&&void 0!==i&&i)&&t.copy_&&ot(z(t.copy_,e,t.type_),r.handledSet_,r)})}(t,e,n)),!0},deleteProperty:(t,e)=>(ut(t),void 0!==at(t.base_,e)||e in t.base_?(t.assigned_.set(e,!1),lt(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0),getOwnPropertyDescriptor(t,e){const n=j(t),r=Reflect.getOwnPropertyDescriptor(n,e);
1return r?{[p]:!0,[f]:1!==t.type_||"length"!==e,[d]:r[d],[h]:n[e]}:r},defineProperty(){a(11)},getPrototypeOf:t=>l(t.base_),setPrototypeOf(){a(12)}},st={};for(let t in it){let e=it[t];st[t]=function(){const t=arguments;return t[0]=t[0][0],e.apply(this,t)}}function at(t,e){const n=t[s];return(n?j(n):t)[e]}function ct(t,e){if(!(e in t))return;let n=l(t);for(;n;){const t=Object.getOwnPropertyDescriptor(n,e);if(t)return t;n=l(n)}}function lt(t){t.modified_||(t.modified_=!0,t.parent_&&lt(t.parent_))}function ut(t){t.copy_||(t.assigned_=new Map,t.copy_=R(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function _t(t,e,n,r){var o,i;const[s,a]=I(e)?T(U).proxyMap_(e,n):O(e)?T(U).proxySet_(e,n):function(t,e){const n=M(t),r={type_:n?1:0,scope_:e?e.scope_:$(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=r,i=it;n&&(o=[r],i=st);const{revoke:s,proxy:a}=Proxy.revocable(o,i);return r.draft_=a,r.revoke_=s,[a,r]}(e,n);return(null!==(o=null==n?void 0:n.scope_)&&void 0!==o?o:$()).drafts_.push(s),a.callbacks_=null!==(i=null==n?void 0:n.callbacks_)&&void 0!==i?i:[],a.key_=r,n&&void 0!==r?function(t,e,n){t.callbacks_.push(function(r){var o,i;const s=e;if(!s||!tt(s,r))return;null===(i=r.mapSetPlugin_)||void 0===i||i.fixSetContents(s);const a=A(s);nt(t,null!==(o=s.draft_)&&void 0!==o?o:s,a,n),rt(s,r)})}(n,a,r):a.callbacks_.push(function(t){var e;null===(e=t.mapSetPlugin_)||void 0===e||e.fixSetContents(a);const{patchPlugin_:n}=t;a.modified_&&n&&n.generatePatches_(a,[],t)}),s}function ft(t){if(!v(t)||N(t))return t;const e=t[s];let n,r=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,n=R(t,e.scope_.immer_.useStrictShallowCopy_),r=e.scope_.immer_.shouldUseStrictIteration()}else n=R(t,!0);return m(n,(t,e)=>{k(n,t,ft(e))},r),e&&(e.finalized_=!1),n}st.deleteProperty=function(t,e){return st.set.call(this,t,e,void 0)},st.set=function(t,e,n){return it.set.call(this,t[0],e,n,t[0])};var dt=globalThis.Iterator;null==dt||dt.from;var pt=(new class{createDraft(t){var e;v(t)||a(8),y(t)&&(y(e=t)||a(10),t=ft(e));const n=H(this),r=_t(0,t,void 0);return r[s].isManual_=!0,G(n),r}finishDraft(t,e){const n=t&&t[s];n&&n.isManual_||a(9);const{scope_:r}=n;return q(r,e),Q(void 0,r)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let n;for(n=e.length-1;n>=0;n--){const r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));const r=T(K).applyPatches_;return y(t)?r(t,e):this.produce(t,t=>r(t,e))}constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,e,n)=>{if(C(t)&&!C(e)){const n=e;e=t;const r=this;return function(t=n,...o){return r.produce(t,t=>e.call(this,t,...o))}}let r;if(C(e)||a(6),void 0===n||C(n)||a(7),v(t)){const o=H(this),i=_t(0,t,void 0);let s=!0;try{r=e(i),s=!1}finally{s?B(o):G(o)}return q(o,n),Q(r,o)}if(!t||!F(t)){if(r=e(t),void 0===r&&(r=t),r===o&&(r=void 0),this.autoFreeze_&&x(r,!0),n){const e=[],o=[];T(K).generateReplacementPatches_(t,r,{patches_:e,inversePatches_:o}),n(e,o)}return r}a(1)},this.produceWithPatches=(t,e)=>{if(C(t))return(e,...n)=>this.produceWithPatches(e,e=>t(e,...n));let n,r;return[this.produce(t,e,(t,e)=>{n=t,r=e}),n,r]},D(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),D(null==t?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),D(null==t?void 0:t.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}}).produce},2468(t,e,n){var r=n(73221);n.d(e,["D",0,t=>(e,n,o)=>(o.setState=(t,n,...o)=>{const i="function"==typeof t?(0,r.jM)(t):t;return e(i,n,...o)},t(o.setState,n,o))])},90472(t,e,n){n.d(e,{P:()=>s});var r=n(36977),o=n(14044);const i=t=>t;function s(t,e=i){const n=r.useSyncExternalStore(t.subscribe,r.useCallback(()=>e(t.getState()),[t,e]),r.useCallback(()=>e(t.getInitialState()),[t,e]));return r.useDebugValue(n),n}const a=t=>{const e=(0,o.y)(t),n=t=>s(e,t);return Object.assign(n,e),n};n.d(e,["v",0,t=>t?a(t):a])},14044(t,e,n){const r=t=>{let e;const n=new Set,r=(t,r)=>{const o="function"==typeof t?t(e):t;if(!Object.is(o,e)){const t=e;e=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({}
1,e,o),n.forEach(n=>n(e,t))}},o=()=>e,i={setState:r,getState:o,getInitialState:()=>s,subscribe:t=>(n.add(t),()=>n.delete(t))},s=e=t(r,o,i);return i};n.d(e,["y",0,t=>t?r(t):r])}}]);
2//# sourceMappingURL=/resources/source-maps/39705.cb7093584afdb4dc6cee.js.map

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.