PageSourceSearch

https://www.terrakaffe.com/cdn/shop/t/34/assets/main.min.js?v=147160095143470151531717767361

js terrakaffe.com collected 2026-10-01 15:19:31 UTC 73,169 bytes, 1,887 lines download raw bytes

1(() => {
2  "use strict";
3  var e = {
4      187: (e) => {
5        var t,
6          n = "object" == typeof Reflect ? Reflect : null,
7          r =
8            n && "function" == typeof n.apply
9              ? n.apply
10              : function (e, t, n) {
11                  return Function.prototype.apply.call(e, t, n);
12                };
13        t =
14          n && "function" == typeof n.ownKeys
15            ? n.ownKeys
16            : Object.getOwnPropertySymbols
17            ? function (e) {
18                return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
19              }
20            : function (e) {
21                return Object.getOwnPropertyNames(e);
22              };
23        var o =
24          Number.isNaN ||
25          function (e) {
26            return e != e;
27          };
28        function i() {
29          i.init.call(this);
30        }
31        (e.exports = i),
32          (e.exports.once = function (e, t) {
33            return new Promise(function (n, r) {
34              function o(n) {
35                e.removeListener(t, i), r(n);
36              }
37              function i() {
38                "function" == typeof e.removeListener && e.removeListener("error", o), n([].slice.call(arguments));
39              }
40              g(e, t, i, { once: !0 }),
41                "error" !== t &&
42                  (function (e, t, n) {
43                    "function" == typeof e.on && g(e, "error", t, { once: !0 });
44                  })(e, o);
45            });
46          }),
47          (i.EventEmitter = i),
48          (i.prototype._events = void 0),
49          (i.prototype._eventsCount = 0),
50          (i.prototype._maxListeners = void 0);
51        var a = 10;
52        function c(e) {
53          if ("function" != typeof e)
54            throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
55        }
56        function s(e) {
57          return void 0 === e._maxListeners ? i.defaultMaxListeners : e._maxListeners;
58        }
59        function l(e, t, n, r) {
60          var o, i, a, l;
61          if (
62            (c(n),
63            void 0 === (i = e._events)
64              ? ((i = e._events = Object.create(null)), (e._eventsCount = 0))
65              : (void 0 !== i.newListener && (e.emit("newListener", t, n.listener ? n.listener : n), (i = e._events)),
66                (a = i[t])),
67            void 0 === a)
68          )
69            (a = i[t] = n), ++e._eventsCount;
70          else if (
71            ("function" == typeof a ? (a = i[t] = r ? [n, a] : [a, n]) : r ? a.unshift(n) : a.push(n),
72            (o = s(e)) > 0 && a.length > o && !a.warned)
73          ) {
74            a.warned = !0;
75            var u = new Error(
76              "Possible EventEmitter memory leak detected. " +
77                a.length +
78                " " +
79                String(t) +
80                " listeners added. Use emitter.setMaxListeners() to increase limit"
81            );
82            (u.name = "MaxListenersExceededWarning"),
83              (u.emitter = e),
84              (u.type = t),
85              (u.count = a.length),
86              (l = u),
87              console && console.warn && console.warn(l);
88          }
89          return e;
90        }
91        function u() {
92          if (!this.fired)
93            return (
94              this.target.removeListener(this.type, this.wrapFn),
95              (this.fired = !0),
96              0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)
97            );
98        }
99        function d(e, t, n) {
100          var r = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n },
101            o = u.bind(r);
102          return (o.listener = n), (r.wrapFn = o), o;
103        }
104        function f(e, t, n) {
105          var r = e._events;
106          if (void 0 === r) return [];
107          var o = r[t];
108          return void 0 === o
109            ? []
110            : "function" == typeof o
111            ? n
112              ? [o.listener || o]
113              : [o]
114            : n
115            ? (function (e) {
116                for (var t = new Array(e.length), n = 0; n < t.length; ++n) t[n] = e[n].listener || e[n];
117                return t;
118              })(o)
119            : h(o, o.length);
120        }
121        function p(e) {
122          var t = this._events;
123          if (void 0 !== t) {
124            var n = t[e];
125            if ("function" == typeof n) return 1;
126            if (void 0 !== n) return n.length;
127          }
128          return 0;
129        }
130        function h(e, t) {
131          for (var n = new Array(t), r = 0; r < t; ++r) n[r] = e[r];
132          return n;
133        }
134        function g(e, t, n, r) {
135          if ("function" == typeof e.on) r.once ? e.once(t, n) : e.on(t, n);
136          else {
137            if ("function" != typeof e.addEventListener)
138              throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
139            e.addEventListener(t, function o(i) {
140              r.once && e.removeEventListener(t, o), n(i);
141            });
142          }
143        }
144        Object.defineProperty(i, "defaultMaxListeners", {
145          enumerable: !0,
146          get: function () {
147            return a;
148          },
149          set: function (e) {
150            if ("number" != typeof e || e < 0 || o(e))
151              throw new RangeError(
152                'The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' +
153                  e +
154                  "."
155              );
156            a = e;
157          },
158        }),
159          (i.init = function () {
160            (void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events) ||
161              ((this._events = Object.create(null)), (this._eventsCount = 0)),
162              (this._maxListeners = this._maxListeners || void 0);
163          }),
164          (i.prototype.setMaxListeners = function (e) {
165            if ("number" != typeof e || e < 0 || o(e))
166              throw new RangeError(
167                'The value of "n" is out of range. It must be a non-negative number. Received ' + e + "."
168              );
169            return (this._maxListeners = e), this;
170          }),
171          (i.prototype.getMaxListeners = function () {
172            return s(this);
173          }),
174          (i.prototype.emit = function (e) {
175            for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
176            var o = "error" === e,
177              i = this._events;
178            if (void 0 !== i) o = o && void 0 === i.error;
179            else if (!o) return !1;
180            if (o) {
181              var a;
182              if ((t.length > 0 && (a = t[0]), a instanceof Error)) throw a;
183              var c = new Error("Unhandled error." + (a ? " (" + a.message + ")" : ""));
184              throw ((c.context = a), c);
185            }
186            var s = i[e];
187            if (void 0 === s) return !1;
188            if ("function" == typeof s) r(s, this, t);
189            else {
190              var l = s.length,
191                u = h(s, l);
192              for (n = 0; n < l; ++n) r(u[n], this, t);
193            }
194            return !0;
195          }),
196          (i.prototype.addListener = function (e, t) {
197            return l(this, e, t, !1);
198          }),
199          (i.prototype.on = i.prototype.addListener),
200          (i.prototype.prependListener = function (e, t) {
201            return l(this, e, t, !0);
202          }),
203          (i.prototype.once = function (e, t) {
204            return c(t), this.on(e, d(this, e, t)), this;
205          }),
206          (i.prototype.prependOnceListener = function (e, t) {
207            return c(t), this.prependListener(e, d(this, e, t)), this;
208          }),
209          (i.prototype.removeListener = function (e, t) {
210            var n, r, o, i, a;
211            if ((c(t), void 0 === (r = this._events))) return this;
212            if (void 0 === (n = r[e])) return this;
213            if (n === t || n.listener === t)
214              0 == --this._eventsCount
215                ? (this._events = Object.create(null))
216                : (delete r[e], r.removeListener && this.emit("removeListener", e, n.listener || t));
217            else if ("function" != typeof n) {
218              for (o = -1, i = n.length - 1; i >= 0; i--)
219                if (n[i] === t || n[i].listener === t) {
220                  (a = n[i].listener), (o = i);
221                  break;
222                }
223              if (o < 0) return this;
224              0 === o
225                ? n.shift()
226                : (function (e, t) {
227                    for (; t + 1 < e.length; t++) e[t] = e[t + 1];
228                    e.pop();
229                  })(n, o),
230                1 === n.length && (r[e] = n[0]),
231                void 0 !== r.removeListener && this.emit("removeListener", e, a || t);
232            }
233            return this;
234          }),
235          (i.prototype.off = i.prototype.removeListener),
236          (i.prototype.removeAllListeners = function (e) {
237            var t, n, r;
238            if (void 0 === (n = this._events)) return this;
239            if (void 0 === n.removeListener)
240              return (
241                0 === arguments.length
242                  ? ((this._events = Object.create(null)), (this._eventsCount = 0))
243                  : void 0 !== n[e] && (0 == --this._eventsCount ? (this._events = Object.create(null)) : delete n[e]),
244                this
245              );
246            if (0 === arguments.length) {
247              var o,
248                i = Object.keys(n);
249              for (r = 0; r < i.length; ++r) "removeListener" !== (o = i[r]) && this.removeAllListeners(o);
250              return (
251                this.removeAllListeners("removeListener"),
252                (this._events = Object.create(null)),
253                (this._eventsCount = 0),
254                this
255              );
256            }
257            if ("function" == typeof (t = n[e])) this.removeListener(e, t);
258            else if (void 0 !== t) for (r = t.length - 1; r >= 0; r--) this.removeListener(e, t[r]);
259            return this;
260          }),
261          (i.prototype.listeners = function (e) {
262            return f(this, e, !0);
263          }),
264          (i.prototype.rawListeners = function (e) {
265            return f(this, e, !1);
266          }),
267          (i.listenerCount = function (e, t) {
268            return "function" == typeof e.listenerCount ? e.listenerCount(t) : p.call(e, t);
269          }),
270          (i.prototype.listenerCount = p),
271          (i.prototype.eventNames = function () {
272            return this._eventsCount > 0 ? t(this._events) : [];
273          });
274      },
275    },
276    t = {};
277  function n(r) {
278    var o = t[r];
279    if (void 0 !== o) return o.exports;
280    var i = (t[r] = { exports: {} });
281    return e[r](i, i.exports, n), i.exports;
282  }
283  (n.n = (e) => {
284    var t = e && e.__esModule ? () => e.default : () => e;
285    return n.d(t, { a: t }), t;
286  }),
287    (n.d = (e, t) => {
288      for (var r in t) n.o(t, r) && !n.o(e, r) && Object.defineProperty(e, r, { enumerable: !0, get: t[r] });
289    }),
290    (n.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
291    (() => {
292      function e(e, t) {
293        (null == t || t > e.length) && (t = e.length);
294        for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
295        return r;
296      }
297      function t(e, t, n) {
298        return (
299          t in e
300            ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
301            : (e[t] = n),
302          e
303        );
304      }
305      var r = function () {
306          return window.innerWidth >= 992;
307        },
308        o = function () {
309          return Math.random().toString(36).substring(2, 15);
310        },
311        i = function () {
312          var e = window;
313          return { width: e.innerWidth, height: e.innerHeight };
314        },
315        a = function () {
316          return window.matchMedia("(any-pointer: coarse)").matches || window.innerHeight > window.innerWidth
317            ? "".concat(window.innerHeight, "px")
318            : "100vh";
319        },
320        c = function (e) {
321          return e ? e.offsetHeight : 0;
322        },
323        s = function (e) {
324          $("header").css("background-color", e);
325        },
326        l = function () {
327          $("header").css("background-color", "transparent");
328        },
329        u = function (e) {
330          document.body.classList.toggle("no-scroll", e);
331        },
332        d = function () {
333          var e = document.documentElement,
334            t = window.getComputedStyle(e).getPropertyValue("--container-offset");
335          return parseInt(t);
336        };
337      function f(e, t, n) {
338        var r;
339        return function () {
340          var o = this,
341            i = arguments,
342            a = function () {
343              (r = null), n || e.apply(o, i);
344            },
345            c = n && !r;
346          clearTimeout(r), (r = setTimeout(a, t)), c && e.apply(o, i);
347        };
348      }
349      function p() {
350        return !1;
351      }
352      function h(e, t) {
353        var n = Object.keys(e);
354        if (Object.getOwnPropertySymbols) {
355          var r = Object.getOwnPropertySymbols(e);
356          t &&
357            (r = r.filter(function (t) {
358              return Object.getOwnPropertyDescriptor(e, t).enumerable;
359            })),
360            n.push.apply(n, r);
361        }
362        return n;
363      }
364      function g(e) {
365        for (var n = 1; n < arguments.length; n++) {
366          var r = null != arguments[n] ? arguments[n] : {};
367          n % 2
368            ? h(Object(r), !0).forEach(function (n) {
369                t(e, n, r[n]);
370              })
371            : Object.getOwnPropertyDescriptors
372            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
373            : h(Object(r)).forEach(function (t) {
374                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
375              });
376        }
377        return e;
378      }
379      var v = function (e) {
380          var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1,
381            n = $("header").outerHeight(),
382            bch = $(".breadcrumbs").height() || 0;
383          n += bch;
384          gsap.to(window, { duration: t, scrollTo: { y: e, offsetY: n } });
385        },
386        m = function (e, t, n, r) {
387          gsap.to(e, g({ autoAlpha: n, display: t }, r && { onComplete: r }));
388        },
389        _ = function (e, t) {
390          gsap.to(e, t);
391        },
392        y = function (e, t, n) {
393          gsap.to(e, g({ ease: "Power1.easeInOut", height: t, duration: 0.5 }, n && { onComplete: n }));
394        },
395        b = function (e, t) {
396          gsap.set(e, { height: t });
397        },
398        w = function (e) {
399          ScrollTrigger.refresh(e);
400        },
401        k = function (e) {
402          return ScrollTrigger.getById(e);
403        },
404        x = function (e, t) {
405          return i().width >= 992 ? t : e;
406        },
407        A = function (e, t, n) {
408          var r = i(),
409            a = r.width,
410            c = r.height,
411            s = a < 992 ? "data-parallax-mobile-speed" : "data-parallax-speed",
412            l = o(),
413            u = gsap.fromTo(
414              t,
415              {
416                y: function (e, t) {
417                  return "".concat(parseFloat(t.getAttribute(s)) * (c / 10), "%");
418                },
419              },
420              {
421                y: function (e, t) {
422                  return "-".concat(parseFloat(t.getAttribute(s)) * (c / 10), "%");
423                },
424                ease: "none",
425                scrollTrigger: g({ id: l, trigger: e, start: "top 50%", end: "bottom 50%", scrub: !0 }, n),
426              }
427            );
428          return function () {
429            var e = k(l);
430            e && e.kill(), u.kill(), gsap.set(t, { clearProps: "all" });
431          };
432        },
433        C = function (e, t) {
434          var n = parseInt(window.getComputedStyle(e).getPropertyValue("grid-row-gap")),
435            r = parseInt(window.getComputedStyle(e).getPropertyValue("grid-auto-rows")),
436            o = t.getBoundingClientRect().height,
437            i = Math.round((n + o) / (r + n));
438          t.style.gridRowEnd = "span " + i;
439        };
440      var L = [
441          "link_arrows_1",
442          "link_arrows_2",
443          "link_arrows_3",
444          "link_orange_arrows_1",
445          "link_orange_arrows_2",
446          "link_orange_arrows_3",
447          "link_circle_1",
448          "link_circle_2",
449          "link_circle_3",
450          "link_orange_circle_1",
451          "link_orange_circle_2",
452          "link_orange_circle_3",
453          "link_line_1",
454          "link_line_2",
455          "link_line_3",
456          "link_orange_line_1",
457          "link_orange_line_2",
458          "link_orange_line_3",
459        ],
460        S = {
461          link_arrows_1: 1.2,
462          link_arrows_2: 1.2,
463          link_arrows_3: 1.2,
464          link_orange_arrows_1: 1.2,
465          link_orange_arrows_2: 1.2,
466          link_orange_arrows_3: 1.2,
467          link_circle_1: 0.9,
468          link_circle_2: 0.9,
469          link_circle_3: 0.9,
470          link_orange_circle_1: 0.9,
471          link_orange_circle_2: 0.9,
472          link_orange_circle_3: 0.9,
473          link_line_1: 0.9,
474          link_line_2: 0.9,
475          link_line_3: 0.9,
476          link_orange_line_1: 0.9,
477          link_orange_line_2: 0.9,
478          link_orange_line_3: 0.9,
479        };
480      function E(e) {
481        if ("number" == typeof e) {
482          for (
483            var t = (e += "").split("."), n = t[0], r = t.length > 1 ? "." + t[1] : "", o = /(\d+)(\d{3})/;
484            o.test(n);
485
486          )
487            n = n.replace(o, "$1,$2");
488          return n + r;
489        }
490        return e;
491      }
492      var O = function () {
493          var e = parseInt($('.saving-calculator-inputs input[name="cpd"]').val()),
494            t = parseInt($('.saving-calculator-inputs input[name="pph"]').val()),
495            n = 365 * e * t;
496          if (e && t) {
497            var r = E(Math.round(n * (3 - 0.4))),
498              o = E(Math.round(6 * n / 453.592)),
499              b = E(Math.round(n));
500            $(".saving-calculator-results .cost-pods").html(r), $(".saving-calculator-results .waste-pods").html(o), $(".saving-calculator-results .num-pods").html(b);
501          }
502        },
503        P = function () {
504          var e = parseInt($('.saving-beans-calculator-inputs input[name="pph"]').val()),
505            t = parseInt($('.saving-beans-calculator-inputs input[name="cpd"]').val()),
506            n = t * e * 0.49382716049382713 * 30,
507            r = t * e * 0.030837004405286344 * 30;
508          if (n && r) {
509            var o = E(Math.round(n / 12));
510            if (
511              ($(".saving-beans-calculator-results .waste-pods").html(o),
512              $(function () {
513                $(".lbs-converter-text").text("lbs");
514              }),
515              Math.ceil(n) > 36)
516            ) {
517              var i = E(Math.round(r));
518              $(".saving-beans-calculator-results .cost-pods").html(i);
519            } else {
520              var a = E(Math.round(n));
521              $(".saving-beans-calculator-results .cost-pods").html(a),
522                $(function () {
523                  $(".lbs-converter-text").text("oz");
524                });
525            }
526          }
527        },
528        T = n(187);
529      const H = new (n.n(T)())();
530      function j(e, t) {
531        for (var n = 0; n < t.length; n++) {
532          var r = t[n];
533          (r.enumerable = r.enumerable || !1),
534            (r.configurable = !0),
535            "value" in r && (r.writable = !0),
536            Object.defineProperty(e, r.key, r);
537        }
538      }
539      function M(e, t) {
540        (null == t || t > e.length) && (t = e.length);
541        for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
542        return r;
543      }
544      var I = new ((function () {
545          function e() {
546            !(function (e, t) {
547              if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
548            })(this, e),
549              (this.animations = []),
550              (this.refreshCallbacks = []),
551              H.on("resize", this.onResize.bind(this));
552          }
553          var t, n;
554          return (
555            (t = e),
556            (n = [
557              {
558                key: "onResize",
559                value: function () {
560                  (this.animations = this.animations.map(function (e) {
561                    var t = e.create,
562                      n = e.clear;
563                    return n instanceof Function && n(), { create: t, clear: t() };
564                  })),
565                    this.refreshCallbacks.forEach(function (e) {
566                      return e();
567                    });
568                },
569              },
570              {
571                key: "registerAnimation",
572                value: function (e) {
573                  this.animations.push({ create: e, clear: e() });
574                },
575              },
576              {
577                key: "registerUpdate",
578                value: function (e) {
579                  this.refreshCallbacks.push(e);
580                },
581              },
582            ]) && j(t.prototype, n),
583            Object.defineProperty(t, "prototype", { writable: !1 }),
584            e
585          );
586        })())(),
587        R = f(w, 300),
588        z = function (e, t) {
589          var n = document.querySelector(e);
590          if (n) {
591            var r = new MutationObserver(function (e, n) {
592              var r,
593                o = (function (e, t) {
594                  var n = ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
595                  if (!n) {
596                    if (
597                      Array.isArray(e) ||
598                      (n = (function (e, t) {
599                        if (e) {
600                          if ("string" == typeof e) return M(e, t);
601                          var n = Object.prototype.toString.call(e).slice(8, -1);
602                          return (
603                            "Object" === n && e.constructor && (n = e.constructor.name),
604                            "Map" === n || "Set" === n
605                              ? Array.from(e)
606                              : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
607                              ? M(e, t)
608                              : void 0
609                          );
610                        }
611                      })(e)) ||
612                      (t && e && "number" == typeof e.length)
613                    ) {
614                      n && (e = n);
615                      var r = 0,
616                        o = function () {};
617                      return {
618                        s: o,
619                        n: function () {
620                          return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
621                        },
622                        e: function (e) {
623                          throw e;
624                        },
625                        f: o,
626                      };
627                    }
628                    throw new TypeError(
629                      "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
630                    );
631                  }
632                  var i,
633                    a = !0,
634                    c = !1;
635                  return {
636                    s: function () {
637                      n = n.call(e);
638                    },
639                    n: function () {
640                      var e = n.next();
641                      return (a = e.done), e;
642                    },
643                    e: function (e) {
644                      (c = !0), (i = e);
645                    },
646                    f: function () {
647                      try {
648                        a || null == n.return || n.return();
649                      } finally {
650                        if (c) throw i;
651                      }
652                    },
653                  };
654                })(e);
655              try {
656                for (o.s(); !(r = o.n()).done; ) "childList" === r.value.type && t();
657              } catch (e) {
658                o.e(e);
659              } finally {
660                o.f();
661              }
662            });
663            return (
664              r.observe(n, { childList: !0, subtree: !0 }),
665              function () {
666                r.disconnect();
667              }
668            );
669          }
670          return p;
671        },
672        W = function () {
673          var e = $(".product-info-pin-container"),
674            t = $(".product-info-pin-element-desktop"),
675            n = $(".product-info-pin-element-height");
676          if (!e.get(0)) return { clear: p, update: p };
677          var r = (function (e) {
678            var t = e.container,
679              n = e.pin,
680              r = e.pinHeight;
681            return ScrollTrigger.create({
682              trigger: t,
683              pin: n,
684              pinSpacing: !1,
685              scrub: !1,
686              start: function () {
687                return "top ".concat($("header").outerHeight(), "px");
688              },
689              end: function () {
690                return "+=".concat($(t).outerHeight() - $(r).outerHeight(), "px");
691              },
692            });
693          })({ container: e.get(0), pin: t.get(0), pinHeight: n });
694          return {
695            clear: function () {
696              r.kill();
697            },
698            update: function () {
699              r.refresh(!0);
700            },
701          };
702        },
703        q = function () {
704          var e = $(".product-info-fix-element-mobile"),
705            t = $(".product-info-collapse"),
706            n = $(".product-info-collapse__open"),
707            r = $(".product-info-collapse__close"),
708            o = $(".product-info-collapse__collapse"),
709            i = $(".section-product-info-new__container");
710          b(o, 0),
711            e.css({ width: e.outerWidth(), height: e.outerHeight() }),
712            t.css({ position: "absolute", left: 0, right: 0, bottom: 0 });
713          var a = function () {
714              t.addClass("expanded"), e.addClass("visible"), y(o, "".concat(i.outerHeight() - t.outerHeight(), "px"));
715            },
716            c = function () {
717              t.removeClass("expanded"),
718                y(o, 0, function () {
719                  e.removeClass("visible");
720                });
721            };
722          return (
723            n.on("click", a),
724            r.on("click", c),
725            {
726              update: function () {
727                e.css({ width: t.outerWidth(), height: t.outerHeight() });
728              },
729              clear: function () {
730                t.removeAttr("style"), b(o, "auto"), n.off("click", a), r.off("click", c);
731              },
732            }
733          );
734        },
735        B = function (e, t) {
736          var n = e.replace("#", ""),
737            r = Array.from(document.querySelectorAll(e)).map(function (e) {
738              var r = Array.from(e.querySelectorAll(".".concat(n, "__tabs li"))),
739                o = Array.from(e.querySelectorAll(".".concat(n, "__content"))),
740                i = function (n) {
741                  n.stopPropagation(),
742                    n.preventDefault(),
743                    r.forEach(function (e) {
744                      e.classList.remove("active");
745                    }),
746                    o.forEach(function (e) {
747                      e.classList.remove("active");
748                    });
749                  var i = n.currentTarget,
750                    a = i.parentElement,
751                    c = i.getAttribute("href"),
752                    s = e.querySelector(c);
753                  a.classList.add("active"), s.classList.add("active"), t && t();
754                };
755              return (
756                $(".".concat(n, "__tabs a")).on("click", i),
757                function () {
758                  $(".".concat(n, "__tabs a")).off("click", i);
759                }
760              );
761            });
762          return function () {
763            r.forEach(function (e) {
764              return e();
765            });
766          };
767        },
768        U = function () {
769          var e = $(".section-product-info");
770          I.registerAnimation(function () {
771            if (e.get(0)) {
772              if (r()) {
773                var t = W(),
774                  n = t.clear,
775                  o = t.update,
776                  i = B("#product-machine-description-tabs", o),
777                  a = z(".on-dom-change", o);
778                return function () {
779                  a(), n(), i();
780                };
781              }
782              var s = (function () {
783                  var e = $(".product-info-pin-element-mobile"),
784                    t = $(".product-info-collapse"),
785                    n = $(".product-info-collapse__open"),
786                    r = $(".product-info-collapse__close"),
787                    o = $(".product-info-collapse__collapse");
788                  b(o, 0);
789                  var i = function () {
790                      var n = $("header").outerHeight(),
791                        r = t.outerHeight();
792                      t.addClass("expanded"),
793                        y(o, "".concat(window.innerHeight - r - n, "px"), function () {
794                          "fixed" === e.css("position") && u(!0);
795                        });
796                    },
797                    a = function () {
798                      t.removeClass("expanded"),
799                        y(o, 0, function () {
800                          u(!1);
801                        });
802                    };
803                  return (
804                    n.on("click", i),
805                    r.on("click", a),
806                    function () {
807                      t.removeClass("expanded"), b(o, "auto"), n.off("click", i), r.off("click", a);
808                    }
809                  );
810                })(),
811                l = (function () {
812                  var e = $(".product-info-pin-container"),
813               
813     t = $(".product-info-pin-element-mobile"),
814                    n = $(".product-info-collapse");
815                  if (!e.get(0)) return { clear: p, update: p };
816                  var r = (function (e) {
817                      var t = e.container,
818                        n = e.pin,
819                        r = c(e.collapse);
820                      return (
821                        gsap.set(t, { paddingBottom: r, position: "relative" }),
822                        gsap.set(n, { position: "fixed", bottom: 0, top: "auto", left: 0, right: 0 }),
823                        gsap.to(n, { autoAlpha: 1, duration: 0.5 }),
824                        {
825                          scrollTrigger: ScrollTrigger.create({
826                            trigger: t,
827                            start: "top +=".concat($("header").outerHeight(), "px"),
828                            end: "bottom bottom",
829                            onLeave: function () {
830                              gsap.set(n, { position: "absolute", bottom: 0, left: -20, right: -20 });
831                            },
832                            onEnterBack: function () {
833                              gsap.set(n, { position: "fixed", bottom: 0, top: "auto", left: 0, right: 0 });
834                            },
835                          }),
836                          clearAllProps: function () {
837                            gsap.set(t, { clearProps: "all" }), gsap.set(n, { clearProps: "all" });
838                          },
839                        }
840                      );
841                    })({ container: e.get(0), pin: t.get(0), collapse: n.get(0) }),
842                    o = r.scrollTrigger,
843                    i = r.clearAllProps;
844                  return {
845                    clear: function () {
846                      o.kill(), i();
847                    },
848                    update: function () {
849                      o.refresh(!0);
850                    },
851                  };
852                })(),
853                d = l.clear,
854                h = l.update,
855                g = B("#product-machine-description-tabs", h),
856                v = z(".on-dom-change", h),
857                m = f(h, 200);
858              return (
859                window.addEventListener("resize", m),
860                function () {
861                  v(), d(), s(), g(), window.removeEventListener("resize", m);
862                }
863              );
864            }
865            return p;
866          });
867        },
868        F = function () {
869          var t = $(".home-intro-animation"),
870            n = $(".home-intro-animation__first-scene__area").get(0),
871            r = $(".home-intro-animation__first-scene__scroll-more").get(0),
872            o = $(".home-intro-animation__first-scene__welcome-text"),
873            a = o.children().get();
874          I.registerAnimation(function () {
875            return t.get(0)
876              ? (function (t) {
877                  var n,
878                    r,
879                    o,
880                    a = t.firstSceneArea,
881                    c = t.firstSceneScrollMore,
882                    l = t.firstSceneWelcomeTextContainer,
883                    u = t.firstSceneWelcomeTextItems,
884                    f = i(),
885                    p = f.width,
886                    h = f.height,
887                    g = $("header"),
888                    v = $(".header__banner"),
889                    m = g.outerHeight(),
890                    _ =
891                      ((o = 2),
892                      (function (e) {
893                        if (Array.isArray(e)) return e;
894                      })((r = u)) ||
895                        (function (e, t) {
896                          var n =
897                            null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
898                          if (null != n) {
899                            var r,
900                              o,
901                              i = [],
902                              a = !0,
903                              c = !1;
904                            try {
905                              for (
906                                n = n.call(e);
907                                !(a = (r = n.next()).done) && (i.push(r.value), !t || i.length !== t);
908                                a = !0
909                              );
910                            } catch (e) {
911                              (c = !0), (o = e);
912                            } finally {
913                              try {
914                                a || null == n.return || n.return();
915                              } finally {
916                                if (c) throw o;
917                              }
918                            }
919                            return i;
920                          }
921                        })(r, o) ||
922                        (function (t, n) {
923                          if (t) {
924                            if ("string" == typeof t) return e(t, n);
925                            var r = Object.prototype.toString.call(t).slice(8, -1);
926                            return (
927                              "Object" === r && t.constructor && (r = t.constructor.name),
928                              "Map" === r || "Set" === r
929                                ? Array.from(t)
930                                : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
931                                ? e(t, n)
932                                : void 0
933                            );
934                          }
935                        })(r, o) ||
936                        (function () {
937                          throw new TypeError(
938                            "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
939                          );
940                        })()),
941                    y = _[0],
942                    b = _[1],
943                    w = x("".concat(p / 2 + ((n = y) ? n.offsetWidth : 0), "px"), "200%"),
944                    k = d() || 20;
945                  gsap.set(v, { autoAlpha: 0 }), gsap.set(l, { autoAlpha: 1 });
946                  var A = gsap.timeline({ paused: !0 });
947                  return (
948                    A.to(a, {
949                      duration: 1.2,
950                      left: k,
951                      right: k,
952                      borderRadius: 10,
953                      width: p - 2 * k,
954                      height: h - (m + m),
955                      top: m,
956                      bottom: m,
957                      paddingBottom: "2.5%",
958                      onComplete: function () {
959                        s("white");
960                      },
961                    }),
962                    A.to(c, { autoAlpha: 1, duration: 0.5 }),
963                    A.to(g, { autoAlpha: 1, duration: 0.5 }, 0),
964                    A.to(v, { autoAlpha: 1, duration: 0.5 }, 0.2),
965                    A.from(y, { x: "-".concat(w), duration: 1, delay: 0.2 }, 0),
966                    A.from(b, { x: w, duration: 1, delay: 0.2 }, 0),
967                    setTimeout(function () {
968                      return A.play();
969                    }, 600),
970                    function () {
971                      A.revert().clear().kill();
972                    }
973                  );
974                })({
975                  firstSceneArea: n,
976                  firstSceneScrollMore: r,
977                  firstSceneWelcomeTextContainer: o.get(0),
978                  firstSceneWelcomeTextItems: a,
979                })
980              : p;
981          });
982        };
983      function N() {
984        var e, t, n, r, o, i, c, s;
985        (s = function () {
986          var e, t, n, bch;
987          (e = a()),
988            setTimeout(() => {
989              document.documentElement.style.setProperty("--app-height", e),
990              (t = window.innerHeight),
991              (n = $("header").outerHeight()),
992              (bch = $(".breadcrumbs").height() || 0),
993              document.documentElement.style.setProperty("--section-height", "".concat(t - n, "px")),
994              // document.documentElement.style.setProperty("--breadcrumbs-height", `${bch}px`),
995              document.documentElement.style.setProperty("--breadcrumbs-offset", n + "px");
996              R(!0);
997            }, 501);
998        })(),
999          H.on("resize", s),
1000          O(),
1001          $('.saving-calculator-inputs input[type="number"]').on("input", function () {
1002            O();
1003          }),
1004          P(),
1005          $('.saving-beans-calculator-inputs input[type="number"]').on("input", function () {
1006            P();
1007          }),
1008          (function () {
1009            var e = document.querySelector(".masonry");
1010            if (e) {
1011              var t = e.querySelectorAll(".masonry-item"),
1012                n = (function (e, t) {
1013                  return function () {
1014                    t &&
1015                      t.forEach(function (t) {
1016                        C(e, t);
1017                      });
1018                  };
1019                })(e, t),
1020                r = f(n, 300);
1021              window.addEventListener("load", r),
1022                window.addEventListener("resize", r),
1023                (function (e, t) {
1024                  t &&
1025                    t.forEach(function (t) {
1026                      t.querySelector("img").addEventListener("load", function () {
1027                        C(e, t);
1028                      });
1029                    });
1030                })(e, t);
1031            }
1032          })(),
1033          $(".sub-card-tabs-wrapper").each(function () {
1034            var e = $(this);
1035            e.find(".tab-item").not(":first").hide(),
1036              e
1037                .find(".tab")
1038                .click(function () {
1039                  e.find(".tab").removeClass("activeTab").eq($(this).index()).addClass("activeTab"),
1040                    e.find(".tab-item").hide().eq($(this).index()).fadeIn();
1041                })
1042                .eq(0)
1043                .addClass("activeTab");
1044          }),
1045          $(".hidden-select").each(function () {
1046            var e = $(this),
1047              t = e.children("option"),
1048              n = e.val();
1049            e.wrap('<div class="select"></div>');
1050            var r = $("<ul />", { class: "custom-select" }).insertAfter(e);
1051            t.each(function (e, t) {
1052              var o = $(t).val();
1053              $("<li />", {
1054                class: "custom-select__options" + (o === n ? " active" : ""),
1055                text: $(t).text(),
1056                rel: o,
1057              }).appendTo(r);
1058            });
1059            var o = r.children("li");
1060            o.click(function () {
1061              o.removeClass("active"), $(this).addClass("active"), e.val($(this).attr("rel"));
1062            });
1063          }),
1064          $(".filters-beans").each(function (e, t) {
1065            var n = $(t);
1066            n.on("click", function () {
1067              n.hasClass("active") ? n.removeClass("active") : n.addClass("active");
1068            });
1069          }),
1070          (e = $(".header")),
1071          (t = $(".list__shop")),
1072          (n = $(".list__company")),
1073          (r = $(".navigation-header-expand-hover-state-shop")),
1074          (o = $(".navigation-header-expand-hover-state-company")),
1075          r.each(function (r, o) {
1076            var i = $(o);
1077            i.on("mouseenter", function () {
1078              e.addClass("expanded"), t.addClass("hoverAnimation"), n.removeClass("hoverAnimation");
1079            }),
1080              i.on("mouseleave", function () {
1081                e.removeClass("expanded"), n.removeClass("hoverAnimation");
1082              });
1083          }),
1084          o.each(function (r, o) {
1085            var i = $(o);
1086            i.on("mouseenter", function () {
1087              e.addClass("expanded"), n.addClass("hoverAnimation"), t.removeClass("hoverAnimation");
1088            }),
1089              i.on("mouseleave", function () {
1090                e.removeClass("expanded"), t.removeClass("hoverAnimation");
1091              });
1092          }),
1093          (i = $(".link")),
1094          (c = function (e, t) {
1095            return t.includes("link_line")
1096              ? e >= 150
1097                ? 1.8
1098                : e >= 125
1099                ? 1.9
1100                : e >= 75
1101                ? 2.1
1102                : 2.3
1103              : e >= 150 || e >= 125
1104              ? 2.5
1105              : e >= 100 || e >= 75
1106              ? 2.4
1107              : e >= 50
1108              ? 2.3
1109              : 2.2;
1110          }),
1111          i.each(function (e, t) {
1112            var n = $(t),
1113              r = n.outerWidth(),
1114              o = L.map(function (e) {
1115                return { sort: Math.random(), value: e };
1116              })
1117                .sort(function (e, t) {
1118                  return e.sort - t.sort;
1119                })
1120                .map(function (e) {
1121                  return e.value;
1122                })[0];
1123            n.addClass(o).css({ "--link-scale-size": "".concat(100 * c(r, o) * S[o], "%") });
1124          });
1125      }
1126      function D() {
1127        var e, t, n, h, C, L, S, E;
1128        !(function () {
1129          var e = document.documentElement,
1130            t = $("header"),
1131            n = $(".header__banner");
1132          if (!n.hasClass("remove") && n.get(0)) {
1133            var r = function (t, n) {
1134              e.style.setProperty("--banner-offset", n + "px");
1135              e.style.setProperty("--header-offset", t + "px");
1136              e.style.setProperty("--header-compensation", "-" + t + "px");
1137              e.style.setProperty("--breadcrumbs-offset", t + "px");
1138            };
1139            $(".header__banner__close").on("click", function () {
1140              t.removeClass("banner-visible"), n.addClass("hidden");
1141              var e = n.outerHeight(!0),
1142                o = t.outerHeight(!0);
1143              r(o, e);
1144            }),
1145              (function () {
1146                t.addClass("banner-visible"), n.removeClass("hidden");
1147                var e = n.outerHeight(!0),
1148                  o = t.outerHeight(!0);
1149                r(o, e);
1150              })();
1151          }
1152        })(),
1153          (function () {
1154            var e = $(".viewport-footer-animation");
1155            if (e.get(0)) {
1156              var t = function () {
1157                // var t = $(".footer").find(".footer-height").outerHeight();
1158                // e.css({ marginBottom: "".concat(t - 25, "px"), overflow: "hidden" });
1159              };
1160              t(), I.registerUpdate(t);
1161            }
1162          })(),
1163          $(".collapse").each(function (e, t) {
1164            var n = $(t),
1165              r = n.children().first(),
1166              o = n.find(".collapse__visible span"),
1167              i = function () {
1168                v(t), R(!0);
1169              },
1170              a = function () {
1171                R(!0);
1172              },
1173              c = function () {
1174                y(t, r.height(), a), n.removeClass("opened");
1175                var e = o.data("open-text");
1176                e && o.html(e);
1177              },
1178              s = function () {
1179                y(t, "auto", i), n.addClass("opened");
1180                var e = o.data("close-text");
1181                e && o.html(e);
1182              };
1183            r.on("click", function () {
1184              n.hasClass("opened") ? c() : s();
1185            });
1186            var l = window.location.hash;
1187            if (l) {
1188              var u = decodeURI(l).replace("#", "");
1189              n.prop("id") === u && r.click();
1190            }
1191            n.hasClass("default-opened") ? s() : b(t, r.height()),
1192              I.registerUpdate(function () {
1193                n.hasClass("opened") ? s() : c();
1194              });
1195          }),
1196          F(),
1197          $(".regular-collapse").each(function (e, t) {
1198            var n = $(t),
1199              r = n.find(".regular-collapse__visible"),
1200              o = n.find(".regular-collapse__visible span"),
1201              i = n.find(".regular-collapse__collapse");
1202            b(t, r.height()),
1203              r.on("click", function () {
1204                if (n.hasClass("opened")) {
1205                  y(i, "0"), n.removeClass("opened");
1206                  var e = o.data("open-text");
1207                  e && o.html(e);
1208                } else {
1209                  y(i, "auto"), n.addClass("opened");
1210                  var t = o.data("close-text");
1211                  t && o.html(t);
1212                }
1213              });
1214          }),
1215          $(".search-collapse").each(function (e, t) {
1216            var n = $(t),
1217              r = n.find(".search-collapse__visible"),
1218              o = n.find(".search-collapse__collapse"),
1219              i = $(".background__blur").get(0),
1220              a = r.find("input"),
1221              c = r.find(".section-search__close");
1222            b(t, r.height());
1223            var s = function (e) {
1224                t.contains(e.target) || l();
1225              },
1226              l = function () {
1227                y(o, "0", function () {
1228                  $(".collapse").css({ overflow: "hidden" });
1229                }),
1230                  m(i, "none", 0),
1231                  $(".header, .section-search__close, .header__banner").removeClass("active"),
1232                  document.removeEventListener("click", s);
1233              };
1234            a.on("focus", function () {
1235              y(o, "auto"),
1236                m(i, "block", 1),
1237                $(".collapse").css({ overflow: "visible" }),
1238                $(".header, .section-search__close, .header__banner").addClass("active"),
1239                document.addEventListener("click", s);
1240            }),
1241              c.on("click", l);
1242          }),
1243          (function (e) {
1244            if (e.length > 0) {
1245              var t = $("main"),
1246                n = parseInt(t.css("padding-top")),
1247                r = $(".filter-collapse__visible").height();
1248              e.addClass("filter-fixed"), t.css("padding-top", n + r);
1249            }
1250          })((E = $(".filter-collapse"))),
1251          E.each(function (e, t) {
1252            var n = $(t),
1253              o = n.find(".filter-collapse__visible"),
1254              i = n.find(".filter-collapse__toggle"),
1255              a = n.find(".filter-collapse__action"),
1256              c = o.find("h3"),
1257              s = a.find("span"),
1258              l = function (e) {
1259                t.contains(e.target) || d();
1260              },
1261              u = function () {
1262                return n.hasClass("opened");
1263              },
1264              d = function () {
1265                y(i, 0, function () {
1266                  n.removeClass("opened");
1267                });
1268                var e = s.data("open-text");
1269                e && s.html(e), document.removeEventListener("click", l);
1270              };
1271            a.on("click", function () {
1272              u()
1273                ? d()
1274                : (function () {
1275                    y(i, "auto"), n.addClass("opened");
1276                    var e = s.data("close-text");
1277                    e && s.html(e), document.addEventListener("click", l);
1278                  })();
1279            }),
1280              r() &&
1281                (function (e, t, n) {
1282                  var r,
1283                    o = parseInt(t.css("font-size")),
1284                    i = gsap.timeline({ ease: "none", scrollTrigger: { start: "top top", end: "300px", scrub: !0 } });
1285                  i.set(e, { height: e.outerHeight() }),
1286                    i.to(t, { fontSize: "".concat(o / 2, "px"), duration: 0.5, overwrite: !0 }, 0),
1287                    i.to(
1288                      e,
1289                      {
1290                        height: ((r = e.outerHeight() - o / 2), n(), "".concat(r, "px")),
1291                        duration: 0.5,
1292                        overwrite: !0,
1293                      },
1294                      0
1295                    );
1296                })(o, c, u),
1297              I.registerUpdate(function () {
1298                n.hasClass("opened") ? u() : d();
1299              });
1300          }),
1301          $(".products-filter").each(function (e, t) {
1302            $(t)
1303              .children()
1304              .first()
1305              .on("click", function () {
1306                v(0), R(!0);
1307              });
1308          }),
1309          (e = $(".parallax-container").get(0)),
1310          (t = $(".parallax-image").get()),
1311          e && t.length > 0 && A(e, t, { start: "top 70%", end: "bottom 50%" }),
1312          (function () {
1313            var e = $(".parallax-container-beans").get(0),
1314              t = $(".parallax-image-beans").get();
1315            e &&
1316              t.length > 0 &&
1317              (function (e, t) {
1318                var n = $("header").outerHeight();
1319                gsap.to(t, {
1320                  y: "5%",
1321                  ease: "none",
1322                  scrollTrigger: {
1323                    trigger: e,
1324                    start: "top ".concat(4 * n, "px"),
1325                    end: "+=".concat(e.offsetHeight / 2),
1326                    scrub: !0,
1327                  },
1328                });
1329              })(e, t);
1330          })(),
1331          (function () {
1332            var e = $("#card-popup-container"),
1333              t = $("#card-popup-overlay");
1334            $(".card-popup-close").click(function () {
1335              e.removeClass("open"),
1336                t.removeClass("open"),
1337                u(!1),
1338                t.animate({
1339                  opacity: 0,
1340                  done: function () {
1341                    $(this).css({ display: "none" });
1342                  },
1343                });
1344            });
1345          })(),
1346          (function () {
1347            var e = $(".coffee-animation__container").get(0),
1348              t = $(".coffee-animation__pin").get(0),
1349              n = $(".coffee-animation__scene").get(0),
1350              r = $(".coffee-animation__frame").get(0),
1351              a = $(".coffee-animation__images-container").children().get(),
1352              c = $(".coffee-animation__descriptions-container").children().get();
1353            I.registerAnimation(function () {
1354              return e
1355                ? (function (e) {
1356                    var t = e.container,
1357                      n = e.pin,
1358                      r = e.scene,
1359                      a = e.frame,
1360                      c = e.images,
1361                      u = e.descriptions,
1362                      f = o(),
1363                      p = i(),
1364                      h = p.width,
1365                      v = p.height,
1366                      m = h >= 992,
1367                      _ = $("header").outerHeight(),
1368                      y = d() || 20;
1369                    l();
1370                    var b = gsap.timeline({
1371                      ease: "none",
1372                      onStart: function () {
1373                        l();
1374                      },
1375                      scrollTrigger: {
1376                        id: f,
1377                        trigger: t,
1378                        pin: n,
1379                        start: "top top",
1380                        end: "bottom bottom",
1381                        scrub: !0,
1382                        snap: { snapTo: [0, 0.15, 0.37, 0.58, 0.83, 1], delay: 0.3, duration: { min: 1, max: 2 } },
1383                        onLeave: function () {
1384                          s("white");
1385                        },
1386                        onEnterBack: function () {
1387                          l();
1388                        },
1389                      },
1390                    });
1391                    b.addLabel("images", 0), b.addLabel("descriptions", 0), b.set(u.slice(1), { autoAlpha: 0 });
1392                    var w = gsap.timeline({ defaults: { ease: "back.out(1)", duration: 0.5 } }),
1393                      x = gsap.timeline(),
1394                      A = gsap.timeline({ defaults: { ease: "none", duration: 0.25 } });
1395                    return (
1396                      c.forEach(function (e, t) {
1397                        0 !== t && w.fromTo(e, { y: "100%" }, g({ y: 0 }, 1 !== t && { delay: 0.2 }));
1398                      }),
1399                      u.forEach(function (e, t) {
1400                        var n = u[t - 1];
1401                        0 !== t &&
1402                          (x.to(e, { autoAlpha: 1, ease: "Power1.easeIn", duration: 0.5, delay: 0.2 }),
1403                          n && x.to(n, { autoAlpha: 0, duration: 0.3, ease: "Power1.easeOut" }, "-=0.5"));
1404                      }),
1405                      A.to(r, {
1406                        left: y,
1407                        right: y,
1408                        borderRadius: 10,
1409                        width: h - 2 * y,
1410                        height: v - 2 * _,
1411                        top: _,
1412                        bottom: _,
1413                      }),
1414                      m && A.to(r, { height: 0.7 * v, top: 0.15 * v, bottom: 0.15 * v }),
1415                      b.add(w, "images"),
1416                      b.add(x, "descriptions"),
1417                      b.add(A),
1418                      gsap.to(a, { autoAlpha: 1, duration: 0.5 }),
1419                      function () {
1420                        var e = k(f);
1421                        e && e.kill(),
1422                          w.revert().clear().kill(),
1423                          x.revert().clear().kill(),
1424                          A.revert().clear().kill(),
1425                          b.revert().clear().kill();
1426                      }
1427                    );
1428                  })({ container: e, pin: t, scene: n, frame: r, images: a, descriptions: c })
1429                : p;
1430            });
1431          })(),
1432          (n = $(".menu-body").get(0)),
1433          $(".action-menu").each(function (e, t) {
1434            var r = $(t);
1435            r.on("click", function () {
1436              var e = a();
1437              r.hasClass("open")
1438                ? (r.removeClass("open"),
1439                  u(!1),
1440                  y(n, 0, function () {
1441                    $(".header_landing").css("mix-blend-mode", "difference");
1442                  }))
1443                : (r.addClass("open"), u(!0), y(n, e), $(".header_landing").css("mix-blend-mode", "normal"), window.headroomInstance.pin());
1444            });
1445          }),
1446          (function () {
1447            var e = i(),
1448              t = e.width,
1449              n = (e.height, $("header").outerHeight()),
1450              r = t + $(".about-page__description__background").outerWidth();
1451            if ($(".about-page__intro").get(0)) {
1452              gsap.to(".about-page__description__background", {
1453                scrollTrigger: {
1454                  trigger: ".about-page-intro",
1455                  start: "10% top+=".concat(n, "px"),
1456                  end: "bottom top+=".concat(n, "px"),
1457                  scrub: !0,
1458                },
1459                ease: "none",
1460                x: "-".concat(r, "px"),
1461              });
1462              var o = gsap.timeline({
1463                ease: "none",
1464                scrollTrigger: { trigger: ".day-night__pin", pin: !0, start: "top ".concat(n, "px"), scrub: !0 },
1465              });
1466              o.to(".day-night__night__title", { y: "10%", opacity: 0, duration: 0.2 }, 0),
1467                o.fromTo(".day-night__night", { width: "100%" }, { width: "0", delay: 0.1, duration: 0.9 }, 0),
1468                o.from(".day-night__day__title", { y: "10%", opacity: 0, duration: 0.2, delay: 0.7 }, 0);
1469              var a = ["-25%", "-30%", "-25%"];
1470              $(".about-page-clouds__cloud").each(function (e, t) {
1471                gsap.to(t, {
1472                  scrollTrigger: { trigger: ".about-page-clouds", start: "top bottom", scrub: !0 },
1473                  x: a[e],
1474                });
1475              }),
1476                gsap.from(".about-page-slider__slide", {
1477                  scrollTrigger: { trigger: ".about-page-slider", start: "top center" },
1478                  x: "20%",
1479                  opacity: 0,
1480                  duration: 0.6,
1481                });
1482            }
1483          })(),
1484          U(),
1485          (h = $(".section-product-info-new")),
1486          I.registerAnimation(function () {
1487            if (h.get(0)) {
1488              if (r()) {
1489                var e = W(),
1490                  t = e.clear,
1491                  n = e.update,
1492                  o = B("#product-machine-description-tabs", n),
1493                  i = z(".on-dom-change", n);
1494                return function () {
1495                  i(), t(), o();
1496                };
1497              }
1498              var a = q(),
1499                c = a.clear,
1500                s = a.update,
1501                l = B("#product-machine-description-tabs"),
1502                u = z(".on-dom-change", s);
1503              return function () {
1504                u(), c(), l();
1505              };
1506            }
1507            return p;
1508          }),
1509          (function () {
1510            var e = $(".section-product-info-tk");
1511            I.registerAnimation(function () {
1512              var t = $(".section-product-info-tk__images-container").outerHeight();
1513              if ((e.length > 0, e.get(0))) {
1514                document.documentElement.style.setProperty("--image-section-height", "".concat(t, "px"));
1515                if (r()) {
1516                  var n = W(),
1517                    o = n.clear,
1518                    i = n.update,
1519                    a = B("#product-machine-description-tabs", i),
1520                    c = z(".on-dom-change", i);
1521                  return function () {
1522                    c(), o(), a();
1523                  };
1524                }
1525                var s = q(),
1526                  l = s.clear,
1527                  u = s.update,
1528                  d = B("#product-machine-description-tabs"),
1529                  h = z(".on-dom-change", u),
1530                  g = f(u, 200);
1531                return (
1532                  window.addEventListener("resize", g),
1533                  function () {
1534                    h(), l(), d(), window.removeEventListener("resize", g);
1535                  }
1536                );
1537              }
1538              return p;
1539            });
1540          })(),
1541          (function () {
1542            var e = $(".section-product-info-markt");
1543            I.registerAnimation(function () {
1544              var t = $(".section-product-info-markt__images-container").outerHeight();
1545              if ((e.length > 0, e.get(0))) {
1546                document.documentElement.style.setProperty("--image-section-height", "".concat(t, "px"));
1547                if (r()) {
1548                  var n = W(),
1549                    o = n.clear,
1550                    i = n.update,
1551                    a = B("#product-machine-description-tabs", i),
1552                    c = z(".on-dom-change", i);
1553                  return function () {
1554                    c(), o(), a();
1555                  };
1556                }
1557                var s = q(),
1558                  l = s.clear,
1559                  u = s.update,
1560                  d = B("#product-machine-description-tabs"),
1561                  h = z(".on-dom-change", u),
1562                  g = f(u, 200);
1563                return (
1564                  window.addEventListener("resize", g),
1565                  function () {
1566                    h(), l(), d(), window.removeEventListener("resize", g);
1567                  }
1568                );
1569              }
1570              return p;
1571            });
1572          })(),
1573          (function () {
1574            var e = $("#pin-area"),
1575              t = $("#pin-card"),
1576              n = $("#pin-space");
1577            I.registerAnimation(function () {
1578              if (e) {
1579                if (r()) {
1580                  var o = (function (e) {
1581                      var t = e.container,
1582                        n = e.pin,
1583                        r = e.pinSpace,
1584                        o = $(".header"),
1585                        i = ScrollTrigger.create({
1586                          scrub: !0,
1587                          trigger: t.get(0),
1588                          pin: n.get(0),
1589                          start: function () {
1590                            return "top ".concat(o.outerHeight(), "px");
1591                          },
1592                          end: function () {
1593                            return "+=".concat(t.outerHeight() - r.outerHeight(), "px");
1594                          },
1595                        });
1596                      return {
1597                        clear: function () {
1598                          i.kill();
1599                        },
1600                        update: function () {
1601                          i.refresh(!0);
1602                        },
1603                      };
1604                    })({ container: e, pin: t, pinSpace: n }),
1605                    i = o.clear,
1606                    a = o.update,
1607                    c = B("#product-description-tabs", a),
1608                    s = z(".on-dom-change", a);
1609                  return function () {
1610                    s(), c(), i();
1611                  };
1612                }
1613                var l = B("#product-description-tabs");
1614                return function () {
1615                  l();
1616                };
1617              }
1618              return p;
1619            });
1620          })(),
1621          (function () {
1622            var e = $(".landing-animation").get(0),
1623              t = $(".landing-animation__group-pin").get(0),
1624              n = $(".landing-animation__first-scene").get(0),
1625              r = $(".landing-animation__second-scene__headline").get(0),
1626              a = $(".landing-animation__second-scene__words").get(0),
1627              s = $(".landing-animation__third-scene").get(0),
1628              l = $(".landing-animation__first-scene__area").get(0),
1629              u = $(".landing-animation__first-scene__scroll-more").get(0);
1630            I.registerAnimation(function () {
1631              if (e) {
1632                var h = (function (e) {
1633                    var t = e.firstSceneArea,
1634                      n = e.firstSceneScrollMore,
1635                      r = i(),
1636                      o = r.width,
1637                      a = r.height,
1638                      c = $("header").outerHeight(),
1639                      s = d() || 20,
1640                      l = gsap.timeline({ paused: !0 });
1641                    return (
1642                      l.to(t, {
1643                        duration: 1,
1644                        left: s,
1645                        right: s,
1646                        borderRadius: 10,
1647                        width: o - 2 * s,
1648                        height: a - (c + c),
1649                        top: c,
1650                        bottom: c,
1651                        paddingBottom: "2.5%",
1652                      }),
1653                      l.to(n, { autoAlpha: 1, duration: 0.5 }),
1654                      {
1655                        play: function () {
1656                          l.play();
1657                        },
1658                        clearAnim: function () {
1659                          l.clear().kill();
1660                        },
1661                      }
1662                    );
1663                  })({ container: e, firstScene: n, firstSceneArea: l, firstSceneScrollMore: u }),
1664                  v = h.clearAnim,
1665                  m = h.play,
1666                  _ = (function (e) {
1667                    var t = e.onInit,
1668                      n = e.groupPin,
1669                      r = e.firstScene,
1670                      i = e.secondSceneHeadline,
1671                      a = e.secondSceneWords,
1672                      s = e.thirdScene,
1673                      l = e.firstSceneScrollMore,
1674                      u = $(a).find("li"),
1675                      d = u.get(0),
1676                      f = u.get(-1),
1677                      p = u.get().filter(function (e) {
1678                        return e !== f;
1679                      }),
1680                      h = c(a) - c(d),
1681                      v = o();
1682                    gsap.set(i, { autoAlpha: 0 }), gsap.set(a, { autoAlpha: 0 }), gsap.set(s, { autoAlpha: 0 });
1683                    var m = gsap.timeline({
1684                      paused: !0,
1685                      ease: "none",
1686                      scrollTrigger: g(
1687                        { id: v, trigger: n, pin: !0, scrub: !0, pinSpacing: !0, start: "top top" },
1688                        x({ end: "150%" }, { end: "200%" })
1689                      ),
1690                    });
1691                    m.to(r, { y: "-100%", ease: "none" }, 0),
1692                      m.to(
1693                        l,
1694                        {
1695                          onStart: function () {
1696                            return gsap.to(l, { autoAlpha: 0, duration: 0.2 });
1697                          },
1698                        },
1699                        0.05
1700                      ),
1701                      m.to(i, { autoAlpha: 1, duration: 0.3 }, 0),
1702                      m.to(a, { autoAlpha: 1, duration: 0.3 }, 0),
1703                      m.to(a, { y: "-".concat(h, "px"), duration: 0.5 }, 0.4),
1704                      m.to(p, { autoAlpha: 0, duration: 0.3 }, 0.7),
1705                      m.to(s, { autoAlpha: 1, duration: 0.25 }, 0.9),
1706                      t();
1707                    var _ = k(v);
1708                    return {
1709                      clear: function () {
1710                        m.clear();
1711                      },
1712                      update: function () {
1713                        _.kill();
1714                      },
1715                    };
1716                  })({
1717                    container: e,
1718                    groupPin: t,
1719                    firstScene: n,
1720                    secondSceneHeadline: r,
1721                    secondSceneWords: a,
1722                    thirdScene: s,
1723                    firstSceneScrollMore: u,
1724                    onInit: m,
1725                  }),
1726                  y = _.clear,
1727                  b = _.update,
1728                  w = z(".on-dom-change", b),
1729                  A = f(b, 200);
1730                return (
1731                  window.addEventListener("resize", A),
1732                  function () {
1733                    window.removeEventListener("resize", A), w(), y(), v();
1734                  }
1735                );
1736              }
1737              return p;
1738            });
1739          })(),
1740          (function () {
1741            var e = $(".landing-dosage-animation").get(0),
1742              t = $(".landing-dosage-animation__pin").get(0),
1743              n = $(".landing-dosage-animation__scroll-content").get(0),
1744              r = $(".landing-dosage-animation__overlay").get();
1745            I.registerAnimation(function () {
1746              return e
1747                ? (function (e) {
1748                    var t = e.container,
1749                      n = e.framePin,
1750                      r = e.frameOverlay,
1751                      i = e.scrollContent,
1752                      a = $(i),
1753                      c = a.children().get(-1),
1754                      s = a.outerHeight() - $(c).outerHeight(),
1755                      l = o();
1756                    gsap.set(r, { autoAlpha: 0 });
1757                    var u = function () {
1758                      gsap.to(r, { autoAlpha: 1, duration: 0.3, overwrite: !0 });
1759                    };
1760                    return (
1761                      gsap.to(i, {
1762                        ease: "none",
1763                        y: "-".concat(s, "px"),
1764                        duration: 1,
1765                        scrollTrigger: {
1766                          id: l,
1767                          trigger: t,
1768                          pin: n,
1769                          start: "top top",
1770                          end: "bottom bottom",
1771                          scrub: !0,
1772                          snap: [0, 0.2, 0.4, 0.6, 0.8, 1],
1773                          onEnter: u,
1774                          onEnterBack: function () {
1775                            gsap.to(r, { autoAlpha: 0, duration: 0.3, overwrite: !0 });
1776                          },
1777                          onLeave: u,
1778                          onLeaveBack: u,
1779                        },
1780                      }),
1781                      function () {
1782                        var e = k(l);
1783                        e && e.kill(), gsap.set(i, { clearProps: "all" });
1784                      }
1785                    );
1786                  })({ container: e, framePin: t, frameOverlay: r, scrollContent: n })
1787                : p;
1788            });
1789          })(),
1790          (function () {
1791            var e = $(".landing-coffee-more-handy-animation").get(0),
1792              t = $(".landing-coffee-more-handy-animation__phone").get(0);
1793            I.registerAnimation(function () {
1794              return e
1795                ? (function (e) {
1796                    var t = e.container,
1797                      n = e.phone,
1798                      r = i().height,
1799                      a = o(),
1800                      c = o(),
1801                      s = gsap.to(t, {
1802                        ease: "none",
1803                        margin: 0,
1804                        borderRadius: 0,
1805                        scrollTrigger: {
1806                          id: a,
1807                          trigger: t,
1808                          start: "top 50%",
1809                          end: "+=".concat(r / 2, "px"),
1810                          scrub: !0,
1811                          invalidateOnRefresh: !0,
1812                        },
1813                      }),
1814                      l = gsap.to(n, {
1815                        ease: "none",
1816                        rotate: 15,
1817                        scrollTrigger: {
1818                          id: c,
1819                          trigger: n,
1820                          start: "top 70%",
1821                          end: "+=".concat(r / 2, "px"),
1822                          scrub: !0,
1823                          invalidateOnRefresh: !0,
1824                        },
1825                      });
1826                    return function () {
1827                      var e = k(a);
1828                      e && e.kill();
1829                      var r = k(c);
1830                      r && r.kill(),
1831                        s.kill(),
1832                        l.kill(),
1833                        gsap.set(t, { clearProps: "all" }),
1834                        gsap.set(n, { clearProps: "all" });
1835                    };
1836                  })({ container: e, phone: t })
1837                : p;
1838            });
1839          })(),
1840          $(".landing-tk-machine-animation")
1841            .find(".landing-tk-machine-animation__color-picker")
1842            .change(function (e) {
1843              var t = e.target.value;
1844              "white" === t
1845                ? (_(".landing-tk-machine-animation__color_black", { duration: 0.5, autoAlpha: 0 }),
1846                  _(".landing-tk-machine-animation__color_white", { duration: 0.5, autoAlpha: 1 }))
1847                : "black" === t &&
1848                  (_(".landing-tk-machine-animation__color_black", { duration: 0.5, autoAlpha: 1 }),
1849                  _(".landing-tk-machine-animation__color_white", { duration: 0.5, autoAlpha: 0 }));
1850            }),
1851          (function () {
1852            var e = $(".parallax-animation");
1853            I.registerAnimation(function () {
1854              return (
1855                e.each(function (e, t) {
1856                  var n = $(t).find(".parallax-item");
1857                  t && n.length > 0 && A(t, n);
1858                }),
1859                p
1860              );
1861            });
1862          })(),
1863          (C = $(".addresses-popup__background__blur")),
1864          (L = $(".addresses-popup__open")),
1865          (S = $(".addresses-popup__close")),
1866          L &&
1867            (L.on("click", function () {
1868              m(C, "block", 1), u(!0);
1869            }),
1870            S.on("click", function () {
1871              m(C, "none", 0), u(!1);
1872            })),
1873          w();
1874      }
1875      $(document).ready(function () {
1876        var e;
1877        N(),
1878          (e = f(function () {
1879            return H.emit("resize");
1880          }, 350)),
1881          window.addEventListener("resize", e);
1882      }),
1883        $(window).on("load", function () {
1884          gsap.registerPlugin(ScrollToPlugin, ScrollTrigger), D(), window && (window.refreshScrollTrigger = w);
1885        });
1886    })();
1887})();

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.