PageSourceSearch

https://grigoriy-leps.com/assets/v1/cc6c1d8ca501e5d4bfa624c20071f9045c2194b9.7d0237b6-grigoriy_leps.chunk.js

js grigoriy-leps.com collected 2026-10-02 21:48:34 UTC 8,376 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="13ac1d44-9bd8-4247-8c47-3b41ddbe6a13",t._sentryDebugIdIdentifier="sentry-dbid-13ac1d44-9bd8-4247-8c47-3b41ddbe6a13")}catch(t){}}(),(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[209],{65886:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(10123),a=n(70551);function i(t){return(0,a.A)(1,arguments),(0,r.default)(t).getTime()<Date.now()}},81810:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var r=n(31127),a=n(70551);function i(t,e){(0,a.A)(2,arguments);var n=(0,r.default)(t),i=(0,r.default)(e);return n.getTime()===i.getTime()}},31127:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var r=n(10123),a=n(70551);function i(t){(0,a.A)(1,arguments);var e=(0,r.default)(t);return e.setHours(0,0,0,0),e}},63501:function(t,e,n){"use strict";n.d(e,{m:function(){return r}});let r=function(t){return t.ACTIVE="active",t.CANCELED="canceled",t.RESCHEDULED="rescheduled",t.OPEN_DATE="rescheduled_for_open_date",t}({})},19801:function(t,e,n){"use strict";n.d(e,{A:function(){return c}});var r=n(60436),a=n(44383),i=n.n(a),u=n(40860),o=n.n(u),l=n(96540),d=n(34183),s="price_grigoriy_leps_c7f55";var c=t=>{let{theme:e,children:n,event:a,fallback:u=null,wrapper:c}=t;const{currency:f}=e,v=(0,l.useContext)(d.Ay),_=[a.event_source_id],h=i()(v,_),g=o()(h,(t,e)=>(e&&(t=[].concat((0,r.A)(t),[e.min_price])),t),[]),p=g.length&&Math.min.apply(Math,(0,r.A)(g));if(p){const t=l.createElement(l.Fragment,null,n,l.createElement("span",{className:s},p," ",null==f?void 0:f.icon));return c?l.cloneElement(c,{children:t}):t}return u}},44886:function(t,e){"use strict";e.A={DAY:"d",MONTH:"MMMM",SHORT_MONTH:"MMM",MONTH_YEAR:"MMMM {{year}}",SHORT_MONTH_YEAR:"MMM {{year}}",YEAR:"yyyy",FULL_DATE:"d {{esprefix}} MMMM {{year}}, EEEEEE",DATE:"d {{esprefix}} MMMM {{year}}",SHORT_DATE:"d {{esprefix}} MMM {{year}}",TIME:"HH:mm",FULL_DATE_WITHOUT_YEAR:"d {{esprefix}} MMMM, EEEEEE"}},65842:function(t,e,n){"use strict";n.d(e,{su:function(){return x},gE:function(){return b},yZ:function(){return w},rj:function(){return O},SI:function(){return H},oL:function(){return T}});var r=n(68090),a=n.n(r),i=n(56170),u=n.n(i),o=n(912),l=n.n(o),d=n(7309),s=n.n(d),c=n(81810),f=n(65886),v=n(10123),_=n(70551);var h=n(1806),g=n(57499);var p={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}};function E(t,e,n){(0,_.A)(2,arguments);var r,a=function(t,e){return(0,_.A)(2,arguments),(0,v.default)(t).getTime()-(0,v.default)(e).getTime()}(t,e)/g.Cg;return((r=null==n?void 0:n.roundingMethod)?p[r]:p.trunc)(a)}var M=n(63501),m=n(87119),D=n(62367),A=n.n(D);const T=function(t,e,n){var r,a,i,u,o;void 0===n&&(n=!0);let l=`${null===(r=t.place)||void 0===r?void 0:r.title}`;if("undefined"===l)return"";var d,s;n&&e.ui_config_event_show_cities&&null!==(a=t.place)&&void 0!==a&&null!==(i=a.location)&&void 0!==i&&null!==(u=i.title)&&void 0!==u&&u.length&&(l=`${null===(d=t.place)||void 0===d||null===(s=d.location)||void 0===s?void 0:s.title}, `.concat(l));return e.ui_config_event_show_halls&&null!=t&&null!==(o=t.hall)&&void 0!==o&&o.length&&(l=l.concat(`, ${t.hall}`)),l},w=function(t,e){void 0===e&&(e=!0);const{dateStart:n,lastDateStart:r,dateEnd:i}=((t,e)=>{var n,r,i,o,l,d;if("dates"in t&&null!==(n=t.dates)&&void 0!==n&&n.length&&u()(t.dates).started_at){let n=t.dates.sort((t,e)=>new Date(t.started_at).getTime()-new Date(e.started_at).getTime());const r=n.filter(t=>{const e=new Date(t.finished_at);return!(0,f.A)(e)});return e&&r.length>0&&(n=r),{dateStart:u()(n).started_at,lastDateStart:a()(n).started_at,dateEnd:a()(n).finished_at}}return{dateStart:(null===(r=t.first_date)||void 0===r?void 0:r.started_at)||"",lastDateStart:(null===(i=t.last_date)||void 0===i?void 0:i.started_at)||(null===(o=t.first_date)||void 0===o?void 0:o.started_at)||"",dateEnd:(null===(l=t.last_date)||void 0===l?void 0:l.finished_at)||(null===(d=t.first_date)||void 0===d?void 0:d.finished_at)||""}})(t,e),o=(0,c.default)(new Date(n),new Date(r));return{dateStart:n,lastDateStart:r,dateEnd:i,isSameDay:o,isPeriodical:Boolean(t.last_date)&&!o}},y=(t,e)=>({started_at:e,finished_at:e,event_id:t.event_id,labels:[],status:{code:M.m.ACTIVE,title:""},id:t.slug||t.id}),b=(t,e)=>{var n;const r=((t,e)=>{var n;if(t.dates&&t.dates.length>0&&e)return s()(t.dates,t=>
1t.started_at===e.replace(" ","T"))||y(t,e);return e?y(t,e):null!=t&&t.dates&&(null==t||null===(n=t.dates)||void 0===n?void 0:n.length)>0?l()(null==t?void 0:t.dates):void 0})(t,e);if(null!==(n=t.dates)&&void 0!==n&&n.length){const n=t.dates.sort((t,e)=>new Date(t.started_at).getTime()-new Date(e.started_at).getTime()).filter(t=>!(0,f.A)(new Date(t.finished_at)));if(!e||e&&(0,f.A)(new Date((null==r?void 0:r.finished_at)||e)))return null!=n&&n.length?u()(n):r}return r},S=(t,e)=>{const n=function(t,e){var n;(0,_.A)(1,arguments);var r=t||{},a=(0,v.default)(r.start),i=(0,v.default)(r.end).getTime();if(!(a.getTime()<=i))throw new RangeError("Invalid interval");var u=[],o=a;o.setHours(0,0,0,0);var l=Number(null!==(n=null==e?void 0:e.step)&&void 0!==n?n:1);if(l<1||isNaN(l))throw new RangeError("`options.step` must be a number greater than 1");for(;o.getTime()<=i;)u.push((0,v.default)(o)),o.setDate(o.getDate()+l),o.setHours(0,0,0,0);return u}({start:t,end:e});return n},x=(t,e)=>{if(e.date_gte&&e.date_lte){const n=new Date(e.date_gte),r=new Date(e.date_lte),a=S(n,r),i=t.results.map(t=>t.dates?{...t,use_query_date:!0,dates:t.dates.filter(t=>a.filter(e=>(0,c.default)(new Date(t.started_at),e)).length>0)}:t);return{...t,results:i}}return t},H=t=>{var e;let{event:n,isTop:r}=t;var a;return r?{src:null!==(a=n.cover)&&void 0!==a&&a.md?n.cover:m.A.event,alt:n.cover_alt||n.affiche_title||n.title,title:n.cover_title}:{src:null!==(e=n.preview)&&void 0!==e&&e.md?n.preview:m.A.event,alt:n.preview_alt||n.affiche_title||n.title,title:n.preview_title}},L=(t,e,n)=>"ru"!==n?e(1===t?"common:hour":"common:hours"):A()(t,"час","часа","часов"),N=(t,e,n)=>"ru"!==n?e(1===t?"common:minute":"common:minutes"):A()(t,"минута","минуты","минут"),O=(t,e,n)=>{let{started_at:r,finished_at:a}=t;const i=(0,h.default)(r),u=E((0,h.default)(a),i),o=Math.floor(u/60),l=u%60;return o>0&&l>0?`${o} ${L(o,e,n)} ${l} ${N(l,e,n)}`:o>0?`${o} ${L(o,e,n)}`:`${l} ${N(l,e,n)}`}},40882:function(t){t.exports=function(t,e,n,r){var a=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++a]);++a<i;)n=e(n,t[a],a,t);return n}},76001:function(t,e,n){var r=n(97420),a=n(80631);t.exports=function(t,e){return r(t,e,function(e,n){return a(t,n)})}},97420:function(t,e,n){var r=n(47422),a=n(73170),i=n(31769);t.exports=function(t,e,n){for(var u=-1,o=e.length,l={};++u<o;){var d=e[u],s=r(t,d);n(s,d)&&a(l,i(d,t),s)}return l}},85558:function(t){t.exports=function(t,e,n,r,a){return a(t,function(t,a,i){n=r?(r=!1,t):e(n,t,a,i)}),n}},73170:function(t,e,n){var r=n(16547),a=n(31769),i=n(30361),u=n(23805),o=n(77797);t.exports=function(t,e,n,l){if(!u(t))return t;for(var d=-1,s=(e=a(e,t)).length,c=s-1,f=t;null!=f&&++d<s;){var v=o(e[d]),_=n;if("__proto__"===v||"constructor"===v||"prototype"===v)return t;if(d!=c){var h=f[v];void 0===(_=l?l(h,v,f):void 0)&&(_=u(h)?h:i(e[d+1])?[]:{})}r(f,v,_),f=f[v]}return t}},56170:function(t,e,n){t.exports=n(912)},44383:function(t,e,n){var r=n(76001),a=n(38816)(function(t,e){return null==t?{}:r(t,e)});t.exports=a},40860:function(t,e,n){var r=n(40882),a=n(80909),i=n(15389),u=n(85558),o=n(56449);t.exports=function(t,e,n){var l=o(t)?r:u,d=arguments.length<3;return l(t,i(e,4),n,d,a)}},62367:function(t){"use strict";var e=Array.prototype.slice;function n(t){var n,r,a=e.call(arguments,1);switch(a.length){case 1:throw new Error("Not enough forms");case 2:n=t>1?a[1]:a[0];break;default:n=a[r=t,r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2]}return n.replace(/%d/g,t)}t.exports=n,t.exports.noun=n,t.exports.verb=function(t){return e.call(arguments,1)[function(t){if(t>1e6)return 2;t>1e3&&t<1e6&&/000$/.test(t)&&(t/=1e3);return t%10==1&&t%100!=11||/1000$/.test(t.toString())?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}(t)].replace(/%d/g,t)}}}]);

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.