PageSourceSearch

https://supra.ru/local/templates/main_new_design/components/bitrix/news.list/mainpage-slider/aurora.js

js supra.ru collected 2026-09-24 12:58:37 UTC 13,424 bytes, 418 lines download raw bytes

1!function(e) {
2    function t(t) {
3        for (var o, a, c = t[0], u = t[1], s = t[2], l = 0, p = []; l < c.length; l++)
4            a = c[l],
5            r[a] && p.push(r[a][0]),
6            r[a] = 0;
7        for (o in u)
8            Object.prototype.hasOwnProperty.call(u, o) && (e[o] = u[o]);
9        for (f && f(t); p.length; )
10            p.shift()();
11        return i.push.apply(i, s || []),
12        n()
13    }
14    function n() {
15        for (var e, t = 0; t < i.length; t++) {
16            for (var n = i[t], o = !0, c = 1; c < n.length; c++) {
17                var u = n[c];
18                0 !== r[u] && (o = !1)
19            }
20            o && (i.splice(t--, 1),
21            e = a(a.s = n[0]))
22        }
23        return e
24    }
25    var o = {}
26      , r = {
27        4: 0
28    }
29      , i = [];
30    function a(t) {
31        if (o[t])
32            return o[t].exports;
33        var n = o[t] = {
34            i: t,
35            l: !1,
36            exports: {}
37        };
38        return e[t].call(n.exports, n, n.exports, a),
39        n.l = !0,
40        n.exports
41    }
42    a.m = e,
43    a.c = o,
44    a.d = function(e, t, n) {
45        a.o(e, t) || Object.defineProperty(e, t, {
46            enumerable: !0,
47            get: n
48        })
49    }
50    ,
51    a.r = function(e) {
52        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
53            value: "Module"
54        }),
55        Object.defineProperty(e, "__esModule", {
56            value: !0
57        })
58    }
59    ,
60    a.t = function(e, t) {
61        if (1 & t && (e = a(e)),
62        8 & t)
63            return e;
64        if (4 & t && "object" == typeof e && e && e.__esModule)
65            return e;
66        var n = Object.create(null);
67        if (a.r(n),
68        Object.defineProperty(n, "default", {
69            enumerable: !0,
70            value: e
71        }),
72        2 & t && "string" != typeof e)
73            for (var o in e)
74                a.d(n, o, function(t) {
75                    return e[t]
76                }
77                .bind(null, o));
78        return n
79    }
80    ,
81    a.n = function(e) {
82        var t = e && e.__esModule ? function() {
83            return e.default
84        }
85        : function() {
86            return e
87        }
88        ;
89        return a.d(t, "a", t),
90        t
91    }
92    ,
93    a.o = function(e, t) {
94        return Object.prototype.hasOwnProperty.call(e, t)
95    }
96    ,
97    a.p = "";
98    var c = window.webpackJsonp = window.webpackJsonp || []
99      , u = c.push.bind(c);
100    c.push = t,
101    c = c.slice();
102    for (var s = 0; s < c.length; s++)
103        t(c[s]);
104    var f = u;
105    i.push([30, 0]),
106    n()
107}({
108    27: function(e, t, n) {},
109    30: function(e, t, n) {
110        "use strict";
111        n.r(t);
112        var o = n(1)
113          , r = n(6)
114          , i = n(15)
115          , a = n(10)
116          , c = n(9)
117          , u = n(2)
118          , s = n(11)
119          , f = n(7)
120          , l = n(8)
121          , p = n(34)
122          , y = n(37)
123          , h = n(35)
124          , b = n(36);
125        function d(e) {
126            return (d = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
127                return typeof e
128            }
129            : function(e) {
130                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
131            }
132            )(e)
133        }
134        function v(e, t) {
135            for (var n = 0; n < t.length; n++) {
136                var o = t[n];
137                o.enumerable = o.enumerable || !1,
138                o.configurable = !0,
139                "value"in o && (o.writable = !0),
140                Object.defineProperty(e, o.key, o)
141            }
142        }
143        function w(e, t) {
144            return !t || "object" !== d(t) && "function" != typeof t ? function(e) {
145                if (void 0 === e)
146                    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
147                return e
148            }(e) : t
149        }
150        function m(e) {
151            return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
152                return e.__proto__ || Object.getPrototypeOf(e)
153            }
154            )(e)
155        }
156        function O(e, t) {
157            return (O = Object.setPrototypeOf || function(e, t) {
158                return e.__proto__ = t,
159                e
160            }
161            )(e, t)
162        }
163        var g, j, P = n(4);
164        n(14),
165        n(27);
166        function S(e, t) {
167            for (var n = 0; n < t.length; n++) {
168                var o = t[n];
169                o.enumerable = o.enumerable || !1,
170                o.configurable = !0,
171                "value"in o && (o.writable = !0),
172                Object.defineProperty(e, o.key, o)
173            }
174        }
175        function _(e, t, n) {
176            return (_ = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function(e, t, n) {
177                var o = function(e, t) {
178                    for (; !Object.prototype.hasOwnProperty.call(e, t) && null !== (e = F(e)); )
179                        ;
180                    return e
181                }(e, t);
182                if (o) {
183                    var r = Object.getOwnPropertyDescriptor(o, t);
184                    return r.get ? r.get.call(n) : r.value
185                }
186            }
187            )(e, t, n || e)
188        }
189        function k(e) {
190            return (k = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
191                return typeof e
192            }
193            : function(e) {
194                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
195            }
196            )(e)
197        }
198        function M(e, t) {
199            if (!(e instanceof t))
200                throw new TypeError("Cannot call a class as a function")
201        }
202        function x(e, t) {
203            return !t || "object" !== k(t) && "function" != typeof t ? function(e) {
204                if (void 0 === e)
205                    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
206                return e
207            }(e) : t
208        }
209        function F(e) {
210            return (F = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
211                return e.__proto__ || Object.getPrototypeOf(e)
212            }
213            )(e)
214        }
215        function T(e, t) {
216            if ("function" != typeof t && null !== t)
217                throw new TypeError("Super expression must either be null or a function");
218            e.prototype = Object.create(t && t.prototype, {
219                constructor: {
220                    value: e,
221                    writable: !0,
222                    configurable: !0
223                }
224            }),
225            t && z(e, t)
226        }
227        function z(e, t) {
228            return (z = Object.setPrototypeOf || function(e, t) {
229                return e.__proto__ = t,
230                e
231            }
232            )(e, t)
233        }
234        var E, L = new (g = Object(f.a)({
235            x: 1,
236            y: 1
237        }, .1),
238        Object(l.a)((E = j = g(j = function(e) {
239            function t() {
240                return M(this, t),
241                x(this, F(t).apply(this, arguments))
242            }
243            return T(t, r["a"]),
244            t
245        }()) || j,
246        j = function(e) {
247            function t(e) {
248                var n;
249                return function(e, t) {
250                    if (!(e instanceof t))
251                        throw new TypeError("Cannot call a class as a function")
252                }(this, t),
253                (n = w(this, m(t).call(this, e))).clock = new o.Clock,
254                n.currentPass = !1,
255                n.effects = {},
256                n.passes = [],
257                n.composer = new p.a(n.renderer,{}),
258                n.effects.render = new y.a(n.scene,n.camera),
259                n.addPass(n.effects.render),
260                n
261            }
262            var n, r, i;
263            return function(e, t) {
264                if ("function" != typeof t && null !== t)
265                    throw new TypeError("Super expression must either be null or a function");
266                e.prototype = Object.create(t && t.prototype, {
267                    constructor: {
268                        value: e,
269                        writable: !0,
270                        configurable: !0
271                    }
272                }),
273                t && O(e, t)
274            }(t, E),
275            n = t,
276            (r = [{
277                key: "addBloomEffect",
278                value: function(e, t) {
279                    this.effects.bloom = new h.a(e),
280                    this.effects.bloom.blendMode.opacity.value = t,
281                    this.addPass(new b.a(this.camera,this.effects.bloom))
282                }
283            }, {
284                key: "addPass",
285                value: function(e) {
286                    this.passes.length && (this.passes[this.passes.length - 1].renderToScreen = !1),
287                    this.passes.push(e),
288                    this.composer.addPass(e),
289                    this.passes[this.passes.length - 1].renderToScreen = !0
290                }
291            }, {
292                key: "render",
293                value: function() {
294                    this.composer.render(this.clock.getDelta())
295                }
296            }, {
297                key: "resizeRender",
298                value: function() {
299                    this.composer && this.composer.setSize(this.width, this.height)
300                }
301            }]) && v(n.prototype, r),
302            i && v(n, i),
303            t
304        }() || j)) || j);
305        L.camera.position.z = 2,
306        L.addBloomEffect({
307            resolutionScale: .5,
308            kernelSize: 4,
309            distinction: .01
310        }, 1);
311        var C = new a.a(" ",{
312            color: "#FFFFFF",
313            size: P.a.isMobile ? .08 : .1,
314            wireframe: !0,
315            opacity: 1
316        });
317        C.position.x -= .5 * C.basePosition,
318        L.add(C);
319        var R = new i.a;
320        R.update = function() {
321            R.rotation.y -= 4e-4,
322            R.rotation.x -= 2e-4
323        }
324        ,
325        L.add(R);
326        var A = new o.Vector3
327          , B = new o.Vector3
328          , I = new o.Raycaster
329          , D = new o.SphereBufferGeometry(4,32,32,0,3.2,4,2.1)
330          , J = new o.MeshBasicMaterial({
331            wireframe: !0,
332            visible: !1
333        })
334          , V = new o.Mesh(D,J);
335        L.add(V),
336        V.position.z = 2;
337        //"#FFFAFF", "#0A2463", "#3E92CC", "#723bb7", "#efd28e", "#3f9d8c"
338        var q = ["#e9532e","#812828","#cc5a3e","#b7433b","#fad29e","#9d3f6b"].map(function(e) { //
339            return new o.Color(e)
340        })
341          , G = new (function(e) {
342            function t() {
343                return M(this, t),
344                x(this, F(t).apply(this, arguments))
345            }
346            var n, o, r;
347            return T(t, c["a"]),
348            n = t,
349            (o = [{
350                key: "addLine",
351                value: function() {
352                    for (var e = Object(u.a)(-2.4, 7.2), n = -25 * Math.PI / 180, o = 200 * Math.PI / 180, r = []; n < o; ) {
353                        n += .2,
354                        e -= .1,
355                        A.set(4 * Math.cos(n), e, 4 * Math.sin(n)),
356                        B.set(-A.x, 0, -A.z),
357                        B.normalize(),
358                        I.set(A, B);
359                        var i = I.intersectObject(V, !0);
360                        i.length && r.push(i[0].point.x, i[0].point.y, i[0].point.z)
361                    }
362                    0 !== r.length && (Math.random() > .5 ? _(F(t.prototype), "addLine", this).call(this, {
363                        visibleLength: Object(u.a)(.01, .2),
364                        points: r,
365                        speed: Object(u.a)(.0003, .0008),
366                        color: Object(s.a)(q),
367                        width: Object(u.a)(.01, .1)
368                    }) : _(F(t.prototype), "addLine", this).call(this, {
369                        visibleLength: Object(u.a)(.05, .2),
370                        points: r,
371                        speed: Object(u.a)(.001, .01),
372                        color: q[0],
373                        width: Object(u.a)(.01, .01)
374                    }))
375                }
376            }]) && S(n.prototype, o),
377            r && S(n, r),
378            t
379        }())({
380            frequency: .99
381        },{
382            transformLineMethod: function(e) {
383                return e
384            }
385        });
386        L.add(G),
387        L.start();
388        var H = new TimelineLite({
389            delay: .2,
390            onStart: function() {
391                G.start()
392            }
393        });
394        H.to(".overlay", 2, {
395            autoAlpha: 0
396        }),
397        H.fromTo(L.lookAt, 3, {
398            y: -4
399        }, {
400            y: 0,
401            ease: Power3.easeOut
402        }, "-=2"),
403        H.add(C.show, "-=2"),
404        P.a.onHide(function(e) {
405            var t = new TimelineLite;
406            t.to(L.lookAt, 2, {
407                y: -6,
408                ease: Power3.easeInOut
409            }),
410            t.add(C.hide, 0),
411            t.add(G.stop),
412            t.to(".overlay", .5, {
413                autoAlpha: 1,
414                onComplete: e
415            }, "-=1.5")
416        })
417    }
418});

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.