@teleporthq/teleport-shared 0.43.65 → 0.43.67

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.
Files changed (41) hide show
  1. package/__tests__/utils/order-line-tax.ts +302 -0
  2. package/__tests__/utils/regional-pricing.ts +1056 -0
  3. package/dist/cjs/index.d.ts +2 -1
  4. package/dist/cjs/index.d.ts.map +1 -1
  5. package/dist/cjs/index.js +3 -1
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  8. package/dist/cjs/utils/regional-pricing.d.ts +46 -0
  9. package/dist/cjs/utils/regional-pricing.d.ts.map +1 -0
  10. package/dist/cjs/utils/regional-pricing.js +50 -0
  11. package/dist/cjs/utils/regional-pricing.js.map +1 -0
  12. package/dist/cjs/utils/storefront-tax.d.ts +17 -0
  13. package/dist/cjs/utils/storefront-tax.d.ts.map +1 -1
  14. package/dist/cjs/utils/storefront-tax.js +19 -1
  15. package/dist/cjs/utils/storefront-tax.js.map +1 -1
  16. package/dist/cjs/utils/string-utils.d.ts +8 -0
  17. package/dist/cjs/utils/string-utils.d.ts.map +1 -1
  18. package/dist/cjs/utils/string-utils.js +14 -1
  19. package/dist/cjs/utils/string-utils.js.map +1 -1
  20. package/dist/esm/index.d.ts +2 -1
  21. package/dist/esm/index.d.ts.map +1 -1
  22. package/dist/esm/index.js +2 -1
  23. package/dist/esm/index.js.map +1 -1
  24. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  25. package/dist/esm/utils/regional-pricing.d.ts +46 -0
  26. package/dist/esm/utils/regional-pricing.d.ts.map +1 -0
  27. package/dist/esm/utils/regional-pricing.js +46 -0
  28. package/dist/esm/utils/regional-pricing.js.map +1 -0
  29. package/dist/esm/utils/storefront-tax.d.ts +17 -0
  30. package/dist/esm/utils/storefront-tax.d.ts.map +1 -1
  31. package/dist/esm/utils/storefront-tax.js +17 -0
  32. package/dist/esm/utils/storefront-tax.js.map +1 -1
  33. package/dist/esm/utils/string-utils.d.ts +8 -0
  34. package/dist/esm/utils/string-utils.d.ts.map +1 -1
  35. package/dist/esm/utils/string-utils.js +12 -0
  36. package/dist/esm/utils/string-utils.js.map +1 -1
  37. package/package.json +3 -3
  38. package/src/index.ts +2 -0
  39. package/src/utils/regional-pricing.ts +597 -0
  40. package/src/utils/storefront-tax.ts +81 -0
  41. package/src/utils/string-utils.ts +12 -0
@@ -14,11 +14,12 @@ import * as StyleDeclarations from './utils/style-declarations';
14
14
  import * as StorefrontTax from './utils/storefront-tax';
15
15
  import * as ProductDiscounts from './utils/product-discounts';
16
16
  import * as ProductRatings from './utils/product-ratings';
17
+ import * as RegionalPricing from './utils/regional-pricing';
17
18
  import * as FontPreconnect from './utils/font-preconnect';
18
19
  import * as EmailDate from './utils/email-date';
19
20
  import * as RichTextEmbeds from './utils/rich-text-embeds';
20
21
  import * as RichTextEmbedsCodegen from './utils/rich-text-embeds-codegen';
21
22
  import * as DataCache from './cache';
22
23
  import * as PageRevalidate from './page-revalidate';
23
- export { Constants, StringUtils, UIDLUtils, GenericUtils, LocalImports, JSIdentifiers, ASTScope, ASTStatementOrder, ASTEffectCleanup, RoutePaths, LayoutTopology, HtmlContentModel, StyleDeclarations, StorefrontTax, ProductDiscounts, ProductRatings, FontPreconnect, EmailDate, RichTextEmbeds, RichTextEmbedsCodegen, DataCache, PageRevalidate, };
24
+ export { Constants, StringUtils, UIDLUtils, GenericUtils, LocalImports, JSIdentifiers, ASTScope, ASTStatementOrder, ASTEffectCleanup, RoutePaths, LayoutTopology, HtmlContentModel, StyleDeclarations, StorefrontTax, ProductDiscounts, ProductRatings, RegionalPricing, FontPreconnect, EmailDate, RichTextEmbeds, RichTextEmbedsCodegen, DataCache, PageRevalidate, };
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,a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,EACR,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,EACd,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,cAAc,GACf,CAAA"}
package/dist/cjs/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.PageRevalidate = exports.DataCache = exports.RichTextEmbedsCodegen = exports.RichTextEmbeds = exports.EmailDate = exports.FontPreconnect = exports.ProductRatings = exports.ProductDiscounts = exports.StorefrontTax = exports.StyleDeclarations = exports.HtmlContentModel = exports.LayoutTopology = exports.RoutePaths = exports.ASTEffectCleanup = exports.ASTStatementOrder = exports.ASTScope = exports.JSIdentifiers = exports.LocalImports = exports.GenericUtils = exports.UIDLUtils = exports.StringUtils = exports.Constants = void 0;
26
+ exports.PageRevalidate = exports.DataCache = exports.RichTextEmbedsCodegen = exports.RichTextEmbeds = exports.EmailDate = exports.FontPreconnect = exports.RegionalPricing = exports.ProductRatings = exports.ProductDiscounts = exports.StorefrontTax = exports.StyleDeclarations = exports.HtmlContentModel = exports.LayoutTopology = exports.RoutePaths = exports.ASTEffectCleanup = exports.ASTStatementOrder = exports.ASTScope = exports.JSIdentifiers = exports.LocalImports = exports.GenericUtils = exports.UIDLUtils = exports.StringUtils = exports.Constants = void 0;
27
27
  var Constants = __importStar(require("./constants"));
28
28
  exports.Constants = Constants;
29
29
  var StringUtils = __importStar(require("./utils/string-utils"));
@@ -56,6 +56,8 @@ var ProductDiscounts = __importStar(require("./utils/product-discounts"));
56
56
  exports.ProductDiscounts = ProductDiscounts;
57
57
  var ProductRatings = __importStar(require("./utils/product-ratings"));
58
58
  exports.ProductRatings = ProductRatings;
59
+ var RegionalPricing = __importStar(require("./utils/regional-pricing"));
60
+ exports.RegionalPricing = RegionalPricing;
59
61
  var FontPreconnect = __importStar(require("./utils/font-preconnect"));
60
62
  exports.FontPreconnect = FontPreconnect;
61
63
  var EmailDate = __importStar(require("./utils/email-date"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAwC;AAwBtC,8BAAS;AAvBX,gEAAmD;AAwBjD,kCAAW;AAvBb,4DAA+C;AAwB7C,8BAAS;AAvBX,4DAA+C;AAwB7C,oCAAY;AAvBd,kEAAqD;AAwBnD,oCAAY;AAvBd,oEAAuD;AAwBrD,sCAAa;AAvBf,0DAA6C;AAwB3C,4BAAQ;AAvBV,6EAAgE;AAwB9D,8CAAiB;AAvBnB,2EAA8D;AAwB5D,4CAAgB;AAvBlB,8DAAiD;AAwB/C,gCAAU;AAvBZ,sEAAyD;AAwBvD,wCAAc;AAvBhB,2EAA8D;AAwB5D,4CAAgB;AAvBlB,4EAA+D;AAwB7D,8CAAiB;AAvBnB,oEAAuD;AAwBrD,sCAAa;AAvBf,0EAA6D;AAwB3D,4CAAgB;AAvBlB,sEAAyD;AAwBvD,wCAAc;AAvBhB,sEAAyD;AAwBvD,wCAAc;AAvBhB,4DAA+C;AAwB7C,8BAAS;AAvBX,uEAA0D;AAwBxD,wCAAc;AAvBhB,sFAAyE;AAwBvE,sDAAqB;AAvBvB,iDAAoC;AAwBlC,8BAAS;AAvBX,gEAAmD;AAwBjD,wCAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAwC;AAyBtC,8BAAS;AAxBX,gEAAmD;AAyBjD,kCAAW;AAxBb,4DAA+C;AAyB7C,8BAAS;AAxBX,4DAA+C;AAyB7C,oCAAY;AAxBd,kEAAqD;AAyBnD,oCAAY;AAxBd,oEAAuD;AAyBrD,sCAAa;AAxBf,0DAA6C;AAyB3C,4BAAQ;AAxBV,6EAAgE;AAyB9D,8CAAiB;AAxBnB,2EAA8D;AAyB5D,4CAAgB;AAxBlB,8DAAiD;AAyB/C,gCAAU;AAxBZ,sEAAyD;AAyBvD,wCAAc;AAxBhB,2EAA8D;AAyB5D,4CAAgB;AAxBlB,4EAA+D;AAyB7D,8CAAiB;AAxBnB,oEAAuD;AAyBrD,sCAAa;AAxBf,0EAA6D;AAyB3D,4CAAgB;AAxBlB,sEAAyD;AAyBvD,wCAAc;AAxBhB,wEAA2D;AAyBzD,0CAAe;AAxBjB,sEAAyD;AAyBvD,wCAAc;AAxBhB,4DAA+C;AAyB7C,8BAAS;AAxBX,uEAA0D;AAyBxD,wCAAc;AAxBhB,sFAAyE;AAyBvE,sDAAqB;AAxBvB,iDAAoC;AAyBlC,8BAAS;AAxBX,gEAAmD;AAyBjD,wCAAc"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../src/constants/index.ts","../../src/utils/js-identifiers.ts","../../src/utils/string-utils.ts","../../src/utils/uidl-utils.ts","../../src/utils/generic.ts","../../src/utils/local-imports.ts","../../src/utils/ast-scope.ts","../../src/utils/ast-statement-order.ts","../../src/utils/ast-effect-cleanup.ts","../../src/utils/route-paths.ts","../../src/utils/layout-topology.ts","../../src/utils/html-content-model.ts","../../src/utils/style-declarations.ts","../../src/utils/storefront-tax.ts","../../src/utils/product-discounts.ts","../../src/utils/product-ratings.ts","../../src/utils/font-preconnect.ts","../../src/utils/email-date.ts","../../src/utils/rich-text-embeds.ts","../../src/utils/rich-text-embeds-codegen.ts","../../src/cache/constants.ts","../../src/cache/client-runtime.ts","../../src/cache/server-runtime.ts","../../src/cache/version-store.ts","../../src/cache/api-routes.ts","../../src/cache/index.ts","../../src/page-revalidate/constants.ts","../../src/page-revalidate/api-route.ts","../../src/page-revalidate/index.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","80850057e181026aa184aaada9bf97ea250fd0dbedfbca8e4f3516645a0e0790","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","1adf52df4f197a19525caa1722d6bfd30a883dba759598a24d75c4239c84619f","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"11650c5bddaa406f3d38215ee50e9b7ef974a4cd547c232d318e440ec9765b6b","signature":"950376ec316f431002898dc46c9e712d4df602735e79710032f82ff7cb0ff639"},{"version":"a3a7229dea45fec3b66fb3db95ea86b6f79456d53b01124be574234b855e7f33","signature":"9ea2bd139a31e4bcccbaaf18a67b1ffce16768d35396263d271deb29da1d6f3d"},{"version":"c24f079ec435435dcfa36db980f1da9fa965af8458308a1e4a635d33ad1f8a93","signature":"5fe9ca7b6dc98850f1b426855662f868e86c375e86c7f5486ad4692bc2572fde"},{"version":"8a2a94472cdd6a36100128806588f6e7df23e28f062cdc346b8201af7b7317da","signature":"ffebee2a958508484af19fffc046c9c69ae120bdfd7b452f143219e05e97c20b"},{"version":"d36d38e7840bb5eb64570d6a75b4cda6b30f810ff28e788eabbe20f2ca6ec20d","signature":"def6a19b93529e8c08bb970740d56ecfce4d17a3c495a49761636087f6c80c4a"},{"version":"6cd90a046b174d27446a3682bdfdf31b56f0f566796d0345395d3a409dd9284c","signature":"dfda7fae8dc2ce6b5f728ccdf83f252923d50f47cb9535b18e34bc0d34c5a985"},{"version":"d5d7bef99b9b58cb67c8a18f1a1a1a74ad36e707226181dc5306f5fd56875bdf","signature":"b290a1d459a7028ae36165b73a69a4877c73f4dd72af733964b55110882c3216"},{"version":"bf4571325f6084257e36752366f3c2196c4d1489a46e53854fab86f76f700189","signature":"3816fd253a52b0f8dedd04c55eb2d77d0aa4f1c92707fb50cf14a5d1aa3869dd"},{"version":"19c4db2864f00fb2a76efa2f7d8dcf04a2b5a05742e96781166571c6d2250320","signature":"a36f3d868428938cd620deb11cd0747f31fab1c490d54224e99ac8ea6a270220"},{"version":"3805506eba293e77c14ddcbff35b0aa053b4de13137abc9ebed48ce8dca1fe49","signature":"d487aeebf39008a9b79a9c44a4943bfac9131afe5bb67f6f91319c91f0b74d2b"},{"version":"ec521fde10cc9bbb583b13eb7d9f426c715290c9766554e331040bbc208b688e","signature":"d00b4720674bd31c264f1add708dfeedcb80432a76541c91e38f867b434e0331"},{"version":"3385231c8904b943ead6ae26402c71c270c801a1a04dcf711b37d1fc8b1949c6","signature":"448d42608cb5eab83dc8fff0baac2cea61c5bfa654bc4c18b7640c61b4a8a72f"},{"version":"b4a28d604c143417486a5f5edc69c76ad8c7675d2fb453d1cf47d69831400e04","signature":"0dd5553c80b72c9796c41a5cbea3b2d5ad430651569efceaf08b982ccf4a2f5e"},{"version":"85db6d2b55c2d9802a66ecb6ecf1f41889f38e7075d4b77efc3aeeb83608c9f8","signature":"29fed62b94aa759c78d2ade5cf35805b6c4a287c457f92b874bc72a0cb0238ae"},{"version":"402224f379e89fda21400c1e98701843fdde8746bed0fa5b8f8a837ca3a4d224","signature":"e6104a2be1332eb0de3fed325b86aab795be0f618407652cc90f24daacd74a11"},{"version":"a5152661651e56d7de6157afbe27b1ce3715b3d9409953a9e297ab12023b6aff","signature":"ea13b757647c1a972e5e2c8fe2d1127c7964a2a304d41b28f611024faba50836"},{"version":"07ef3048fe039893ec7001370abfb9725fd76dbade6ed3a0c6596f402e352df3","signature":"4e1c5b37b16c856d27e2ad000ecc24644d868a279e2c6910d56b9d5a81da2fe6"},{"version":"ecb1d950b0a0ab1d0fde6552253857281e515dfd00e7f894669c275ad4ae4436","signature":"0ad3df2740f91e7b7a6191972283d1af25d5f544d4a9ab1df9c41427f09d93fa"},{"version":"4bd6366f8de24dde2e31a494273232cc32d7c0ea564592ea8b7610901cf9478b","signature":"51634cb824ba91140770f4ac7311304479e33f151134f3521e088e14cd235dc5"},{"version":"071ad09f6345127de75e27f8379f30c56d02c72e6ab42819dae454e6b47d388f","signature":"7597acbd22e33e358945a8acf664f517c3dac69d9689bceed60cb13716771f95"},{"version":"f1605474f305995c2b2d8e7d48a8cdd72a2ae57ebbb47ed07bc9abfbf49ffeb1","signature":"5b58f892097fb651076e5be6a77a95c8343a5a84d54dab0ffd97a9450aa39c74"},{"version":"d67f5b62fe97d3f8036fb5c46396f7e65c01eb7124a56926ec7fa8f0857f21da","signature":"35fd626998b26ab1272bf57d013b6d133f3bd3a00eabd4a7b9d9c9312026ae8d"},{"version":"cfefe3982eb13d34b267f265850486badb5b7898edef0a829b17b3c258324575","signature":"03cbc47f7121335ef90a6deca986aaeb999a93252f3f7781867bf793e8a8d0e3"},{"version":"61339f04368d0e7c9a6f8719713be60e561adc6fb6587c33b44a4770ce0247e7","signature":"bf2b32b9d75b611ee022f889ba550d13e0bd14c2deeb1e4d89ce22544e23a1d0"},{"version":"e38653fbd95c5f8178b20faad66bf94a138ba8735a4923e92d810f96e9c20fc3","signature":"c4ccebbab1965eb732ff59c5127b9e177f4a5e2213ea8fa086d7ec6ace62d416"},{"version":"a7f1d2060c1ee57d44ea8f97f242e5b41f95ff4db1963660c9e199a22e1824ce","signature":"6d14d871eae84e541ef7c400686573943068eea5f6ccafa6bf7578ba2abc77a6"},{"version":"5e95fcbdce633bfd470930f0ab735ee050caa10b2ec17309c2f0525774997c36","signature":"5b3d935d994f5f1e5c16fbe3f5f58dec6747b79ba28db27a1df2d5e7dec42d1d"},{"version":"2ae95932d3dd08cd2cd5a576ac7791317152b430934bdf611717343055eb701f","signature":"c910ef78eae5387ab1df8977cb62753621a62e266c6526752a9b88cee0100248"},{"version":"8e009708e9b57945cd2395a3858a5d79e2234e1559ce2ee349fe584a66c50e00","signature":"5df60b82d73860d9bb138a4c57a390e725c768a52bd69fa1a3001d99466ca99b"},{"version":"1237a3cf81d300296e971c8ee6f0735975aee72f256bafd1560734236f6fe418","signature":"b06949baec5bbacf3662a82a3544a6b6bac693687f8e1aa6326ecd155f99fd5a"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[171,173],[167,168],[167,168,169,170],[172],[174],[80],[116],[117,122,150],[118,129,130,137,147,158],[118,119,129,137],[120,159],[121,122,130,138],[122,147,155],[123,125,129,137],[116,124],[125,126],[129],[127,129],[116,129],[129,130,131,147,158],[129,130,131,144,147,150],[114,163],[125,129,132,137,147,158],[129,130,132,133,137,147,155,158],[132,134,147,155,158],[80,81,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],[129,135],[136,158,163],[125,129,137,147],[138],[139],[116,140],[141,157,163],[142],[143],[129,144,145],[144,146,159,161],[117,129,147,148,149,150],[117,147,149],[147,148],[150],[151],[116,147],[129,153,154],[153,154],[122,137,147,155],[156],[137,157],[117,132,143,158],[122,159],[147,160],[136,161],[162],[117,122,129,131,140,147,158,161,163],[147,164],[91,95,158],[91,147,158],[86],[88,91,155,158],[137,155],[166],[86,166],[88,91,137,158],[83,84,87,90,117,129,147,158],[83,89],[87,91,117,150,158,166],[117,166],[107,117,166],[85,86,166],[91],[85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,108,109,110,111,112,113],[91,98,99],[89,91,99,100],[90],[83,86,91],[91,95,99,100],[95],[89,91,94,158],[83,88,89,91,95,98],[117,147],[86,91,107,117,163,166],[70],[70,71,72,73,74],[49],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,75,78],[70,76],[76,77],[45,56],[45],[49,139],[68],[51],[49,52,79,139],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[174,1],[169,2],[171,3],[170,2],[173,4],[175,5],[80,6],[81,6],[116,7],[117,8],[118,9],[119,10],[120,11],[121,12],[122,13],[123,14],[124,15],[125,16],[126,16],[128,17],[127,18],[129,19],[130,20],[131,21],[115,22],[132,23],[133,24],[134,25],[166,26],[135,27],[136,28],[137,29],[138,30],[139,31],[140,32],[141,33],[142,34],[143,35],[144,36],[145,36],[146,37],[147,38],[149,39],[148,40],[150,41],[151,42],[152,43],[153,44],[154,45],[155,46],[156,47],[157,48],[158,49],[159,50],[160,51],[161,52],[162,53],[163,54],[164,55],[98,56],[105,57],[97,56],[112,58],[89,59],[88,60],[111,61],[106,62],[109,63],[91,64],[90,65],[86,66],[85,67],[108,68],[87,69],[92,70],[96,70],[114,71],[113,70],[100,72],[101,73],[103,74],[99,75],[102,76],[107,61],[94,77],[95,78],[104,79],[84,80],[110,81],[74,82],[71,82],[75,83],[72,82],[73,82],[50,84],[79,85],[77,86],[78,87],[58,88],[56,89],[57,88],[54,90],[60,84],[55,84],[69,91],[63,84],[52,92],[62,84],[53,93],[46,94],[49,95],[44,96],[48,97]],"exportedModulesMap":[[174,1],[169,2],[171,3],[170,2],[173,4],[175,5],[80,6],[81,6],[116,7],[117,8],[118,9],[119,10],[120,11],[121,12],[122,13],[123,14],[124,15],[125,16],[126,16],[128,17],[127,18],[129,19],[130,20],[131,21],[115,22],[132,23],[133,24],[134,25],[166,26],[135,27],[136,28],[137,29],[138,30],[139,31],[140,32],[141,33],[142,34],[143,35],[144,36],[145,36],[146,37],[147,38],[149,39],[148,40],[150,41],[151,42],[152,43],[153,44],[154,45],[155,46],[156,47],[157,48],[158,49],[159,50],[160,51],[161,52],[162,53],[163,54],[164,55],[98,56],[105,57],[97,56],[112,58],[89,59],[88,60],[111,61],[106,62],[109,63],[91,64],[90,65],[86,66],[85,67],[108,68],[87,69],[92,70],[96,70],[114,71],[113,70],[100,72],[101,73],[103,74],[99,75],[102,76],[107,61],[94,77],[95,78],[104,79],[84,80],[110,81],[75,83],[50,84],[79,85],[78,87],[58,89],[56,89],[57,89],[54,84],[60,84],[55,84],[63,84],[62,84],[53,84],[46,94],[49,95],[44,96],[48,97]],"semanticDiagnosticsPerFile":[45,174,167,169,171,170,168,173,172,175,80,81,116,117,118,119,120,121,122,123,124,125,126,128,127,129,130,131,115,165,132,133,134,166,135,136,137,138,139,140,141,142,143,144,145,146,147,149,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,82,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,98,105,97,112,89,88,111,106,109,91,90,86,85,108,87,92,93,96,83,114,113,100,101,103,99,102,107,94,95,104,84,110,74,71,70,75,72,73,50,79,77,76,78,58,56,57,67,66,54,61,51,60,55,64,65,69,68,59,63,52,62,53,47,46,43,49,44,48]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../src/constants/index.ts","../../src/utils/js-identifiers.ts","../../src/utils/string-utils.ts","../../src/utils/uidl-utils.ts","../../src/utils/generic.ts","../../src/utils/local-imports.ts","../../src/utils/ast-scope.ts","../../src/utils/ast-statement-order.ts","../../src/utils/ast-effect-cleanup.ts","../../src/utils/route-paths.ts","../../src/utils/layout-topology.ts","../../src/utils/html-content-model.ts","../../src/utils/style-declarations.ts","../../src/utils/storefront-tax.ts","../../src/utils/product-discounts.ts","../../src/utils/product-ratings.ts","../../src/utils/regional-pricing.ts","../../src/utils/font-preconnect.ts","../../src/utils/email-date.ts","../../src/utils/rich-text-embeds.ts","../../src/utils/rich-text-embeds-codegen.ts","../../src/cache/constants.ts","../../src/cache/client-runtime.ts","../../src/cache/server-runtime.ts","../../src/cache/version-store.ts","../../src/cache/api-routes.ts","../../src/cache/index.ts","../../src/page-revalidate/constants.ts","../../src/page-revalidate/api-route.ts","../../src/page-revalidate/index.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","1a1c37f998c76073e7c6aedddbaf0a795b9d33660c61d105d0d79d7b086743a0","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","1adf52df4f197a19525caa1722d6bfd30a883dba759598a24d75c4239c84619f","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"11650c5bddaa406f3d38215ee50e9b7ef974a4cd547c232d318e440ec9765b6b","signature":"950376ec316f431002898dc46c9e712d4df602735e79710032f82ff7cb0ff639"},{"version":"a3a7229dea45fec3b66fb3db95ea86b6f79456d53b01124be574234b855e7f33","signature":"9ea2bd139a31e4bcccbaaf18a67b1ffce16768d35396263d271deb29da1d6f3d"},{"version":"286a93be613b3b6f8d5c27fdd8368068f402baacff253acd778a6683503603bd","signature":"bebc04315048e5968472215e80fe8f76c87402e8415af425e72a1043625bc0fd"},{"version":"8a2a94472cdd6a36100128806588f6e7df23e28f062cdc346b8201af7b7317da","signature":"ffebee2a958508484af19fffc046c9c69ae120bdfd7b452f143219e05e97c20b"},{"version":"d36d38e7840bb5eb64570d6a75b4cda6b30f810ff28e788eabbe20f2ca6ec20d","signature":"def6a19b93529e8c08bb970740d56ecfce4d17a3c495a49761636087f6c80c4a"},{"version":"6cd90a046b174d27446a3682bdfdf31b56f0f566796d0345395d3a409dd9284c","signature":"dfda7fae8dc2ce6b5f728ccdf83f252923d50f47cb9535b18e34bc0d34c5a985"},{"version":"d5d7bef99b9b58cb67c8a18f1a1a1a74ad36e707226181dc5306f5fd56875bdf","signature":"b290a1d459a7028ae36165b73a69a4877c73f4dd72af733964b55110882c3216"},{"version":"bf4571325f6084257e36752366f3c2196c4d1489a46e53854fab86f76f700189","signature":"3816fd253a52b0f8dedd04c55eb2d77d0aa4f1c92707fb50cf14a5d1aa3869dd"},{"version":"19c4db2864f00fb2a76efa2f7d8dcf04a2b5a05742e96781166571c6d2250320","signature":"a36f3d868428938cd620deb11cd0747f31fab1c490d54224e99ac8ea6a270220"},{"version":"3805506eba293e77c14ddcbff35b0aa053b4de13137abc9ebed48ce8dca1fe49","signature":"d487aeebf39008a9b79a9c44a4943bfac9131afe5bb67f6f91319c91f0b74d2b"},{"version":"ec521fde10cc9bbb583b13eb7d9f426c715290c9766554e331040bbc208b688e","signature":"d00b4720674bd31c264f1add708dfeedcb80432a76541c91e38f867b434e0331"},{"version":"3385231c8904b943ead6ae26402c71c270c801a1a04dcf711b37d1fc8b1949c6","signature":"448d42608cb5eab83dc8fff0baac2cea61c5bfa654bc4c18b7640c61b4a8a72f"},{"version":"b4a28d604c143417486a5f5edc69c76ad8c7675d2fb453d1cf47d69831400e04","signature":"0dd5553c80b72c9796c41a5cbea3b2d5ad430651569efceaf08b982ccf4a2f5e"},{"version":"090ba4e2664a99dbaf82f5ba836e35839c087cec2a2ec29650f200ecdb9ea01b","signature":"67fe33e0cdd82175d9c9dc8a6a91c12588cb4f102b55396fa369b19c2b328239"},{"version":"402224f379e89fda21400c1e98701843fdde8746bed0fa5b8f8a837ca3a4d224","signature":"e6104a2be1332eb0de3fed325b86aab795be0f618407652cc90f24daacd74a11"},{"version":"a5152661651e56d7de6157afbe27b1ce3715b3d9409953a9e297ab12023b6aff","signature":"ea13b757647c1a972e5e2c8fe2d1127c7964a2a304d41b28f611024faba50836"},{"version":"fcc132c7a28d8ca781fdddc882035cb04035e8fd0cfa0818796eff945a859f13","signature":"eef9bb3440842cc184023d54460a4e3c45efb9bf13c8613b70a8216ce1d39ef8"},{"version":"07ef3048fe039893ec7001370abfb9725fd76dbade6ed3a0c6596f402e352df3","signature":"4e1c5b37b16c856d27e2ad000ecc24644d868a279e2c6910d56b9d5a81da2fe6"},{"version":"ecb1d950b0a0ab1d0fde6552253857281e515dfd00e7f894669c275ad4ae4436","signature":"0ad3df2740f91e7b7a6191972283d1af25d5f544d4a9ab1df9c41427f09d93fa"},{"version":"4bd6366f8de24dde2e31a494273232cc32d7c0ea564592ea8b7610901cf9478b","signature":"51634cb824ba91140770f4ac7311304479e33f151134f3521e088e14cd235dc5"},{"version":"071ad09f6345127de75e27f8379f30c56d02c72e6ab42819dae454e6b47d388f","signature":"7597acbd22e33e358945a8acf664f517c3dac69d9689bceed60cb13716771f95"},{"version":"f1605474f305995c2b2d8e7d48a8cdd72a2ae57ebbb47ed07bc9abfbf49ffeb1","signature":"5b58f892097fb651076e5be6a77a95c8343a5a84d54dab0ffd97a9450aa39c74"},{"version":"d67f5b62fe97d3f8036fb5c46396f7e65c01eb7124a56926ec7fa8f0857f21da","signature":"35fd626998b26ab1272bf57d013b6d133f3bd3a00eabd4a7b9d9c9312026ae8d"},{"version":"cfefe3982eb13d34b267f265850486badb5b7898edef0a829b17b3c258324575","signature":"03cbc47f7121335ef90a6deca986aaeb999a93252f3f7781867bf793e8a8d0e3"},{"version":"61339f04368d0e7c9a6f8719713be60e561adc6fb6587c33b44a4770ce0247e7","signature":"bf2b32b9d75b611ee022f889ba550d13e0bd14c2deeb1e4d89ce22544e23a1d0"},{"version":"e38653fbd95c5f8178b20faad66bf94a138ba8735a4923e92d810f96e9c20fc3","signature":"c4ccebbab1965eb732ff59c5127b9e177f4a5e2213ea8fa086d7ec6ace62d416"},{"version":"a7f1d2060c1ee57d44ea8f97f242e5b41f95ff4db1963660c9e199a22e1824ce","signature":"6d14d871eae84e541ef7c400686573943068eea5f6ccafa6bf7578ba2abc77a6"},{"version":"5e95fcbdce633bfd470930f0ab735ee050caa10b2ec17309c2f0525774997c36","signature":"5b3d935d994f5f1e5c16fbe3f5f58dec6747b79ba28db27a1df2d5e7dec42d1d"},{"version":"2ae95932d3dd08cd2cd5a576ac7791317152b430934bdf611717343055eb701f","signature":"c910ef78eae5387ab1df8977cb62753621a62e266c6526752a9b88cee0100248"},{"version":"8e009708e9b57945cd2395a3858a5d79e2234e1559ce2ee349fe584a66c50e00","signature":"5df60b82d73860d9bb138a4c57a390e725c768a52bd69fa1a3001d99466ca99b"},{"version":"9d28db03e2fb8e16cab9154802057054f9c4c80309c4453ae3311c8784e48350","signature":"116497d910837f0bf0936df7c30a592581007929e693216d7c6ee9c787002f3a"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[172,174],[168,169],[168,169,170,171],[173],[175],[81],[117],[118,123,151],[119,130,131,138,148,159],[119,120,130,138],[121,160],[122,123,131,139],[123,148,156],[124,126,130,138],[117,125],[126,127],[130],[128,130],[117,130],[130,131,132,148,159],[130,131,132,145,148,151],[115,164],[126,130,133,138,148,159],[130,131,133,134,138,148,156,159],[133,135,148,156,159],[81,82,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[130,136],[137,159,164],[126,130,138,148],[139],[140],[117,141],[142,158,164],[143],[144],[130,145,146],[145,147,160,162],[118,130,148,149,150,151],[118,148,150],[148,149],[151],[152],[117,148],[130,154,155],[154,155],[123,138,148,156],[157],[138,158],[118,133,144,159],[123,160],[148,161],[137,162],[163],[118,123,130,132,141,148,159,162,164],[148,165],[92,96,159],[92,148,159],[87],[89,92,156,159],[138,156],[167],[87,167],[89,92,138,159],[84,85,88,91,118,130,148,159],[84,90],[88,92,118,151,159,167],[118,167],[108,118,167],[86,87,167],[92],[86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113,114],[92,99,100],[90,92,100,101],[91],[84,87,92],[92,96,100,101],[96],[90,92,95,159],[84,89,90,92,96,99],[118,148],[87,92,108,118,164,167],[71],[71,72,73,74,75],[49],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,76,79],[71,77],[77,78],[45,56],[45],[49,140],[69],[51],[49,52,80,140],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[175,1],[170,2],[172,3],[171,2],[174,4],[176,5],[81,6],[82,6],[117,7],[118,8],[119,9],[120,10],[121,11],[122,12],[123,13],[124,14],[125,15],[126,16],[127,16],[129,17],[128,18],[130,19],[131,20],[132,21],[116,22],[133,23],[134,24],[135,25],[167,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,32],[142,33],[143,34],[144,35],[145,36],[146,36],[147,37],[148,38],[150,39],[149,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,46],[157,47],[158,48],[159,49],[160,50],[161,51],[162,52],[163,53],[164,54],[165,55],[99,56],[106,57],[98,56],[113,58],[90,59],[89,60],[112,61],[107,62],[110,63],[92,64],[91,65],[87,66],[86,67],[109,68],[88,69],[93,70],[97,70],[115,71],[114,70],[101,72],[102,73],[104,74],[100,75],[103,76],[108,61],[95,77],[96,78],[105,79],[85,80],[111,81],[75,82],[72,82],[76,83],[73,82],[74,82],[50,84],[80,85],[78,86],[79,87],[58,88],[56,89],[57,88],[54,90],[60,84],[55,84],[70,91],[63,84],[52,92],[62,84],[53,93],[46,94],[49,95],[44,96],[48,97]],"exportedModulesMap":[[175,1],[170,2],[172,3],[171,2],[174,4],[176,5],[81,6],[82,6],[117,7],[118,8],[119,9],[120,10],[121,11],[122,12],[123,13],[124,14],[125,15],[126,16],[127,16],[129,17],[128,18],[130,19],[131,20],[132,21],[116,22],[133,23],[134,24],[135,25],[167,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,32],[142,33],[143,34],[144,35],[145,36],[146,36],[147,37],[148,38],[150,39],[149,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,46],[157,47],[158,48],[159,49],[160,50],[161,51],[162,52],[163,53],[164,54],[165,55],[99,56],[106,57],[98,56],[113,58],[90,59],[89,60],[112,61],[107,62],[110,63],[92,64],[91,65],[87,66],[86,67],[109,68],[88,69],[93,70],[97,70],[115,71],[114,70],[101,72],[102,73],[104,74],[100,75],[103,76],[108,61],[95,77],[96,78],[105,79],[85,80],[111,81],[76,83],[50,84],[80,85],[79,87],[58,89],[56,89],[57,89],[54,84],[60,84],[55,84],[63,84],[62,84],[53,84],[46,94],[49,95],[44,96],[48,97]],"semanticDiagnosticsPerFile":[45,175,168,170,172,171,169,174,173,176,81,82,117,118,119,120,121,122,123,124,125,126,127,129,128,130,131,132,116,166,133,134,135,167,136,137,138,139,140,141,142,143,144,145,146,147,148,150,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,83,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,99,106,98,113,90,89,112,107,110,92,91,87,86,109,88,93,94,97,84,115,114,101,102,104,100,103,108,95,96,105,85,111,75,72,71,76,73,74,50,80,78,77,79,58,56,57,68,67,54,61,51,60,55,64,65,66,70,69,59,63,52,62,53,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Regional pricing — shipping zones and tax jurisdictions — as ES5 source for
3
+ * the generated storefront (the cart provider and the `cart-get-total` workflow
4
+ * handler), which cannot import from this package at runtime.
5
+ *
6
+ * ⚠️ SECOND MIRROR. The editor/canvas copy is teleport-gui's
7
+ * `features/e-commerce/utils/regional-pricing/`, and the two must agree to the
8
+ * cent or the canvas previews one delivery fee and the published store charges
9
+ * another. The GUI's `regional-pricing-parity.spec.ts` and this package's
10
+ * `__tests__/utils/regional-pricing.ts` run the SAME fixture table against their
11
+ * respective copies.
12
+ *
13
+ * The rules the feature rests on:
14
+ *
15
+ * - The store's Delivery Settings price every delivered order — the flat fee
16
+ * and, when switched on, the free-delivery threshold — and a zone OVERRIDES
17
+ * them for the countries it lists (a rest-of-world zone, for every country
18
+ * no other zone lists). No active tax row means the store's single default
19
+ * rate. Empty tables reproduce what the store charged before regions existed.
20
+ * - Tax stays folded into the prices a shopper reads, exactly like the store
21
+ * default: `goodsTax` is only the tax ADDED on top. A region whose prices
22
+ * already include tax contributes to the breakdown, never to the total.
23
+ * - Shipping tax, when a region charges it, is folded into the shipping amount.
24
+ * - Tax follows the checkout address for every order. Fulfilment only decides
25
+ * shipping: a store-pickup order never pays it, and is never refused for an
26
+ * address no zone covers.
27
+ * - A zone with no active rate charges the store's delivery fee under its own
28
+ * threshold and cash-on-delivery rule. A zone whose rates exist but none
29
+ * fits the basket is NO-RATE, which checkout refuses rather than pricing at 0.
30
+ * - A zone marked "do not ship" is UNAVAILABLE: the merchant's explicit
31
+ * refusal (on a rest-of-world zone, "only my zones"). Store pickup is never
32
+ * refused, since a pickup order is never priced as a delivery.
33
+ *
34
+ * Everything is prefixed `__rp` so the block can be concatenated into any
35
+ * generated module without colliding with its locals.
36
+ */
37
+ export declare const generateRegionalPricingHelperCode: () => string;
38
+ /**
39
+ * The shipping rate the buyer picked at checkout (a rate id). ⚠️ `cart-get-total`
40
+ * spells the same key out as a literal — a serialized handler has no module
41
+ * scope to import it from.
42
+ */
43
+ export declare const SHIPPING_RATE_STORAGE_KEY = "workflow_shipping_rate";
44
+ /** Broadcast when the buyer picks a shipping rate. */
45
+ export declare const SHIPPING_RATE_CHANGED_EVENT = "teleport:shipping-rate-changed";
46
+ //# sourceMappingURL=regional-pricing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regional-pricing.d.ts","sourceRoot":"","sources":["../../../src/utils/regional-pricing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,iCAAiC,QAAO,MAsiBpD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,2BAA2B,CAAA;AAEjE,sDAAsD;AACtD,eAAO,MAAM,2BAA2B,mCAAmC,CAAA"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SHIPPING_RATE_CHANGED_EVENT = exports.SHIPPING_RATE_STORAGE_KEY = exports.generateRegionalPricingHelperCode = void 0;
4
+ /**
5
+ * Regional pricing — shipping zones and tax jurisdictions — as ES5 source for
6
+ * the generated storefront (the cart provider and the `cart-get-total` workflow
7
+ * handler), which cannot import from this package at runtime.
8
+ *
9
+ * ⚠️ SECOND MIRROR. The editor/canvas copy is teleport-gui's
10
+ * `features/e-commerce/utils/regional-pricing/`, and the two must agree to the
11
+ * cent or the canvas previews one delivery fee and the published store charges
12
+ * another. The GUI's `regional-pricing-parity.spec.ts` and this package's
13
+ * `__tests__/utils/regional-pricing.ts` run the SAME fixture table against their
14
+ * respective copies.
15
+ *
16
+ * The rules the feature rests on:
17
+ *
18
+ * - The store's Delivery Settings price every delivered order — the flat fee
19
+ * and, when switched on, the free-delivery threshold — and a zone OVERRIDES
20
+ * them for the countries it lists (a rest-of-world zone, for every country
21
+ * no other zone lists). No active tax row means the store's single default
22
+ * rate. Empty tables reproduce what the store charged before regions existed.
23
+ * - Tax stays folded into the prices a shopper reads, exactly like the store
24
+ * default: `goodsTax` is only the tax ADDED on top. A region whose prices
25
+ * already include tax contributes to the breakdown, never to the total.
26
+ * - Shipping tax, when a region charges it, is folded into the shipping amount.
27
+ * - Tax follows the checkout address for every order. Fulfilment only decides
28
+ * shipping: a store-pickup order never pays it, and is never refused for an
29
+ * address no zone covers.
30
+ * - A zone with no active rate charges the store's delivery fee under its own
31
+ * threshold and cash-on-delivery rule. A zone whose rates exist but none
32
+ * fits the basket is NO-RATE, which checkout refuses rather than pricing at 0.
33
+ * - A zone marked "do not ship" is UNAVAILABLE: the merchant's explicit
34
+ * refusal (on a rest-of-world zone, "only my zones"). Store pickup is never
35
+ * refused, since a pickup order is never priced as a delivery.
36
+ *
37
+ * Everything is prefixed `__rp` so the block can be concatenated into any
38
+ * generated module without colliding with its locals.
39
+ */
40
+ var generateRegionalPricingHelperCode = function () { return "\n// \u2500\u2500 Regional pricing: shipping zones + tax jurisdictions \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Every helper is a function EXPRESSION, never a declaration: this block is\n// spliced into serialized workflow handlers, whose entry point is found by\n// scanning for declared functions of handler arity \u2014 a declared two-argument\n// helper would be mistaken for the entry once a minifier renames it.\n// Currencies whose smallest unit is the whole unit (Stripe's zero-decimal list).\nvar __RP_ZERO_DECIMAL_CURRENCIES = ['BIF', 'CLP', 'DJF', 'GNF', 'JPY', 'KMF', 'KRW', 'MGA', 'PYG', 'RWF', 'UGX', 'VND', 'VUV', 'XAF', 'XOF', 'XPF'];\n\nvar __rpDecimals = function (currency) {\n var code = String(currency || '').toUpperCase();\n return __RP_ZERO_DECIMAL_CURRENCIES.indexOf(code) === -1 ? 2 : 0;\n};\n\nvar __rpRound = function (value, decimals) {\n var factor = decimals === 0 ? 1 : 100;\n var n = Number(value);\n return Math.round((isFinite(n) ? n : 0) * factor) / factor;\n};\n\n// A finite number, or null for anything that is not one \u2014 including '' and\n// null, which a nullable DECIMAL column hands back for \"not set\".\nvar __rpNumber = function (value) {\n if (value === null || value === undefined || value === '') return null;\n var n = typeof value === 'number' ? value : parseFloat(value);\n return isFinite(n) ? n : null;\n};\n\n// Booleans arrive differently per driver (true / 't' / 1 / 'true').\nvar __rpBool = function (value, fallback) {\n if (typeof value === 'boolean') return value;\n if (typeof value === 'number') return value !== 0;\n if (typeof value === 'string') {\n var s = value.trim().toLowerCase();\n if (s === 'true' || s === 't' || s === '1' || s === 'yes') return true;\n if (s === 'false' || s === 'f' || s === '0' || s === 'no') return false;\n }\n return fallback;\n};\n\nvar __rpText = function (value) {\n return value === null || value === undefined ? '' : String(value).trim();\n};\n\n// A state / region name as matched: case- and spacing-insensitive, so a buyer's\n// \"new york\" still finds the \"New York\" row.\nvar __rpRegion = function (value) {\n return __rpText(value).replace(/\\s+/g, ' ').toLowerCase();\n};\n\nvar __rpStringArray = function (raw) {\n if (Object.prototype.toString.call(raw) === '[object Array]') return raw;\n if (typeof raw !== 'string' || raw.trim() === '') return [];\n var text = raw.trim();\n if (text.charAt(0) === '[') {\n try {\n var parsed = JSON.parse(text);\n return Object.prototype.toString.call(parsed) === '[object Array]' ? parsed : [];\n } catch (e) {\n return [];\n }\n }\n return text.split(/[\\s,;]+/);\n};\n\n// ISO 3166-1 alpha-2 codes, upper-cased and de-duplicated. Accepts a JSON array\n// or a comma/space/semicolon separated list, which is what a merchant types\n// into the generated admin.\nvar __rpParseCountries = function (raw) {\n var entries = __rpStringArray(raw);\n var codes = [];\n for (var i = 0; i < entries.length; i++) {\n var code = __rpText(entries[i]).toUpperCase();\n if (/^[A-Z]{2}$/.test(code) && codes.indexOf(code) === -1) codes.push(code);\n }\n return codes;\n};\n\nvar __rpByOrder = function (a, b) {\n if (a.sortOrder !== b.sortOrder) return a.sortOrder - b.sortOrder;\n if (a.name !== b.name) return a.name < b.name ? -1 : 1;\n return a.id < b.id ? -1 : a.id > b.id ? 1 : 0;\n};\n\nvar __rpRows = function (rows) {\n return Object.prototype.toString.call(rows) === '[object Array]' ? rows : [];\n};\n\nvar __rpNormalizeZones = function (rows) {\n var zones = [];\n var list = __rpRows(rows);\n for (var i = 0; i < list.length; i++) {\n var row = list[i];\n if (!row || typeof row !== 'object' || !__rpBool(row.is_active, true)) continue;\n var id = __rpText(row.id);\n if (!id) continue;\n var threshold = __rpNumber(row.free_shipping_threshold);\n zones.push({\n id: id,\n name: __rpText(row.name),\n countries: __rpParseCountries(row.countries),\n isRestOfWorld: __rpBool(row.is_rest_of_world, false),\n doNotShip: __rpBool(row.do_not_ship, false),\n freeShippingThreshold: threshold === null || threshold < 0 ? null : threshold,\n codEnabled: __rpBool(row.cod_enabled, true),\n sortOrder: __rpNumber(row.sort_order) || 0\n });\n }\n return zones.sort(__rpByOrder);\n};\n\nvar __rpNormalizeRates = function (rows) {\n var rates = [];\n var list = __rpRows(rows);\n for (var i = 0; i < list.length; i++) {\n var row = list[i];\n if (!row || typeof row !== 'object' || !__rpBool(row.is_active, true)) continue;\n var id = __rpText(row.id);\n var zoneId = __rpText(row.zone_id);\n if (!id || !zoneId) continue;\n var type = __rpText(row.rate_type).toLowerCase();\n var price = __rpNumber(row.price);\n var min = __rpNumber(row.min_value);\n var max = __rpNumber(row.max_value);\n var tiered = type === 'price' || type === 'weight';\n // A tier with a negative or empty range (a row edited in the generated\n // admin, which cannot validate) is skipped rather than read as unbounded.\n if (tiered && ((min !== null && min < 0) || (max !== null && max < 0) || (min !== null && max !== null && max <= min))) continue;\n rates.push({\n id: id,\n zoneId: zoneId,\n name: __rpText(row.name),\n type: tiered ? type : 'flat',\n price: price === null || price < 0 ? 0 : price,\n min: min === null || min < 0 ? null : min,\n max: max === null || max < 0 ? null : max,\n estimatedDays: __rpText(row.estimated_days),\n sortOrder: __rpNumber(row.sort_order) || 0\n });\n }\n return rates.sort(__rpByOrder);\n};\n\nvar __rpNormalizeTaxRates = function (rows) {\n var taxRates = [];\n var list = __rpRows(rows);\n for (var i = 0; i < list.length; i++) {\n var row = list[i];\n if (!row || typeof row !== 'object' || !__rpBool(row.is_active, true)) continue;\n var id = __rpText(row.id);\n var countryCode = __rpText(row.country_code).toUpperCase();\n if (!id || !/^[A-Z]{2}$/.test(countryCode)) continue;\n var rate = __rpNumber(row.rate);\n var mode = __rpText(row.tax_mode).toLowerCase();\n taxRates.push({\n id: id,\n countryCode: countryCode,\n region: __rpRegion(row.region),\n categoryId: __rpText(row.category_id),\n rate: rate === null || rate < 0 ? 0 : rate,\n mode: mode === 'included' || mode === 'added' ? mode : 'inherit',\n taxShipping: __rpBool(row.tax_shipping, false)\n });\n }\n // By id, so two rows a merchant accidentally made identical resolve the same\n // way on every read, whatever order the database returned them in.\n return taxRates.sort(function (a, b) { return a.id < b.id ? -1 : a.id > b.id ? 1 : 0; });\n};\n\n// The three tables' rows, as `/api/data/.../select` returns them, reduced to\n// the ACTIVE entries in a deterministic order.\nvar __rpNormalizeConfig = function (raw) {\n var source = raw && typeof raw === 'object' ? raw : {};\n return {\n zones: __rpNormalizeZones(source.zones),\n rates: __rpNormalizeRates(source.rates),\n taxRates: __rpNormalizeTaxRates(source.taxRates)\n };\n};\n\nvar __rpWeightKg = function (weight, unit) {\n var n = __rpNumber(weight);\n if (n === null || n <= 0) return 0;\n var u = __rpText(unit).toLowerCase();\n if (u === 'g' || u === 'gr' || u === 'gram' || u === 'grams') return n / 1000;\n if (u === 'lb' || u === 'lbs' || u === 'pound' || u === 'pounds') return n * 0.45359237;\n if (u === 'oz' || u === 'ounce' || u === 'ounces') return n * 0.028349523125;\n return n;\n};\n\n// Cart lines as the storefront stores them (NET unit price, quantity, and the\n// weight + categories hydration stamps on), reduced to what pricing reads.\nvar __rpLines = function (items) {\n var lines = [];\n var list = __rpRows(items);\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n if (!item || typeof item !== 'object') continue;\n var price = __rpNumber(item.price);\n var quantity = __rpNumber(item.quantity);\n var categories = __rpStringArray(item.categoryIds);\n var categoryIds = [];\n for (var c = 0; c < categories.length; c++) {\n var categoryId = __rpText(categories[c]);\n if (categoryId && categoryIds.indexOf(categoryId) === -1) categoryIds.push(categoryId);\n }\n lines.push({\n key: item.id !== undefined && item.id !== null ? String(item.id) : String(i),\n productId: __rpText(item.productId),\n variantId: __rpText(item.variantId),\n price: price === null || price < 0 ? 0 : price,\n quantity: quantity === null || quantity <= 0 ? 1 : quantity,\n weightKg: __rpWeightKg(item.weight, item.weightUnit),\n categoryIds: categoryIds\n });\n }\n return lines;\n};\n\n// The most specific ACTIVE row for a destination: a region match outranks a\n// country-wide row, and a category match outranks an uncategorised one. A row\n// scoped to a region or a category that does not apply is not a candidate.\n// Shipping is never a category, so it only ever sees the uncategorised rows.\nvar __rpFindTaxRow = function (taxRates, destination, categoryIds, forShipping) {\n if (!destination || !destination.countryCode) return null;\n var region = __rpRegion(destination.region);\n var best = null;\n var bestScore = -1;\n for (var i = 0; i < taxRates.length; i++) {\n var row = taxRates[i];\n if (row.countryCode !== destination.countryCode) continue;\n var score = 0;\n if (row.region) {\n if (row.region !== region) continue;\n score += 2;\n }\n if (row.categoryId) {\n if (forShipping || categoryIds.indexOf(row.categoryId) === -1) continue;\n score += 1;\n }\n if (score > bestScore) {\n best = row;\n bestScore = score;\n }\n }\n return best;\n};\n\nvar __rpRowIncluded = function (row, defaultIncluded) {\n if (row.mode === 'inherit') return defaultIncluded;\n return row.mode === 'included';\n};\n\n// What a stored price costs the buyer at a rate: grossed up when the tax is\n// added on top, the stored price itself when it already includes the tax.\nvar __rpGrossAmount = function (amount, rate, included, decimals) {\n var n = __rpNumber(amount);\n var base = n === null ? 0 : n;\n return !included && rate > 0 ? __rpRound(base * (1 + rate / 100), decimals) : base;\n};\n\nvar __rpSafeRate = function (rate) {\n var n = __rpNumber(rate);\n return n === null || n < 0 ? 0 : n;\n};\n\nvar __rpInRange = function (basis, min, max) {\n if (min !== null && basis < min) return false;\n if (max !== null && basis >= max) return false;\n return true;\n};\n\n// The store's own Delivery Settings: what every order no zone overrides pays.\nvar __rpStoreShipping = function (store) {\n return {\n base: __rpRound(__rpSafeRate(store.deliveryPrice), 2),\n threshold: store.freeDeliveryEnabled === true ? __rpRound(__rpSafeRate(store.freeDeliveryThreshold), 2) : null\n };\n};\n\nvar __rpResolveZone = function (zones, countryCode) {\n var restOfWorld = null;\n for (var i = 0; i < zones.length; i++) {\n var zone = zones[i];\n if (zone.isRestOfWorld) {\n if (!restOfWorld) restOfWorld = zone;\n continue;\n }\n if (zone.countries.indexOf(countryCode) !== -1) return zone;\n }\n return restOfWorld;\n};\n\n// Tax on a shipping fee at the destination's standard rate: added on top, or \u2014\n// where prices include tax \u2014 already inside the fee and reported, not charged.\nvar __rpShippingTax = function (net, rate, included, decimals) {\n if (!(rate > 0) || !(net > 0)) return { tax: 0, gross: net };\n if (included) return { tax: __rpRound(net - net / (1 + rate / 100), decimals), gross: net };\n var tax = __rpRound(net * rate / 100, decimals);\n return { tax: tax, gross: __rpRound(net + tax, decimals) };\n};\n\nvar __rpByPrice = function (a, b) {\n if (a.price !== b.price) return a.price - b.price;\n return __rpByOrder(a, b);\n};\n\n/*\n * THE quote. One call prices a basket for one destination.\n *\n * input:\n * config normalized rows (__rpNormalizeConfig)\n * store { deliveryEnabled, storePickupEnabled, deliveryPrice,\n * freeDeliveryEnabled, freeDeliveryThreshold,\n * defaultTaxRate, defaultTaxIncluded }\n * items cart lines (raw)\n * destination { countryCode, countryName, region } or null\n * fulfillment 'delivery' | 'pickup'\n * selectedRateId, currency\n */\nvar __rpQuote = function (input) {\n var source = input && typeof input === 'object' ? input : {};\n var config = source.config && typeof source.config === 'object'\n ? source.config\n : { zones: [], rates: [], taxRates: [] };\n var store = source.store && typeof source.store === 'object' ? source.store : {};\n var deliveryEnabled = store.deliveryEnabled === true;\n var delivering = deliveryEnabled && source.fulfillment !== 'pickup';\n var destination = source.destination && typeof source.destination === 'object'\n ? {\n countryCode: __rpText(source.destination.countryCode).toUpperCase(),\n countryName: __rpText(source.destination.countryName),\n region: __rpText(source.destination.region)\n }\n : null;\n var defaultRate = __rpSafeRate(store.defaultTaxRate);\n var defaultIncluded = store.defaultTaxIncluded === true;\n var taxRates = __rpRows(config.taxRates);\n var zones = __rpRows(config.zones);\n var taxRegional = taxRates.length > 0;\n var zonesActive = delivering && zones.length > 0;\n var moneyDecimals = __rpDecimals(source.currency);\n // A store with no tax rows keeps the cent rounding it has always used, so its\n // totals are identical to the ones it charged before regions existed.\n var taxDecimals = taxRegional ? moneyDecimals : 2;\n\n var lines = __rpLines(source.items);\n var outLines = [];\n var buckets = [];\n var goodsNet = 0;\n var goodsGross = 0;\n var weightKg = 0;\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n var row = taxRegional ? __rpFindTaxRow(taxRates, destination, line.categoryIds, false) : null;\n var rate = row ? row.rate : defaultRate;\n var included = row ? __rpRowIncluded(row, defaultIncluded) : defaultIncluded;\n var unitGross = __rpGrossAmount(line.price, rate, included, taxDecimals);\n var lineGross = __rpRound(unitGross * line.quantity, taxDecimals);\n var lineNet = line.price * line.quantity;\n var lineTax = included\n ? (rate > 0 ? lineGross - lineGross / (1 + rate / 100) : 0)\n : lineGross - lineNet;\n goodsNet += lineNet;\n goodsGross += lineGross;\n weightKg += line.weightKg * line.quantity;\n outLines.push({\n key: line.key,\n productId: line.productId,\n variantId: line.variantId,\n unitGross: unitGross,\n lineGross: lineGross,\n taxRate: rate,\n taxIncluded: included\n });\n var bucket = null;\n for (var b = 0; b < buckets.length; b++) {\n if (buckets[b].rate === rate && buckets[b].included === included) { bucket = buckets[b]; break; }\n }\n if (!bucket) {\n bucket = { rate: rate, included: included, gross: 0, tax: 0 };\n buckets.push(bucket);\n }\n bucket.gross += lineGross;\n bucket.tax += lineTax;\n }\n goodsNet = __rpRound(goodsNet, 2);\n goodsGross = __rpRound(goodsGross, taxDecimals);\n var goodsTax = __rpRound(goodsGross - goodsNet, taxDecimals);\n if (goodsTax < 0) goodsTax = 0;\n var breakdown = [];\n for (var k = 0; k < buckets.length; k++) {\n if (!(buckets[k].rate > 0)) continue;\n breakdown.push({\n rate: buckets[k].rate,\n included: buckets[k].included,\n gross: __rpRound(buckets[k].gross, taxDecimals),\n tax: __rpRound(buckets[k].tax, taxDecimals)\n });\n }\n\n var standardRow = taxRegional ? __rpFindTaxRow(taxRates, destination, [], true) : null;\n var taxRate = standardRow ? standardRow.rate : defaultRate;\n var taxIncluded = standardRow ? __rpRowIncluded(standardRow, defaultIncluded) : defaultIncluded;\n\n // Compared on the cent-rounded goods total, so a sum that drifted to\n // 49.999999 still meets a threshold of 50.\n var basisPrice = __rpRound(goodsGross, 2);\n var status = 'ok';\n var zone = null;\n var options = [];\n var selectedRateId = null;\n var rateName = '';\n var shippingBase = 0;\n var threshold = null;\n var codAvailable = true;\n\n if (zonesActive && (!destination || !destination.countryCode)) {\n status = 'pending';\n } else if (delivering) {\n var matched = zonesActive ? __rpResolveZone(zones, destination.countryCode) : null;\n if (!matched) {\n // No zone lists this country (or there are none): the store's own\n // delivery settings, exactly as before regions existed.\n var storeShipping = __rpStoreShipping(store);\n shippingBase = storeShipping.base;\n threshold = storeShipping.threshold;\n } else if (matched.doNotShip) {\n zone = { id: matched.id, name: matched.name };\n status = 'unavailable';\n } else {\n zone = { id: matched.id, name: matched.name };\n codAvailable = matched.codEnabled;\n threshold = matched.freeShippingThreshold;\n var basisWeight = Math.round(weightKg * 1000) / 1000;\n var rates = __rpRows(config.rates);\n var zoneHasRates = false;\n for (var r = 0; r < rates.length; r++) {\n var candidate = rates[r];\n if (candidate.zoneId !== matched.id) continue;\n zoneHasRates = true;\n if (candidate.type === 'price' && !__rpInRange(basisPrice, candidate.min, candidate.max)) continue;\n if (candidate.type === 'weight' && !__rpInRange(basisWeight, candidate.min, candidate.max)) continue;\n options.push({\n id: candidate.id,\n name: candidate.name,\n estimatedDays: candidate.estimatedDays,\n price: __rpRound(candidate.price, moneyDecimals),\n sortOrder: candidate.sortOrder\n });\n }\n options.sort(__rpByPrice);\n if (!zoneHasRates) {\n // No rate at all (none, or only switched-off ones): the store fee,\n // under this zone's own threshold and cash-on-delivery rule.\n shippingBase = __rpStoreShipping(store).base;\n } else if (options.length === 0) {\n status = 'no-rate';\n } else {\n var selected = options[0];\n for (var o = 0; o < options.length; o++) {\n if (options[o].id === source.selectedRateId) { selected = options[o]; break; }\n }\n selectedRateId = selected.id;\n rateName = selected.name;\n shippingBase = selected.price;\n }\n }\n }\n\n var thresholdReached = status === 'ok' && threshold !== null && basisPrice >= threshold;\n var shippingNet = status === 'ok' && !thresholdReached ? shippingBase : 0;\n var shippingTaxRow = standardRow && standardRow.taxShipping ? standardRow : null;\n var shipping = __rpShippingTax(shippingNet, shippingTaxRow ? taxRate : 0, taxIncluded, moneyDecimals);\n\n var outOptions = [];\n for (var p = 0; p < options.length; p++) {\n var optionFree = thresholdReached || options[p].price === 0;\n outOptions.push({\n id: options[p].id,\n name: options[p].name,\n estimatedDays: options[p].estimatedDays,\n price: options[p].price,\n // What choosing this option adds to the order \u2014 the figure to print beside it.\n gross: optionFree\n ? 0\n : __rpShippingTax(options[p].price, shippingTaxRow ? taxRate : 0, taxIncluded, moneyDecimals).gross,\n isFree: optionFree\n });\n }\n\n return {\n fulfillment: delivering ? 'delivery' : 'pickup',\n destination: destination,\n taxRegional: taxRegional,\n zonesActive: zonesActive,\n status: status,\n taxDecimals: taxDecimals,\n lines: outLines,\n goodsNet: goodsNet,\n goodsTax: goodsTax,\n goodsGross: goodsGross,\n taxRate: taxRate,\n taxIncluded: taxIncluded,\n breakdown: breakdown,\n zone: zone,\n options: outOptions,\n selectedRateId: selectedRateId,\n rateName: rateName,\n freeShippingThreshold: threshold,\n freeShippingProgress: threshold === null\n ? 0\n : threshold > 0 ? Math.min(100, (basisPrice / threshold) * 100) : 100,\n freeShippingRemaining: threshold === null ? 0 : Math.max(0, __rpRound(threshold - basisPrice, 2)),\n shippingIsFree: thresholdReached,\n shippingBase: shippingBase,\n shippingNet: shippingNet,\n shippingTax: shipping.tax,\n shippingGross: shipping.gross,\n codAvailable: codAvailable,\n // Goods are rounded to `taxDecimals`, so the total is too: a zero-decimal\n // store with no regional tax rows keeps cent-precise goods, as before.\n total: __rpRound(goodsGross + shipping.gross, taxDecimals)\n };\n};\n\n// The address the checkout form is pricing, read straight off the form. Null\n// anywhere the checkout form is not on the page.\n//\n// The same address the place-order workflow uses: the shipping address block\n// exists in the DOM only while \"ship to a different address\" is ticked, and the\n// billing address otherwise. `countryCodes` maps a lower-cased country NAME\n// (what the country field holds) to its ISO code.\nvar __rpReadCheckoutDestination = function (countryCodes) {\n if (typeof document === 'undefined') return null;\n var billingCountry = document.querySelector('[name=\"billingCountry\"]');\n if (!billingCountry) return null;\n var shippingCountry = document.querySelector('[name=\"shippingCountry\"]');\n var countryField = shippingCountry || billingCountry;\n var regionField = document.querySelector(shippingCountry ? '[name=\"shippingState\"]' : '[name=\"state\"]');\n var countryName = __rpText(countryField.value);\n var codes = countryCodes && typeof countryCodes === 'object' ? countryCodes : {};\n var countryCode = codes[countryName.toLowerCase()] || '';\n if (!countryCode && /^[A-Za-z]{2}$/.test(countryName)) countryCode = countryName.toUpperCase();\n return {\n countryCode: countryCode,\n countryName: countryName,\n region: regionField ? __rpText(regionField.value) : ''\n };\n};\n"; };
41
+ exports.generateRegionalPricingHelperCode = generateRegionalPricingHelperCode;
42
+ /**
43
+ * The shipping rate the buyer picked at checkout (a rate id). ⚠️ `cart-get-total`
44
+ * spells the same key out as a literal — a serialized handler has no module
45
+ * scope to import it from.
46
+ */
47
+ exports.SHIPPING_RATE_STORAGE_KEY = 'workflow_shipping_rate';
48
+ /** Broadcast when the buyer picks a shipping rate. */
49
+ exports.SHIPPING_RATE_CHANGED_EVENT = 'teleport:shipping-rate-changed';
50
+ //# sourceMappingURL=regional-pricing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regional-pricing.js","sourceRoot":"","sources":["../../../src/utils/regional-pricing.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACI,IAAM,iCAAiC,GAAG,cAAc,OAAA,6vrBAsiB9D,EAtiB8D,CAsiB9D,CAAA;AAtiBY,QAAA,iCAAiC,qCAsiB7C;AAED;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,wBAAwB,CAAA;AAEjE,sDAAsD;AACzC,QAAA,2BAA2B,GAAG,gCAAgC,CAAA"}
@@ -56,4 +56,21 @@ export declare const STOREFRONT_TAX_RATE_DECLARATION = "var STOREFRONT_TAX_RATE
56
56
  * totals.
57
57
  */
58
58
  export declare const generateStorefrontTaxHelperCode: (taxRate: number) => string;
59
+ /**
60
+ * ES5 helpers for a generated route that shows the lines of a PLACED order —
61
+ * the merchant's order-notification email. Mirrors teleport-gui's
62
+ * `ORDER_LINE_TAX_SCRIPT` (`storefront-tax-script.ts`), which the storefront's
63
+ * baked workflows run; `__tests__/utils/order-line-tax.ts` and the GUI's
64
+ * `order-line-pricing-parity.spec.ts` run the same fixture table over both.
65
+ *
66
+ * What a line cost the buyer is decided once, at checkout, and written to
67
+ * `teleport_order_items` (`unit_price_paid`, `total_price_paid`, `tax_rate`,
68
+ * `tax_included`). A reader prefers the record (`orderLineTaxOf`,
69
+ * `paidAmountAt`) and DERIVES it only for a line written before the record
70
+ * existed: from the rate its order's `tax_breakdown` recorded for it (an order
71
+ * priced by region), else from `STOREFRONT_TAX_RATE`.
72
+ *
73
+ * Requires the prelude from `generateStorefrontTaxHelperCode` in scope.
74
+ */
75
+ export declare const generateOrderLineTaxHelperCode: () => string;
59
76
  //# sourceMappingURL=storefront-tax.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storefront-tax.d.ts","sourceRoot":"","sources":["../../../src/utils/storefront-tax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,wBAAwB,qBAAsB,mBAAmB,GAAG,IAAI,KAAG,MAMvF,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,WAAY,MAAM,WAAW,MAAM,KAAG,MAOpE,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,+BAA+B,CAAA;AAE3E;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,YAAa,MAAM,KAAG,MAqDjE,CAAA"}
1
+ {"version":3,"file":"storefront-tax.d.ts","sourceRoot":"","sources":["../../../src/utils/storefront-tax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,wBAAwB,qBAAsB,mBAAmB,GAAG,IAAI,KAAG,MAMvF,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,WAAY,MAAM,WAAW,MAAM,KAAG,MAOpE,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,+BAA+B,CAAA;AAE3E;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,YAAa,MAAM,KAAG,MAqDjE,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,8BAA8B,QAAO,MA+DhD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateStorefrontTaxHelperCode = exports.STOREFRONT_TAX_RATE_DECLARATION = exports.applyStorefrontTax = exports.resolveStorefrontTaxRate = void 0;
3
+ exports.generateOrderLineTaxHelperCode = exports.generateStorefrontTaxHelperCode = exports.STOREFRONT_TAX_RATE_DECLARATION = exports.applyStorefrontTax = exports.resolveStorefrontTaxRate = void 0;
4
4
  /**
5
5
  * Storefront-facing view of the invoice panel's Tax card
6
6
  * (`Default Tax Rate (%)` + `Added on top` / `Included in price`).
@@ -77,4 +77,22 @@ var generateStorefrontTaxHelperCode = function (taxRate) {
77
77
  return "// Percentage added on top of every stored (NET) price. Baked from the\n// merchant's invoice settings; `0` means the stored price is already what the\n// customer pays. The stored cart and the persisted order lines stay NET \u2014 the\n// tax is added only where a price is displayed or charged, so it can never be\n// applied twice.\n".concat(exports.STOREFRONT_TAX_RATE_DECLARATION).concat(safeRate, ";\n\nfunction applyStorefrontTax(amount) {\n var base = Number(amount);\n if (!isFinite(base)) base = 0;\n if (!(STOREFRONT_TAX_RATE > 0)) return base;\n // Rounded per UNIT (not per line) so `unit price x quantity` equals the line\n // total printed beside it.\n return Math.round(base * (1 + STOREFRONT_TAX_RATE / 100) * 100) / 100;\n}\n\nfunction grossMoney(amount) {\n if (amount == null || amount === '') return '0.00';\n var n = Number(amount);\n // A cell we cannot parse is shown as-is rather than replaced by an invented\n // price \u2014 the same rule the untaxed money formatters have always applied.\n if (!isFinite(n)) return String(amount);\n return applyStorefrontTax(n).toFixed(2);\n}\n\n// The same 2-decimal formatting WITHOUT the tax, for a value that is stored\n// rather than displayed. Kept beside `grossMoney` so the pair reads as the one\n// decision it is: does this number get shown, or written down?\nfunction netMoney(amount) {\n if (amount == null || amount === '') return '0.00';\n var n = Number(amount);\n if (!isFinite(n)) return String(amount);\n return n.toFixed(2);\n}\n\n// A line total is the GROSS UNIT price times the quantity, never the net line\n// total taxed as a lump: rounding happens once, per unit, so the unit price a\n// shopper reads really does multiply into the line total printed beside it.\n//\n// With no tax to add there is nothing to re-derive, so the stored line total is\n// returned verbatim \u2014 an untaxed store keeps rendering exactly what it always\n// did, including a hand-edited line that does not equal unit x quantity.\nfunction grossLineMoney(unitAmount, quantity, storedTotal) {\n var unit = Number(unitAmount);\n if ((!(STOREFRONT_TAX_RATE > 0) || !isFinite(unit)) && storedTotal != null && storedTotal !== '') {\n return grossMoney(storedTotal);\n }\n var qty = Number(quantity);\n if (!isFinite(qty) || qty <= 0) qty = 1;\n return (Math.round(applyStorefrontTax(unitAmount) * qty * 100) / 100).toFixed(2);\n}");
78
78
  };
79
79
  exports.generateStorefrontTaxHelperCode = generateStorefrontTaxHelperCode;
80
+ /**
81
+ * ES5 helpers for a generated route that shows the lines of a PLACED order —
82
+ * the merchant's order-notification email. Mirrors teleport-gui's
83
+ * `ORDER_LINE_TAX_SCRIPT` (`storefront-tax-script.ts`), which the storefront's
84
+ * baked workflows run; `__tests__/utils/order-line-tax.ts` and the GUI's
85
+ * `order-line-pricing-parity.spec.ts` run the same fixture table over both.
86
+ *
87
+ * What a line cost the buyer is decided once, at checkout, and written to
88
+ * `teleport_order_items` (`unit_price_paid`, `total_price_paid`, `tax_rate`,
89
+ * `tax_included`). A reader prefers the record (`orderLineTaxOf`,
90
+ * `paidAmountAt`) and DERIVES it only for a line written before the record
91
+ * existed: from the rate its order's `tax_breakdown` recorded for it (an order
92
+ * priced by region), else from `STOREFRONT_TAX_RATE`.
93
+ *
94
+ * Requires the prelude from `generateStorefrontTaxHelperCode` in scope.
95
+ */
96
+ var generateOrderLineTaxHelperCode = function () { return "\n// Every line of an order carries the same breakdown text: parse it once.\nvar orderLineTaxRaw = null;\nvar orderLineTaxParsed = null;\nfunction parseOrderLineTaxBreakdown(breakdown) {\n var parsed = breakdown;\n if (typeof breakdown === 'string') {\n if (breakdown !== orderLineTaxRaw) {\n orderLineTaxRaw = breakdown;\n try { orderLineTaxParsed = breakdown ? JSON.parse(breakdown) : null; } catch (e) { orderLineTaxParsed = null; }\n }\n parsed = orderLineTaxParsed;\n }\n return parsed && typeof parsed === 'object' && Array.isArray(parsed.lines) ? parsed : null;\n}\nfunction orderLineTaxDecimals(parsed) {\n return parsed && parsed.taxDecimals === 0 ? 0 : 2;\n}\nfunction orderLineTaxIncluded(value) {\n return value === true || value === 'true' || value === 't' || value === 1 || value === '1';\n}\n// The tax one line was charged at: { rate, included, decimals }.\nfunction orderLineTax(breakdown, productId, variantId) {\n var parsed = parseOrderLineTaxBreakdown(breakdown);\n if (!parsed) {\n return { rate: STOREFRONT_TAX_RATE > 0 ? STOREFRONT_TAX_RATE : 0, included: false, decimals: 2 };\n }\n var pid = String(productId == null ? '' : productId);\n var vid = String(variantId == null ? '' : variantId);\n var match = null;\n for (var li = 0; li < parsed.lines.length; li++) {\n var line = parsed.lines[li];\n if (line && String(line.productId || '') === pid && String(line.variantId || '') === vid) {\n match = line;\n break;\n }\n }\n var source = match || parsed;\n var rate = Number(source.taxRate);\n if (!isFinite(rate) || rate < 0) rate = 0;\n return { rate: rate, included: source.taxIncluded === true, decimals: orderLineTaxDecimals(parsed) };\n}\n// The tax a stored line was RECORDED with, else `orderLineTax`.\nfunction orderLineTaxOf(breakdown, productId, variantId, storedRate, storedIncluded) {\n var rate = storedRate == null || storedRate === '' ? NaN : Number(storedRate);\n if (!isFinite(rate) || rate < 0) return orderLineTax(breakdown, productId, variantId);\n return {\n rate: rate,\n included: orderLineTaxIncluded(storedIncluded),\n decimals: orderLineTaxDecimals(parseOrderLineTaxBreakdown(breakdown))\n };\n}\nfunction grossAmountAt(amount, tax) {\n var base = Number(amount);\n if (!isFinite(base)) base = 0;\n if (!tax || tax.included === true || !(tax.rate > 0)) return base;\n var factor = tax.decimals === 0 ? 1 : 100;\n return Math.round(base * (1 + tax.rate / 100) * factor) / factor;\n}\n// What the buyer paid, as RECORDED on the line; derived for an older line.\nfunction paidAmountAt(paidAmount, netAmount, tax) {\n var paid = paidAmount == null || paidAmount === '' ? NaN : Number(paidAmount);\n return isFinite(paid) ? paid : grossAmountAt(netAmount, tax);\n}"; };
97
+ exports.generateOrderLineTaxHelperCode = generateOrderLineTaxHelperCode;
80
98
  //# sourceMappingURL=storefront-tax.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"storefront-t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IAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IACtE,OAAO,0VAKP,uCAA+B,SAAG,QAAQ,+9DA6C1C,CAAA;AACF,CAAC,CAAA;AArDY,QAAA,+BAA+B,mCAqD3C;AAED;;;;;;;;;;;;;;;GAeG;AACI,IAAM,8BAA8B,GAAG,cAAc,OAAA,yuFA+D1D,EA/D0D,CA+D1D,CAAA;AA/DW,QAAA,8BAA8B,kCA+DzC"}
@@ -3,6 +3,14 @@ export declare const dashCaseToCamelCase: (str: string) => string;
3
3
  export declare const capitalize: (str: string) => string;
4
4
  export declare const camelize: (str: string) => string;
5
5
  export declare const dashCaseToUpperCamelCase: (str: string) => string;
6
+ /**
7
+ * The key a CSS property takes in a React `style` object: `background-color`
8
+ * → `backgroundColor`, but a custom property (`--tq-panel-display`) verbatim —
9
+ * React only writes a key through `style.setProperty` when it starts with
10
+ * `--`, and `-TqPanelDisplay` (what the camel rule made of it) neither renders
11
+ * nor updates.
12
+ */
13
+ export declare const cssPropertyToInlineStyleKey: (property: string) => string;
6
14
  export declare const removeIllegalCharacters: (str: string) => string;
7
15
  export declare const slugify: (str: string) => string;
8
16
  export declare const createStateOrPropStoringValue: (value: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/string-utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,QAAS,MAAM,KAAG,MACgC,CAAA;AAClF,eAAO,MAAM,mBAAmB,QAAS,MAAM,KAAG,MACqB,CAAA;AAEvE,eAAO,MAAM,UAAU,QAAS,MAAM,KAAG,MAA6C,CAAA;AACtF,eAAO,MAAM,QAAQ,QAAS,MAAM,KAAG,MAA6C,CAAA;AAEpF,eAAO,MAAM,wBAAwB,QAAS,MAAM,WAAyC,CAAA;AAE7F,eAAO,MAAM,uBA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0B,UAAW,MAAM,WACqB,CAAA;AAE7E;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,SAAU,MAAM,KAAG,MACW,CAAA;AAEtE,eAAO,MAAM,mBAAmB,WAAY,MAAM,OAAO,MAAM,WAK9D,CAAA;AAED,eAAO,MAAM,mBAAmB,QAAS,MAAM,WAE9C,CAAA;AAYD,eAAO,MAAM,MAAM,QAAS,MAAM,WAQjC,CAAA;AAED,eAAO,MAAM,oBAAoB,cAAmD,CAAA;AAQpF,eAAO,MAAM,sBAAsB,QAAS,MAAM,KAAG,MAAiC,CAAA;AAEtF,eAAO,MAAM,uBAAuB,SAAU,MAAM,KAAG,MAEtD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateCSSVariableName = exports.sanitizeTranslationKey = exports.generateRandomString = exports.encode = exports.removeLastEmptyLine = exports.addSpacesToEachLine = exports.createGlobalStateSetterName = exports.createStateStoringFunction = exports.createStateOrPropStoringValue = exports.slugify = exports.removeIllegalCharacters = exports.dashCaseToUpperCamelCase = exports.camelize = exports.capitalize = exports.dashCaseToCamelCase = exports.camelCaseToDashCase = void 0;
3
+ exports.generateCSSVariableName = exports.sanitizeTranslationKey = exports.generateRandomString = exports.encode = exports.removeLastEmptyLine = exports.addSpacesToEachLine = exports.createGlobalStateSetterName = exports.createStateStoringFunction = exports.createStateOrPropStoringValue = exports.slugify = exports.removeIllegalCharacters = exports.cssPropertyToInlineStyleKey = exports.dashCaseToUpperCamelCase = exports.camelize = exports.capitalize = exports.dashCaseToCamelCase = exports.camelCaseToDashCase = void 0;
4
4
  var js_identifiers_1 = require("./js-identifiers");
5
5
  var camelCaseToDashCase = function (str) {
6
6
  return str.replace(/([a-z])(?=[A-Z])|([A-Z0-9])(?=[A-Z][a-z])/g, '$1$2-').toLowerCase();
@@ -16,6 +16,19 @@ var camelize = function (str) { return str[0].toLowerCase() + str.slice(1); };
16
16
  exports.camelize = camelize;
17
17
  var dashCaseToUpperCamelCase = function (str) { return (0, exports.capitalize)((0, exports.dashCaseToCamelCase)(str)); };
18
18
  exports.dashCaseToUpperCamelCase = dashCaseToUpperCamelCase;
19
+ /**
20
+ * The key a CSS property takes in a React `style` object: `background-color`
21
+ * → `backgroundColor`, but a custom property (`--tq-panel-display`) verbatim —
22
+ * React only writes a key through `style.setProperty` when it starts with
23
+ * `--`, and `-TqPanelDisplay` (what the camel rule made of it) neither renders
24
+ * nor updates.
25
+ */
26
+ var cssPropertyToInlineStyleKey = function (property) {
27
+ return property.startsWith('--')
28
+ ? property
29
+ : property.replace(/-([a-z])/g, function (_, letter) { return letter.toUpperCase(); });
30
+ };
31
+ exports.cssPropertyToInlineStyleKey = cssPropertyToInlineStyleKey;
19
32
  var removeIllegalCharacters = function (str) {
20
33
  if (typeof str !== 'string') {
21
34
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../../../src/utils/string-utils.ts"],"names":[],"mappings":";;;AAAA,mDAAyD;AAElD,IAAM,mBAAmB,GAAG,UAAC,GAAW;IAC7C,OAAA,GAAG,CAAC,OAAO,CAAC,4CAA4C,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE;AAAhF,CAAgF,CAAA;AADrE,QAAA,mBAAmB,uBACkD;AAC3E,IAAM,mBAAmB,GAAG,UAAC,GAAW;IAC7C,OAAA,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,UAAC,CAAC,EAAE,GAAG,IAAK,OAAA,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAA9B,CAA8B,CAAC;AAArE,CAAqE,CAAA;AAD1D,QAAA,mBAAmB,uBACuC;AAEhE,IAAM,UAAU,GAAG,UAAC,GAAW,IAAa,OAAA,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAnC,CA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C,EAAE,CAAC;SACT,GAAG,CAAC,UAAC,IAAI;QACR,IAAM,WAAW,GAAG,WAAW,CAAC,IAAI,CAAC,CAAA;QACrC,OAAO,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAA;IACzC,CAAC,CAAC;SACD,IAAI,CAAC,EAAE,CAAC,CAAA;AACb,CAAC,CAAA;AARY,QAAA,MAAM,UAQlB;AAEM,IAAM,oBAAoB,GAAG,cAAM,OAAA,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAA1C,CAA0C,CAAA;AAAvE,QAAA,oBAAoB,wBAAmD;AAEpF,+EAA+E;AAC/E,+EAA+E;AAC/E,+EAA+E;AAC/E,6EAA6E;AAC7E,4EAA4E;AAC5E,eAAe;AACR,IAAM,sBAAsB,GAAG,UAAC,GAAW,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,EAAvB,CAAuB,CAAA;AAAzE,QAAA,sBAAsB,0BAAmD;AAE/E,IAAM,uBAAuB,GAAG,UAAC,IAAY;IAClD,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAA,2BAAmB,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAA,2BAAmB,EAAC,YAAK,IAAI,CAAE,CAAC,CAAA;AAC7F,CAAC,CAAA;AAFY,QAAA,uBAAuB,2BAEnC"}
@@ -14,11 +14,12 @@ import * as StyleDeclarations from './utils/style-declarations';
14
14
  import * as StorefrontTax from './utils/storefront-tax';
15
15
  import * as ProductDiscounts from './utils/product-discounts';
16
16
  import * as ProductRatings from './utils/product-ratings';
17
+ import * as RegionalPricing from './utils/regional-pricing';
17
18
  import * as FontPreconnect from './utils/font-preconnect';
18
19
  import * as EmailDate from './utils/email-date';
19
20
  import * as RichTextEmbeds from './utils/rich-text-embeds';
20
21
  import * as RichTextEmbedsCodegen from './utils/rich-text-embeds-codegen';
21
22
  import * as DataCache from './cache';
22
23
  import * as PageRevalidate from './page-revalidate';
23
- export { Constants, StringUtils, UIDLUtils, GenericUtils, LocalImports, JSIdentifiers, ASTScope, ASTStatementOrder, ASTEffectCleanup, RoutePaths, LayoutTopology, HtmlContentModel, StyleDeclarations, StorefrontTax, ProductDiscounts, ProductRatings, FontPreconnect, EmailDate, RichTextEmbeds, RichTextEmbedsCodegen, DataCache, PageRevalidate, };
24
+ export { Constants, StringUtils, UIDLUtils, GenericUtils, LocalImports, JSIdentifiers, ASTScope, ASTStatementOrder, ASTEffectCleanup, RoutePaths, LayoutTopology, HtmlContentModel, StyleDeclarations, StorefrontTax, ProductDiscounts, ProductRatings, RegionalPricing, FontPreconnect, EmailDate, RichTextEmbeds, RichTextEmbedsCodegen, DataCache, PageRevalidate, };
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,iBAAiB,MAAM,6BAA6B,CAAA;AAChE,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,iBAAiB,MAAM,4BA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