diff --git a/packages/gleam-runtime/gleam b/packages/gleam-runtime/gleam index 81237aa..7e2d1f2 160000 --- a/packages/gleam-runtime/gleam +++ b/packages/gleam-runtime/gleam @@ -1 +1 @@ -Subproject commit 81237aa5b235d7e10cc46dfb820772af67795001 +Subproject commit 7e2d1f247016a9700a4aa9d9e04b59f7c0a6670f diff --git a/packages/gleam-runtime/src/vendor/compiler/gleam_wasm_bg.wasm b/packages/gleam-runtime/src/vendor/compiler/gleam_wasm_bg.wasm index 32b8c4c..0e3f2f7 100644 Binary files a/packages/gleam-runtime/src/vendor/compiler/gleam_wasm_bg.wasm and b/packages/gleam-runtime/src/vendor/compiler/gleam_wasm_bg.wasm differ diff --git a/packages/gleam-runtime/src/vendor/compiler/package.json b/packages/gleam-runtime/src/vendor/compiler/package.json index ee0b2d1..623064f 100644 --- a/packages/gleam-runtime/src/vendor/compiler/package.json +++ b/packages/gleam-runtime/src/vendor/compiler/package.json @@ -3,7 +3,7 @@ "collaborators": [ "Louis Pilfold " ], - "version": "1.3.0-rc1", + "version": "1.3.2", "license": "SEE LICENSE IN LICENCE", "files": [ "gleam_wasm_bg.wasm", diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bit_array.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bit_array.mjs index 42bb25e..4499a1b 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bit_array.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bit_array.mjs @@ -1,5 +1,5 @@ import { toList, remainderInt } from "../gleam.mjs"; -import * as $string from "./string.mjs"; +import * as $string from "../gleam/string.mjs"; import { bit_array_from_string as from_string, length as byte_size, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bool.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bool.mjs index ae5ac5e..117d991 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bool.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bool.mjs @@ -1,4 +1,4 @@ -import * as $order from "./order.mjs"; +import * as $order from "../gleam/order.mjs"; export function and(a, b) { return a && b; diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bytes_builder.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bytes_builder.mjs index 1621f14..ea37265 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bytes_builder.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/bytes_builder.mjs @@ -1,7 +1,7 @@ import { toList, prepend as listPrepend, CustomType as $CustomType } from "../gleam.mjs"; -import * as $bit_array from "./bit_array.mjs"; -import * as $list from "./list.mjs"; -import * as $string_builder from "./string_builder.mjs"; +import * as $bit_array from "../gleam/bit_array.mjs"; +import * as $list from "../gleam/list.mjs"; +import * as $string_builder from "../gleam/string_builder.mjs"; class Bytes extends $CustomType { constructor(x0) { diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dict.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dict.mjs index 4b7c739..3e7c940 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dict.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dict.mjs @@ -1,5 +1,5 @@ import { Error, toList, prepend as listPrepend, isEqual } from "../gleam.mjs"; -import * as $option from "./option.mjs"; +import * as $option from "../gleam/option.mjs"; import { map_size as size, map_to_list as to_list, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dynamic.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dynamic.mjs index f6edeae..e9011bf 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dynamic.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/dynamic.mjs @@ -1,10 +1,10 @@ import { Ok, Error, toList, prepend as listPrepend, CustomType as $CustomType } from "../gleam.mjs"; -import * as $dict from "./dict.mjs"; -import * as $int from "./int.mjs"; -import * as $list from "./list.mjs"; -import * as $option from "./option.mjs"; -import * as $result from "./result.mjs"; -import * as $string_builder from "./string_builder.mjs"; +import * as $dict from "../gleam/dict.mjs"; +import * as $int from "../gleam/int.mjs"; +import * as $list from "../gleam/list.mjs"; +import * as $option from "../gleam/option.mjs"; +import * as $result from "../gleam/result.mjs"; +import * as $string_builder from "../gleam/string_builder.mjs"; import { identity as do_from, identity as do_unsafe_coerce, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/float.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/float.mjs index 73012da..c39920e 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/float.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/float.mjs @@ -1,5 +1,5 @@ import { Ok, Error, divideFloat } from "../gleam.mjs"; -import * as $order from "./order.mjs"; +import * as $order from "../gleam/order.mjs"; import { parse_float as do_parse, float_to_string as do_to_string, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/int.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/int.mjs index 11d4e15..bd75da7 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/int.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/int.mjs @@ -7,8 +7,8 @@ import { remainderInt, divideInt, } from "../gleam.mjs"; -import * as $float from "./float.mjs"; -import * as $order from "./order.mjs"; +import * as $float from "../gleam/float.mjs"; +import * as $order from "../gleam/order.mjs"; import { parse_int as do_parse, int_from_base_string as do_base_parse, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/io.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/io.mjs index a0bfc58..46d0944 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/io.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/io.mjs @@ -1,4 +1,4 @@ -import * as $string from "./string.mjs"; +import * as $string from "../gleam/string.mjs"; import { print as do_print, print_error as do_print_error, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/iterator.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/iterator.mjs index 6c9ab81..b8d8d63 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/iterator.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/iterator.mjs @@ -6,13 +6,13 @@ import { CustomType as $CustomType, isEqual, } from "../gleam.mjs"; -import * as $dict from "./dict.mjs"; -import * as $int from "./int.mjs"; -import * as $list from "./list.mjs"; -import * as $option from "./option.mjs"; -import { None, Some } from "./option.mjs"; -import * as $order from "./order.mjs"; -import * as $result from "./result.mjs"; +import * as $dict from "../gleam/dict.mjs"; +import * as $int from "../gleam/int.mjs"; +import * as $list from "../gleam/list.mjs"; +import * as $option from "../gleam/option.mjs"; +import { None, Some } from "../gleam/option.mjs"; +import * as $order from "../gleam/order.mjs"; +import * as $result from "../gleam/result.mjs"; class Stop extends $CustomType {} diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/list.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/list.mjs index f09fa07..1a20e06 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/list.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/list.mjs @@ -6,11 +6,11 @@ import { CustomType as $CustomType, isEqual, } from "../gleam.mjs"; -import * as $dict from "./dict.mjs"; -import * as $float from "./float.mjs"; -import * as $int from "./int.mjs"; -import * as $order from "./order.mjs"; -import * as $pair from "./pair.mjs"; +import * as $dict from "../gleam/dict.mjs"; +import * as $float from "../gleam/float.mjs"; +import * as $int from "../gleam/int.mjs"; +import * as $order from "../gleam/order.mjs"; +import * as $pair from "../gleam/pair.mjs"; export class Continue extends $CustomType { constructor(x0) { diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/queue.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/queue.mjs index 838c2f9..480983f 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/queue.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/queue.mjs @@ -6,7 +6,7 @@ import { CustomType as $CustomType, isEqual, } from "../gleam.mjs"; -import * as $list from "./list.mjs"; +import * as $list from "../gleam/list.mjs"; class Queue extends $CustomType { constructor(in$, out) { diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/regex.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/regex.mjs index 3fcff2d..9ef3127 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/regex.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/regex.mjs @@ -1,5 +1,5 @@ import { CustomType as $CustomType } from "../gleam.mjs"; -import * as $option from "./option.mjs"; +import * as $option from "../gleam/option.mjs"; import { compile_regex as do_compile, regex_check as do_check, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/result.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/result.mjs index 95727ee..dfad5d5 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/result.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/result.mjs @@ -1,5 +1,5 @@ import { Ok, Error, toList, prepend as listPrepend } from "../gleam.mjs"; -import * as $list from "./list.mjs"; +import * as $list from "../gleam/list.mjs"; export function is_ok(result) { if (!result.isOk()) { diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/set.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/set.mjs index acfe5a8..629e948 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/set.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/set.mjs @@ -1,7 +1,7 @@ import { CustomType as $CustomType, isEqual } from "../gleam.mjs"; -import * as $dict from "./dict.mjs"; -import * as $list from "./list.mjs"; -import * as $result from "./result.mjs"; +import * as $dict from "../gleam/dict.mjs"; +import * as $list from "../gleam/list.mjs"; +import * as $result from "../gleam/result.mjs"; class Set extends $CustomType { constructor(dict) { diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string.mjs index b60ab29..32d2dad 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string.mjs @@ -1,10 +1,10 @@ import { Ok, Error, prepend as listPrepend, remainderInt, divideInt } from "../gleam.mjs"; -import * as $iterator from "./iterator.mjs"; -import * as $list from "./list.mjs"; -import * as $option from "./option.mjs"; -import { None, Some } from "./option.mjs"; -import * as $order from "./order.mjs"; -import * as $string_builder from "./string_builder.mjs"; +import * as $iterator from "../gleam/iterator.mjs"; +import * as $list from "../gleam/list.mjs"; +import * as $option from "../gleam/option.mjs"; +import { None, Some } from "../gleam/option.mjs"; +import * as $order from "../gleam/order.mjs"; +import * as $string_builder from "../gleam/string_builder.mjs"; import { string_length as do_length, lowercase as do_lowercase, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string_builder.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string_builder.mjs index 47ac7ca..6c1a413 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string_builder.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/string_builder.mjs @@ -1,5 +1,5 @@ import { toList, isEqual } from "../gleam.mjs"; -import * as $list from "./list.mjs"; +import * as $list from "../gleam/list.mjs"; import { add as do_append, concat as do_from_strings, diff --git a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/uri.mjs b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/uri.mjs index ddcfc2a..d8bcbb4 100644 --- a/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/uri.mjs +++ b/packages/gleam-runtime/src/vendor/stdlib/precompiled/gleam/uri.mjs @@ -6,15 +6,15 @@ import { CustomType as $CustomType, isEqual, } from "../gleam.mjs"; -import * as $int from "./int.mjs"; -import * as $list from "./list.mjs"; -import * as $option from "./option.mjs"; -import { None, Some } from "./option.mjs"; -import * as $pair from "./pair.mjs"; -import * as $regex from "./regex.mjs"; -import * as $result from "./result.mjs"; -import * as $string from "./string.mjs"; -import * as $string_builder from "./string_builder.mjs"; +import * as $int from "../gleam/int.mjs"; +import * as $list from "../gleam/list.mjs"; +import * as $option from "../gleam/option.mjs"; +import { None, Some } from "../gleam/option.mjs"; +import * as $pair from "../gleam/pair.mjs"; +import * as $regex from "../gleam/regex.mjs"; +import * as $result from "../gleam/result.mjs"; +import * as $string from "../gleam/string.mjs"; +import * as $string_builder from "../gleam/string_builder.mjs"; import { parse_query as do_parse_query, percent_encode as do_percent_encode, diff --git a/packages/gleam-runtime/vite.config.js.timestamp-1720819757433-ae4c843c33974.mjs b/packages/gleam-runtime/vite.config.js.timestamp-1720819757433-ae4c843c33974.mjs deleted file mode 100644 index 094e1c0..0000000 --- a/packages/gleam-runtime/vite.config.js.timestamp-1720819757433-ae4c843c33974.mjs +++ /dev/null @@ -1,52 +0,0 @@ -// vite.config.js -import { resolve } from "path"; -import { defineConfig } from "file:///home/roman/Projects/ppp/node_modules/.pnpm/vite@5.3.3_@types+node@20.14.2/node_modules/vite/dist/node/index.js"; -import dts from "file:///home/roman/Projects/ppp/node_modules/.pnpm/vite-plugin-dts@3.9.1_@types+node@20.14.2_rollup@4.18.0_typescript@5.5.3_vite@5.3.3_@types+node@20.14.2_/node_modules/vite-plugin-dts/dist/index.mjs"; -import { viteStaticCopy } from "file:///home/roman/Projects/ppp/node_modules/.pnpm/vite-plugin-static-copy@1.0.6_vite@5.3.3_@types+node@20.14.2_/node_modules/vite-plugin-static-copy/dist/index.js"; -var __vite_injected_original_dirname = "/home/roman/Projects/ppp/packages/gleam-runtime"; -var vite_config_default = defineConfig({ - build: { - lib: { - // Could also be a dictionary or array of multiple entry points - entry: { - index: resolve(__vite_injected_original_dirname, "src/index.ts"), - version: resolve(__vite_injected_original_dirname, "src/version.ts") - }, - formats: ["es"] - // name: "MyLib", - // the proper extensions will be added - // fileName: "index", - }, - rollupOptions: { - // make sure to externalize deps that shouldn't be bundled - // into your library - external: [/^libs\//], - output: { - // Provide global variables to use in the UMD build - // for externalized deps - globals: { - // vue: "Vue", - } - } - } - }, - plugins: [ - dts(), - viteStaticCopy({ - targets: [ - { - src: "src/vendor/compiler/gleam_wasm_bg.wasm", - dest: "." - }, - { - src: "src/vendor/stdlib/precompiled", - dest: "." - } - ] - }) - ] -}); -export { - vite_config_default as default -}; -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9yb21hbi9Qcm9qZWN0cy9wcHAvcGFja2FnZXMvZ2xlYW0tcnVudGltZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiL2hvbWUvcm9tYW4vUHJvamVjdHMvcHBwL3BhY2thZ2VzL2dsZWFtLXJ1bnRpbWUvdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL2hvbWUvcm9tYW4vUHJvamVjdHMvcHBwL3BhY2thZ2VzL2dsZWFtLXJ1bnRpbWUvdml0ZS5jb25maWcuanNcIjtpbXBvcnQgeyByZXNvbHZlIH0gZnJvbSBcInBhdGhcIjtcbmltcG9yd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EsRUFDQSxTQUFTO0FBQUEsSUFDUCxJQUFJO0FBQUEsSUFDSixlQUFlO0FBQUEsTUFDYixTQUFTO0FBQUEsUUFDUDtBQUFBLFVBQ0UsS0FBSztBQUFBLFVBQ0wsTUFBTTtBQUFBLFFBQ1I7QUFBQSxRQUNBO0FBQUEsVUFDRSxLQUFLO0FBQUEsVUFDTCxNQUFNO0FBQUEsUUFDUjtBQUFBLE1BQ0Y7QUFBQSxJQUNGLENBQUM7QUFBQSxFQUNIO0FBQ0YsQ0FBQzsiLAogICJuYW1lcyI6IFtdCn0K diff --git a/packages/gleam-runtime/vite.config.js.timestamp-1720819931256-31efbe9e36aa4.mjs b/packages/gleam-runtime/vite.config.js.timestamp-1720819931256-31efbe9e36aa4.mjs deleted file mode 100644 index 094e1c0..0000000 --- a/packages/gleam-runtime/vite.config.js.timestamp-1720819931256-31efbe9e36aa4.mjs +++ /dev/null @@ -1,52 +0,0 @@ -// vite.config.js -import { resolve } from "path"; -import { defineConfig } from "file:///home/roman/Projects/ppp/node_modules/.pnpm/vite@5.3.3_@types+node@20.14.2/node_modules/vite/dist/node/index.js"; -import dts from "file:///home/roman/Projects/ppp/node_modules/.pnpm/vite-plugin-dts@3.9.1_@types+node@20.14.2_rollup@4.18.0_typescript@5.5.3_vite@5.3.3_@types+node@20.14.2_/node_modules/vite-plugin-dts/dist/index.mjs"; -import { viteStaticCopy } from "file:///home/roman/Projects/ppp/node_modules/.pnpm/vite-plugin-static-copy@1.0.6_vite@5.3.3_@types+node@20.14.2_/node_modules/vite-plugin-static-copy/dist/index.js"; -var __vite_injected_original_dirname = "/home/roman/Projects/ppp/packages/gleam-runtime"; -var vite_config_default = defineConfig({ - build: { - lib: { - // Could also be a dictionary or array of multiple entry points - entry: { - index: resolve(__vite_injected_original_dirname, "src/index.ts"), - version: resolve(__vite_injected_original_dirname, "src/version.ts") - }, - formats: ["es"] - // name: "MyLib", - // the proper extensions will be added - // fileName: "index", - }, - rollupOptions: { - // make sure to externalize deps that shouldn't be bundled - // into your library - external: [/^libs\//], - output: { - // Provide global variables to use in the UMD build - // for externalized deps - globals: { - // vue: "Vue", - } - } - } - }, - plugins: [ - dts(), - viteStaticCopy({ - targets: [ - { - src: "src/vendor/compiler/gleam_wasm_bg.wasm", - dest: "." - }, - { - src: "src/vendor/stdlib/precompiled", - dest: "." - } - ] - }) - ] -}); -export { - vite_config_default as default -}; -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9yb21hbi9Qcm9qZWN0cy9wcHAvcGFja2FnZXMvZ2xlYW0tcnVudGltZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiL2hvbWUvcm9tYW4vUHJvamVjdHMvcHBwL3BhY2thZ2VzL2dsZWFtLXJ1bnRpbWUvdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL2hvbWUvcm9tYW4vUHJvamVjdHMvcHBwL3BhY2thZ2VzL2dsZWFtLXJ1bnRpbWUvdml0ZS5jb25maWcuanNcIjtpbXBvcnQgeyByZXNvbHZlIH0gZnJvbSBcInBhdGhcIjtcbmltcG9ydCB7IGRlZmluZUNvbmZpZyB9IGZyb20gXCJ2aXRlXCI7XG5pbXBvcnQgZHRzIGZyb20gXCJ2aXRlLXBsdWdpbi1kdHNcIjtcbmltcG9ydCB7IHZpdGVTdGF0aWNDb3B5IH0gZnJvbSBcInZpdGUtcGx1Z2luLXN0YXRpYy1jb3B5XCI7XG5cbmV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZyh7XG4gIGJ1aWxkOiB7XG4gICAgbGliOiB7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