• Anti-Spam Policy
  • Copyright Notice
  • DMCA Compliance
  • Earnings Disclaimer
  • Fair Use Disclaimer
  • FTC Compliance
  • Medical Disclaimer
  • Privacy Policy
  • Social Media Disclaimer
  • Terms and Conditions
InfluencerWorldDaily.com
  • Home
  • Business
    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    Lawhive, which started out selling tech to law firms but then became one, raises  million in new funding | Fortune

    Lawhive, which started out selling tech to law firms but then became one, raises $60 million in new funding | Fortune

    Less than 10% of employees believe their bosses are demonstrating moral leadership | Fortune

    Less than 10% of employees believe their bosses are demonstrating moral leadership | Fortune

    Options traders pile into tech hedges after software rout | Fortune

    Options traders pile into tech hedges after software rout | Fortune

    Trump is giving the U.S. economy a  billion tax-refund shot in the arm, mostly for higher-income people, BofA says | Fortune

    Trump is giving the U.S. economy a $65 billion tax-refund shot in the arm, mostly for higher-income people, BofA says | Fortune

    ChatGPT’s market share is slipping as Google and rivals close the gap, new app-tracker data shows | Fortune

    ChatGPT’s market share is slipping as Google and rivals close the gap, new app-tracker data shows | Fortune

  • Politics
    Mamdani Goes From a Winter Storm to a Fiscal One

    Mamdani Goes From a Winter Storm to a Fiscal One

    BOOM VIDEO – CNN host gets embarrassed by DAG Todd Blanche after misrepresenting facts about case against Don Lemon

    BOOM VIDEO – CNN host gets embarrassed by DAG Todd Blanche after misrepresenting facts about case against Don Lemon

    Manhattan Republicans Get a Lesson in Mamdani-Era Self-Defense

    Manhattan Republicans Get a Lesson in Mamdani-Era Self-Defense

    WATCH: Trump explained to reporters why he won’t help Dem cities with riots unless they ask nicely

    WATCH: Trump explained to reporters why he won’t help Dem cities with riots unless they ask nicely

    Jared Kushner’s “Plan” for Gaza Is an Abomination

    Jared Kushner’s “Plan” for Gaza Is an Abomination

    Mark Levin makes a great point about Iran…

    Mark Levin makes a great point about Iran…

  • Marketing
    AI Is a Survival Skill for Consultants

    AI Is a Survival Skill for Consultants

    A “Moore-ish” law for marketing

    A “Moore-ish” law for marketing

    Why Goals Fail and How to Change the Odds

    Why Goals Fail and How to Change the Odds

    Marketing Chaos Ends With a Real System

    Marketing Chaos Ends With a Real System

    Curious Leaders Build Stronger, Smarter Teams

    Curious Leaders Build Stronger, Smarter Teams

    The Marketing Operating System: Why Strategy Alone Isn’t Enough Anymore

    The Marketing Operating System: Why Strategy Alone Isn’t Enough Anymore

  • CEO
    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    OpenClaw: A New Class Of Autonomous AI Requires Attention

    OpenClaw: A New Class Of Autonomous AI Requires Attention

    Championship Conditions: What Leaders Must Build First To Win Under Pressure

    Championship Conditions: What Leaders Must Build First To Win Under Pressure

    From Photo Film Maker To Biopharma Giant

    From Photo Film Maker To Biopharma Giant

    Just How Different Are Public And Private Firms? 

    Just How Different Are Public And Private Firms? 

    From Restaurant Closure To National Brand

    From Restaurant Closure To National Brand

  • Fashion
    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    UK’s M&S unveils brand-new Bath flagship store

    UK’s M&S unveils brand-new Bath flagship store

    Italy’s Versace appoints Pieter Mulier as chief creative officer

    Italy’s Versace appoints Pieter Mulier as chief creative officer

    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index

    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index

    Indian fashion consumers prioritise quality over volume: Deloitte

    Indian fashion consumers prioritise quality over volume: Deloitte

    US’ Capri Holdings Q3 FY26 revenue slips 4% as margins improve

    US’ Capri Holdings Q3 FY26 revenue slips 4% as margins improve

  • Music
    Here’s How Travis Kelce Included Taylor Swift in His Appearance at the NFL Honors Afterparty

    Here’s How Travis Kelce Included Taylor Swift in His Appearance at the NFL Honors Afterparty

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    Inside Christian Music’s Touring Boom: ‘Something To Believe In’

    Inside Christian Music’s Touring Boom: ‘Something To Believe In’

    Grammy-Winning HUNTR/X Member EJAE Drops Heartbreak Anthem ‘Time After Time’

    Grammy-Winning HUNTR/X Member EJAE Drops Heartbreak Anthem ‘Time After Time’

    Looking Ahead: A Release Calendar of Upcoming Albums in 2026

    Looking Ahead: A Release Calendar of Upcoming Albums in 2026

    Watch SUNGHOON of ENHYPEN Carry the Torch for the 2026 Olympic Relay in Milan

    Watch SUNGHOON of ENHYPEN Carry the Torch for the 2026 Olympic Relay in Milan

  • Film
    The Best New Movies You Can Watch at Home This Weekend

    The Best New Movies You Can Watch at Home This Weekend

    This ‘Fallout’ Video Game Weapon Reveal Hints at a Totally New Location for Season 3

    This ‘Fallout’ Video Game Weapon Reveal Hints at a Totally New Location for Season 3

    The Best Forgotten Christmas Movies You’ve Never Seen

    The Best Forgotten Christmas Movies You’ve Never Seen

    10 Stephen King Movies Worse Than the Books, Ranked

    10 Stephen King Movies Worse Than the Books, Ranked

    ‘The Last of Us’ Showrunner To Adapt One of the Greatest Video Games of the Decade

    ‘The Last of Us’ Showrunner To Adapt One of the Greatest Video Games of the Decade

    ‘The Pitt’ Season 2 Episode 5 Recap: An Intense Final Scene Forces You To Check Back in Next Week

    ‘The Pitt’ Season 2 Episode 5 Recap: An Intense Final Scene Forces You To Check Back in Next Week

  • Television
    Memory of a Killer: Season One Ratings + Viewer Votes

    Memory of a Killer: Season One Ratings + Viewer Votes

    American Idol: Season 24 Ratings (Season Nine on ABC)

    American Idol: Season 24 Ratings (Season Nine on ABC)

    Wild Cards: Season Three Ratings + Viewer Votes

    Wild Cards: Season Three Ratings + Viewer Votes

    Monday TV Ratings: Brilliant Minds, Wild Cards, American Idol,  Extracted, FBI

    Monday TV Ratings: Brilliant Minds, Wild Cards, American Idol, Extracted, FBI

    From: Season Four; MGM+ Unveils Premiere Date & Teaser for Sci-Fi Horror Series’ Return

    From: Season Four; MGM+ Unveils Premiere Date & Teaser for Sci-Fi Horror Series’ Return

    Chicago PD: Two Former Castmenbers to Return for NBC Crossover Event

    Chicago PD: Two Former Castmenbers to Return for NBC Crossover Event

  • Books
    THE GREAT RESISTANCE | Kirkus Reviews

    THE GREAT RESISTANCE | Kirkus Reviews

    Must-Read Celebrity Memoirs Hitting Shelves in 2026

    Must-Read Celebrity Memoirs Hitting Shelves in 2026

    HOMESCHOOLED | Kirkus Reviews

    HOMESCHOOLED | Kirkus Reviews

    Romance Tropes for Neurodivergent Readers

    Romance Tropes for Neurodivergent Readers

    UPSIDE-DOWN IFTAR | Kirkus Reviews

    UPSIDE-DOWN IFTAR | Kirkus Reviews

    DO I LOVE YOU? YES I DO! | Kirkus Reviews

    DO I LOVE YOU? YES I DO! | Kirkus Reviews

  • Social Media
    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    How Spam Filtering Protects You from Phishing and Malware – Social Media Explorer

    How Spam Filtering Protects You from Phishing and Malware – Social Media Explorer

    First Impressions Matter: How to Craft a Direct Mail Appeal That Donors Can’t Ignore – Social Media Explorer

    First Impressions Matter: How to Craft a Direct Mail Appeal That Donors Can’t Ignore – Social Media Explorer

    Top Tips to Prevent Carpet Beetles From Coming Back – Social Media Explorer

    Top Tips to Prevent Carpet Beetles From Coming Back – Social Media Explorer

    How to Photograph New Construction Builds Like a Pro – Social Media Explorer

    How to Photograph New Construction Builds Like a Pro – Social Media Explorer

  • Cover Story
  • Contact
    • About
  • Home
  • Business
    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    Lawhive, which started out selling tech to law firms but then became one, raises  million in new funding | Fortune

    Lawhive, which started out selling tech to law firms but then became one, raises $60 million in new funding | Fortune

    Less than 10% of employees believe their bosses are demonstrating moral leadership | Fortune

    Less than 10% of employees believe their bosses are demonstrating moral leadership | Fortune

    Options traders pile into tech hedges after software rout | Fortune

    Options traders pile into tech hedges after software rout | Fortune

    Trump is giving the U.S. economy a  billion tax-refund shot in the arm, mostly for higher-income people, BofA says | Fortune

    Trump is giving the U.S. economy a $65 billion tax-refund shot in the arm, mostly for higher-income people, BofA says | Fortune

    ChatGPT’s market share is slipping as Google and rivals close the gap, new app-tracker data shows | Fortune

    ChatGPT’s market share is slipping as Google and rivals close the gap, new app-tracker data shows | Fortune

  • Politics
    Mamdani Goes From a Winter Storm to a Fiscal One

    Mamdani Goes From a Winter Storm to a Fiscal One

    BOOM VIDEO – CNN host gets embarrassed by DAG Todd Blanche after misrepresenting facts about case against Don Lemon

    BOOM VIDEO – CNN host gets embarrassed by DAG Todd Blanche after misrepresenting facts about case against Don Lemon

    Manhattan Republicans Get a Lesson in Mamdani-Era Self-Defense

    Manhattan Republicans Get a Lesson in Mamdani-Era Self-Defense

    WATCH: Trump explained to reporters why he won’t help Dem cities with riots unless they ask nicely

    WATCH: Trump explained to reporters why he won’t help Dem cities with riots unless they ask nicely

    Jared Kushner’s “Plan” for Gaza Is an Abomination

    Jared Kushner’s “Plan” for Gaza Is an Abomination

    Mark Levin makes a great point about Iran…

    Mark Levin makes a great point about Iran…

  • Marketing
    AI Is a Survival Skill for Consultants

    AI Is a Survival Skill for Consultants

    A “Moore-ish” law for marketing

    A “Moore-ish” law for marketing

    Why Goals Fail and How to Change the Odds

    Why Goals Fail and How to Change the Odds

    Marketing Chaos Ends With a Real System

    Marketing Chaos Ends With a Real System

    Curious Leaders Build Stronger, Smarter Teams

    Curious Leaders Build Stronger, Smarter Teams

    The Marketing Operating System: Why Strategy Alone Isn’t Enough Anymore

    The Marketing Operating System: Why Strategy Alone Isn’t Enough Anymore

  • CEO
    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    OpenClaw: A New Class Of Autonomous AI Requires Attention

    OpenClaw: A New Class Of Autonomous AI Requires Attention

    Championship Conditions: What Leaders Must Build First To Win Under Pressure

    Championship Conditions: What Leaders Must Build First To Win Under Pressure

    From Photo Film Maker To Biopharma Giant

    From Photo Film Maker To Biopharma Giant

    Just How Different Are Public And Private Firms? 

    Just How Different Are Public And Private Firms? 

    From Restaurant Closure To National Brand

    From Restaurant Closure To National Brand

  • Fashion
    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    UK’s M&S unveils brand-new Bath flagship store

    UK’s M&S unveils brand-new Bath flagship store

    Italy’s Versace appoints Pieter Mulier as chief creative officer

    Italy’s Versace appoints Pieter Mulier as chief creative officer

    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index

    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index

    Indian fashion consumers prioritise quality over volume: Deloitte

    Indian fashion consumers prioritise quality over volume: Deloitte

    US’ Capri Holdings Q3 FY26 revenue slips 4% as margins improve

    US’ Capri Holdings Q3 FY26 revenue slips 4% as margins improve

  • Music
    Here’s How Travis Kelce Included Taylor Swift in His Appearance at the NFL Honors Afterparty

    Here’s How Travis Kelce Included Taylor Swift in His Appearance at the NFL Honors Afterparty

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    Inside Christian Music’s Touring Boom: ‘Something To Believe In’

    Inside Christian Music’s Touring Boom: ‘Something To Believe In’

    Grammy-Winning HUNTR/X Member EJAE Drops Heartbreak Anthem ‘Time After Time’

    Grammy-Winning HUNTR/X Member EJAE Drops Heartbreak Anthem ‘Time After Time’

    Looking Ahead: A Release Calendar of Upcoming Albums in 2026

    Looking Ahead: A Release Calendar of Upcoming Albums in 2026

    Watch SUNGHOON of ENHYPEN Carry the Torch for the 2026 Olympic Relay in Milan

    Watch SUNGHOON of ENHYPEN Carry the Torch for the 2026 Olympic Relay in Milan

  • Film
    The Best New Movies You Can Watch at Home This Weekend

    The Best New Movies You Can Watch at Home This Weekend

    This ‘Fallout’ Video Game Weapon Reveal Hints at a Totally New Location for Season 3

    This ‘Fallout’ Video Game Weapon Reveal Hints at a Totally New Location for Season 3

    The Best Forgotten Christmas Movies You’ve Never Seen

    The Best Forgotten Christmas Movies You’ve Never Seen

    10 Stephen King Movies Worse Than the Books, Ranked

    10 Stephen King Movies Worse Than the Books, Ranked

    ‘The Last of Us’ Showrunner To Adapt One of the Greatest Video Games of the Decade

    ‘The Last of Us’ Showrunner To Adapt One of the Greatest Video Games of the Decade

    ‘The Pitt’ Season 2 Episode 5 Recap: An Intense Final Scene Forces You To Check Back in Next Week

    ‘The Pitt’ Season 2 Episode 5 Recap: An Intense Final Scene Forces You To Check Back in Next Week

  • Television
    Memory of a Killer: Season One Ratings + Viewer Votes

    Memory of a Killer: Season One Ratings + Viewer Votes

    American Idol: Season 24 Ratings (Season Nine on ABC)

    American Idol: Season 24 Ratings (Season Nine on ABC)

    Wild Cards: Season Three Ratings + Viewer Votes

    Wild Cards: Season Three Ratings + Viewer Votes

    Monday TV Ratings: Brilliant Minds, Wild Cards, American Idol,  Extracted, FBI

    Monday TV Ratings: Brilliant Minds, Wild Cards, American Idol, Extracted, FBI

    From: Season Four; MGM+ Unveils Premiere Date & Teaser for Sci-Fi Horror Series’ Return

    From: Season Four; MGM+ Unveils Premiere Date & Teaser for Sci-Fi Horror Series’ Return

    Chicago PD: Two Former Castmenbers to Return for NBC Crossover Event

    Chicago PD: Two Former Castmenbers to Return for NBC Crossover Event

  • Books
    THE GREAT RESISTANCE | Kirkus Reviews

    THE GREAT RESISTANCE | Kirkus Reviews

    Must-Read Celebrity Memoirs Hitting Shelves in 2026

    Must-Read Celebrity Memoirs Hitting Shelves in 2026

    HOMESCHOOLED | Kirkus Reviews

    HOMESCHOOLED | Kirkus Reviews

    Romance Tropes for Neurodivergent Readers

    Romance Tropes for Neurodivergent Readers

    UPSIDE-DOWN IFTAR | Kirkus Reviews

    UPSIDE-DOWN IFTAR | Kirkus Reviews

    DO I LOVE YOU? YES I DO! | Kirkus Reviews

    DO I LOVE YOU? YES I DO! | Kirkus Reviews

  • Social Media
    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    How Spam Filtering Protects You from Phishing and Malware – Social Media Explorer

    How Spam Filtering Protects You from Phishing and Malware – Social Media Explorer

    First Impressions Matter: How to Craft a Direct Mail Appeal That Donors Can’t Ignore – Social Media Explorer

    First Impressions Matter: How to Craft a Direct Mail Appeal That Donors Can’t Ignore – Social Media Explorer

    Top Tips to Prevent Carpet Beetles From Coming Back – Social Media Explorer

    Top Tips to Prevent Carpet Beetles From Coming Back – Social Media Explorer

    How to Photograph New Construction Builds Like a Pro – Social Media Explorer

    How to Photograph New Construction Builds Like a Pro – Social Media Explorer

  • Cover Story
  • Contact
    • About
No Result
View All Result
InfluencerWorldDaily.com
No Result
View All Result
Home Fashion

UK’s M&S unveils brand-new Bath flagship store

by Admin
February 8, 2026
in Fashion
UK’s M&S unveils brand-new Bath flagship store
  • <![CDATA[
    var Weglot = function () { "use strict"; var e = { v1: [], v2: ["ABBR", "ACRONYM", "B", "BDO", "BIG", "CITE", "EM", "I", "KBD", "Q", "SMALL", "STRONG", "SUB", "SUP", "U"], v3: ["A", "BDI", "BR", "DEL", "DFN", "INS", "S", "SPAN"] }; e.v2.unshift("#text"); var t = e, n = { excluded_blocks: [], media_enabled: !1, external_enabled: !1, extra_definitions: [], translation_engine: 2, noTranslateAttribute: "data-wg-notranslate", mergeNodes: [] }, r = { ddtags: "env:prod", clientToken: "pub4efaec96ce2494088ba70a2049d58dc3", site: "datadoghq.com" }, o = { "dd-api-key": "pub4efaec96ce2494088ba70a2049d58dc3", ddsource: "browser" }, a = "prod"; function i(e) { var t = e.service; function n(e, n, i) { var c = i.sendToConsole; void 0 === c && (c = !0); var s = i.consoleOverride, l = i.sendToDatadog; if (void 0 === l && (l = !0), l && "dev" !== a && function (e, t, n) { "string" == typeof t && (t = { message: t }); var a = Object.assign({}, t, { service: e, status: n }, window.location && { view: { url: window.location.href } }, t.message && { message: t.message }, t.stack && { stack: t.stack }, t.status && { logStatus: t.status }, r); window.Weglot && window.Weglot.options && (a.projectInfo = ["host", "api_key", "url_type", "technology_name", "technology_id", "is_connect", "auto_switch"].reduce((function (e, t) { var n; return Object.assign({}, e, ((n = {})[t] = window.Weglot.options[t], n)) }), {})); var i = Object.keys(o).map((function (e) { return e + "=" + o[e] })).join("&"); fetch("https://http-intake.logs.datadoghq.com/api/v2/logs?" + i, { method: "POST", body: JSON.stringify(a), headers: { "Content-Type": "application/json" } }) }(t, e, n), c) { var u = s || e, f = ["notice", "info"].includes(n) ? "log" : n; console[f]("[Weglot]", u) } } var i = function (e) { return function (t, r) { return void 0 === r && (r = {}), n(t, e, r) } }; return { log: i("info"), info: i("info"), notice: i("notice"), warn: i("warn"), error: i("error") } } var c = i({ service: "html-parser-engine" }), s = function () { try { return JSON.parse('{"TRANSLATION":"translations.weglot.io","SWITCHER":"switchers.weglot.io","EXCLUSION":"exclusions.weglot.io","DEFINITION":"definitions.weglot.io"}') } catch (e) { return {} } }(), l = Object.keys(s).map((function (e) { return s[e] })); function u(e) { for (var t = 0, n = l; t < n.length; t += 1) { var r = n[t]; if (-1 !== e.indexOf(r)) return !0 } return !1 } function f(e, t, n) { var r = t && t[e]; if (r && r.textContent === t.textContent) return r.result; var o = n(t); return t ? (t[e] = { result: o, textContent: t.textContent }, o) : o } function d(e) { return f("__validMergeNodes", e, (function (e) { return e && p(e) && g(e) && !function (e) { return f("__containsNoTranslateNodes", e, (function (e) { return 1 === e.nodeType && (!!e.querySelector("[" + n.noTranslateAttribute + "]") || h(e)) })) }(e) })) } function g(e, t) { return void 0 === t && (t = !0), f("__validTextNodes", e, (function (e) { return !(!e.textContent || t && !e.textContent.trim() || -1 !== e.textContent.indexOf("BESbswy") || e.parentNode && e.parentNode.nodeName && -1 !== ["script", "style", "noscript"].indexOf(e.parentNode.nodeName.toLowerCase()) || function (e) { if (!(e = e.trim())) return !1; var t = e.charAt(0); if ("[" !== t && "{" !== t) return !1; var n = e[e.length – 1]; if ("]" !== n && "}" !== n) return !1; return e = e.replace(/\(?:["\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\nr]*"|true|false|null|-?d+(?:.d*)?(?:[eE][+-]?d+)?/g, "]").replace(/(?:^|:|,)(?:s*[)+/g, ""), /^[],:{}s]*$/.test(e) }(e.textContent)) })) } function _(e) { try { if (n.mergedSelectorRemove && e.closest && e.closest(n.mergedSelectorRemove)) return !1 } catch (e) { } return !(!n.mergeNodes || -1 === n.mergeNodes.indexOf(e.nodeName)) || (e.dataset && e.dataset.wgMerge || n.selectorMerging && e.matches && e.matches(n.selectorMerging)) } function p(e) { return f("__onlyInlineChildsNodes", e, (function (e) { if (!e.childNodes) return !0; for (var t = 0, n = e.childNodes; t < n.length; t += 1) { var r = n[t]; if (r.weglot || !_(r) || !p(r)) return !1 } return !0 })) } function h(e) { if (!e.children) return !1; for (var t = 0, n = e.children; t < n.length; t += 1) { var r = n[t]; if (r.wgNoTranslate || h(r)) return !0 } return !1 } function m(e) { return !!e && (!!e.wgNoTranslate || m(e.parentNode)) } function v(e) { if (!e) return !1; var t = e.closest ? e : e.parentNode; return !!(t && t.closest && t.closest("[" + n.noTranslateAttribute + "]")) || m(e) } var w = function (e, t) { return function (n, r) { try { var o = r; return -1 !== o.indexOf(":") && (o = o.replace(/([^\]):/g, "$1\:")), n[e] ? n[e](o) : t } catch (o) { try { return n[e] ? n[e](r) : t } catch (e) { c.warn(e, { consoleOverride: "Your CSS rules are incorrect: " + r, sendToDatadog: !1 }) } } return t } }, y = w("querySelectorAll", []), b = w("matches", !1); var k = new WeakMap; function E(e) { if (!e) return []; var t = e.querySelectorAll ? e : e.parentNode; if (!t) return []; if (function (e) { var t = n.excluded_blocks; if (t && t.length) { var r = t.map((function (e) { return e.value })), o = r.join(","); if (b(e, o)) { if (n.private_mode) { var a = r.find((function (t) { return b(e, t) })); e.wgNoTranslate = "Excluded by selector: " + a } else e.wgNoTranslate = !0; return } var i = y(e, o); if (i) for (var c = function () { var e = l[s]; if (n.private_mode) { var t = r.find((function (t) { return b(e, t) })); e.wgNoTranslate = "Excluded by selector: " + t } else e.wgNoTranslate = !0 }, s = 0, l = i; s < l.length; s += 1)c() } }(t), !n.whitelist || !n.whitelist.length) return [].concat(function (e) { var t = document.getElementsByTagName("title")[0]; if (e !== document.documentElement || !document.title || !t || v(t)) return []; return [{ element: t.firstChild, type: 9, words: t.textContent, properties: {} }] }(t), C(t)); var r = n.whitelist.map((function (e) { return e.value })).join(","); if (t.closest && t.closest(r)) return C(t); for (var o = [], a = 0, i = y(t, r); a 0 && o.push.apply(o, r.querySelectorAll(a)), o); l = 2, a = document.createTreeWalker(e, 4, x, !1); for (; t = a.nextNode();) { var i = (o && (_(t.parentNode) || t.parentNode.childNodes.length > 1) ? S : O)(t, a); i && r.push(i) } return r }(e)) } function x(e) { return !g(e) || v(e) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT } function S(e, t) { var r = function (e) { if (e.wgResolved) return !1; var t = e; do { if (t.wgResolved) return t; t = t.parentElement || t.parentNode } while (null !== t && 1 === t.nodeType); return !1 }(e); if (r && k.has(r)) { var o = k.get(r); return { element: o[0], words: o[1], type: 1, properties: o[2] } } var a = function (e, t) { var r = [], o = e; for (; d(e.parentNode);)e = e.parentNode, o.textContent.trim() !== e.textContent.trim() && (o = e); o.textContent.trim() === e.textContent.trim() && (e = o); for (; t.nextNode();)if (!e.contains || !e.contains(t.currentNode)) { t.previousNode(); break } var a = e.cloneNode(!0); if (n.translation_engine > 2) { N(e, (function (e) { if (1 === e.nodeType) { var t = function (e) { for (var t = [], n = 0, r = e.attributes; n 0;)e.removeAttribute(e.attributes[0].name) }(e), e.setAttribute(“wg-” + i++, “”)) })) } if (e) { return e.wgResolved = !0, [e, (a.innerHTML || a.textContent || “”).replace(//g, “”), r] } }(e, t); if (a) { var i = a[0], c = a[1], s = a[2]; if (!L(c)) return k.set(i, a), { element: i, words: c, type: 1, properties: s } } } function O(e) { var t = e.textContent; if (!L(t)) return { element: e, words: t, type: 1, properties: {} } } function N(e, t) { if (e.childNodes) for (var n = 0, r = e.childNodes; n < r.length; n += 1) { var o = r[n]; if (!o) return; t(o), N(o, t) } } function L(e) { return !e || !e.trim() || !isNaN(e) || "​" === e } function T(e, t) { for (var n = 0, r = e; n < r.length; n += 1) { var o = r[n], a = o.weglot.content; if (a && o.isConnected) { for (var i = 0, c = a; i < c.length; i += 1) { var s = c[i], l = s.original, u = s.properties, f = s.attrSetter, d = s.translations[t] || l; u && (o.weglot.setted = !0, A(o, d, u, e)), f && (o.weglot.setted = !0, f(o, d, l)) } o.wgResolved = !1 } } } function A(e, t, n, r) { if (1 === e.nodeType) { var o = function (e, t, n) { var r = document.createElement("div"); return r.innerHTML = e, j(t, r, n) }(t, e, n); return e.innerHTML = "", void e.appendChild(o) } if (-1 !== t.indexOf("”)) { if (!e.parentNode) return c.warn(“Unable to translate some words, please contact support@weglot.com.”), void c.warn(e, { sendToDatadog: !1 }); if (1 === e.parentNode.childNodes.length) return e.parentNode.weglot = e.weglot, void (r ? r.push(e.parentNode) : A(e.parentNode, t, n)); var a = e.closest && e.closest(“[data-wg-translation-wrapper]”) || e.parentNode.closest(“[data-wg-translation-wrapper]”); if (!a || a.innerHTML !== t) { var i = document.createElement(“span”); i.dataset.wgTranslationWrapper = “”, i.weglot = e.weglot, e.parentNode.replaceChild(i, e), r ? r.push(i) : A(e.parentNode, t, n) } } else e.textContent = t } function j(e, t, n) { var r = document.createDocumentFragment(); if (1 !== e.nodeType) return r.appendChild(t), r; for (var o = t.childNodes.length, a = 0; a < o; a++) { var i, s = t.firstChild; if (i = P(s)) { var l = n[i – 1]; if (!l) continue; var u = l.used ? l.child.cloneNode(!0) : l.child, f = j(u, s, n); if (f.contains(u)) return c.error("There is an HTML error in the translation of: " + e.innerHTML), r; u.innerHTML = "", u.appendChild(f), r.appendChild(u), document.createDocumentFragment().appendChild(s), l.used = !0 } else r.appendChild(s) } return r } function P(e) { if (e && 1 === e.nodeType && e.attributes && e.attributes[0]) { var t = parseInt(e.attributes[0].name.split("wg-")[1]); return isNaN(t) ? void 0 : t } } function I(e) { return { name: e, get: function (t) { return t.getAttribute(e) }, set: function (t, n) { return t.setAttribute(e, n) } } } function R(e, t) { if (e.parentNode && "PICTURE" === e.parentNode.tagName) for (var n = 0, r = e.parentNode.children; n < r.length; n += 1) { var o = r[n]; "SOURCE" === o.tagName && (o.getAttribute("srcset") && o.setAttribute("srcset", t)) } } function D(e) { return e && e.split && e.split("www.")[1] || e } function W(e) { var t = [{ type: 1, selectors: ["[title]"], attribute: I("title") }, { type: 2, selectors: ["input[type='submit']", "input[type='button']", "button"], attribute: I("value") }, { type: 3, selectors: ["input[placeholder]", "textarea[placeholder]"], attribute: I("placeholder") }, { type: 4, selectors: ["meta[name='description']", "meta[property='og:description']", "meta[property='og:site_name']", "meta[property='og:image:alt']", "meta[name='twitter:description']", "meta[itemprop='description']", "meta[itemprop='name']"], attribute: I("content") }, { type: 7, selectors: ["img"], attribute: I("alt") }, { type: 8, selectors: ["[href$='.pdf']", "[href$='.docx']", "[href$='.doc']"], attribute: I("href") }, { type: 9, selectors: ["meta[property='og:title']", "meta[name='twitter:title']"], attribute: I("content") }]; if (!e) return t; if (e.media_enabled && t.push({ type: 5, selectors: ["youtube.com", "youtu.be", "vimeo.com", "dailymotion.com"].map((function (e) { return "iframe[src*='" + e + "']" })), attribute: I("src") }, { type: 6, selectors: ["img", "source"], attribute: { name: "src", get: function (e) { var t = e.getAttribute("src"); if (!t || !t.split) return ""; if (0 === t.indexOf("data:image")) return ""; var n = t.split("?"); return n[1] && (e.queryString = n[1]), n[0] }, set: function (e, t, n) { var r = e.getAttribute("src"), o = e.getAttribute("srcset"); if (t === n) { if (e.removeAttribute("data-wgtranslated"), e.isChanged) { var a = "" + t + (e.queryString ? "?" + e.queryString : ""); e.setAttribute("src", a), R(e, a), e.hasAttribute("wgsrcset") && (e.setAttribute("srcset", e.getAttribute("wgsrcset") || e.dataset.srcset), e.removeAttribute("wgsrcset")) } } else r.split("?")[0] !== t && n !== t && (e.setAttribute("src", t), R(e, t), e.hasAttribute("srcset") && (e.setAttribute("wgsrcset", o), e.setAttribute("srcset", "")), e.dataset.wgtranslated = !0, e.isChanged = !0) } } }, { type: 6, selectors: ["meta[property='og:image']", "meta[property='og:logo']"], attribute: I("content") }, { type: 6, selectors: ["img"], attribute: I("srcset") }), e.translate_aria && t.push({ type: 1, selectors: ["[aria-label]"], attribute: I("aria-label") }), e.external_enabled) { var n = D(function () { var e = window.location, t = e.hostname, n = e.search; if (!u(t) || !n) return t; var r = decodeURIComponent(n).match(/url=https?://([^/]+)/); return r ? r[1] : (c.warn("[Weglot] Unable to get current hostname"), t) }()); t.push({ type: 10, selectors: ["iframe"], attribute: I("src") }, { type: 10, selectors: ["a[rel=external]"], attribute: I("href") }, { type: 10, selectors: ['[href^="mailto"]'], attribute: I("href") }, { type: 10, selectors: ['[href^="tel"]'], attribute: I("href") }, { type: 10, selectors: ["http:", "https:", "//"].map((function (e) { return '[href^="' + e + '"]:not(link)' })), attribute: { name: "href", get: function (e) { if (!e.href || !e.href.split) return ""; var t = e.href.split("/")[2]; return t && D(t) !== n ? e.getAttribute("href") : "" }, set: function (e, t) { return e.setAttribute("href", t) } } }) } if (e.extra_definitions && e.extra_definitions.length) for (var r = function () { var e = a[o], n = e.type, r = e.selector, i = e.attribute; i && r ? t.push({ type: n, selectors: [r], attribute: { name: i, get: function (e) { return e.getAttribute(i) }, set: function (e, t) { return e.setAttribute(i, t) } } }) : c.warn("Each extra definition option needs at least {attribute,selector} https://bit.ly/2yDsLxy", { sendToDatadog: !1 }) }, o = 0, a = e.extra_definitions; o = r + 1 && [].push.apply(e, t[n]), e }), [])), Array.isArray(n.extra_merged_selectors) && (n.selectorMerging = r.extra_merged_selectors.filter((function (e) { return e && “string” == typeof e })).join(“,”)), r.merged_selectors_remove && (n.mergedSelectorRemove = r.merged_selectors_remove.map((function (e) { return e.value })).join(“,”)), { getTextNodes: E, setTextNodes: T, definitions: U = W(n) } } var M = i({ service: “js-library” }), q = “https://cdn.weglot.com/projects-settings/”, z = “preview.weglot.io”, F = “wglang”, B = “wg-style-trans”, $ = “data-wg-notranslate”, V = “wg-translations”, G = “wg-slugs”, J = “Shopify”, Y = “BigCommerce”, K = “Jimdo”, X = “Squarespace”, Z = “Wix”, Q = “Webflow”, ee = “Square Online”, te = “Bubble”, ne = “Salesforce”, re = [“excluded_blocks”, “excluded_blocks_remove”, “dynamics”, “excluded_paths”, “dangerously_force_dynamic”, “extra_definitions”, “translate_event”], oe = [“polyfillReady”, “languageChanged”, “initialized”, “start”, “switchersReady”], ae = { button_style: { full_name: !0, with_name: !0, is_dropdown: !0, with_flags: !1, flag_type: “” }, switchers: [], auto_switch: !1, auto_switch_fallback: “”, excluded_blocks: [], excluded_blocks_remove: [], whitelist: [], translate_event: [{ selector: “[data-wg-translate-event]”, eventName: null }], customer_tag: !1, order_tag: !0, dynamics: [], excluded_paths: [], wait_transition: !0, hide_switcher: !1, translate_search: !1, media_enabled: !1, search_forms: “”, cache: !1, live: !0, loading_bar: !0, search_parameter: “”, translation_engine: 2, override_hreflang: !0 }, ie = [“none”, “shiny”, “square”, “circle”, “rectangle_mat”], ce = {}; !function (e) { var t = function () { try { return !!Symbol.iterator } catch (e) { return !1 } }(), n = function (e) { var n = { next: function () { var t = e.shift(); return { done: void 0 === t, value: t } } }; return t && (n[Symbol.iterator] = function () { return n }), n }, r = function (e) { try { return encodeURIComponent(e).replace(/%20/g, “+”) } catch (t) { return e } }, o = function (e) { try { return decodeURIComponent(String(e).replace(/+/g, ” “)) } catch (t) { return e } }; (function () { try { var t = e.URLSearchParams; return “a=1” === new t(“?a=1”).toString() && “function” == typeof t.prototype.set && “function” == typeof t.prototype.entries } catch (e) { return !1 } })() || function () { var o = function (e) { Object.defineProperty(this, “_entries”, { writable: !0, value: {} }); var t = typeof e; if (“undefined” === t); else if (“string” === t) “” !== e && this._fromString(e); else if (e instanceof o) { var n = this; e.forEach((function (e, t) { n.append(t, e) })) } else { if (null === e || “object” !== t) throw new TypeError(“Unsupported input’s type for URLSearchParams”); if (“[object Array]” === Object.prototype.toString.call(e)) for (var r = 0; r < e.length; r++) { var a = e[r]; if ("[object Array]" !== Object.prototype.toString.call(a) && 2 === a.length) throw new TypeError("Expected [string, any] as entry at index " + r + " of URLSearchParams's input"); this.append(a[0], a[1]) } else for (var i in e) e.hasOwnProperty(i) && this.append(i, e[i]) } }, a = o.prototype; a.append = function (e, t) { e in this._entries ? this._entries[e].push(String(t)) : this._entries[e] = [String(t)] }, a.delete = function (e) { delete this._entries[e] }, a.get = function (e) { return e in this._entries ? this._entries[e][0] : null }, a.getAll = function (e) { return e in this._entries ? this._entries[e].slice(0) : [] }, a.has = function (e) { return e in this._entries }, a.set = function (e, t) { this._entries[e] = [String(t)] }, a.forEach = function (e, t) { var n; for (var r in this._entries) if (this._entries.hasOwnProperty(r)) { n = this._entries[r]; for (var o = 0; o < n.length; o++)e.call(t, n[o], r, this) } }, a.keys = function () { var e = []; return this.forEach((function (t, n) { e.push(n) })), n(e) }, a.values = function () { var e = []; return this.forEach((function (t) { e.push(t) })), n(e) }, a.entries = function () { var e = []; return this.forEach((function (t, n) { e.push([n, t]) })), n(e) }, t && (a[Symbol.iterator] = a.entries), a.toString = function () { var e = []; return this.forEach((function (t, n) { e.push(r(n) + "=" + r(t)) })), e.join("&") }, e.URLSearchParams = o }(); var a = e.URLSearchParams.prototype; "function" != typeof a.sort && (a.sort = function () { var e = this, t = []; this.forEach((function (n, r) { t.push([r, n]), e._entries || e.delete(r) })), t.sort((function (e, t) { return e[0] t[0] ? 1 : 0 })), e._entries && (e._entries = {}); for (var n = 0; n < t.length; n++)this.append(t[n][0], t[n][1]) }), "function" != typeof a._fromString && Object.defineProperty(a, "_fromString", { enumerable: !1, configurable: !1, writable: !1, value: function (e) { if (this._entries) this._entries = {}; else { var t = []; this.forEach((function (e, n) { t.push(n) })); for (var n = 0; n < t.length; n++)this.delete(t[n]) } var r, a = (e = e.replace(/^?/, "")).split("&"); for (n = 0; n 1 ? o(r[1]) : “”) } }) }(ce), function (e) { if (function () { try { var t = new e.URL(“b”, “http://a”); return t.pathname = “c d”, “http://a/c%20d” === t.href && t.searchParams } catch (e) { return !1 } }() || function () { var t = e.URL, n = function (t, n) { “string” != typeof t && (t = String(t)), n && “string” != typeof n && (n = String(n)); var r, o = document; if (n && (void 0 === e.location || n !== e.location.href)) { n = n.toLowerCase(), (r = (o = document.implementation.createHTMLDocument(“”)).createElement(“base”)).href = n, o.head.appendChild(r); try { if (0 !== r.href.indexOf(n)) throw new Error(r.href) } catch (e) { throw new Error(“URL unable to set base ” + n + ” due to ” + e) } } var a = o.createElement(“a”); a.href = t, r && (o.body.appendChild(a), a.href = a.href); var i = o.createElement(“input”); if (i.type = “url”, i.value = t, “:” === a.protocol || !/:/.test(a.href) || !i.checkValidity() && !n) throw new TypeError(“Invalid URL”); Object.defineProperty(this, “_anchorElement”, { value: a }); var c = new e.URLSearchParams(this.search), s = !0, l = !0, u = this;[“append”, “delete”, “set”].forEach((function (e) { var t = c[e]; c[e] = function () { t.apply(c, arguments), s && (l = !1, u.search = c.toString(), l = !0) } })), Object.defineProperty(this, “searchParams”, { value: c, enumerable: !0 }); var f = void 0; Object.defineProperty(this, “_updateSearchParams”, { enumerable: !1, configurable: !1, writable: !1, value: function () { this.search !== f && (f = this.search, l && (s = !1, this.searchParams._fromString(this.search), s = !0)) } }) }, r = n.prototype;[“hash”, “host”, “hostname”, “port”, “protocol”].forEach((function (e) { !function (e) { Object.defineProperty(r, e, { get: function () { return this._anchorElement[e] }, set: function (t) { this._anchorElement[e] = t }, enumerable: !0 }) }(e) })), Object.defineProperty(r, “search”, { get: function () { return this._anchorElement.search }, set: function (e) { this._anchorElement.search = e, this._updateSearchParams() }, enumerable: !0 }), Object.defineProperties(r, { toString: { get: function () { var e = this; return function () { return e.href } } }, href: { get: function () { return this._anchorElement.href.replace(/?$/, “”) }, set: function (e) { this._anchorElement.href = e, this._updateSearchParams() }, enumerable: !0 }, pathname: { get: function () { return this._anchorElement.pathname.replace(/(^/?)/, “/”) }, set: function (e) { this._anchorElement.pathname = e }, enumerable: !0 }, origin: { get: function () { var e = { “http:”: 80, “https:”: 443, “ftp:”: 21 }[this._anchorElement.protocol], t = this._anchorElement.port != e && “” !== this._anchorElement.port; return this._anchorElement.protocol + “//” + this._anchorElement.hostname + (t ? “:” + this._anchorElement.port : “”) }, enumerable: !0 }, password: { get: function () { return “” }, set: function (e) { }, enumerable: !0 }, username: { get: function () { return “” }, set: function (e) { }, enumerable: !0 } }), n.createObjectURL = function (e) { return t.createObjectURL.apply(t, arguments) }, n.revokeObjectURL = function (e) { return t.revokeObjectURL.apply(t, arguments) }, e.URL = n }(), void 0 !== e.location && !(“origin” in e.location)) { var t = function () { return e.location.protocol + “//” + e.location.hostname + (e.location.port ? “:” + e.location.port : “”) }; try { Object.defineProperty(e.location, “origin”, { get: t, enumerable: !0 }) } catch (n) { setInterval((function () { e.location.origin = t() }), 100) } } }(ce); var se = ce.URL, le = function (e, t) { return function (n, r) { if (!n || !n[e] || !r) return t; try { return n[e](r) } catch (e) { M.error(e, { consoleOverride: “The CSS selectors that you provided are incorrect: ” + r, sendToDatadog: !1 }) } return t } }, ue = le(“querySelectorAll”, []), fe = le(“querySelector”, null), de = le(“closest”, null), ge = function (e) { return document.getElementById(e) }; function _e(e) { e && e.parentNode && e.parentNode.removeChild(e) } function pe(e) { e = “” + e; return [” “, “&”, “"”, “”].some((function (t) { return -1 !== e.indexOf(t) })) ? e.replace(/ /g, ” “).replace(/&/g, “&”).replace(/"/g, ‘”‘).replace(//g, “>”) : e } function he(e) { var t = window.location.search.slice(1).split(“&”).map((function (e) { return e && e.split(“=”) })).find((function (t) { return t[0] === e })); return t && t[1] } function me() { try { if (window.frameElement || window.self !== window.top) return “with-window-top” } catch (e) { return “no-window-top” } } function ve(e, t) { var n = document.createElement(“style”); _e(ge(t)), n.id = t, n.type = “text/css”, n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e)), document.head.appendChild(n) } var we = function () { return /google|facebook|bing|yahoo|baidu|yandex|lighthouse/i.test(navigator.userAgent) }; function ye(e) { try { document.createDocumentFragment().querySelector(e) } catch (e) { return !1 } return !0 } var be = function (e, t, n) { var r = new se(e, location.href); return r.searchParams.set(t, n), “” + r.pathname + r.search }; function ke(e) { “loading” !== document.readyState ? e() : document.addEventListener(“DOMContentLoaded”, (function () { return e() })) } var Ee = function (e, t) { var n; return void 0 === t && (t = 1e3), function () { for (var r = this, o = [], a = arguments.length; a–;)o[a] = arguments[a]; clearTimeout(n), n = setTimeout((function () { e.apply(r, o) }), t) } }, Ce = function (e) { var t = (new Date).getTime().toString(); try { var n = e.contentWindow; return n[t] = “asd”, “asd” === n[t] } catch (e) { return !1 } }; var xe = {}, Se = function (e, t) { xe[e] = t }, Oe = function (e, t) { if (xe[e]) return xe[e](t) }; var Ne, Le = {}; try { document.cookie, Ne = !0 } catch (lr) { Ne = !1 } Le.set = function (e, t, n, r, o) { Ne && (e = e.replace(/[^+#$&^`|]/g, encodeURIComponent).replace(“(“, “%28”).replace(“)”, “%29”), t = t.toString().replace(/[^+#$&/:<-[]-}]/g, encodeURIComponent), !n && xt.is_connect && (xt.subdomain ? n = xt.host.split("www.").pop() : xt.subdirectory && (n = xt.host)), n = n ? ";domain=" + n : "", o = o ? ";expires=" + o : "", r = r || "", document.cookie = e + "=" + t + n + ";path=/" + r + o + ";SameSite=None;Secure") }, Le.get = function (e) { if (!Ne) return null; for (var t = document.cookie.split(";"); t.length;) { var n = t.pop(), r = n.indexOf("="); if (r = r < 0 ? n.length : r, decodeURIComponent(n.slice(0, r).replace(/^s+/, "")) === e) return decodeURIComponent(n.slice(r + 1)) } return null }, Le.erase = function (e, t, n) { Le.set(e, "", t, n, "Thu, 01 Jan 1970 00:00:00 GMT") }; var Te = []; function Ae(e, t, n) { if (e) return n(); je(t, n, !0) } function je(e, t, n) { return "function" != typeof t ? (M.error("You should provide a callback function as second argument", { sendToDatadog: n }), !1) : !n && oe.indexOf(e) 0;)t[n] = arguments[n + 1]; for (var r = Te.filter((function (t) { return t.name === e })), o = 0, a = r; o 0, “onOptionsReady”, (function () { if (xt.dynamicPushState) { var e = history.pushState; history.pushState = function () { for (var t = [], n = arguments.length; n–;)t[n] = arguments[n]; e.apply(history, t); var r = Ie(); Re.hostname = r.hostname, Re.pathname = r.pathname, Re.url = r.url, Pe(“onCurrentLocationChanged”) } } })); var De, We = {}; function Ue(e) { var t = 1; return e.replace(/((.*?))/g, (function () { return “$” + t++ })) } function He() { var e = Re.pathname, t = xt.localeRules; void 0 === t && (t = []); var n = xt.languages, r = { position: 0, translatedFormat: “CODE”, originalFormat: “”, addedByDefault: !0 }, o = xt.language_from; if (t.length) { var a = []; t.map((function (e) { var t = e.position, n = e.translatedFormat; n && “CODE” !== n && a.push(t || 0) })); var i = a.filter((function (e, t, n) { return n.indexOf(e) === t })).map((function (e) { return Object.assign({}, r, { position: e }) })); t.unshift.apply(t, i) } else t.push(r); var c = null, s = null, l = t.find((function (t) { var r = t.position; void 0 === r && (r = 0); var a = t.translatedFormat; void 0 === a && (a = “CODE”); var i = t.originalFormat; void 0 === i && (i = “”); var l = t.addedByDefault; if (!a.includes(“CODE”)) return !1; var u = e.split(“/”); if (u.length <= r) return !1; var f = u[r + 1], d = n.find((function (e) { var t = e.custom_code || e.language_to, n = a.replace("CODE", t), r = new RegExp("^" + n + "$", "g"); return !!r.test(f) && (s = r, !0) })); if (d) return c = d.custom_code || d.language_to, !0; if (i) { var g = i.replace("CODE", o); return new RegExp("^" + g + "$", "g").test(f) } return !l })) || r; return We.convertLocale = function (t, n, r, a) { if (void 0 === n && (n = e), void 0 === r && (r = c || o), void 0 === a && (a = null), r === t) return n; var i = l.position; void 0 === i && (i = 0); var u = l.originalFormat; void 0 === u && (u = ""); var f = l.translatedFormat; void 0 === f && (f = "CODE"); var d = n.split("/"); if (d.length <= i) return n; var g = d[i + 1]; if (r === o) { var _ = f.replace(/CODE/g, t), p = !1; if (u) { var h = u.replace(/CODE/g, o), m = new RegExp("^" + h + "$", "g"), v = Ue(_); _ = g.replace(m, v), a && !m.test(g) && (p = !0, _ = a.split("/")[i + 1]) } var w = u && !p ? 2 : 1; return d.slice(0, i + 1).concat([_], d.slice(i + w)).join("/") } if (t === o && !u) return d.slice(0, i + 1).concat(d.slice(i + 2)).join("/"); var y = Ue((t === o ? u : f).replace(/CODE/g, t)), b = g.replace(s, y); return d.slice(0, i + 1).concat([b], d.slice(i + 2)).join("/") }, We.language = c || o, We } function Me() { var e = Re.hostname, t = xt.languages.find((function (t) { return t.connect_host_destination && t.connect_host_destination.host === e })); return t ? t.custom_code || t.language_to : xt.language_from } function qe() { return He().language } function ze() { if (De) return De; if (xt.is_connect) { var e = document.documentElement.dataset.wgTranslated; return e ? (De = e, e) : De = xt.subdirectory ? qe() : Me() } return De = xt.language_from } function Fe(e, t) { var n = t; n || (n = ze()); for (var r = 0, o = e; r < o.length; r += 1) { var a = o[r]; if (!a || !a.dataset || !a.dataset.wgOnlyDisplay) return; a.hidden = a.dataset.wgOnlyDisplay !== n } } je("onCurrentLocationChanged", (function () { We = {} }), !0); var Be = { getItem: function (e) { return Le.get(e) }, setItem: function (e, t, n) { void 0 === n && (n = {}); var r = n.domain, o = n.path, a = n.expires; Le.set(e, t, r, o, a) }, removeItem: function (e) { return Le.erase(e) } }, $e = { getItem: function () { }, setItem: function () { }, removeItem: function () { } }; function Ve(e) { void 0 === e && (e = {}); var t = e.type || "local"; try { return "cookie" === t ? Be : window[t + "Storage"] } catch (e) { } return e.type ? $e : Ve({ type: "local" === t ? "cookie" : "local" }) } var Ge = { slugs: {}, version: 0, network: void 0 }; function Je() { return new Promise((function (e) { for (var t = xt.languages, n = {}, r = function () { var r = a[o], i = r.custom_code, c = r.language_to; (function (e) { var t = xt.api_key, n = xt.versions; if (!n || !n.slugTranslation) return Promise.resolve({}); var r = "https://cdn-api-weglot.com/translations/slugs?api_key=" + t + "&language_to=" + e + "&v=" + n.slugTranslation; return fetch(r).then((function (e) { return e.json() })).then((function (e) { return Array.isArray(e) ? {} : e })).catch((function (e) { return M.error(e), {} })) })(c).then((function (r) { n[i || c] = r, Object.keys(n).length === t.length && e(n) })) }, o = 0, a = t; o < a.length; o += 1)r() })) } function Ye(e) { return e ? Object.keys(e).reduce((function (t, n) { return t[n] = function (e) { return Object.keys(e).reduce((function (t, n) { return e[n] && (t.original[n] = e[n], t.translated[e[n]] = n), t }), { original: {}, translated: {} }) }(e[n]), t }), {}) : {} } function Ke(e) { var t = xt.versions; if (t && t.slugTranslation) { var n = t.slugTranslation; Ge.version < n && (Ge.network ? Ge.network.resolved || Ge.network.then((function (t) { return e(Ye(t)) })) : Ge.network = Je().then((function (t) { return Ge.network.resolved = !0, function (e) { var t = xt.versions, n = { version: t ? t.slugTranslation : 1, slugs: e }; try { var r = Ve({ type: "local" }); r && r.setItem(G, JSON.stringify(n)) } catch (e) { M.warn(e) } Ge = Object.assign({}, Ge, n) }(t), e(Ye(t)), t })).catch((function () { return e({}), {} }))), e(Ye(Ge.slugs)) } else e({}) } !function () { if (Object.keys(Ge.slugs).length) return Ge.slugs; try { var e = Ve({ type: "local" }); if (!e) return {}; var t = e.getItem(G); t && (Object.assign(Ge, JSON.parse(t)), Ge.slugs) } catch (e) { return {} } }(); var Xe = {}; function Ze(e, t) { return e.split("/").map((function (e) { return t[decodeURIComponent(e)] || e })).join("/") } function Qe(e, t) { xt.is_tld && xt.auto_switch && (e === xt.language_from ? t.searchParams.set("no_redirect", "true") : t.searchParams.delete("no_redirect")) } function et(e, t) { var n = ze(), r = new se(Re.url); r.searchParams.has("lang") && r.searchParams.delete("lang"), Qe(e, r); var o = function (e) { if (xt.subdirectory) return !1; var t = xt.language_from, n = xt.host, r = xt.languages; if (e === t) return n; var o = r.find((function (t) { return t.custom_code === e || t.language_to === e })) || {}, a = o.connect_host_destination; return a && a.host }(e); return o && (r.hostname = o), r.pathname = function (e, t, n, r) { if (!Object.keys(e).length) return t; if (!Xe.originalPath) if (n !== xt.language_from && e[n]) { var o = e[n].translated; Xe.originalPath = Ze(t, o) } else Xe.originalPath = t; return r === xt.language_from ? Xe.originalPath : e[r] && e[r].original ? Ze(Xe.originalPath, e[r].original) : t }(t, r.pathname, n, e), xt.subdirectory && e && (r.pathname = He().convertLocale(e, r.pathname)), r.toString() } function tt(e, t) { if (!xt.is_connect || !e) return t("#"); var n = xt.dynamicPushState, r = xt.injectedData; void 0 === r && (r = {}); var o = r.allLanguageUrls; if (void 0 === o && (o = {}), !n && o && o[e]) { var a = new se(o[e]); return Qe(e, a), t(a.toString()) } Ke((function (n) { return t(et(e, n)) })) } je("onCurrentLocationChanged", (function () { Xe = {} }), !0); var nt = {}; function rt() { var e = xt.host; return void 0 === e && (e = window.location.hostname), 0 === e.indexOf("www.") ? e.slice(3) : "." + e } function ot() { var e = document.cookie.match(/(^cart=[^;]+|[W]cart=[^;]+)/g); if (e) { var t = e.map((function (e) { return e.split("=").pop() })); 1 !== t.length && t[0] === t[1] || Le.set("cart", t[0], rt()) } else setTimeout(ot, 100) } function at(e) { var t = "/checkout?locale=" + e + (xt.shopify_skip_shop_pay ? "&skip_shop_pay=true" : ""); fetch(t).then((function (e) { document.location.href = e.url })).catch((function () { document.location.href = t })) } function it(e) { var t = e || ze(), n = ct(t), r = [{ name: "locale", value: n }].concat(xt.shopify_skip_shop_pay ? [{ name: "skip_shop_pay", value: "true" }] : []);[{ name: "action", selector: ['form[method="post"][action*="/cart"]', 'form[method="post"][action*="/checkout"]'], testRegex: //(cart|checkout|)/?(?|$)/, event: "submit" }, { name: "href", selector: ['a[href*="/checkout"]', 'a[href*="/cart/checkout"]'], testRegex: //(cart/)?checkout/?(?|$)/, event: "click" }].forEach((function (e) { for (var o = e.name, a = e.selector, i = e.testRegex, c = e.event, s = document.querySelectorAll(a.join(",")), l = function () { var e = f[u], a = e.getAttribute(o); if (i.test(a) && !r.every((function (e) { return a.includes(e.name + "=" + e.value) }))) { for (var s = 0, l = r; s < l.length; s += 1) { var d = l[s]; a = be(a, d.name, d.value) } e.setAttribute(o, a), e.wgCheckoutListener && e.removeEventListener(c, e.wgCheckoutListener), t !== xt.language_from && xt.fix_shopify_checkout_locale && (e.wgCheckoutListener = function (e) { return e.preventDefault(), e.stopPropagation(), xt.is_connect && !xt.subdirectory ? (Ve({ type: "cookie" }).setItem("wg_checkout_redirect", t), document.location.href = (xt.is_https ? "https:" : "http:") + "//" + xt.host) : at(n), !1 }, e.addEventListener(c, e.wgCheckoutListener)) } }, u = 0, f = s; u < f.length; u += 1)l() })) } function ct(e) { var t = { pt: "pt-PT", ro: "ro-RO", fl: "fil", zh: "zh-CN", tw: "zh-TW" }; return t[e] ? t[e] : e.substr(0, 2) } function st(e) { var t, n, r, o = e || ze(), a = document.getElementById("create_customer") || document.querySelector('form[action="' + (t = o, n = "/account", (xt.is_connect && t !== xt.language_from ? nt[n] ? nt[n] : (Ke((function (e) { var o = e && e[t] ? Ze(n, e[t].original) : n; r = xt.subdirectory ? He().convertLocale(t, o, xt.language_from) : o })), nt[n] = r, r) : n) + '"]')) || "string" == typeof xt.customer_tag && fe(document, xt.customer_tag); if (a) { var i = document.getElementById("weglot-lang-form"); i && i.parentNode.removeChild(i); var c = document.createElement("input"); Object.assign(c, { type: "hidden", id: "weglot-lang-form", name: "customer[tags]", value: "#wg" + o + "#wg" }), a.appendChild(c) } } function lt(e) { var t = function () { var e = document.getElementById("shopify-features"); if (!e) return null; var t = e.textContent.match(/"shopId":(d*)/); return t ? t[1] : null }(); t && Le.set("checkout_locale", ct(e), null, t) } function ut(e) { var t = e || ze(); if (!xt.visual_editor && !me()) { var n = xt.cart_attributes, r = xt.is_connect, o = xt.original_shopify_checkout, a = xt.subdirectory, i = xt.language_from, c = Ve({ type: "cookie" }).getItem("cart"), s = Ve({ type: "session" }).getItem("wg-cart-update-token"); if (Ve({ type: "session" }).getItem("wg-cart-update-lang") !== ct(t) || c !== s) { var l = n.map((function (e) { return "attributes[" + e + "]=" + ct(t) })).join("&"), u = fetch("/cart/update.js", { method: "POST", body: l, headers: { "Content-Type": "application/x-www-form-urlencoded" }, credentials: "same-origin" }); !1 !== o && r && !a && i === ze() && u.then((function (e) { return e.json() })).then((function (e) { var t = e.token; return Le.set("cart", t, rt()) })), Ve({ type: "session" }).setItem("wg-cart-update-token", c), Ve({ type: "session" }).setItem("wg-cart-update-lang", ct(t)) } for (var f = document.querySelectorAll('a[href*="/cart/"]'), d = "attributes[lang]=" + t, g = 0, _ = f; g span.cc-message”, “.hc-widget”, “.jdgm-rev-widg__header”, “.jdgm-rev__body”, “.jdgm-rev-title”, “.yotpo-main-widget”, “#swell-popup”, “.swell-tab”, “.yotpo-widget-override-css”, “.cw-row”, “.mini-popup-container”, “email-field cw-form-control”, “phone-field cw-form-control”, “.sms-policy-text”, “.wlo-content-holder”, “.wlo-wheel-holder”, “.yotpo-smsbump-modal__content”, “.cw-compliance-text”, “#saso-notifications”, “.saso-cross-sell-popup”, “.saso-cart-item-discount-notes”, “.saso-cart-item-upsell-notes”, “.saso-volume-discount-tiers”, “.opw-leading-normal”, “.opw-my-2.opw-leading-normal.opw-text-lg.opw-text-left”, “.opinew-navbar.opw-flex.opw-items-center.opw-justify-between.opw-flex-wrap.opw-py-4.opw-px-6”, “.main-content-container.opw–mx-1”, “.opw-text-center.opw-text-sm.opw-border-solid.opw-border-0.opw-mt-3”, “.summary-card-container.opw-mx-1”, “.opw-reviews-container.opw-mt-3.opw–mx-1”, “.opinew-reviews-title.opw-flex.opw-items-center.opw-flex-no-shrink.opw-mr-6”, “.opw-flex.opw-flex-row-reverse”, “#opinew-app-container”, “.gem_dynamic-content”, “.pp_tracking_content”, “.pp_all_form_div”, “.pp_tracking_result_title”, “.progress-bar-style”, “.pp_tracking_left”, “.pp_num_status_show”, “.pp_tracking_status_tips”, “.pp_page_map_div”, “.pp_tracking_result_parent”, “.pp_tracking_right”, “.pp_recommend_product_parent”, “.currency-converter-cart-note”, “.cbb-shipping-rates-calculator”, “.cbb-frequently-bought-container”, “.cbb-frequently-bought-discount-applied-message”, “.cbb-also-bought-container”, “#zonos”, “.buddha-menu-item”, “.R-GlobalModal”, “.ruk-rating-snippet-count”, “.R-ContentList-container”, “.R-ReviewsList-container”, “.R-SliderIndicator-group”, “.R-TextBody”, “.widgetId-reviewsio-carousel-widget”, “.REVIEWSIO-FloatingMinimised”, “.REVIEWSIO-FloatingMinimised__Container”, “.reviewsio-carousel-widget”, “.reviews-io-floating-widget”, “.reviews_container”, “.site-nav.style–sidebar .site-nav-container .subtitle”, “.search-more”, “.variant-quantity”, “.lion-claimed-rewards-list”, “.lion-header”, “.lion-header__join-buttons”, “.lion-header__join-today”, “.lion-history-table”, “.lion-integrated-page-section__heading-text”, “.lion-loyalty-panel”, “.lion-loyalty-splash”, “.lion-loyalty-widget”, “.lion-modal__content”, “.lion-modal__header”, “.lion-referral-widget”, “.lion-rewards-list”, “.lion-rules-list”, “.lion-tier-overview”, “.ccpops-popup__content__bottom-text”, “.ccpops-popup__content__top-text”, “.ccpops-trigger__text”, “.ks-table-row”, “.klaviyo-form”]; var gt = {}; function _t(e) { return e ? “string” != typeof e ? e : e.split(“,”).map((function (e) { return { value: e } })) : [] } function pt(e, t) { if (void 0 === t && (t = “”), !e) return ae.button_style; var n = e.classF || “”, r = n.match(/flag-(d)/), o = { with_name: e.withname, full_name: !!e.fullname, is_dropdown: !!e.is_dropdown, with_flags: -1 !== n.indexOf(“wg-flags”), flag_type: r && r[1] ? ie[r[1]] : “”, invert_flags: !0 }; return t && (o.custom_css = t), o } function ht(e) { var t = e.styleOpt, n = e.containerCss, r = e.target, o = e.sibling; return { style: pt(t, n), location: { target: r, sibling: o } } } gt[J] = function () { je(“initialized”, (function () { var e = Ve({ type: “cookie” }).getItem(“wg_checkout_redirect”); e && (Ve({ type: “cookie” }).removeItem(“wg_checkout_redirect”), Ve({ type: “cookie” }).setItem(“wg_checkout_language”, e), at(e)), window.langify && M.log(“%c Please, uninstall langify to properly use Weglot”, { sendToDatadog: !1 }), we() || !xt.order_tag || xt.is_connect && xt.language_from !== ze() || ut(), it(); var t, n = document.querySelectorAll(“[data-wg-only-display]”); n.length && Fe(n), xt.customer_tag && st(), document.getElementsByClassName(“shopify-payment-button”).length && (t = window.fetch, window.fetch = function () { if (“/wallets/checkouts.json” === arguments[0]) try { var e = JSON.parse(arguments[1].body), n = ct(ze()); e.checkout.attributes = {}, xt.cart_attributes.forEach((function (t) { return e.checkout.attributes[t] = n })), arguments[1].body = JSON.stringify(e) } catch (e) { } return t.apply(window, arguments) }) }), !0), Se(“onConnectPageLoad”, (function (e) { return ft(e) })), Se(“onPageLanguageSet”, (function (e) { return ft(e) })), Se(“onDynamicDetected”, (function () { it(ze()) })), Se(“startWhen”, (function () { return ge(“admin-bar-iframe”) || ge(“preview-bar-iframe”) || xt.private_mode || function () { for (var e = 0, t = document.scripts; e option:not([value])”, “.ui-autocomplete”, “.shopify-payment-button__button”, “#shopify-section-static-recently-viewed-products”, “#recently-viewed-products”, “#shopify-section-product-recommendations”, “.action_button.add_to_cart”]), t = /^/(d+/checkouts|checkouts/[a-z]{1,2})/(?:w{2}-)?w{32}/.test(document.location.pathname), n = “loox.io” === document.location.hostname && me(); return Object.assign({}, { cart_attributes: [“lang”, “Invoice Language”], excluded_blocks: [“input[type=’radio’]”, “span.money”, “.price”, “.product__prices”, “#admin-bar-iframe”, “.notranslate”, “.skiptranslate”, “#isp_refine_nevigation”, “#isp_header_subtitle”, “.isp_sorting_and_result_view_wrapper”, “#isp_results_did_you_mean > span”, “.isp_facet_show_hide_values”, “#isp_main_search_box”, “.snize-filter-variant-count”, “.snize-search-results-header a”, “.snize-search-results-header b”, “.hc-author__text”, “.hc-avatar__initials”, “.hc-rating-chart__count”, “.hc-rating-chart__percentage-value”, “.yotpo-review-date”, “.yotpo-user-name”, “.yotpo-user-letter”, “.yotpo .avg-score”, “.yotpo .sr-only”, “.yotpo-mandatory-mark”].map((function (e) { return { value: e } })), search_forms: “form[action=’/pages/search-results’],form[action=’/search’]”, search_parameter: “q” }, n && xt.is_connect && { dynamicPushState: !0 }, { dynamics: e.map((function (e) { return { value: e } })), extra_definitions: [{ type: 1, selector: “.snize-color-swatch”, attribute: “data-sntooltip” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-soldout” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-adding” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-added” }], shopifyCheckout: t }) }, gt[Y] = function () { return Se(“onPageLanguageSet”, (function (e) { !function (e) { for (var t = 0, n = document.querySelectorAll(‘[href*=”/checkout.php”],[href*=”/cart.php”]’); t *”) } catch (e) { } return { force_translation: e.join(“,”), dynamics: [“#sqs-cart-container”, “#checkout”, “.sqs-widgets-confirmation”, “.video-player”, “.jdgm-widget”, “.calendar-block”, “.opentable-v2-block”, “.blog-item-comments”].map((function (e) { return { value: e } })).concat(xt.is_connect ? [{ value: “.sqs-add-to-cart-button.cart-adding” }, { value: “.sqs-add-to-cart-button.cart-added” }] : [{ value: “[data-dynamic-strings]” }, { value: “.sqs-add-to-cart-button” }, { value: “.variant-select-wrapper” }]), excluded_blocks: t.map((function (e) { return { value: e } })).concat(xt.is_connect ? [{ value: “.comment-body” }] : []), forceDisableConnect: n, merged_selectors_remove: [{ value: “.plyr__menu__container” }, { value: “.product-price .original-price” }, { value: “.comment-btn-wrapper” }], extra_definitions: [{ type: 1, selector: “.variant-select-wrapper”, attribute: “data-text” }] } }, gt[Z] = function () { var e = { dynamics: document.documentElement.getAttribute(“data-wg-translated”) ? [] : [{ value: “#SITE_CONTAINER” }], dynamicPushState: !0 }; if (window.wixBiSession && “bolt” !== window.wixBiSession.renderType && !xt.visual_editor && (document.addEventListener(“DOMContentLoaded”, (function () { new MutationObserver((function (e) { for (var t = 0; t 0 && t !== n ? t += “,” + n : t = n : t)) })), n = “https://cdn.weglot.com/weglot.min.css?v=4”, (r = document.createElement(“link”)).rel = “stylesheet”, r.type = “text/css”, r.href = n, document.head.appendChild(r), yt.button_style && yt.button_style.custom_css && ve(yt.button_style.custom_css, “weglot-custom-style”), yt.switchers && 0 !== yt.switchers.length ? yt.switchers = yt.switchers.map((function (e) { var t = e.button_style, n = wt(e, [“button_style”]); return Object.assign({}, { style: n.style || t }, n) })) : yt.switchers = [{ style: yt.button_style, location: {}, default: !0 }], yt.cache && yt.visual_editor && (yt.cache = !1), yt.api_key.length = 0 && e.className.indexOf(“add2”) >= 0, e.className = “remove1 remove2 remove3”, e.classList.remove(“remove1”, “remove3”), t = t && -1 === e.className.indexOf(“remove1”) && e.className.indexOf(“remove2”) >= 0 && -1 === e.className.indexOf(“remove3”); try { e.remove() } catch (t) { e = null } return t }(), “String.prototype.includes”: “includes” in String.prototype, fetch: “fetch” in self, “Array.prototype.find”: “find” in Array.prototype, “Array.prototype.findIndex”: “findIndex” in Array.prototype, “Object.assign”: “assign” in Object, “Array.prototype.includes”: “includes” in Array.prototype, URL: function (e) { try { var t = new e.URL(“http://weglot.com”); if (“href” in t && “searchParams” in t) { var n = new URL(“http://weglot.com”); if (n.search = “a=1&b=2”, “http://weglot.com/?a=1&b=2” === n.href && (n.search = “”, “http://weglot.com/” === n.href)) { var r = new e.URLSearchParams(“a=1”), o = new e.URLSearchParams(r); if (“a=1” === String(o)) return !0 } } return !1 } catch (e) { return !1 } }(self) }, Ot = !1; function Nt() { Ot = !0, Pe(“polyfillReady”) } function Lt() { return Ot } !function (e) { window.Prototype && (delete Object.prototype.toJSON, delete Array.prototype.toJSON); var t = Object.keys(St).filter((function (e) { return !St[e] })); if (t.length) { !function (e, t, n) { var r = !1; function o() { r || (r = !0, setTimeout((function () { return t(n) }), 20)) } var a = document.getElementsByTagName(“head”)[0] || document.documentElement, i = document.createElement(“script”); i.type = “text/javascript”, i.src = e, i.addEventListener ? (i.addEventListener(“load”, o, !1), i.addEventListener(“error”, o, !1)) : i.readyState && (i.onreadystatechange = o), a.insertBefore(i, a.firstChild) }(“https://cdn.polyfill.io/v2/polyfill.min.js?callback=Weglot.polyReady&features=” + t.join(“,”), (function () { })) } else e() }(Nt); var Tt = [{ condition: [{ type: “TECHNOLOGY_ID”, payload: 2 }], value: [{ original: “^/checkouts/(?:[\w]{32})(/.*)?$”, formatted: “/checkouts$1” }, { original: “^/account/(orders|activate)/(?:[\w]{32})$”, formatted: “/account/$1/” }, { original: “^/orders/(?:[\w]{32})$”, formatted: “/orders/” }, { original: “^/wallets/checkouts/(?:.*)$”, formatted: “/wallets/checkouts/” }, { original: “^/(.+)\.(json|xml)$”, formatted: “/$1” }] }], At = !1, jt = {}, Pt = {}, It = Ve({ type: “local” }); if (It.getItem(V)) try { jt = JSON.parse(It.getItem(V)), Object.keys(jt).forEach((function (e) { Object.keys(jt[e]).forEach((function (t) { if (2 === t.length) { Pt[t] || (Pt[t] = {}); var n = jt[e][t]; Pt[t][n] = e } })) })), At = !0 } catch (lr) { At = !0 } function Rt(e) { return jt[e] } function Dt(e, t, n, r) { var o, a = Rt(e); a ? (a[r] = n, a.createdTime = (new Date).getTime(), a.t = t) : jt[e] = ((o = {})[r] = n, o.createdTime = (new Date).getTime(), o.t = t, o), Pt[r] || (Pt[r] = {}), Pt[r][n] = e, xt.cache && Ee(Wt)() } var Wt = function () { return jt && It.setItem(V, JSON.stringify(jt)) }; var Ut = [], Ht = new Set, Mt = !1, qt = function (e) { return Ht.has(pe(e).trim()) }, zt = function (e) { return Ht.add(pe(e).trim()) }; function Ft(e, t) { void 0 === e && (e = document.documentElement); var n = ze(); return E(e).filter((function (e) { return (t || Bt)(e) })).map(function (e) { return function (t) { var n = t.element, r = t.words, o = t.type, a = t.properties, i = t.attrSetter; n.weglot || (n.weglot = { content: [] }); var c, s, l = n.weglot, u = {}, f = (c = r, !!Pt[s = e] && Pt[s][c]); if (f && (u[e] = r, r = f), a) { var d = l.content.find((function (e) { return e.html })); d ? Object.assign(d, { original: r, properties: a, translations: u }) : l.content.push({ html: !0, original: r, type: o, properties: a, translations: u }) } if (i) { var g = l.content.find((function (e) { return e.attrSetter === i })), _ = { attrSetter: i, original: r, type: o, translations: u }; g ? Object.assign(g, _) : l.content.push(_) } return n } }(n)) } function Bt(e) { var t = e.element, n = e.words; return !t.weglot || !t.weglot.content || !t.weglot.content.some((function (e) { var t, r = e.original, o = e.translations; return r === n || (t = o, Object.keys(t).map((function (e) { return t[e] }))).includes(pe(n)) })) } function $t(e) { for (var t = [], n = 0, r = e; n < r.length; n += 1) { var o = r[n]; -1 === Ut.indexOf(o) && t.push(o) } return [].push.apply(Ut, t), t } function Vt(e, t) { void 0 === e && (e = Ut), void 0 === t && (t = {}); var n = xt.prevent_retranslation, r = xt.injectedData; void 0 === r && (r = {}); var o = xt.is_connect; if (n && o && !Mt) { var a = r.translatedWordsList; void 0 === a && (a = []), a.forEach((function (e) { return zt(e) })), Mt = !0 } for (var i = [], c = {}, s = 0, l = e; s < l.length; s += 1)for (var u = 0, f = l[s].weglot.content; u < f.length; u += 1) { var d = f[u], g = d.original, _ = d.type; c[g] || (n && qt(g) || (c[g] = !0, i.push(Object.assign({}, { t: _, w: g }, t.label && { l: t.label })))) } return i } function Gt(e, t, n) { if (void 0 === t && (t = ze()), void 0 === n && (n = Ut), e && e.to_words && e.to_words.length) for (var r = e.from_words, o = e.to_words, a = 0, i = n; a < i.length; a += 1)for (var c = 0, s = i[a].weglot.content || {}; c /g, ‘wg-$1=””>’); xt.prevent_retranslation && zt(g), f[t] = g } } var _; try { T(n, t) } catch (e) { M.error(e) } } function Jt(e) { if (e && e.toLowerCase) { var t = e.toLowerCase(), n = xt.languages.find((function (e) { var n = e.language_to, r = e.custom_code; return n === t || (r ? r.toLowerCase() === t : void 0) })); return n ? n.language_to : e } } function Yt(e, t) { var n; void 0 === t && (t = { cdn: !1, search: !1 }); var r = e.l_to, o = e.words; e.l_to = Jt(r); var a, i = o; if (!xt.visual_editor) { if (n = function (e, t) { var n = [], r = [], o = []; return e.forEach((function (e) { var a = Rt(e.w); a && a[t] ? (n.push(a[t]), r.push(pe(e.w))) : o.push(e) })), { cachedWords: { to_words: n, from_words: r }, newWords: o } }(o, r), i = n.newWords, (a = n.cachedWords).to_words.length && !t.search) { if (!i.length) return Promise.resolve(a); Gt(a, r, t.nodes) } At && [].push.apply(i, function () { At = !1; var e = (new Date).getTime(); return Object.keys(jt).filter((function (t) { return jt[t].createdTime + 216e5 < e })).map((function (e) { return { t: jt[e].t, w: e } })) }()) } return i.length ? (e.words = i, e.request_url = function () { var e = function () { if (xt.visual_editor) return new se(Re.url); var e = xt.technology_name, t = xt.injectedData; if (e === Z) return new se(window.location.href); if (t && t.originalCanonicalUrl) try { return new se(t.originalCanonicalUrl) } catch (e) { } var n = document.querySelector("link[rel='canonical'][href]"); if (n) try { return new se(n.href) } catch (e) { } return new se(window.location.href) }(); e.pathname = (t = e.pathname, t.split("/").filter((function (e) { return !e || isNaN(Number(e)) })).join("/")); var t; for (var n = 0, r = Tt.filter((function (e) { return e.condition.some((function (e) { var t = e.type, n = e.payload; return "TECHNOLOGY_ID" === t && n === xt.technology_id })) })); n < r.length; n += 1) { var o = r[n].value; try { for (var a = 0, i = o; a = 402) throw Error(e.statusText); return e } function Zt(e) { var t = xt.api_key; return fetch(“https://api.weglot.com/pageviews?api_key=” + t, { method: “POST”, body: JSON.stringify({ url: e || Re.url, language: ze(), browser_language: navigator.language }) }) } var Qt, en = {}; function tn(e) { return { START_WITH: function (t) { return 0 === e.indexOf(t) }, NOT_START_WITH: function (t) { return 0 !== e.indexOf(t) }, END_WITH: function (t) { return -1 !== e.indexOf(t, e.length – t.length) }, NOT_END_WITH: function (t) { return -1 === e.indexOf(t, e.length – t.length) }, CONTAIN: function (t) { return -1 !== e.indexOf(t) }, NOT_CONTAIN: function (t) { return -1 === e.indexOf(t) }, IS_EXACTLY: function (t) { return e === t }, NOT_IS_EXACTLY: function (t) { return e !== t }, MATCH_REGEX: function (t) { try { return new RegExp(t, “i”).test(e) } catch (e) { return M.warn(e, { consoleOverride: t + ” is an invalid regex”, sendToDatadog: !1 }), !1 } } } } function nn(e) { var t = xt.excluded_paths, n = Re.pathname; if (n = n.toLowerCase(), “shopify.weglot.com” === window.location.host || !t || !t.length) return !1; if (“string” == typeof t && t.split(“,”).some((function (e) { return new RegExp(e, “i”).test(n) }))) return { allExcluded: !0, language_button_displayed: !0 }; var r = e || Jt(ze()); return void 0 !== en[r] && en.currentLang === r || (en.currentLang = r, xt.injectedData && xt.injectedData.originalPath && (n = xt.injectedData.originalPath.toLowerCase()), t.some((function (e) { var t = e.type, o = e.value, a = e.excluded_languages, i = e.language_button_displayed, c = e.regex; o = o.toLowerCase(); var s = { language_button_displayed: i, allExcluded: !(!a || !(0 === a.length || a.length >= xt.languages.length)) }; if (a && a.length && !a.includes(r)) return !1; var l = tn(n); if (c && !t.startsWith(“NOT”) ? l.MATCH_REGEX(c) : l[t](o)) return en[r] = s, !0; var u = n; try { u = decodeURIComponent(n) } catch (e) { return } if (u !== n) { var f = tn(u); return (c && !t.startsWith(“NOT”) ? f.MATCH_REGEX(c) : f[t](o)) ? (en[r] = s, !0) : void 0 } }))), en[r] } function rn() { if (Qt) return Qt; if (!xt.api_key) return M.warn(“Weglot must be initialized to use it.”, { sendToDatadog: !1 }), []; var e = (xt.languages || []).filter((function (e) { var t = nn(e.language_to), n = !t || t.language_button_displayed; return (!1 !== e.enabled || xt.private_mode) && n && (xt.subdirectory || !xt.is_connect || e.connect_host_destination && e.connect_host_destination.created_on_aws) })).map((function (e) { return e.custom_code || e.language_to })), t = [xt.language_from].concat(e); return Qt = t.filter((function (e, n) { return e && t.indexOf(e) == n })), e.length || M.log(“No public language available.”, { sendToDatadog: !1 }), Qt } je(“onCurrentLocationChanged”, (function () { en = {} }), !0), je(“onCurrentLocationChanged”, (function () { Qt = null }), !0); var on = [{ codes: [“no”], pattern: /^(nn|nb)(-[a-z]+)?$/i }, { codes: [“zh”], pattern: /^zh(-hans(-w{2})?)?(-(cn|sg))?$/i }, { codes: [“tw”, “zh-TW”], pattern: /^zh-(hant)?-?(tw|hk|mo)?$/i }, { codes: [“br”], pattern: /^pt-br$/i }, { codes: [“fl”], pattern: /^fil$/i }]; function an(e) { void 0 === e && (e = rn()); for (var t = {}, n = {}, r = 0, o = e; r < o.length; r += 1) { var a = o[r], i = a.toLowerCase(), c = i.substring(0, 2); t[c] || (t[c] = []), t[c].push(i), n[i] = a } for (var s = 0, l = navigator.languages || [navigator.language]; s < l.length; s += 1) { var u = l[s], f = u.toLowerCase(), d = f.substring(0, 2); if (n[f]) return n[f]; for (var g = 0, _ = on; g = 0 ? n[t[d][w]] : n[t[d].shift()] } } } function cn() { var e = window.location.search.indexOf(“no_redirect=true”) > -1; if (!(!xt.auto_switch || xt.subdirectory || e || Ve({ type: “cookie” }).getItem(“WG_CHOOSE_ORIGINAL”) || we() || xt.visual_editor)) { var t = an(); return t && !nn(t) ? t : xt.auto_switch_fallback && !nn(xt.auto_switch_fallback) ? xt.auto_switch_fallback : void 0 } e && sn(ze()) } function sn(e) { if (e === xt.language_from) { var t = new Date; t.setTime(t.getTime() + 2592e6), Ve({ type: “cookie” }).setItem(“WG_CHOOSE_ORIGINAL”, “1”, { expires: t.toUTCString() }) } else Ve({ type: “cookie” }).removeItem(“WG_CHOOSE_ORIGINAL”) } function ln() { var e = Ve().getItem(F); if (e && rn().includes(e)) return e } var un = function (e) { return e && Ve().setItem(F, e) }; function fn() { _e(ge(B)) } function dn(e, t, n) { void 0 === n && (n = {}); n = Object.assign({}, { title: !0, cdn: !1, search: !1 }, n); var r = { l_from: xt.language_from, l_to: t, words: e }; return n.title && (r.title = document.title), Yt(r, n) } function gn(e, t) { if (“string” != typeof e || “function” != typeof t) return !1; var n = ze(); return n === xt.language_from ? (t(e), !1) : (Yt({ l_from: n, l_to: xt.language_from, words: [{ t: 2, w: e }] }, { cdn: !0, search: !0 }).then((function (e) { return e.to_words[0].toLowerCase().trim() })).then(t), !0) } var _n = []; function pn(e) { var t = e.langTo; void 0 === t && (t = ze()); var n = e.node; void 0 === n && (n = document.documentElement); var r = xt.proxify_iframes, o = xt.api_key, a = xt.language_from; if (r && r.length && Array.isArray(r)) for (var i = 0, c = ue(n, r.join(“,”)); i < c.length; i += 1) { var s = c[i], l = s.src; if (!l) return; if (s.weglot || (s.weglot = {}), !l.includes("proxy.weglot.com/")) { if (s.weglot.originalFrameSrc || (s.weglot.originalFrameSrc = l), t === a) return; try { s.src = l.replace("://", "://proxy.weglot.com/" + o + "/" + a + "/" + t + "/") } catch (e) { } return } if (!t || t === a) { var u = (s.weglot || {}).originalFrameSrc; return void (u && (s.src = u)) } var f = new RegExp(o + "/" + a + "/[^/]+/"); return void (s.src = l.replace(f, o + "/" + a + "/" + t + "/")) } } function hn(e) { void 0 === e && (e = ze()), function (e) { void 0 === e && (e = ze()); for (var t = { message: "Weglot.setLanguage", payload: e }, n = 0, r = _n; n 2 && (i.children = arguments.length > 3 ? wn.call(arguments, 2) : n), “function” == typeof e && null != e.defaultProps) for (a in e.defaultProps) void 0 === i[a] && (i[a] = e.defaultProps[a]); return Pn(e, i, r, o, null) } function Pn(e, t, n, r, o) { var a = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: null == o ? ++bn : o }; return null == o && null != yn.vnode && yn.vnode(a), a } function In(e) { return e.children } function Rn(e, t) { this.props = e, this.context = t } function Dn(e, t) { if (null == t) return e.__ ? Dn(e.__, e.__.__k.indexOf(e) + 1) : null; for (var n; t < e.__k.length; t++)if (null != (n = e.__k[t]) && null != n.__e) return n.__e; return "function" == typeof e.type ? Dn(e) : null } function Wn(e) { var t, n; if (null != (e = e.__) && null != e.__c) { for (e.__e = e.__c.base = null, t = 0; t t && kn.sort(xn)); Hn.__r = 0 } function Mn(e, t, n, r, o, a, i, c, s, l) { var u, f, d, g, _, p, h, m = r && r.__k || Nn, v = m.length; for (n.__k = [], u = 0; u 0 ? Pn(g.type, g.props, g.key, g.ref ? g.ref : null, g.__v) : g)) { if (g.__ = n, g.__b = n.__b + 1, null === (d = m[u]) || d && g.key == d.key && g.type === d.type) m[u] = void 0; else for (f = 0; f < v; f++) { if ((d = m[f]) && g.key == d.key && g.type === d.type) { m[f] = void 0; break } d = null } Yn(e, g, d = d || On, o, a, i, c, s, l), _ = g.__e, (f = g.ref) && d.ref != f && (h || (h = []), d.ref && h.push(d.ref, null, g), h.push(f, g.__c || _, g)), null != _ ? (null == p && (p = _), "function" == typeof g.type && g.__k === d.__k ? g.__d = s = qn(g, s, e) : s = Fn(e, g, d, m, _, s), "function" == typeof n.type && (n.__d = s)) : s && d.__e == s && s.parentNode != e && (s = Dn(d)) } for (n.__e = p, u = v; u–;)null != m[u] && ("function" == typeof n.type && null != m[u].__e && m[u].__e == n.__d && (n.__d = Bn(r).nextSibling), Qn(m[u], m[u])); if (h) for (u = 0; u < h.length; u++)Zn(h[u], h[++u], h[++u]) } function qn(e, t, n) { for (var r, o = e.__k, a = 0; o && a < o.length; a++)(r = o[a]) && (r.__ = e, t = "function" == typeof r.type ? qn(r, t, n) : Fn(n, r, r, o, r.__e, t)); return t } function zn(e, t) { return t = t || [], null == e || "boolean" == typeof e || (Array.isArray(e) ? e.some((function (e) { zn(e, t) })) : t.push(e)), t } function Fn(e, t, n, r, o, a) { var i, c, s; if (void 0 !== t.__d) i = t.__d, t.__d = void 0; else if (null == n || o != a || null == o.parentNode) e: if (null == a || a.parentNode !== e) e.appendChild(o), i = null; else { for (c = a, s = 0; (c = c.nextSibling) && s = 0; t–)if ((n = e.__k[t]) && (r = Bn(n))) return r; return null } function $n(e, t, n) { “-” === t[0] ? e.setProperty(t, null == n ? “” : n) : e[t] = null == n ? “” : “number” != typeof n || Ln.test(t) ? n : n + “px” } function Vn(e, t, n, r, o) { var a; e: if (“style” === t) if (“string” == typeof n) e.style.cssText = n; else { if (“string” == typeof r && (e.style.cssText = r = “”), r) for (t in r) n && t in n || $n(e.style, t, “”); if (n) for (t in n) r && n[t] === r[t] || $n(e.style, t, n[t]) } else if (“o” === t[0] && “n” === t[1]) a = t !== (t = t.replace(/Capture$/, “”)), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + a] = n, n ? r || e.addEventListener(t, a ? Jn : Gn, a) : e.removeEventListener(t, a ? Jn : Gn, a); else if (“dangerouslySetInnerHTML” !== t) { if (o) t = t.replace(/xlink(H|:h)/, “h”).replace(/sName$/, “s”); else if (“width” !== t && “height” !== t && “href” !== t && “list” !== t && “form” !== t && “tabIndex” !== t && “download” !== t && t in e) try { e[t] = null == n ? “” : n; break e } catch (e) { } “function” == typeof n || (null == n || !1 === n && “-” !== t[4] ? e.removeAttribute(t) : e.setAttribute(t, n)) } } function Gn(e) { return this.l[e.type + !1](yn.event ? yn.event(e) : e) } function Jn(e) { return this.l[e.type + !0](yn.event ? yn.event(e) : e) } function Yn(e, t, n, r, o, a, i, c, s) { var l, u, f, d, g, _, p, h, m, v, w, y, b, k, E, C = t.type; if (void 0 !== t.constructor) return null; null != n.__h && (s = n.__h, c = t.__e = n.__e, t.__h = null, a = [c]), (l = yn.__b) && l(t); try { e: if (“function” == typeof C) { if (h = t.props, m = (l = C.contextType) && r[l.__c], v = l ? m ? m.props.value : l.__ : r, n.__c ? p = (u = t.__c = n.__c).__ = u.__E : (“prototype” in C && C.prototype.render ? t.__c = u = new C(h, v) : (t.__c = u = new Rn(h, v), u.constructor = C, u.render = er), m && m.sub(u), u.props = h, u.state || (u.state = {}), u.context = v, u.__n = r, f = u.__d = !0, u.__h = [], u._sb = []), null == u.__s && (u.__s = u.state), null != C.getDerivedStateFromProps && (u.__s == u.state && (u.__s = Tn({}, u.__s)), Tn(u.__s, C.getDerivedStateFromProps(h, u.__s))), d = u.props, g = u.state, u.__v = t, f) null == C.getDerivedStateFromProps && null != u.componentWillMount && u.componentWillMount(), null != u.componentDidMount && u.__h.push(u.componentDidMount); else { if (null == C.getDerivedStateFromProps && h !== d && null != u.componentWillReceiveProps && u.componentWillReceiveProps(h, v), !u.__e && null != u.shouldComponentUpdate && !1 === u.shouldComponentUpdate(h, u.__s, v) || t.__v === n.__v) { for (t.__v !== n.__v && (u.props = h, u.state = u.__s, u.__d = !1), u.__e = !1, t.__e = n.__e, t.__k = n.__k, t.__k.forEach((function (e) { e && (e.__ = t) })), w = 0; w < u._sb.length; w++)u.__h.push(u._sb[w]); u._sb = [], u.__h.length && i.push(u); break e } null != u.componentWillUpdate && u.componentWillUpdate(h, u.__s, v), null != u.componentDidUpdate && u.__h.push((function () { u.componentDidUpdate(d, g, _) })) } if (u.context = v, u.props = h, u.__P = e, y = yn.__r, b = 0, "prototype" in C && C.prototype.render) { for (u.state = u.__s, u.__d = !1, y && y(t), l = u.render(u.props, u.state, u.context), k = 0; k < u._sb.length; k++)u.__h.push(u._sb[k]); u._sb = [] } else do { u.__d = !1, y && y(t), l = u.render(u.props, u.state, u.context), u.state = u.__s } while (u.__d && ++b < 25); u.state = u.__s, null != u.getChildContext && (r = Tn(Tn({}, r), u.getChildContext())), f || null == u.getSnapshotBeforeUpdate || (_ = u.getSnapshotBeforeUpdate(d, g)), E = null != l && l.type === In && null == l.key ? l.props.children : l, Mn(e, Array.isArray(E) ? E : [E], t, n, r, o, a, i, c, s), u.base = t.__e, t.__h = null, u.__h.length && i.push(u), p && (u.__E = u.__ = null), u.__e = !1 } else null == a && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Xn(n.__e, t, n, r, o, a, i, s); (l = yn.diffed) && l(t) } catch (e) { t.__v = null, (s || null != a) && (t.__e = c, t.__h = !!s, a[a.indexOf(c)] = null), yn.__e(e, t, n) } } function Kn(e, t) { yn.__c && yn.__c(t, e), e.some((function (t) { try { e = t.__h, t.__h = [], e.some((function (e) { e.call(t) })) } catch (e) { yn.__e(e, t.__v) } })) } function Xn(e, t, n, r, o, a, i, c) { var s, l, u, f = n.props, d = t.props, g = t.type, _ = 0; if ("svg" === g && (o = !0), null != a) for (; _ < a.length; _++)if ((s = a[_]) && "setAttribute" in s == !!g && (g ? s.localName === g : 3 === s.nodeType)) { e = s, a[_] = null; break } if (null == e) { if (null === g) return document.createTextNode(d); e = o ? document.createElementNS("http://www.w3.org/2000/svg", g) : document.createElement(g, d.is && d), a = null, c = !1 } if (null === g) f === d || c && e.data === d || (e.data = d); else { if (a = a && wn.call(e.childNodes), l = (f = n.props || On).dangerouslySetInnerHTML, u = d.dangerouslySetInnerHTML, !c) { if (null != a) for (f = {}, _ = 0; _ < e.attributes.length; _++)f[e.attributes[_].name] = e.attributes[_].value; (u || l) && (u && (l && u.__html == l.__html || u.__html === e.innerHTML) || (e.innerHTML = u && u.__html || "")) } if (function (e, t, n, r, o) { var a; for (a in n) "children" === a || "key" === a || a in t || Vn(e, a, null, n[a], r); for (a in t) o && "function" != typeof t[a] || "children" === a || "key" === a || "value" === a || "checked" === a || n[a] === t[a] || Vn(e, a, t[a], n[a], r) }(e, d, f, o, c), u) t.__k = []; else if (_ = t.props.children, Mn(e, Array.isArray(_) ? _ : [_], t, n, r, o && "foreignObject" !== g, a, i, a ? a[0] : n.__k && Dn(n, 0), c), null != a) for (_ = a.length; _–;)null != a[_] && An(a[_]); c || ("value" in d && void 0 !== (_ = d.value) && (_ !== e.value || "progress" === g && !_ || "option" === g && _ !== f.value) && Vn(e, "value", _, f.value, !1), "checked" in d && void 0 !== (_ = d.checked) && _ !== e.checked && Vn(e, "checked", _, f.checked, !1)) } return e } function Zn(e, t, n) { try { "function" == typeof e ? e(t) : e.current = t } catch (e) { yn.__e(e, n) } } function Qn(e, t, n) { var r, o; if (yn.unmount && yn.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || Zn(r, null, t)), null != (r = e.__c)) { if (r.componentWillUnmount) try { r.componentWillUnmount() } catch (e) { yn.__e(e, t) } r.base = r.__P = null, e.__c = void 0 } if (r = e.__k) for (o = 0; o < r.length; o++)r[o] && Qn(r[o], t, n || "function" != typeof e.type); n || null == e.__e || An(e.__e), e.__ = e.__e = e.__d = void 0 } function er(e, t, n) { return this.constructor(e, n) } function tr(e) { var t, n, r = ""; if ("string" == typeof e || "number" == typeof e) r += e; else if ("object" == typeof e) if (Array.isArray(e)) for (t = 0; t = n.__.length && n.__.push({ __V: sr }), n.__[e] } function pr(e) { return ir = 1, function (e, t, n) { var r = _r(nr++, 2); if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Cr(void 0, t), function (e) { var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e); t !== n && (r.__N = [n, r.__[1]], r.__c.setState({})) }], r.__c = rr, !rr.u)) { var o = function (e, t, n) { if (!r.__c.__H) return !0; var o = r.__c.__H.__.filter((function (e) { return e.__c })); if (o.every((function (e) { return !e.__N }))) return !a || a.call(this, e, t, n); var i = !1; return o.forEach((function (e) { if (e.__N) { var t = e.__[0]; e.__ = e.__N, e.__N = void 0, t !== e.__[0] && (i = !0) } })), !(!i && r.__c.props === e) && (!a || a.call(this, e, t, n)) }; rr.u = !0; var a = rr.shouldComponentUpdate, i = rr.componentWillUpdate; rr.componentWillUpdate = function (e, t, n) { if (this.__e) { var r = a; a = void 0, o(e, t, n), a = r } i && i.call(this, e, t, n) }, rr.shouldComponentUpdate = o } return r.__N || r.__ }(Cr, e) } function hr(e, t) { var n = _r(nr++, 3); !yn.__s && Er(n.__H, t) && (n.__ = e, n.i = t, rr.__H.__h.push(n)) } function mr(e) { return ir = 5, function (e, t) { var n = _r(nr++, 7); return Er(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__ }((function () { return { current: e } }), []) } function vr() { for (var e; e = cr.shift();)if (e.__P && e.__H) try { e.__H.__h.forEach(br), e.__H.__h.forEach(kr), e.__H.__h = [] } catch (t) { e.__H.__h = [], yn.__e(t, e.__v) } } yn.__b = function (e) { rr = null, lr && lr(e) }, yn.__r = function (e) { ur && ur(e), nr = 0; var t = (rr = e.__c).__H; t && (or === rr ? (t.__h = [], rr.__h = [], t.__.forEach((function (e) { e.__N && (e.__ = e.__N), e.__V = sr, e.__N = e.i = void 0 }))) : (t.__h.forEach(br), t.__h.forEach(kr), t.__h = [])), or = rr }, yn.diffed = function (e) { fr && fr(e); var t = e.__c; t && t.__H && (t.__H.__h.length && (1 !== cr.push(t) && ar === yn.requestAnimationFrame || ((ar = yn.requestAnimationFrame) || yr)(vr)), t.__H.__.forEach((function (e) { e.i && (e.__H = e.i), e.__V !== sr && (e.__ = e.__V), e.i = void 0, e.__V = sr }))), or = rr = null }, yn.__c = function (e, t) { t.some((function (e) { try { e.__h.forEach(br), e.__h = e.__h.filter((function (e) { return !e.__ || kr(e) })) } catch (n) { t.some((function (e) { e.__h && (e.__h = []) })), t = [], yn.__e(n, e.__v) } })), dr && dr(e, t) }, yn.unmount = function (e) { gr && gr(e); var t, n = e.__c; n && n.__H && (n.__H.__.forEach((function (e) { try { br(e) } catch (e) { t = e } })), n.__H = void 0, t && yn.__e(t, n.__v)) }; var wr = “function” == typeof requestAnimationFrame; function yr(e) { var t, n = function () { clearTimeout(r), wr && cancelAnimationFrame(t), setTimeout(e) }, r = setTimeout(n, 100); wr && (t = requestAnimationFrame(n)) } function br(e) { var t = rr, n = e.__c; “function” == typeof n && (e.__c = void 0, n()), rr = t } function kr(e) { var t = rr; e.__c = e.__(), rr = t } function Er(e, t) { return !e || e.length !== t.length || t.some((function (t, n) { return t !== e[n] })) } function Cr(e, t) { return “function” == typeof t ? t(e) : t } function xr(e, t) { for (var n in t) e[n] = t[n]; return e } function Sr(e, t) { for (var n in e) if (“__source” !== n && !(n in t)) return !0; for (var r in t) if (“__source” !== r && e[r] !== t[r]) return !0; return !1 } function Or(e) { this.props = e } (Or.prototype = new Rn).isPureReactComponent = !0, Or.prototype.shouldComponentUpdate = function (e, t) { return Sr(this.props, e) || Sr(this.state, t) }; var Nr = yn.__b; yn.__b = function (e) { e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Nr && Nr(e) }; var Lr = “undefined” != typeof Symbol && Symbol.for && Symbol.for(“react.forward_ref”) || 3911; var Tr = yn.__e; yn.__e = function (e, t, n, r) { if (e.then) for (var o, a = t; a = a.__;)if ((o = a.__c) && o.__c) return null == t.__e && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t); Tr(e, t, n, r) }; var Ar = yn.unmount; function jr(e, t, n) { return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach((function (e) { “function” == typeof e.__c && e.__c() })), e.__c.__H = null), null != (e = xr({}, e)).__c && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map((function (e) { return jr(e, t, n) }))), e } function Pr(e, t, n) { return e && (e.__v = null, e.__k = e.__k && e.__k.map((function (e) { return Pr(e, t, n) })), e.__c && e.__c.__P === t && (e.__e && n.insertBefore(e.__e, e.__d), e.__c.__e = !0, e.__c.__P = n)), e } function Ir() { this.__u = 0, this.t = null, this.__b = null } function Rr(e) { var t = e.__.__c; return t && t.__a && t.__a(e) } function Dr() { this.u = null, this.o = null } yn.unmount = function (e) { var t = e.__c; t && t.__R && t.__R(), t && !0 === e.__h && (e.type = null), Ar && Ar(e) }, (Ir.prototype = new Rn).__c = function (e, t) { var n = t.__c, r = this; null == r.t && (r.t = []), r.t.push(n); var o = Rr(r.__v), a = !1, i = function () { a || (a = !0, n.__R = null, o ? o(c) : c()) }; n.__R = i; var c = function () { if (!–r.__u) { if (r.state.__a) { var e = r.state.__a; r.__v.__k[0] = Pr(e, e.__c.__P, e.__c.__O) } var t; for (r.setState({ __a: r.__b = null }); t = r.t.pop();)t.forceUpdate() } }, s = !0 === t.__h; r.__u++ || s || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(i, i) }, Ir.prototype.componentWillUnmount = function () { this.t = [] }, Ir.prototype.render = function (e, t) { if (this.__b) { if (this.__v.__k) { var n = document.createElement(“div”), r = this.__v.__k[0].__c; this.__v.__k[0] = jr(this.__b, n, r.__O = r.__P) } this.__b = null } var o = t.__a && jn(In, null, e.fallback); return o && (o.__h = null), [jn(In, null, t.__a ? null : e.children), o] }; var Wr = function (e, t, n) { if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (“t” !== e.props.revealOrder[0] || !e.o.size)) for (n = e.u; n;) { for (; n.length > 3;)n.pop()(); if (n[1] < n[0]) break; e.u = n = n[2] } }; (Dr.prototype = new Rn).__a = function (e) { var t = this, n = Rr(t.__v), r = t.o.get(e); return r[0]++, function (o) { var a = function () { t.props.revealOrder ? (r.push(o), Wr(t, e, r)) : o() }; n ? n(a) : a() } }, Dr.prototype.render = function (e) { this.u = null, this.o = new Map; var t = zn(e.children); e.revealOrder && "b" === e.revealOrder[0] && t.reverse(); for (var n = t.length; n–;)this.o.set(t[n], this.u = [1, 0, this.u]); return e.children }, Dr.prototype.componentDidUpdate = Dr.prototype.componentDidMount = function () { var e = this; this.o.forEach((function (t, n) { Wr(e, n, t) })) }; var Ur = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103, Hr = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Mr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, qr = /[A-Z0-9]/g, zr = "undefined" != typeof document, Fr = function (e) { return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(e) }; Rn.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach((function (e) { Object.defineProperty(Rn.prototype, e, { configurable: !0, get: function () { return this["UNSAFE_" + e] }, set: function (t) { Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t }) } }) })); var Br = yn.event; function $r() { } function Vr() { return this.cancelBubble } function Gr() { return this.defaultPrevented } yn.event = function (e) { return Br && (e = Br(e)), e.persist = $r, e.isPropagationStopped = Vr, e.isDefaultPrevented = Gr, e.nativeEvent = e }; var Jr = { enumerable: !1, configurable: !0, get: function () { return this.class } }, Yr = yn.vnode; yn.vnode = function (e) { "string" == typeof e.type && function (e) { var t = e.props, n = e.type, r = {}; for (var o in t) { var a = t[o]; if (!("value" === o && "defaultValue" in t && null == a || zr && "children" === o && "noscript" === n || "class" === o || "className" === o)) { var i = o.toLowerCase(); "defaultValue" === o && "value" in t && null == t.value ? o = "value" : "download" === o && !0 === a ? a = "" : "ondoubleclick" === i ? o = "ondblclick" : "onchange" !== i || "input" !== n && "textarea" !== n || Fr(t.type) ? "onfocus" === i ? o = "onfocusin" : "onblur" === i ? o = "onfocusout" : Mr.test(o) ? o = i : -1 === n.indexOf("-") && Hr.test(o) ? o = o.replace(qr, "-$&").toLowerCase() : null === a && (a = void 0) : i = o = "oninput", "oninput" === i && r[o = i] && (o = "oninputCapture"), r[o] = a } } "select" == n && r.multiple && Array.isArray(r.value) && (r.value = zn(t.children).forEach((function (e) { e.props.selected = -1 != r.value.indexOf(e.props.value) }))), "select" == n && null != r.defaultValue && (r.value = zn(t.children).forEach((function (e) { e.props.selected = r.multiple ? -1 != r.defaultValue.indexOf(e.props.value) : r.defaultValue == e.props.value }))), t.class && !t.className ? (r.class = t.class, Object.defineProperty(r, "className", Jr)) : (t.className && !t.class || t.class && t.className) && (r.class = r.className = t.className), e.props = r }(e), e.$$typeof = Ur, Yr && Yr(e) }; var Kr = yn.__r; yn.__r = function (e) { Kr && Kr(e), e.__c }; var Xr = yn.diffed; yn.diffed = function (e) { Xr && Xr(e); var t = e.props, n = e.__e; null != n && "textarea" === e.type && "value" in t && t.value !== n.value && (n.value = null == t.value ? "" : t.value) }; var Zr = function (e, t) { var n = { __c: t = "__cC" + Sn++, __: e, Consumer: function (e, t) { return e.children(t) }, Provider: function (e) { var n, r; return this.getChildContext || (n = [], (r = {})[t] = this, this.getChildContext = function () { return r }, this.shouldComponentUpdate = function (e) { this.props.value !== e.value && n.some((function (e) { e.__e = !0, Un(e) })) }, this.sub = function (e) { n.push(e); var t = e.componentWillUnmount; e.componentWillUnmount = function () { n.splice(n.indexOf(e), 1), t && t.call(e) } }), e.children } }; return n.Provider.__ = n.Consumer.contextType = n }({}), Qr = function (e, t) { return function (n) { var r = t || {}, o = r.shouldForwardProp, a = r.label; var i = function (e, t) { function n(e) { var n = this.props.ref, r = n == e.ref; return !r && n && (n.call ? n(null) : n.current = null), t ? !t(this.props, e) || !r : Sr(this.props, e) } function r(t) { return this.shouldComponentUpdate = n, jn(e, t) } return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r }(function (e) { function t(t) { var n = xr({}, t); return delete n.ref, e(n, t.ref || null) } return t.$$typeof = Lr, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t }((function (t, r) { var a = t || {}, i = a.children, c = a.as; void 0 === c && (c = e); var s = a.style; void 0 === s && (s = {}); var l = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && -1 === t.indexOf(r) && (n[r] = e[r]); return n }(a, ["children", "as", "style"]), u = l, f = function (e) { var t = rr.context[e.__c], n = _r(nr++, 9); return n.c = e, t ? (null == n.__ && (n.__ = !0, t.sub(rr)), t.props.value) : e.__ }(Zr); return jn(c, Object.assign({}, { ref: r, style: Object.assign({}, n(Object.assign({}, u, { theme: f })), "function" == typeof s ? s(Object.assign({}, u, { theme: f })) : s) }, o ? function (e, t) { return Object.keys(e).filter(t).reduce((function (t, n) { return t[n] = e[n], t }), {}) }(u, o) : u), i) }))); return i.displayName = (a || e) + "💅", i } }("div")((function () { return { display: "flex", alignItems: "center", justifyContent: "center", height: "100vh" } })); function eo(e) { var t = e.displayError; void 0 === t && (t = !0); var n = e.logger; void 0 === n && (n = function () { }); var r = e.children, o = function (e) { var t = _r(nr++, 10), n = pr(); return t.__ = e, rr.componentDidCatch || (rr.componentDidCatch = function (e, r) { t.__ && t.__(e, r), n[1](e) }), [n[0], function () { n[1](void 0) }] }((function (e) { return n(e.message) })); return o[0] && t ? jn(Qr, null, jn("p", null, "An error has occurred, we apologise for the inconvenience. ", jn("br", null), jn("br", null), "We have been notified and will rectify the situation as soon as possible. ", jn("br", null), jn("br", null), "Please try again later or contact support@weglot.com directly.")) : r } var to = [{ name: "default", editorDropdown: !0, editableProps: ["flag_type", "with_flags", "is_dropdown", "with_name", "full_name", "invert_flags", "open_hover", "close_outside_click"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, is_dropdown: !0, invert_flags: !0, flag_type: "rectangle_mat" }, opts: { open_hover: !1, close_outside_click: !1 } } }, { name: "toggle", editableProps: ["color"], defaultValues: { style: { full_name: !1, color: "#3D46FB" } } }, { name: "bubble", editorDropdown: !0, editableProps: ["flag_type", "with_flags", "full_name", "color", "open_hover", "close_outside_click"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, flag_type: "rectangle_mat", color: "#555555" }, opts: { open_hover: !1, close_outside_click: !0 } } }, { name: "vertical_expand", editorDropdown: !0, editableProps: ["with_flags", "full_name", "color", "open_hover", "close_outside_click", "bg_transparent"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !1, flag_type: "square", color: "#3D46FB", bg_transparent: !1 }, opts: { open_hover: !0, close_outside_click: !1 } } }, { name: "horizontal_expand", editorDropdown: !1, editableProps: ["color", "open_hover", "close_outside_click"], defaultValues: { style: { with_name: !0, with_flags: !1, full_name: !1, flag_type: "square", color: "#3D46FB" }, opts: { open_hover: !0, close_outside_click: !1 } } }, { name: "underline_edge", editableProps: ["full_name", "color"], maxLanguages: 10, minLanguages: null, defaultValues: { style: { full_name: !1, color: "#FA8072" } } }, { name: "skewed", editorDropdown: !0, editableProps: ["with_flags", "full_name", "color", "open_hover", "close_outside_click", "bg_transparent"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !1, flag_type: "square", color: "#3D46FB" }, opts: { open_hover: !0, close_outside_click: !1 } } }, { name: "underline_full", maxLanguages: 10, minLanguages: null, editableProps: ["with_flags", "flag_type", "color"], defaultValues: { style: { full_name: !0, color: "#3D46FB", with_flags: !0, flag_type: "rectangle_mat" } } }].map((function (e) { return Object.assign({}, e, { defaultValues: Object.assign({}, e.defaultValues, { opts: Object.assign({}, e.defaultValues.opts, { is_responsive: !1, display_device: "mobile", pixel_cutoff: 768 }), style: Object.assign({}, e.defaultValues.style, { size_scale: 1 }) }), editableProps: e.editableProps.concat(["is_responsive", "display_device", "pixel_cutoff", "size_scale"]) }) })); function no(e) { var t = function (e) { return void 0 === e && (e = "default"), to.find((function (t) { return t.name === (e || "default") })) }(e), n = t.defaultValues; void 0 === n && (n = {}); var r = n, o = r.style; void 0 === o && (o = {}); var a = r.opts; return void 0 === a && (a = {}), { style: o, opts: a } } var ro = i({ service: "switcher-templates" }), oo = { af: { name: "Afrikaans", flag: "za" }, am: { name: "አማርኛ", flag: "et" }, ar: { name: "العربية‏", flag: "sa" }, az: { name: "Azərbaycan dili", flag: "az" }, ba: { name: "башҡорт теле", flag: "ru" }, be: { name: "Беларуская", flag: "by" }, bg: { name: "Български", flag: "bg" }, bn: { name: "বাংলা", flag: "bd" }, br: { name: "Português Brasileiro", flag: "br" }, bs: { name: "Bosanski", flag: "ba" }, ca: { name: "Català", flag: "es-ca" }, co: { name: "Corsu", flag: "fr-co" }, cs: { name: "Čeština", flag: "cz" }, cy: { name: "Cymraeg", flag: "gb-wls" }, da: { name: "Dansk", flag: "dk" }, de: { name: "Deutsch", flag: "de" }, el: { name: "Ελληνικά", flag: "gr" }, en: { name: "English", flag: "gb" }, eo: { name: "Esperanto", flag: "eo" }, es: { name: "Español", flag: "es" }, et: { name: "Eesti", flag: "ee" }, eu: { name: "Euskara", flag: "eus" }, fa: { name: "فارسی", flag: "ir" }, fi: { name: "Suomi", flag: "fi" }, fj: { name: "Vosa Vakaviti", flag: "fj" }, fl: { name: "Filipino", flag: "ph" }, fr: { name: "Français", flag: "fr" }, fy: { name: "frysk", flag: "nl" }, ga: { name: "Gaeilge", flag: "ie" }, gd: { name: "Gàidhlig", flag: "gb-sct" }, gl: { name: "Galego", flag: "es-ga" }, gu: { name: "ગુજરાતી", flag: "in" }, ha: { name: "هَوُسَ", flag: "ne" }, he: { name: "עברית", flag: "il" }, hi: { name: "हिंदी", flag: "in" }, hr: { name: "Hrvatski", flag: "hr" }, ht: { name: "Kreyòl ayisyen", flag: "ht" }, hu: { name: "Magyar", flag: "hu" }, hw: { name: "‘Ōlelo Hawai‘i", flag: "hw" }, hy: { name: "հայերեն", flag: "am" }, id: { name: "Bahasa Indonesia", flag: "id" }, ig: { name: "Igbo", flag: "ne" }, is: { name: "Íslenska", flag: "is" }, it: { name: "Italiano", flag: "it" }, ja: { name: "日本語", flag: "jp" }, jv: { name: "Wong Jawa", flag: "id" }, ka: { name: "ქართული", flag: "ge" }, kk: { name: "Қазақша", flag: "kz" }, km: { name: "ភាសាខ្មែរ", flag: "kh" }, kn: { name: "ಕನ್ನಡ", flag: "in" }, ko: { name: "한국어", flag: "kr" }, ku: { name: "كوردی", flag: "iq" }, ky: { name: "кыргызча", flag: "kg" }, la: { name: "Latine", flag: "it" }, lb: { name: "Lëtzebuergesch", flag: "lu" }, lo: { name: "ພາສາລາວ", flag: "la" }, lt: { name: "Lietuvių", flag: "lt" }, lv: { name: "Latviešu", flag: "lv" }, lg: { name: "Oluganda", flag: "ug" }, mg: { name: "Malagasy", flag: "mg" }, mi: { name: "te reo Māori", flag: "nz" }, mk: { name: "Македонски", flag: "mk" }, ml: { name: "മലയാളം", flag: "in" }, mn: { name: "Монгол", flag: "mn" }, mr: { name: "मराठी", flag: "in" }, ms: { name: "Bahasa Melayu", flag: "my" }, mt: { name: "Malti", flag: "mt" }, my: { name: "မျန္မာစာ", flag: "mm" }, ne: { name: "नेपाली", flag: "np" }, nl: { name: "Nederlands", flag: "nl" }, no: { name: "Norsk", flag: "no" }, ny: { name: "chiCheŵa", flag: "mw" }, pa: { name: "ਪੰਜਾਬੀ", flag: "in" }, pl: { name: "Polski", flag: "pl" }, ps: { name: "پښت", flag: "af" }, pt: { name: "Português", flag: "pt" }, ro: { name: "Română", flag: "ro" }, ru: { name: "Русский", flag: "ru" }, sd: { name: '"سنڌي، سندھی, सिन्धी"', flag: "pk" }, si: { name: "සිංහල", flag: "lk" }, sk: { name: "Slovenčina", flag: "sk" }, sl: { name: "Slovenščina", flag: "si" }, sm: { name: '"gagana fa'a Samoa"', flag: "ws" }, sn: { name: "chiShona", flag: "zw" }, so: { name: "Soomaaliga", flag: "so" }, sq: { name: "Shqip", flag: "al" }, sr: { name: "Српски", flag: "rs" }, st: { name: "seSotho", flag: "ng" }, su: { name: "Sundanese", flag: "sd" }, sv: { name: "Svenska", flag: "se" }, sw: { name: "Kiswahili", flag: "ke" }, ta: { name: "தமிழ்", flag: "in" }, te: { name: "తెలుగు", flag: "in" }, tg: { name: "Тоҷикӣ", flag: "tj" }, th: { name: "ภาษาไทย", flag: "th" }, tl: { name: "Tagalog", flag: "ph" }, to: { name: "faka-Tonga", flag: "to" }, tr: { name: "Türkçe", flag: "tr" }, tt: { name: "Tatar", flag: "tr" }, tw: { name: "中文 (繁體)", flag: "tw" }, ty: { name: '"te reo Tahiti, te reo Māʼohi"', flag: "pf" }, uk: { name: "Українська", flag: "ua" }, ur: { name: "اردو", flag: "pk" }, uz: { name: '"O'zbek"', flag: "uz" }, vi: { name: "Tiếng Việt", flag: "vn" }, xh: { name: "isiXhosa", flag: "za" }, yi: { name: "ייִדיש", flag: "il" }, yo: { name: "Yorùbá", flag: "ng" }, zh: { name: "中文 (简体)", flag: "cn" }, zu: { name: "isiZulu", flag: "za" }, hm: { name: "Hmoob", flag: "hmn" }, cb: { name: "Sugbuanon", flag: "ph" }, or: { name: "ଓଡ଼ିଆ", flag: "in" }, tk: { name: "Türkmen", flag: "tr" }, ug: { name: "ئۇيغۇر", flag: "uig" }, fc: { name: "Français (Canada)", flag: "ca" }, as: { name: "অসমীয়া", flag: "in" }, sa: { name: "Srpski", flag: "rs" }, om: { name: "Afaan Oromoo", flag: "et" }, iu: { name: "ᐃᓄᒃᑎᑐᑦ", flag: "ca" }, ti: { name: "ቲግሪንያ", flag: "er" }, bm: { name: "Bamanankan", flag: "ml" }, bo: { name: "བོད་ཡིག", flag: "cn" }, ak: { name: "Baoulé", flag: "gh" }, rw: { name: "Kinyarwanda", flag: "rw" } }; function ao(e) { if (!e || !e.toLowerCase) return "Unknown"; var t = e.toLowerCase(), n = xt.languages.find((function (e) { var n = e.language_to, r = e.custom_code; return n === t || (r ? r.toLowerCase() === t : void 0) })); return n && n.custom_local_name ? n.custom_local_name : n && n.custom_name ? n.custom_name : t === xt.language_from && xt.language_from_custom_name ? xt.language_from_custom_name : oo[t].name } function io(e, t) { return t[e] ? t[e].flag : "" } function co(e) { return function (e, t, n) { if (!e || !e.toLowerCase) return ""; if (t.language_from === e) return t.language_from_custom_flag || io(e, n); var r = e.toLowerCase(), o = t.languages.find((function (e) { var t = e.language_to, n = e.custom_code; return t === r || n && n.toLowerCase() === r })); return o ? o.custom_flag || io(o.language_to, n) : "" }(e, xt, oo) } function so(e, t, n) { return t n ? n : t } function lo(e, t) { return t && 1 !== t ? Math.round(e * t * 100) / 100 : e } function uo(e, t) { return “WordPress” === xt.technology_name && xt.injectedData && !xt.is_connect ? t(xt.injectedData.switcher_links[e]) : tt(e, t) } var fo = 13, go = 27, _o = 38, po = 40; var ho = [“none”, “shiny”, “square”, “circle”, “rectangle_mat”]; function mo(e) { return e ? e.getBoundingClientRect() : { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0 } } function vo() { var e = pr(“WordPress” === xt.technology_name && xt.injectedData && !xt.is_connect ? xt.injectedData.current_language : xt.switcher_editor ? xt.language_from : window.Weglot.getCurrentLang()), t = e[0], n = e[1]; return hr((function () { xt.is_connect || “WordPress” === xt.technology_name || xt.switcher_editor || window.Weglot.on(“languageChanged”, (function (e) { n(e) })) }), []), [t, n] } function wo(e, t) { var n = window.innerWidth > 0 ? window.innerWidth : screen.width, r = t || 768; return “mobile” === e ? n r } function yo(e, t, n) { var r = pr(!1), o = r[0], a = r[1]; return hr((function () { var r = e.size_scale; if (“default” !== n || r && 1 !== r) { var o, i, c, s, l, u = (o = t(e), i = n, c = xt.button_style && xt.button_style.custom_css, s = “default” === i, l = o.map((function (e) { var t = e.selector, n = e.declarations; return [(s ? “aside.country-selector” : “”) + “.weglot_switcher.” + i + t + ” {“, Object.keys(n).map((function (e) { return “t” + e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, “$1-$2”).toLowerCase() + “: ” + n[e] + “;” })).join(“n”), “}”].join(“n”) })).join(“nn”), !c || xt.switcher_gallery ? l : l + “nn” + c); !function (e, t) { if (e) { var n = document.querySelector(“style#weglot-switcher-” + t); if (n) n.textContent = e; else { var r = document.createElement(“style”); r.id = “weglot-switcher-” + t, r.textContent = e, document.head.appendChild(r) } } }(u, n), a(!0) } }), []), o } function bo(e) { var t = e.close_outside_click; void 0 === t && (t = !1); var n = e.open_hover; void 0 === n && (n = !1); var r = vo(), o = r[0], a = r[1], i = pr(!1), c = i[0], s = i[1], l = function (e) { var t = mr(null); return hr((function () { if (e) return document.addEventListener(“mousedown”, n), function () { document.removeEventListener(“mousedown”, n) }; function n(n) { t.current && !t.current.contains(n.target) && e() } }), [t]), t }(t && !n && E), f = mr(null), d = rn().filter((function (e) { return e !== o })), g = pr(null), _ = g[0], p = g[1], h = pr(!1), m = h[0], v = h[1], w = pr(!1), y = w[0], b = w[1]; function k() { var e = mo(l.current), t = e.bottom; void 0 === t && (t = 0); var n = e.left; void 0 === n && (n = 0), b(t > window.innerHeight / 2), v(n > window.innerWidth / 2), s(!0) } function E() { s(!1), p(null) } function C() { return c ? E() : k() } function x(e) { if (xt.switcher_editor) return s(!1); var t; a(e), t = e, “WordPress” === xt.technology_name && xt.injectedData && !xt.is_connect ? uo(t, (function (e) { u(window.location.hostname) ? window.dispatchEvent(new CustomEvent(“veLanguageChangeUrl”, { detail: { targetUrl: e } })) : window.location.replace(e) })) : window.Weglot.switchTo(t), s(!1) } return hr((function () { _ && f.current.scrollIntoView({ block: “center” }) }), [_]), { open: c, opensUpward: y, opensLeftward: m, language: o, otherLanguages: d, focusedLanguage: _, switcherContainerRef: l, focusedLanguageRef: f, handleMouseEnter: function () { n && k() }, handleMouseLeave: function () { n && E() }, handleKeyDown: function (e) { return e.keyCode === fo ? (e.preventDefault(), _ && x(_), C()) : e.keyCode === po || e.keyCode === _o ? (e.preventDefault(), void function (e) { var t = e === po ? “down” : “up”, n = d.slice(-1).pop(), r = d[0], o = mo(l.current).bottom; void 0 === o && (o = 0); var a = o > window.innerHeight / 2; if (!_ || !c) { return p(“down” === t ? r : n), void (!c && (“up” === t && a || “down” === t && !a) && k()) } if (!a && “up” === t && _ === r || a && “down” === t && _ === n) return void C(); var i = “up” === t ? -1 : 1, s = d.indexOf(_) + i; if (s === d.length || -1 === s) return; p(d[s]) }(e.keyCode)) : void (e.keyCode === go && c && (e.preventDefault(), C())) }, switchLanguage: x, toggleOpen: C } } var ko = { rectangle_mat: { width: 30, height: 20 }, shiny: { width: 30, height: 20 }, circle: { width: 18, height: 18 }, square: { width: 18, height: 18 } }, Eo = function (e) { var t = e.language, n = e.flagType; void 0 === n && (n = “circle”); var r = e.size_scale, o = co(t), a = ko[n] || {}, i = a.width, c = a.height; if (o) return jn(“img”, { src: o.indexOf(“http”) > -1 ? o : “https://cdn.weglot.com/flags/” + n + “/” + o + “.svg”, width: lo(i, r), height: lo(c, r), className: “wg-flag”, role: “none”, alt: ao(t) + ” flag” }) }, Co = function (e) { var t = e.styleOpts, n = e.language, r = e.onClick, o = e.legacyFlags, a = e.open; void 0 === a && (a = !1); var i = e.url, c = e.focusedLanguage, s = e.isSelected; void 0 === s && (s = !1); var l = e.focusRef; void 0 === l && (l = null); var u = t.with_name; void 0 === u && (u = !0); var f = t.full_name; void 0 === f && (f = !0); var d = t.with_flags, g = t.size_scale, _ = t.flag_type, p = !!c && n === c, h = f ? ao(n) : n.toUpperCase(), m = s ? “div” : “li”, v = ho.indexOf(_ || “rectangle_mat”), w = d ? ” wg-flags” + (o ? ” flag-” + v + ” legacy” : “”) : “”, y = p && !s ? ” focus” : “”, b = s ? ” wgcurrent” : “”; return jn(m, Object.assign({}, { “data-l”: n, onClick: function (e) { return function (e, t) { e.preventDefault(), r(t) }(e, n) }, className: “wg-li ” + n + b + w + y }, s ? { role: “combobox”, “aria-activedescendant”: c ? “weglot-language-” + c : “”, “aria-label”: “Language”, tabindex: “0”, “aria-expanded”: a, “aria-controls”: “weglot-listbox” } : { role: “none”, id: “wg-” + n }), jn(“a”, Object.assign({}, s ? { target: “_self” } : { role: “option” }, { href: i }, !u && { “aria-label”: h }, p && !s && { ref: l }, { id: “weglot-language-” + n, tabIndex: -1 }), d && !o && jn(Eo, { language: n, flagType: _, size_scale: g }), u && h)) }; function xo(e) { var t = e.size_scale, n = function (e) { return lo(e, t) }; return [{ selector: “.wg-drop ul”, declarations: { top: n(38) + “px”, bottom: “auto” } }, { selector: “.wg-drop.weg-openup ul”, declarations: { bottom: n(38) + “px”, top: “auto” } }, { selector: ” a”, declarations: { fontSize: n(13) + “px” } }, { selector: “.wg-drop a img.wg-flag”, declarations: { height: n(30) + “px” } }, { selector: “.wg-drop .wg-li.wgcurrent”, declarations: { height: n(38) + “px”, display: “flex”, alignItems: “center” } }, { selector: “.wg-drop a”, declarations: { height: n(38) + “px” } }, { selector: ” .wgcurrent:after”, declarations: { height: n(38) + “px”, backgroundSize: n(9) + “px” } }, { selector: “.wg-drop .wgcurrent a”, declarations: { paddingRight: so(22, n(40), 40) + “px”, paddingLeft: so(5, n(10), 10) + “px” } }] } var So, Oo, No, Lo = “default”, To = function (e, t) { return function (n) { var r = n || {}, o = r.style; void 0 === o && (o = {}); var a = r.opts; void 0 === a && (a = {}); var i = no(t), c = i.style, s = i.opts, l = document.createElement(“div”); return function (e, t, n) { var r, o, a; yn.__ && yn.__(e, t), o = (r = “function” == typeof n) ? null : n && n.__k || t.__k, a = [], Yn(t, e = (!r && n || t).__k = jn(In, null, [e]), o || On, On, void 0 !== t.ownerSVGElement, !r && n ? [n] : o ? null : t.firstChild ? wn.call(t.childNodes) : null, a, !r && n ? n : o ? o.__e : t.firstChild, r), Kn(a, e) }(jn(eo, { logger: ro.error, displayError: !1 }, jn(e, { style: Object.assign({}, c, o), opts: Object.assign({}, s, a) })), l), l.classList.add(“weglot-container”), l } }((function (e) { var t = e.style, n = e.opts, r = bo(n), o = r.open, a = r.opensUpward, i = r.opensLeftward, c = r.language, s = r.focusedLanguage, l = r.switcherContainerRef, u = r.focusedLanguageRef, f = r.handleMouseEnter, d = r.handleMouseLeave, g = r.handleKeyDown, _ = r.switchLanguage, p = r.toggleOpen, h = function () { var e = rn(), t = pr(e.reduce((function (e, t) { var n; return Object.assign({}, e, ((n = {})[t] = “”, n)) }), {})), n = t[0], r = t[1]; return hr((function () { Promise.all(e.map((function (e) { return new Promise((function (t) { return uo(e, (function (n) { return t({ l: e, url: n }) })) })) }))).then((function (e) { return r(e.reduce((function (e, t) { var n, r = t.l, o = t.url; return Object.assign({}, e, ((n = {})[r] = o, n)) }), {})) })) }), []), n }(), m = function (e) { var t = e.is_responsive, n = e.display_device, r = e.pixel_cutoff, o = pr(!t || wo(n, r)), a = o[0], i = o[1], c = function () { return i(wo(n, r)) }; return hr((function () { if (t) return window.addEventListener(“resize”, c), function () { window.removeEventListener(“resize”, c) } }), [t, n, r]), a }(n); yo(t, xo, Lo); var v = xt.switcher_editor, w = t.is_dropdown, y = t.invert_flags, b = w || y, k = rn().filter((function (e) { return !b || e !== c })), E = /background-position/i.test(xt.button_style.custom_css) && !xt.languages.some((function (e) { return e.custom_flag })), C = function () { for (var e, t, n = arguments, r = 0, o = “”; r < arguments.length;)(e = n[r++]) && (t = tr(e)) && (o && (o += " "), o += t); return o }({ open: o, closed: !o, "wg-drop": w, "wg-list": !w, "weg-openup": a && o, "weg-openleft": i && o, "wg-editor": v }); return m ? jn("aside", { ref: l, "data-wg-notranslate": !0, onKeyDown: g, onMouseEnter: f, onMouseLeave: d, className: "weglot_switcher wg-mouse-click country-selector default " + C, "aria-label": "Language selected: " + ao(c) }, b && jn(Co, { styleOpts: t, open: o, focusedLanguage: s, language: c, isSelected: !0, onClick: p, legacyFlags: E, url: "#" }), jn("ul", { role: "listbox", id: "weglot-listbox", style: !o && t.is_dropdown && { display: "none" } }, k.map((function (e) { return jn(Co, { language: e, url: e === c ? "#" : h[e], onClick: _, isSelected: e === c, focusedLanguage: s, key: "wg-" + e, focusRef: u, styleOpts: t, legacyFlags: E }) })))) : jn(In, null) }), Lo), Ao = 0, jo = []; function Po(e, t) { if (void 0 === t && (t = document.documentElement), e && !e.ready) { var n = e.style || xt.button_style, r = e.location; void 0 === r && (r = {}); var o = function (e, t) { void 0 === e && (e = {}); var n = e.target, r = e.sibling; if (!n) return { defaultPosition: !0 }; var o = ue(t, n); if (!o.length) return { error: ye(n) ? "The provided target is not on this page." : "The provided target is not a valid CSS selector." }; var a = ue(t, r); if (!r || !a.length) return { targetNode: o[0], siblingNode: null }; var i = Array.from(o), c = Array.from(a), s = null, l = c.find((function (e) { return s = i.find((function (t) { return e.parentNode === t })), !!s })); return l && s ? { targetNode: s, siblingNode: l } : { error: "The provided sibling selector does not belong to target element." } }(r, t), a = o.error, i = o.targetNode, c = o.siblingNode, s = o.defaultPosition; if (!a) { var l = To(Object.assign({}, e, !xt.switcher_editor && { style: n })); if (l.weglotSwitcher = e, jo.push(l), s) return l.classList.add("wg-default"), document.body.appendChild(l), e.ready = !0, l; l.setAttribute("data-switcher-id", String(++Ao)), l.id = "weglot-switcher-" + Ao, l.setAttribute("data-switcher-style-opt", JSON.stringify(n)), i.insertBefore(l, c), e.ready = !0; for (var u = 0, f = t.querySelectorAll(".weglot-container:empty"); u < f.length; u += 1) { _e(f[u]) } return l } M.warn(a, { sendToDatadog: !1 }) } } function Io(e) { var t = e.name, n = e.hash, r = e.interactive; if (void 0 === r && (r = !1), fe(document.documentElement, "script#weglot-switcher-" + t)) return !1; var o = !xt.switcher_editor && n ? t + "." + n : t, a = document.getElementsByTagName("head")[0] || document.documentElement, i = document.createElement("script"); return i.type = "text/javascript", i.src = "https://cdn.weglot.com/switchers/" + o + ".min.js", i.id = "weglot-switcher-" + t, r && i.setAttribute("interactive", "true"), a.insertBefore(i, a.firstChild), !0 } function Ro() { So || Pe("switchersReady", ze()), So = !0, clearTimeout(No), Oo && Oo.parentNode.removeChild(Oo) } function Do(e) { if (void 0 === e && (e = document), !(rn().length < 2 || xt.hide_switcher)) { var t = e.isConnected ? e : document; (function (e) { void 0 === e && (e = document.body); var t = xt.linkHooksConfig && xt.linkHooksConfig.additionalCheckSelectors || []; if (0 !== ue(e, ['a[href^="#Weglot-"]', 'a[href*="change-language.weglot.com/"]'].concat(t).join(",")).length) { for (var n = rn(), r = ze(), o = !1, a = [], i = function () { var t = s[c], n = ue(e, vn(t)); if (0 !== n.length) { o = !0; for (var i = function () { var e = u[l]; e.setAttribute($, ""), e.classList.add("weglot-link", "weglot-link-" + t), t === r && (e.classList.add("weglot-link–active"), xt.linkHooksConfig && xt.linkHooksConfig.onLinkActive && xt.linkHooksConfig.onLinkActive(e)), tt(t, (function (t) { return e.setAttribute("href", t) })), e.addEventListener("click", (function (e) { e.preventDefault(), e.stopPropagation(), ia(t) })) }, l = 0, u = n; l < u.length; l += 1)i(); a.push({ language: t, links: n }) } }, c = 0, s = n; c < s.length; c += 1)i(); return je("languageChanged", (function (e) { for (var t = 0, n = a; t < n.length; t += 1) { var r = n[t], o = r.language, i = r.links; if (o === e) for (var c = 0, s = i; c < s.length; c += 1) { var l = s[c]; l.classList.add("weglot-link–active"), xt.linkHooksConfig && xt.linkHooksConfig.onLinkActive && xt.linkHooksConfig.onLinkActive(l) } else for (var u = 0, f = i; u < f.length; u += 1) { var d = f[u]; d.classList.remove("weglot-link–active"), xt.linkHooksConfig && xt.linkHooksConfig.offLinkActive && xt.linkHooksConfig.offLinkActive(d) } } }), !0), o } })(t) && Ro(); var n = t.querySelectorAll("#weglot_here:not(.weglot-container),.weglot_here:not(.weglot-container)"); if (n.length) { for (var r = 0, o = n; r < o.length; r += 1) { var a = o[r], i = To({ style: xt.button_style }); i.classList.add("weglot_here"), a.parentNode.insertBefore(i, a), _e(a) } Ro() } for (var c = 0, s = xt.switchers; c < s.length; c += 1) { var l = s[c]; if (!l.default) { var u = l.template; if (u) { if (u.name) { if (!Io(u)) { var f = window.Weglot.switchers && window.Weglot.switchers[u.name]; f && f.addSwitchers(t) } Ro() } } else Po(l, t) && Ro() } } if (!So && !Oo) { var d = xt.switchers.find((function (e) { return e.default })) || { style: xt.button_style }; No = setTimeout((function () { Oo = Po(d), Pe("switchersReady", ze()) })) } } } je("onCurrentLocationChanged", (function () { jo.forEach((function (e) { return e.parentNode && e.parentNode.removeChild(e) })), jo.splice(0), function () { for (var e = window.Weglot.switchers || {}, t = 0, n = Object.keys(e); t < n.length; t += 1)e[n[t]].removeSwitchers() }(), So = null, Oo = null, Ao = 0, xt.button_style.ready = !1, xt.switchers.map((function (e) { return e.ready = !1 })), Do() }), !0); var Wo = 0; function Uo() { var e = ["name", "value"]; xt.translate_event.forEach((function (t) { for (var n = ue(document.body, t.selector), r = function () { var n = a[o]; if (n.alreadyListeningEventInput) return !n.alreadyListeningEventInput.isConnected && Wo < 10 && (Wo++, n.parentNode.insertBefore(n.alreadyListeningEventInput, n.nextSibling)), {}; var r = n.cloneNode(!0); if (!r) return {}; r.name = "", n.alreadyListeningEventInput = r, n.parentNode.insertBefore(r, n.nextSibling), n.style.display = "none", new MutationObserver((function (t) { for (var o = 0, a = t; o < a.length; o += 1) { var i = a[o], c = n.getAttribute(i.attributeName); e.includes(i.attributeName) && r.setAttribute(i.attributeName, c) } })).observe(n, { attributes: !0 }); var i = Ee((function (e) { 13 === e.keyCode && e.target.form ? e.target.form.dispatchEvent(new Event("submit")) : gn(e.target.value, (function (e) { Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set.call(n, e); var r = t.eventName || n.getAttribute("data-wg-translate-event"), o = document.createEvent("HTMLEvents"); o.initEvent("focus", !0, !1), n.dispatchEvent(o), o.initEvent(r, !0, !1), n.dispatchEvent(o) })) }), 400); r.addEventListener("keydown", i) }, o = 0, a = n; o < a.length; o += 1) { var i = r(); if (i) return i.v } })) } try { var Ho = Element.prototype.attachShadow; Element.prototype.attachShadow = function (e) { var t = Ho.call(this, e); return Mo([this]), t } } catch (mr) { } function Mo(e) { if (xt.translate_shadow_roots) { e || (e = ue(document, xt.dynamics.map((function (e) { return e.value })).join(","))); for (var t = 0, n = e; t < n.length; t += 1) { var r = n[t]; if (r.shadowRoot && !r.shadowRoot.wgTranslated) { r.shadowRoot.wgTranslated = !0, Ko(r.shadowRoot); var o = Ft(r.shadowRoot); o.length && ($t(o), na(o)) } } } } var qo, zo = null, Fo = [], Bo = [$, "class", "id"], $o = [], Vo = []; function Go(e, t) { qo && clearTimeout(qo); for (var n = 0, r = t; n < r.length; n += 1) { var o = r[n]; 1 === o.nodeType && Fo.push(o) } Fo.length && (qo = setTimeout((function () { Do(e), Uo(), xt.subdomain && function (e) { var t = window.location.hostname; if (-1 !== [xt.host].concat(l).indexOf(t)) return; for (var n = 0, r = e; n < r.length; n += 1)for (var o = r[n], a = 0, i = ue(o, "[href]"); a < i.length; a += 1) { var c = i[a]; if (!v(c)) { var s = c.getAttribute("href"); s && s.includes("//" + xt.host) && c.setAttribute("href", s.replace(xt.host, t)) } } }(Fo), xt.proxify_iframes && xt.proxify_iframes.length && Fo.forEach((function (e) { return pn({ node: e }) })), Mo(Fo), Oe("onDynamicDetected"), Fo = [] }), 100)) } function Jo(e, t) { var n = xt.dynamics, r = Xo; t !== document ? r = function () { return !0 } : n && 0 !== n.length || (r = function () { return !1 }); try { if (nn()) return; if (e = function (e, t) { var n = [], r = e.filter((function (e) { var r = e.addedNodes, o = e.type, a = e.target; "attributes" === o && function (e) { "IMG" === e.nodeName && e.srcset && e.dataset.wgtranslated && (e.setAttribute("wgsrcset", e.srcset), e.srcset = "") }(a); var i = function (e) { do { if (e.weglot && e.weglot.setted) return e; e = e.parentElement || e.parentNode } while (e) }(a); return i ? (n.push(i), !1) : r.length ? (setTimeout((function () { return Go(a, r) })), !zo || !a || !de(a, zo)) : !Bo.includes(e.attributeName) && t(a) && ("characterData" === o || "attributes" === o) })); if (n.length) for (var o = 0, a = n; o 20 }(n) && t(n) })), a = 0, i = o; a < i.length; a += 1) { var c = i[a]; xt.ignoreDynamicFragments && !document.body.contains(c) || (c.weglot.dynamic || (c.weglot.dynamic = 0), c.weglot.dynamic++, r.push(c)) } } }, a = [], i = 0, c = e; i 1 ? u : f[0]; if (a.includes(d)) break; if (o(d), a.push(d), !n) break; for (var g = 0, _ = f; g < _.length; g += 1) { var p = _[g], h = []; "IFRAME" === p.tagName ? h = [p] : p.querySelectorAll && (h = p.querySelectorAll("iframe")); for (var m = 0; m Date.now() – 1e3 })), ta.times.length && (ta.timeout || ta.times.length >= 10)) return ta.nodes = ta.nodes.concat(e), void (ta.timeout = setTimeout((function () { return na() }), 1e3)); ta.timeout = null, ta.times.push(Date.now()); var n = ta.nodes.concat(e); return ta.nodes = [], dn(Vt(n), t, { title: !1, cdn: !0, nodes: n }).then((function (e) { return Gt(e, t, n) })) } } function ra() { var e = ge(“wg_progress”).firstElementChild, t = e.getAttribute(“aria-valuenow”), n = parseInt(t) + (4 * Math.random() + 2); n 0) for (var r = function () { var e = a[o], t = e.mutations, n = e.documentElement, r = function () { var e = t.splice(0, 100); e.length > 0 && (Jo(e, n), setTimeout(r, 0)) }; r() }, o = 0, a = $o; o < a.length; o += 1)r(); else $o = [] }() : function () { if (0 !== Vo.length) { for (var e = 0, t = Vo; e < t.length; e += 1)t[e].disconnect(); $o = [] } }(), n || o) ca(e); else if (xt.is_connect && !o && Oe("onConnectPageLoad", e), xt.force_translation) { for (var a = [], i = 0, c = r; i < c.length; i += 1) { var s = c[i]; (s.closest && s.closest(xt.force_translation) || !s.closest && s.parentNode && s.parentNode.closest && s.parentNode.closest(xt.force_translation)) && a.push(s) } na(a) } o && !o.language_button_displayed && o.allExcluded || Do(), o || (xt.remove_unused_link_hooks && function () { var e = rn(), t = xt.languages.map((function (e) { return e.custom_code || e.language_to })).filter((function (t) { return !e.includes(t) })); 1 === e.length && t.push(xt.language_from); for (var n = t.map((function (e) { return vn(e) })).join(","), r = 0, o = ue(document, n); r < o.length; r += 1)_e(o[r]) }(), Mo(), Uo(), function () { window.addEventListener("message", mn, !1); var e = xt.translate_iframes; if (e) for (var t = 0, n = ue(document.body, e); t < n.length; t += 1) { var r = n[t]; r.contentWindow && _n.push(r.contentWindow) } pn({}), Se("onPageLanguageSet", hn), "with-window-top" === me() && window.top.postMessage({ message: "Weglot.iframe" }, "*") }(), ["alert"].forEach((function (e) { var t = window[e]; window[e] = function () { var e = arguments; if ("string" == typeof arguments[0]) { var n = ze(); return xt.language_from === n ? t.apply(window, arguments) : dn([{ t: 2, w: arguments[0] }], n, { title: !1, cdn: !0 }).then((function (n) { return e[0] = n.to_words[0], t.apply(window, e) })) } } }))), Pe("initialized", e) } } function ia(e) { var t = ze(); e !== t && (xt.visual_editor ? tt(e, (function (n) { if ("#" === n) return ca(e, t); window.dispatchEvent(new CustomEvent("veLanguageChangeUrl", { detail: { targetUrl: n } })) })) : ca(e, t)) } function ca(e, t) { if (!rn().includes(e)) return fn(), void M.warn(e + " isn't a language you have added", { sendToDatadog: !1 }); xt.auto_switch && sn(e); var n = nn(); if (xt.is_connect || n || un(e), !sa(e)) { if (xt.loading_bar) var r = function () { try { var e = document.createElement("div"); return e.className = "wg-progress", e.id = "wg_progress", e.innerHTML = '

    ]]>

    ‘, document.body.appendChild(e), setInterval(ra, 100) } catch (e) { } }(); if (function (e) { var t = he(“lang”); if (t && t !== e) { var n = window.location.search.replace(“lang=” + t, “lang=” + e); try { window.history.replaceState(null, “”, window.location.pathname + n) } catch (e) { } } De = e }(e), nn()) return fn(), void oa(r); if (e === xt.language_from) return Oe(“onPageLanguageSet”, e), fn(), Gt(null, e), xt.loading_bar && oa(r), document.documentElement.setAttribute(“lang”, e), void Pe(“languageChanged”, e, t || “”); dn(Vt(), e).then((function (n) { fn(), Gt(n, e), document.documentElement.setAttribute(“lang”, e), Pe(“languageChanged”, e, t || “”), xt.loading_bar && oa(r) })).catch((function (e) { throw xt.loading_bar && oa(r), fn(), Ve().removeItem(F), e })), Oe(“onPageLanguageSet”, e) } } function sa(e) { return !(!xt.is_connect || ze() === e) && (!xt.host || xt.previewHash && window.location.hostname.includes(z) || function () { if (xt.subdirectory) return [xt.host].concat(l); return xt.languages.map((function (e) { return e.connect_host_destination && e.connect_host_destination.host })).concat([xt.host].concat(l)) }().includes(window.location.hostname) ? (tt(e, (function (e) { return window.location.replace(e) })), !0) : (me() || M.warn(‘”‘ + window.location.hostname + ‘” is not configured with Weglot. Please contact support@weglot.com’, { sendToDatadog: !1 }), !1)) } je(“initialized”, (function () { xt.translate_search && !xt.switcher_editor && function () { var e = xt.search_forms, t = xt.search_parameter; if (t) { for (var n = 0, r = ue(document, e); n < r.length; n += 1) { var o = r[n]; o.addEventListener(“submit”, (function (e) { e.preventDefault(); var n = e.target.elements[t].value; gn(n, (function (e) { Le.set(“wg-search-form”, n), o.elements[t].value = e, o.submit() })) })); var a = void 0; -1 !== window.location.search.indexOf(t + “=”) && o.elements && o.elements[t] && (a = Le.get(“wg-search-form”)) && (o.elements[t].value = a) } Le.erase(“wg-search-form”) } else M.warn(“Search parameter name required for search translation.”, { sendToDatadog: !1 }) }() }), !0); var la = !1; function ua() { window.addEventListener(“message”, ga, !1); var e = document.createElement(“meta”); e.name = “google”, e.content = “notranslate”, document.head && document.head.appendChild(e); document.documentElement && -1 === [“cms.e.jimdo.com”, “proxy.weglot.com”].indexOf(window.location.host) && document.documentElement.setAttribute(“translate”, “no”); var t = document.head.querySelector(“link[href*=weglot_shopify]”); t && document.head.removeChild(t) } function fa() { if (xt.api_key) { je(“initialized”, (function () { xt.page_views_enabled && (xt.is_connect ? tt(xt.language_from, (function (e) { return Zt(e) })) : Zt()) }), !0); try { H(document, xt) } catch (e) { M.error(e) } if (Oe(“onWeglotSetup”), !pa.initialized || window.Turbolinks) { Qo = function () { var e = rn(); if (xt.is_connect) { var t = document.documentElement.dataset.wgTranslated || (xt.subdirectory ? qe() : Me()); if (t !== xt.language_from) return t; if (xt.technology_name === J) { if (Le.get(“wg_checkout_redirect”)) return xt.language_from; var n = Le.get(“wg_checkout_language”); if (n && !xt.shopifyCheckout && !me() && e.includes(n)) return Le.erase(“wg_checkout_language”), n } var r = cn(); return t === xt.language_from && r && e.includes(r) ? r : xt.language_from } var o = he(“lang”); if (o && e.includes(o)) return la = !0, o; var a = ln(); if (a && e.includes(a)) return a; var i = cn(); if (i && e.includes(i)) return la = !0, i; return xt.language_from }(), ze(); var e = nn(); if ((ea = Qo && Qo !== xt.language_from && document.documentElement.dataset.wgTranslated !== Qo && !e && !document.documentElement.dataset.wgExcludedUrl && !xt.switcher_editor) && xt.wait_transition ? ve(“@keyframes wg{from{color:transparent;}to{color:transparent;}}body *{color:transparent!important;animation:1s linear infinite wg!important;}”, B) : fn(), xt.delayStart) return je(“start”, (function () { return da() }), !0); ke(da) } } } function da() { if (!document.querySelector(“#has-script-tags”) || document.querySelector(“#has-script-tags”) && (document.head.innerHTML.indexOf(“weglot_script_tag”) > 0 || document.documentElement.innerHTML.indexOf(“weglot_script_tag”) > 0)) try { aa(Qo, la, ea) } catch (e) { fn(), M.error(e, { consoleOverride: “There has been an error initializing, ” + e.stack }) } else fn(); Zo = !1, pa.initialized = !0 } function ga(e) { if (e.data) try { var t = JSON.parse(e.data); switch (t.message) { case “Weglot.detect”: e.source.postMessage(JSON.stringify({ message: “Weglot.ready”, data: { initialized: pa.initialized, options: xt } }), e.origin); break; case “Weglot.switchTo”: ia(t.language) } } catch (e) { } } function _a(e) { try { for (var t = null, n = 0, r = [/cdn(?:-staging)?.weglot.(?:com|us)/weglot.min.js?([^#]+)/, /cdn(?:-staging)?.weglot.(?:com|us)/weglot-switcher-editor.js?([^#]+)/, /cdn(?:-staging)?.weglot.(?:com|us)/weglot_squarespace-[0-9]+.min.js?([^#]+)/]; n < r.length; n += 1) { if (t = r[n].exec(e)) break } if (!t) return null; var o = t[1].split(“&”).map((function (e) { var t = e.split(“=”), n = t[0], r = t[1]; try { return [n, decodeURIComponent(r)] } catch (e) { return [n, r] } })).reduce((function (e, t) { var n, r = t[0], o = t[1]; return Object.assign({}, e, ((n = {})[r] = “true” === o || “false” !== o && o, n)) }), { api_key: “” }); return o.api_key ? o : null } catch (e) { console.log(e), M.warn(e) } } var pa = window.Weglot || { initialized: !1, options: xt, dynamic: “”, switchTo: ia, setup: function (e) { ua(), Zo || (Zo = !0, Ae(Lt(), “polyfillReady”, (function () { bt(e).then((function () { return fa() })).catch((function () { M.warn(“Your setup is deprecated, please save settings in your dashboard to hide this message.”, { sendToDatadog: !1 }); var t = e.api_key; e.translation_engine = t && t.length >= 36 ? 2 : 1, function (e) { try { var t = [“api_key”, “originalLanguage”, “destinationLanguages”]; if (!e || t.some((function (t) { return !e[t] }))) throw { wgErrMsg: “You have to provide at least: ” + t.join(“, “) }; Ct(vt(e)) } catch (e) { throw new Error(e && e.wgErrMsg || “Error while reading Weglot options”) } }(e), fa() })) }))) }, initialize: function (e) { ua(), Zo || (Zo = !0, Ae(Lt(), “polyfillReady”, (function () { bt(e).then((function () { return fa() })) }))) }, on: function (e, t) { return je(e, t, !1) }, off: function (e, t) { var n, r = !1, o = function (t) { return Te[t].name === e && !Te[t].internal }; n = “function” == typeof t ? function (e) { return o(e) && Te[e].callback === t } : function (e) { return o(e) }; for (var a = Te.length – 1; a >= 0; a–)n(a) && (Te.splice(a, 1), r = !0); return r }, getStoredLang: ln, getLanguageName: ao, getCurrentLang: ze, polyReady: Nt, getCache: function () { return jt }, addNodes: function (e) { var t = Ft(e); return $t(t), na(t) }, search: gn, translate: function (e, t) { void 0 === e && (e = {}); var n = e.words, r = e.languageTo; if (void 0 === r && (r = ze()), !Array.isArray(n) || “object” != typeof n[0]) { var o = “Weglot.translate: 1st arg must be an array of objects”; return M.error(o, { sendToDatadog: !1 }), t && t(null, o), Promise.reject() } return r === xt.language_from ? (t && t(n.map((function (e) { return e.w }))), Promise.resolve(n.map((function (e) { return e.w })))) : new Promise((function (e, o) { dn(n, r, { title: !1, cdn: !0 }).then((function (n) { if (!n || !n.to_words) throw n; t && t(n.to_words), e(n.to_words) })).catch((function (e) { o(e), t && t(null, e) })) })) }, getBestAvailableLanguage: an, getAvailableLanguages: rn }; return Ae(Lt(), “polyfillReady”, (function () { Ko(document); for (var e = 0, t = [document.currentScript].concat(Array.from(document.scripts)); e < t.length; e += 1) { var n = t[e], r = n && (n.src || n.getAttribute && n.getAttribute(“data-src”)); if (r) { var o = _a(r); if (o) return void pa.initialize(o) } } })), pa }();

    .weglot-container > .wg-drop > ul”).slideDown(‘fast’);
    $(‘.country-selector .closed’).toggleClass(‘wgcurrent’);
    },
    function () {
    $(“.weglotdiv .weglot-container > .wg-drop > ul”).slideUp(‘fast’);
    }
    );

    $(“.weglotnavdiv”).hover(
    function () {
    $(“.weglotnavdiv > .weglot-container > .wg-drop > ul”).slideDown(‘fast’);
    $(“.weglotnavdiv > .weglot-container > .wg-drop > ul”).css(“display”, “block”);
    },
    function () {
    $(“.weglotnavdiv > .weglot-container > .wg-drop > ul”).slideUp(‘fast’);
    }
    );
    });

    ]]>

  • View Original Article Here

    Admin

    Admin

    Related Posts

    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth
    Fashion

    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    February 9, 2026
    Italy’s Versace appoints Pieter Mulier as chief creative officer
    Fashion

    Italy’s Versace appoints Pieter Mulier as chief creative officer

    February 8, 2026
    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index
    Fashion

    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index

    February 7, 2026
    Next Post
    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment - Social Media Explorer

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    Latest Posts

    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    2 hours ago
    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    2 hours ago
    The Best New Movies You Can Watch at Home This Weekend

    The Best New Movies You Can Watch at Home This Weekend

    2 hours ago
    Mamdani Goes From a Winter Storm to a Fiscal One

    Mamdani Goes From a Winter Storm to a Fiscal One

    2 hours ago
    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    2 hours ago
    Here’s How Travis Kelce Included Taylor Swift in His Appearance at the NFL Honors Afterparty

    Here’s How Travis Kelce Included Taylor Swift in His Appearance at the NFL Honors Afterparty

    2 hours ago
    Memory of a Killer: Season One Ratings + Viewer Votes

    Memory of a Killer: Season One Ratings + Viewer Votes

    2 hours ago
    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    SailPoint CEO Mark McClain Says A Work-Life Imbalance Should Only Be Temporary

    3 hours ago
    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    Rocky Kramer’s Rock & Roll Tuesdays Presents “Valentine’s Rock” On Tuesday, February 10th, 2026 7 PM PT on Twitch

    10 hours ago
    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    Entorno Law and the Role of Public Interest Law in Protecting Communities and the Environment – Social Media Explorer

    14 hours ago

    Categories

    • Books (4,826)
    • Business (5,538)
    • CEO (4,280)
    • Cover Story (6)
    • Events (13)
    • Fashion (5,241)
    • Film (5,491)
    • Interviews (58)
    • Marketing (3,612)
    • Music (5,573)
    • News (87)
    • Politics (4,443)
    • Social Media (4,221)
    • Television (5,540)
    • Uncategorized (1)
    No Result
    View All Result
    get paid to do simple media jobs online

    Editor's Picks

    Saint Laurent retains top spot as hottest brand in Q4 2025 Lyst Index

    ‘What a Gift’: Hollywood Remembers Catherine O’Hara

    Mamdani Goes From a Winter Storm to a Fiscal One

    Quantum computing company IonQ misled investors about its dependence on backdoor earmarks, short-seller report says | Fortune

    The Test Of Our Culture

    From Photo Film Maker To Biopharma Giant

    Archives

    • February 2026
    • January 2026
    • December 2025
    • November 2025
    • October 2025
    • September 2025
    • August 2025
    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022

    Trending

    AMERICAN REICH | Kirkus Reviews
    Books

    AMERICAN REICH | Kirkus Reviews

    by Admin
    February 2, 2026

    by Chuck Klosterman ‧ RELEASE DATE: Jan. 20, 2026 A smart, rewarding consideration of football’s popularity—and eventual...

    Ditch the Alarm Clock: The “Sunrise Scene” – Social Media Explorer

    Ditch the Alarm Clock: The “Sunrise Scene” – Social Media Explorer

    February 6, 2026
    UK’s M&S unveils brand-new Bath flagship store

    UK’s M&S unveils brand-new Bath flagship store

    February 8, 2026
    BREAKING: President Trump says he’s going to sue Grammys host Trevor Noah

    BREAKING: President Trump says he’s going to sue Grammys host Trevor Noah

    February 4, 2026
    Kevin Warsh will inherit a challenge no Fed chief has faced since post-World War II | Fortune

    Kevin Warsh will inherit a challenge no Fed chief has faced since post-World War II | Fortune

    February 5, 2026

    Editors Picks

    Fashionable Celeb Outfit To Replicate This Weekend

    Fashionable Celeb Outfit To Replicate This Weekend

    May 11, 2024
    How to Live a Better Life & Leadership

    How to Live a Better Life & Leadership

    August 16, 2022
    What every marketer should watch for in 2025

    What every marketer should watch for in 2025

    December 16, 2024

    Category

    • Books (4,826)
    • Business (5,538)
    • CEO (4,280)
    • Cover Story (6)
    • Events (13)
    • Fashion (5,241)
    • Film (5,491)
    • Interviews (58)
    • Marketing (3,612)
    • Music (5,573)
    • News (87)
    • Politics (4,443)
    • Social Media (4,221)
    • Television (5,540)
    • Uncategorized (1)

    Readers Picks

    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    The Velvet Voice of the Island: The Captivating Ascent of Mary Hoover Drucker – Social Media Explorer

    February 9, 2026
    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    US’ Ralph Lauren beats Q3 expectations with 12.2% revenue growth

    February 9, 2026
    The Best New Movies You Can Watch at Home This Weekend

    The Best New Movies You Can Watch at Home This Weekend

    February 9, 2026

    © 2022 Copyright - InfluencerWorldDaily.com - All Rights Reserved

    No Result
    View All Result
    • Home
    • Business
    • Politics
    • Marketing
    • CEO
    • Fashion
    • Music
    • Film
    • Television
    • Books
    • Social Media
    • Cover Story
    • Contact
      • About

    © 2022 Copyright - InfluencerWorldDaily.com - All Rights Reserved

    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
    Cookie SettingsAccept All
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurationDescription
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    SAVE & ACCEPT