PageSourceSearch

https://www.imagequix.com/wp-content/themes/imagequix/library/js/app.js

js imagequix.com collected 2026-10-01 13:09:18 UTC 9,017 bytes, 197 lines download raw bytes

1window.staticData = { allowRobots: true, basePath: "", baseUrl: "https://www.imagequix.com", apiUrl: "https://api.imagequix.com", googleTagAcct: "GTM-5RKL5G3" };
2jQuery(document).ready(function ($) {
3    !(function () {
4        "use strict";
5        $(".backToTop").on("click", function () {
6            return $("html, body").animate({ scrollTop: 0 }, "slow"), !1;
7        });
8    })();
9    !(function () {
10        "use strict";
11        if (document.location.href.includes("/accountCreated.html")) {
12            var e = Cookies.get("signupInfo");
13            e || (window.location.href = "/");
14            var t = JSON.parse(e);
15            $("#signupEmail").text(t.email), $("#signupUser").text(t.userName), $("#signupPassword").text(t.password), $("#signupAccountID").text(t.accountID), Cookies.remove("signupInfo");
16        }
17    })();
18    !(function () {
19        "use strict";
20        var t = $(".pricing-billing");
21        t.find(".billing-radio").click(function (i) {
22            t.find("[data-billing-term]").attr("data-billing-term", i.target.value);
23        });
24    })();
25    !(function () {
26        "use strict";
27        var n = [
28            { max: 7, value: 10 },
29            { max: 20, value: 9 },
30            { max: 33, value: 8 },
31            { max: 46, value: 7 },
32            { max: 61, value: 6 },
33            { max: 72, value: 5 },
34            { max: 83, value: 4 },
35            { max: 95, value: 3 },
36            { max: 1 / 0, value: 2 },
37        ];
38        $(".slider").on("moved.zf.slider", function () {
39            var a = $(this),
40                e = a.find("input"),
41                u = a.find(".slider-text"),
42                v = parseInt(e.val()),
43                l = n.find(function (a) {
44                    var e = a.max;
45                    return v < e;
46                });
47            u.text(l.value + "%");
48        });
49    })();
50    !(function () {
51        "use strict";
52        var s = $(".header"),
53            e = $(".nav-toggle-container");
54        s.find(".topbar-sticky-shrink")
55            .on("sticky.zf.stuckto:top", function () {
56                t(!0);
57            })
58            .on("sticky.zf.unstuckfrom:top", function () {
59                t(!1);
60            });
61        var i = { stuck: "4.83", anchored: "7.78" };
62        function t(t) {
63            var o, c, n;
64            e.css("height", "".concat(i[t ? "stuck" : "anchored"], "rem")),
65                t ? (e.css("top", 0), document.removeEventListener("scroll", a)) : (a(), document.addEventListener("scroll", a, { passive: !0 })),
66                s.css("margin-bottom", t ? "".concat(i.anchored - i.stuck, "rem") : "0"),
67                (o = t),
68                (c = s.find(".iq-logo")),
69                (n = s.hasClass("light") && !o ? r.white : r.black),
70                c.attr("src", window.staticData.basePath + n);
71        }
72        function a() {
73            e.css("top", -document.documentElement.scrollTop);
74        }
75        var r = { black: "https://www.imagequix.com/wp-content/themes/imagequix/library/img/logo.svg", white: "https://www.imagequix.com/wp-content/themes/imagequix/library/img/logo-white.svg" };
76        s.find(".nav-toggle").on("click", function () {
77            $("body").toggleClass("menu-open");
78        });
79    })();
80    !(function () {
81        "use strict";
82        var n = $("#side-nav");
83        n.find(".nav-toggle, .page-overlay").on("click", function () {
84            $("body").toggleClass("menu-open");
85        });
86        console.log(window.location.href);
87        var a = n.find('a[href="'.concat(window.location.href, '"]'));
88        a.parentsUntil(n, "li").children("a").add(a).addClass("highlight");
89    })();
90    !(function () {
91        "use strict";
92        var c = $(".packageFeatures");
93        $(".specialBox").on("click", function () {
94            var e = $(this).find(".package");
95            $(".package").not(e).closest(".specialBox").removeClass("specialActive"), e.prop("checked", !0), $(this).addClass("specialActive");
96            var a = e.attr("id");
97            c.children().hide(), c.find("." + a).show();
98        });
99    })();
100    !(function () {
101        "use strict";
102        if (document.location.href.includes("/signup.html")) {
103            var a,
104                o = $(".signup-form");
105            $(".inputStyle").one("blur", function () {
106                $(this).addClass("touched");
107            }),
108                $(".password").on("click", function () {
109                    "text" === $("#txt-password").attr("type")
110                        ? ($("#txt-password").attr("type", "password"), $(this).html("<i class='fa fa-eye' aria-hidden='true'></i>Show"))
111                        : ($("#txt-password").attr("type", "text"), $(this).html("<i class='fa fa-eye-slash' aria-hidden='true'></i>Hide"));
112                });
113            var e = $("#userName");
114            e.on("keyup blur", function () {
115                clearTimeout(a),
116                    (a = setTimeout(function () {
117                        "" !== e.val() &&
118                            $.ajax({
119                                type: "GET",
120                                url: "".concat(window.staticData.apiUrl, "/one/website/validateUser?userName=").concat(encodeURIComponent(e.val())),
121                                success: function (a) {
122                                    $(".username-icon").hide(),
123                                        e.addClass("touched"),
124                                        a.usernameIsValid
125                                            ? (e.addClass("isValid"), e.removeClass("inputError"), $(".username-icon.inputSuccessIcon").show())
126                                            : (e.addClass("inputError"), e.removeClass("isValid"), $(".username-icon.inputInvalidIcon").show());
127                                },
128                                error: function (a) {
129                                    alert(a);
130                                },
131                                dataType: "json",
132                            });
133                    }, 200));
134            }),
135                $("#signupForm").on("submit", function (a) {
136                    if ((a.preventDefault(), !$("#userName").hasClass("inputError"))) {
137                        var e = $("#signupForm")
138                            .serializeArray()
139                            .reduce(function (a, e) {
140                                return (a[e.name] = e.value), a;
141                            }, {});
142                        $.ajax({
143                            type: "POST",
144                            url: "".concat(window.staticData.apiUrl, "/one/website/signup"),
145                            data: JSON.stringify(e),
146                            contentType: "application/json",
147                            success: function (a) {
148                                Cookies.set("signupInfo", JSON.stringify(a), { expires: 1 }), (window.location.href = window.staticData.basePath + "accountCreated.html");
149                            },
150                            error: function (a) {
151                                alert(a);
152                            },
153                            dataType: "json",
154                        });
155                    }
156                });
157            $.get("".concat(window.staticData.apiUrl, "/one/website/labs"), function (a) {
158                var e,
159                    t = $("#labSelect"),
160                    n = o.find("[data-with-referrer=true]"),
161                    i =
162                        (e = /[?&]lab=([^&#]*)/.exec(window.location.search)) &&
163                        {
164                            aps: "79YTE96",
165                            alkit: "K95T49Y",
166                            aci: "892T79H",
167                            arklatex: "89HTS9T",
168                            bayphoto: "59GTR9D",
169                            bri: "A9KTD96",
170                            ddlab: "B9XT596",
171                            fullcolor: "S9BTP9G",
172                            jdphoto: "99ZT29G",
173                            millers: "59QTN9G",
174                            nationsphoto: "C9KTD9H",
175                            pclwest: "894T396",
176                            reedy: "W95T49H",
177                            richmond: "698TA9H",
178                            technicare: "N9ATZ9H",
179                        }[e[1]];
180                i &&
181                a.find(function (a) {
182                    return a.id === i;
183                })
184                    ? (o.find("[data-with-referrer=false]").remove(), n.val(i))
185                    : (n.remove(),
186                      a
187                          .sort(function (a, e) {
188                              return a.name < e.name ? -1 : a.name > e.name ? 1 : 0;
189                          })
190                          .forEach(function (a) {
191                              t.append($('<option value="'.concat(a.id, '">').concat(a.name, "</option>")));
192                          }));
193            });
194        }
195    })();
196});
197//# sourceMappingURL=maps/app.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.