the-foxy-library 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,9 +9,9 @@ var index = require('./index-CDQIUkok.js');
9
9
  // @ts-ignore
10
10
  const w = (typeof window !== 'undefined') ? window : {};
11
11
  async function intravenousGlobalInit() {
12
+ index.setStoreDomain();
12
13
  try {
13
14
  if (!w.__IV_API_SETUP_DONE) {
14
- index.setStoreDomain();
15
15
  index.apiSetup();
16
16
  w.__IV_API_SETUP_DONE = true;
17
17
  }
@@ -35,6 +35,6 @@ async function intravenousGlobalInit() {
35
35
  const globalScripts = intravenousGlobalInit;
36
36
 
37
37
  exports.globalScripts = globalScripts;
38
- //# sourceMappingURL=app-globals-MPl5n0hu.js.map
38
+ //# sourceMappingURL=app-globals-HEVw7jxh.js.map
39
39
 
40
- //# sourceMappingURL=app-globals-MPl5n0hu.js.map
40
+ //# sourceMappingURL=app-globals-HEVw7jxh.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-globals-HEVw7jxh.js","sources":["src/global/app.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n setStoreDomain();\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["setStoreDomain","apiSetup","fetchShopifyCurrencyCode","state","appGlobalScript"],"mappings":";;;;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAAA,oBAAc,EAAE;AAChB,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAAC,cAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAMC,8BAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAAC,WAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BY,MAAC,aAAa,GAAGC;;;;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CDQIUkok.js');
4
- var appGlobals = require('./app-globals-MPl5n0hu.js');
4
+ var appGlobals = require('./app-globals-HEVw7jxh.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CDQIUkok.js');
4
- var appGlobals = require('./app-globals-MPl5n0hu.js');
4
+ var appGlobals = require('./app-globals-HEVw7jxh.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
7
7
  if (typeof window === 'undefined') return undefined;
@@ -7,9 +7,9 @@ import { state } from "../utils/store/store";
7
7
  // @ts-ignore
8
8
  const w = (typeof window !== 'undefined') ? window : {};
9
9
  export default async function intravenousGlobalInit() {
10
+ setStoreDomain();
10
11
  try {
11
12
  if (!w.__IV_API_SETUP_DONE) {
12
- setStoreDomain();
13
13
  apiSetup();
14
14
  w.__IV_API_SETUP_DONE = true;
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/global/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,4EAA4E;AAC5E,+EAA+E;AAC/E,gDAAgD;AAChD,6DAA6D;AAC7D,aAAa;AACb,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAE7D,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,qBAAqB;IACjD,IAAI,CAAC;QACH,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;YAC1B,cAAc,EAAE,CAAC;YACjB,QAAQ,EAAE,CAAC;YACX,CAAC,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAC/B,CAAC;QACD,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE,CAAC;YAC/B,IAAI,CAAC;gBACH,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE,CAAC;gBAC9C,IAAG,IAAI;oBAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YACvC,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;YACpD,CAAC;YACD,CAAC,CAAC,wBAAwB,GAAG,IAAI,CAAC;QACpC,CAAC;IACH,CAAC;IAAC,OAAM,GAAG,EAAE,CAAC;QACZ,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;AACH,CAAC","sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n setStoreDomain();\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}"]}
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/global/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,4EAA4E;AAC5E,+EAA+E;AAC/E,gDAAgD;AAChD,6DAA6D;AAC7D,aAAa;AACb,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAE7D,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,qBAAqB;IACjD,cAAc,EAAE,CAAC;IACjB,IAAI,CAAC;QACH,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;YAC1B,QAAQ,EAAE,CAAC;YACX,CAAC,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAC/B,CAAC;QACD,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE,CAAC;YAC/B,IAAI,CAAC;gBACH,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE,CAAC;gBAC9C,IAAG,IAAI;oBAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YACvC,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;YACpD,CAAC;YACD,CAAC,CAAC,wBAAwB,GAAG,IAAI,CAAC;QACpC,CAAC;IACH,CAAC;IAAC,OAAM,GAAG,EAAE,CAAC;QACZ,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;AACH,CAAC","sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n setStoreDomain();\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}"]}
@@ -8,9 +8,9 @@ export { g as getAssetPath, r as render, c as setAssetPath, d as setNonce, e as
8
8
  // @ts-ignore
9
9
  const w = (typeof window !== 'undefined') ? window : {};
10
10
  async function intravenousGlobalInit() {
11
+ setStoreDomain();
11
12
  try {
12
13
  if (!w.__IV_API_SETUP_DONE) {
13
- setStoreDomain();
14
14
  apiSetup();
15
15
  w.__IV_API_SETUP_DONE = true;
16
16
  }
@@ -1 +1 @@
1
- {"file":"index.js","mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAA,cAAc,EAAE;AAChB,YAAA,QAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAA,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BO,MAAM,aAAa,GAAGA,qBAAe;;SCD5B,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa,EAAA;AACnE,IAAA,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAI,CAAA,EAAA,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,CAAI,CAAA,EAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF;;;;;;","names":["appGlobalScript"],"sources":["src/global/app.ts","@stencil/core/internal/app-globals","src/utils/utils.ts"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n setStoreDomain();\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n","export function format(first?: string, middle?: string, last?: string): string {\r\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\r\n};"],"version":3}
1
+ {"file":"index.js","mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,cAAc,EAAE;AAChB,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAA,QAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAA,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BO,MAAM,aAAa,GAAGA,qBAAe;;SCD5B,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa,EAAA;AACnE,IAAA,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAI,CAAA,EAAA,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,CAAI,CAAA,EAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF;;;;;;","names":["appGlobalScript"],"sources":["src/global/app.ts","@stencil/core/internal/app-globals","src/utils/utils.ts"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n setStoreDomain();\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n","export function format(first?: string, middle?: string, last?: string): string {\r\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\r\n};"],"version":3}
@@ -7,9 +7,9 @@ import { a as setStoreDomain, c as apiSetup, f as fetchShopifyCurrencyCode, d as
7
7
  // @ts-ignore
8
8
  const w = (typeof window !== 'undefined') ? window : {};
9
9
  async function intravenousGlobalInit() {
10
+ setStoreDomain();
10
11
  try {
11
12
  if (!w.__IV_API_SETUP_DONE) {
12
- setStoreDomain();
13
13
  apiSetup();
14
14
  w.__IV_API_SETUP_DONE = true;
15
15
  }
@@ -33,6 +33,6 @@ async function intravenousGlobalInit() {
33
33
  const globalScripts = intravenousGlobalInit;
34
34
 
35
35
  export { globalScripts as g };
36
- //# sourceMappingURL=app-globals-B9on9Ml0.js.map
36
+ //# sourceMappingURL=app-globals-BHtvIcqG.js.map
37
37
 
38
- //# sourceMappingURL=app-globals-B9on9Ml0.js.map
38
+ //# sourceMappingURL=app-globals-BHtvIcqG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-globals-BHtvIcqG.js","sources":["src/global/app.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n setStoreDomain();\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["appGlobalScript"],"mappings":";;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,cAAc,EAAE;AAChB,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAA,QAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAA,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BY,MAAC,aAAa,GAAGA;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-unzQs7uG.js';
2
2
  export { s as setNonce } from './index-unzQs7uG.js';
3
- import { g as globalScripts } from './app-globals-B9on9Ml0.js';
3
+ import { g as globalScripts } from './app-globals-BHtvIcqG.js';
4
4
 
5
5
  /*
6
6
  Stencil Client Patch Browser v4.38.0 | MIT Licensed | https://stenciljs.com
@@ -1,6 +1,6 @@
1
1
  import { b as bootstrapLazy } from './index-unzQs7uG.js';
2
2
  export { s as setNonce } from './index-unzQs7uG.js';
3
- import { g as globalScripts } from './app-globals-B9on9Ml0.js';
3
+ import { g as globalScripts } from './app-globals-BHtvIcqG.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
@@ -1,2 +1,2 @@
1
- import{p as e,b as t}from"./p-unzQs7uG.js";export{s as setNonce}from"./p-unzQs7uG.js";import{g as a}from"./p-zdaLPMim.js";var i=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};i().then((async e=>{await a();return t([["p-f83d6d70",[[256,"iv-dynamic-products",{type:[1],limit:[2],reversed:[4],componenttitle:[1],titletag:[1],collectionhandle:[1],carousel:[4],requestedfields:[1],calltoaction:[4],buttontext:[1],addtocarttext:[1],emptystring:[1],gridlayout:[1],cachettl:[2],stale:[4],products:[32],errorMsg:[32],staleData:[32]},null,{type:["handlePropChange"],limit:["handlePropChange"],collectionhandle:["handlePropChange"],requestedfields:["handlePropChange"]}]]],["p-d4078a2b",[[256,"iv-suggest",{topqueries:[1],collections:[1],products:[1],banner:[1],bannerurl:[1],bannertitle:[1],bannertitletag:[1],bannerbuttontext:[1],topquerytitle:[1],productstitle:[1],collectionstitle:[1],gridlayout:[1],requestfields:[1]}]]],["p-a07cd9a5",[[256,"iv-dynamic-products-carousel",{type:[1],limit:[2],reversed:[4],componenttitle:[1],titletag:[1],collectionhandle:[1],requestedfields:[1],calltoaction:[4],buttontext:[1],addtocarttext:[1],emptystring:[1],cachettl:[2],stale:[4],excluse:[1],products:[32],errorMsg:[32],staleData:[32],page:[32]},null,{type:["handlePropChange"],limit:["handlePropChange"],collectionhandle:["handlePropChange"],requestedfields:["handlePropChange"]}]]],["p-184153bc",[[256,"iv-predictive-search",{searchlabel:[1],labelposition:[1],action:[1],method:[1],placeholder:[1],minchars:[2],debounce:[2],resultslimit:[2],showspinner:[4],noresultstext:[1],requestedfields:[1],requestedresources:[1],showallbuttontext:[1],querybuttontext:[1],clearbutton:[1],expandable:[4],tablayout:[1],gridlayout:[1],searchTerm:[32],searchReturnData:[32],noResults:[32]}]]],["p-39df9f36",[[256,"iv-recently-viewed",{componenttitle:[1],titletag:[1],numbertoshow:[2],noviewhistory:[1],requestedfields:[1],items:[32]}]]],["p-cd4293ed",[[260,"iv-shop-the-look",{behaviour:[1],coordinates:[1],producthandles:[1]}]]],["p-40ddb642",[[256,"iv-toast-container",{_bump:[32]}]]],["p-e040daf6",[[256,"iv-wishlist",{buttonaddvalue:[1],buttonremovevalue:[1],wishlistempty:[1],buttonaddtocartvalue:[1],viewwishlistvalue:[1],productdata:[1],usefields:[1],previewtype:[1]}]]],["p-22892969",[[257,"iv-carousel"]]],["p-7d31a457",[[256,"iv-compare-product"]]],["p-20260729",[[256,"iv-filters"]]],["p-eb472ab8",[[257,"iv-product-upsell"]]],["p-c7c03f29",[[260,"sw-in-grid-content"]]],["p-1e572996",[[260,"sw-size-guide",{sizeUnits:[32]}]]],["p-fee9ee91",[[260,"iv-banner",{classmodifier:[1],bannerurl:[1],bannerbuttontext:[1],bannertype:[1]}]]],["p-a089e5b7",[[256,"iv-product-pin",{pinProduct:[1,"pin-product"],pinKey:[2,"pin-key"],pinCords:[16],pinBehaviour:[1,"pin-behaviour"]}]]],["p-7935be65",[[260,"iv-tabs",{labels:[16],classModifier:[1,"class-modifier"],tabLayout:[1,"tab-layout"],activeTab:[32]}]]],["p-cec9c4d3",[[256,"iv-toast",{message:[1],toastId:[2,"toast-id"],duration:[2],type:[1]}]]],["p-c3174335",[[260,"iv-modal",{newsletterpopuptrigger:[1],newsletterpopuptimedelay:[2],newsletterpopuptitle:[1],newsletterpopuptext:[1],newsletterpopupimage:[1],newsletterpopupdisclaimer:[1],modalState:[32],contentName:[32]},[[4,"openModal","handleOpenModal"]]],[260,"iv-sidebar",{newsletterpopuptrigger:[1],newsletterpopuptimedelay:[2],newsletterpopuptitle:[1],newsletterpopuptext:[1],newsletterpopupimage:[1],newsletterpopupdisclaimer:[1],sidebarState:[32],contentName:[32]},[[4,"openSidebar","handleopenSidebar"]]],[260,"iv-accordion",{labels:[1],allowmultiple:[4],startopen:[4],dropdownicon:[1],openPanels:[32]}],[256,"iv-link-list",{linktype:[1],showicons:[4],links:[1],layout:[1]}],[256,"iv-newsletter",{formsubmitbtntext:[1],formsuccessmessage:[1],formfailuremessage:[1],formplaceholdertext:[1],formlabeltext:[1],formstackbutton:[4],formtitletag:[1],formtitletext:[1],formdescriptiontext:[1],includeloadingspinner:[4],email:[32],formFeedback:[32],status:[32]}],[260,"iv-event-button",{eventname:[1],eventdetail:[8],buttontext:[1]}],[260,"iv-footer",{gridtemplateareas:[1],blockElements:[32]}],[260,"iv-two-col-media",{mobilebehaviour:[1],whichcolumn:[1],stackorder:[1],verticalalign:[1],horizontalalign:[1],gap:[1],hasMediaCol1:[32],hasMediaCol2:[32]}],[256,"iv-wishlist-view"],[257,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},null,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}],[256,"iv-spinner",{show:[4]}],[260,"iv-button",{type:[1],classmodifier:[1],eventname:[1],eventdetail:[1],buttonClick:[16]}]]],["p-9208edd1",[[256,"iv-card",{data:[16],fields:[1],cardtype:[1],classmodifier:[1],buttontext:[1],calltoaction:[4],addtocarttext:[1]}],[260,"iv-layout",{sectionId:[1,"section-id"],gridTemplateAreas:[1,"grid-template-areas"],gap:[1],verticalAlign:[1,"vertical-align"],horizontalAlign:[1,"horizontal-align"],wrapperTag:[1,"wrapper-tag"],classModifier:[1,"class-modifier"]}],[260,"iv-link",{classmodifier:[1],linktype:[1],linkhref:[1],linktarget:[1],linkrel:[1],linkariaLabel:[1,"linkaria-label"]}]]]],e)}));
1
+ import{p as e,b as t}from"./p-unzQs7uG.js";export{s as setNonce}from"./p-unzQs7uG.js";import{g as a}from"./p-p69WC7Mr.js";var i=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};i().then((async e=>{await a();return t([["p-f83d6d70",[[256,"iv-dynamic-products",{type:[1],limit:[2],reversed:[4],componenttitle:[1],titletag:[1],collectionhandle:[1],carousel:[4],requestedfields:[1],calltoaction:[4],buttontext:[1],addtocarttext:[1],emptystring:[1],gridlayout:[1],cachettl:[2],stale:[4],products:[32],errorMsg:[32],staleData:[32]},null,{type:["handlePropChange"],limit:["handlePropChange"],collectionhandle:["handlePropChange"],requestedfields:["handlePropChange"]}]]],["p-d4078a2b",[[256,"iv-suggest",{topqueries:[1],collections:[1],products:[1],banner:[1],bannerurl:[1],bannertitle:[1],bannertitletag:[1],bannerbuttontext:[1],topquerytitle:[1],productstitle:[1],collectionstitle:[1],gridlayout:[1],requestfields:[1]}]]],["p-a07cd9a5",[[256,"iv-dynamic-products-carousel",{type:[1],limit:[2],reversed:[4],componenttitle:[1],titletag:[1],collectionhandle:[1],requestedfields:[1],calltoaction:[4],buttontext:[1],addtocarttext:[1],emptystring:[1],cachettl:[2],stale:[4],excluse:[1],products:[32],errorMsg:[32],staleData:[32],page:[32]},null,{type:["handlePropChange"],limit:["handlePropChange"],collectionhandle:["handlePropChange"],requestedfields:["handlePropChange"]}]]],["p-184153bc",[[256,"iv-predictive-search",{searchlabel:[1],labelposition:[1],action:[1],method:[1],placeholder:[1],minchars:[2],debounce:[2],resultslimit:[2],showspinner:[4],noresultstext:[1],requestedfields:[1],requestedresources:[1],showallbuttontext:[1],querybuttontext:[1],clearbutton:[1],expandable:[4],tablayout:[1],gridlayout:[1],searchTerm:[32],searchReturnData:[32],noResults:[32]}]]],["p-39df9f36",[[256,"iv-recently-viewed",{componenttitle:[1],titletag:[1],numbertoshow:[2],noviewhistory:[1],requestedfields:[1],items:[32]}]]],["p-cd4293ed",[[260,"iv-shop-the-look",{behaviour:[1],coordinates:[1],producthandles:[1]}]]],["p-40ddb642",[[256,"iv-toast-container",{_bump:[32]}]]],["p-e040daf6",[[256,"iv-wishlist",{buttonaddvalue:[1],buttonremovevalue:[1],wishlistempty:[1],buttonaddtocartvalue:[1],viewwishlistvalue:[1],productdata:[1],usefields:[1],previewtype:[1]}]]],["p-22892969",[[257,"iv-carousel"]]],["p-7d31a457",[[256,"iv-compare-product"]]],["p-20260729",[[256,"iv-filters"]]],["p-eb472ab8",[[257,"iv-product-upsell"]]],["p-c7c03f29",[[260,"sw-in-grid-content"]]],["p-1e572996",[[260,"sw-size-guide",{sizeUnits:[32]}]]],["p-fee9ee91",[[260,"iv-banner",{classmodifier:[1],bannerurl:[1],bannerbuttontext:[1],bannertype:[1]}]]],["p-a089e5b7",[[256,"iv-product-pin",{pinProduct:[1,"pin-product"],pinKey:[2,"pin-key"],pinCords:[16],pinBehaviour:[1,"pin-behaviour"]}]]],["p-7935be65",[[260,"iv-tabs",{labels:[16],classModifier:[1,"class-modifier"],tabLayout:[1,"tab-layout"],activeTab:[32]}]]],["p-cec9c4d3",[[256,"iv-toast",{message:[1],toastId:[2,"toast-id"],duration:[2],type:[1]}]]],["p-c3174335",[[260,"iv-modal",{newsletterpopuptrigger:[1],newsletterpopuptimedelay:[2],newsletterpopuptitle:[1],newsletterpopuptext:[1],newsletterpopupimage:[1],newsletterpopupdisclaimer:[1],modalState:[32],contentName:[32]},[[4,"openModal","handleOpenModal"]]],[260,"iv-sidebar",{newsletterpopuptrigger:[1],newsletterpopuptimedelay:[2],newsletterpopuptitle:[1],newsletterpopuptext:[1],newsletterpopupimage:[1],newsletterpopupdisclaimer:[1],sidebarState:[32],contentName:[32]},[[4,"openSidebar","handleopenSidebar"]]],[260,"iv-accordion",{labels:[1],allowmultiple:[4],startopen:[4],dropdownicon:[1],openPanels:[32]}],[256,"iv-link-list",{linktype:[1],showicons:[4],links:[1],layout:[1]}],[256,"iv-newsletter",{formsubmitbtntext:[1],formsuccessmessage:[1],formfailuremessage:[1],formplaceholdertext:[1],formlabeltext:[1],formstackbutton:[4],formtitletag:[1],formtitletext:[1],formdescriptiontext:[1],includeloadingspinner:[4],email:[32],formFeedback:[32],status:[32]}],[260,"iv-event-button",{eventname:[1],eventdetail:[8],buttontext:[1]}],[260,"iv-footer",{gridtemplateareas:[1],blockElements:[32]}],[260,"iv-two-col-media",{mobilebehaviour:[1],whichcolumn:[1],stackorder:[1],verticalalign:[1],horizontalalign:[1],gap:[1],hasMediaCol1:[32],hasMediaCol2:[32]}],[256,"iv-wishlist-view"],[257,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},null,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}],[256,"iv-spinner",{show:[4]}],[260,"iv-button",{type:[1],classmodifier:[1],eventname:[1],eventdetail:[1],buttonClick:[16]}]]],["p-9208edd1",[[256,"iv-card",{data:[16],fields:[1],cardtype:[1],classmodifier:[1],buttontext:[1],calltoaction:[4],addtocarttext:[1]}],[260,"iv-layout",{sectionId:[1,"section-id"],gridTemplateAreas:[1,"grid-template-areas"],gap:[1],verticalAlign:[1,"vertical-align"],horizontalAlign:[1,"horizontal-align"],wrapperTag:[1,"wrapper-tag"],classModifier:[1,"class-modifier"]}],[260,"iv-link",{classmodifier:[1],linktype:[1],linkhref:[1],linktarget:[1],linkrel:[1],linkariaLabel:[1,"linkaria-label"]}]]]],e)}));
2
2
  //# sourceMappingURL=intravenous.esm.js.map
@@ -1,2 +1,2 @@
1
- import{a as t,c,f as n,d as o}from"./p-unzQs7uG.js";const s=typeof window!=="undefined"?window:{};async function a(){try{if(!s.__IV_API_SETUP_DONE){t();c();s.__IV_API_SETUP_DONE=true}if(!s.__IV_CURRENCY_FETCH_DONE){try{const t=await n();if(t)o.setCurrencyCode(t)}catch(t){console.debug("[IV] currency fetch skipped",t)}s.__IV_CURRENCY_FETCH_DONE=true}}catch(t){console.error("[IV] Global init failed",t)}}const i=a;export{i as g};
2
- //# sourceMappingURL=p-zdaLPMim.js.map
1
+ import{a as t,c,f as n,d as o}from"./p-unzQs7uG.js";const s=typeof window!=="undefined"?window:{};async function a(){t();try{if(!s.__IV_API_SETUP_DONE){c();s.__IV_API_SETUP_DONE=true}if(!s.__IV_CURRENCY_FETCH_DONE){try{const t=await n();if(t)o.setCurrencyCode(t)}catch(t){console.debug("[IV] currency fetch skipped",t)}s.__IV_CURRENCY_FETCH_DONE=true}}catch(t){console.error("[IV] Global init failed",t)}}const i=a;export{i as g};
2
+ //# sourceMappingURL=p-p69WC7Mr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-p69WC7Mr.js","sources":["src/global/app.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n setStoreDomain();\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["appGlobalScript"],"mappings":";;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,cAAc,EAAE;AAChB,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAA,QAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAA,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BY,MAAC,aAAa,GAAGA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "the-foxy-library",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "A ui library designed for Shopify themes.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-globals-MPl5n0hu.js","sources":["src/global/app.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n setStoreDomain();\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["setStoreDomain","apiSetup","fetchShopifyCurrencyCode","state","appGlobalScript"],"mappings":";;;;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAAA,oBAAc,EAAE;AAChB,YAAAC,cAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAMC,8BAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAAC,WAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BY,MAAC,aAAa,GAAGC;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-globals-B9on9Ml0.js","sources":["src/global/app.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n setStoreDomain();\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["appGlobalScript"],"mappings":";;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAA,cAAc,EAAE;AAChB,YAAA,QAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAA,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BY,MAAC,aAAa,GAAGA;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"p-zdaLPMim.js","sources":["src/global/app.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { apiSetup, setStoreDomain, fetchShopifyCurrencyCode } from '../utils/config/factory';\r\nimport { state } from '../utils/store/store';\r\n\r\n// Idempotent global init (prevents double execution if script loaded twice)\r\n// Also resolves Stencil v update expecting a default export from globalScript.\r\n// Flags kept minimal to avoid polluting window.\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nconst w: any = (typeof window !== 'undefined') ? window : {};\r\n\r\nexport default async function intravenousGlobalInit() {\r\n try {\r\n if(!w.__IV_API_SETUP_DONE) {\r\n setStoreDomain();\r\n apiSetup();\r\n w.__IV_API_SETUP_DONE = true;\r\n }\r\n if(!w.__IV_CURRENCY_FETCH_DONE) {\r\n try {\r\n const code = await fetchShopifyCurrencyCode();\r\n if(code) state.setCurrencyCode(code);\r\n } catch (err) {\r\n console.debug('[IV] currency fetch skipped', err);\r\n }\r\n w.__IV_CURRENCY_FETCH_DONE = true;\r\n }\r\n } catch(err) {\r\n console.error('[IV] Global init failed', err);\r\n }\r\n}","import appGlobalScript from 'C:/Users/BeauBuxton/OneDrive - Herd Agency Limited/Documents/junk/The-Foxy-Library/src/global/app.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["appGlobalScript"],"mappings":";;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,CAAC,GAAQ,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,GAAG,EAAE;AAE7C,eAAe,qBAAqB,GAAA;AACjD,IAAA,IAAI;AACF,QAAA,IAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE;AACzB,YAAA,cAAc,EAAE;AAChB,YAAA,QAAQ,EAAE;AACV,YAAA,CAAC,CAAC,mBAAmB,GAAG,IAAI;;AAE9B,QAAA,IAAG,CAAC,CAAC,CAAC,wBAAwB,EAAE;AAC9B,YAAA,IAAI;AACF,gBAAA,MAAM,IAAI,GAAG,MAAM,wBAAwB,EAAE;AAC7C,gBAAA,IAAG,IAAI;AAAE,oBAAA,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC;;YACpC,OAAO,GAAG,EAAE;AACZ,gBAAA,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC;;AAEnD,YAAA,CAAC,CAAC,wBAAwB,GAAG,IAAI;;;IAEnC,OAAM,GAAG,EAAE;AACX,QAAA,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC;;AAEjD;;AC5BY,MAAC,aAAa,GAAGA;;;;"}