auto-commit for b1d82f8f-dce5-43fe-98e0-ca3fcab13f25

This commit is contained in:
emergent-agent-e1
2025-10-24 02:46:02 +00:00
parent 49170c5fda
commit b0f9261b70
304 changed files with 304 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.hasUrlProtocolPrefix = hasUrlProtocolPrefix;\n exports.isWellKnownUri = isWellKnownUri;\n exports.shouldLinkExternally = shouldLinkExternally;\n /**\n * Does the input string start with a valid URL scheme.\n * NOTE: Additional strictness added to ensure URLs sent in query parameters for in-app navigation are not matched.\n */\n function hasUrlProtocolPrefix(href) {\n return /^([\\w\\d_+.-]+:)?\\/\\//.test(href);\n }\n function isWellKnownUri(href) {\n // This is a hack and we should change this to work like the web in the future where we have full confidence in the\n // ability to match URLs and send anything unmatched to the OS. The main difference between this and `hasUrlProtocolPrefix` is\n // that we don't require `//`, e.g. `mailto:` is valid and common, and `mailto://bacon` is invalid.\n return /^(https?|mailto|tel|sms|geo|maps|market|itmss?|itms-apps|content|file):/.test(href);\n }\n function shouldLinkExternally(href) {\n // Cheap check first to avoid regex if the href is not a path fragment.\n return !href.startsWith('.') && (hasUrlProtocolPrefix(href) || isWellKnownUri(href));\n }\n});","lineCount":27,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"hasUrlProtocolPrefix"],[7,30,3,28],[7,33,3,31,"hasUrlProtocolPrefix"],[7,53,3,51],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"isWellKnownUri"],[8,24,4,22],[8,27,4,25,"isWellKnownUri"],[8,41,4,39],[9,2,5,0,"exports"],[9,9,5,7],[9,10,5,8,"shouldLinkExternally"],[9,30,5,28],[9,33,5,31,"shouldLinkExternally"],[9,53,5,51],[10,2,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,2,10,0],[14,11,10,9,"hasUrlProtocolPrefix"],[14,31,10,29,"hasUrlProtocolPrefix"],[14,32,10,30,"href"],[14,36,10,34],[14,38,10,36],[15,4,11,4],[15,11,11,11],[15,33,11,33],[15,34,11,34,"test"],[15,38,11,38],[15,39,11,39,"href"],[15,43,11,43],[15,44,11,44],[16,2,12,0],[17,2,13,0],[17,11,13,9,"isWellKnownUri"],[17,25,13,23,"isWellKnownUri"],[17,26,13,24,"href"],[17,30,13,28],[17,32,13,30],[18,4,14,4],[19,4,15,4],[20,4,16,4],[21,4,17,4],[21,11,17,11],[21,84,17,84],[21,85,17,85,"test"],[21,89,17,89],[21,90,17,90,"href"],[21,94,17,94],[21,95,17,95],[22,2,18,0],[23,2,19,0],[23,11,19,9,"shouldLinkExternally"],[23,31,19,29,"shouldLinkExternally"],[23,32,19,30,"href"],[23,36,19,34],[23,38,19,36],[24,4,20,4],[25,4,21,4],[25,11,21,11],[25,12,21,12,"href"],[25,16,21,16],[25,17,21,17,"startsWith"],[25,27,21,27],[25,28,21,28],[25,31,21,31],[25,32,21,32],[25,37,21,37,"hasUrlProtocolPrefix"],[25,57,21,57],[25,58,21,58,"href"],[25,62,21,62],[25,63,21,63],[25,67,21,67,"isWellKnownUri"],[25,81,21,81],[25,82,21,82,"href"],[25,86,21,86],[25,87,21,87],[25,88,21,88],[26,2,22,0],[27,0,22,1],[27,3]],"functionMap":{"names":["<global>","hasUrlProtocolPrefix","isWellKnownUri","shouldLinkExternally"],"mappings":"AAA;ACS;CDE;AEC;CFK;AGC;CHG"},"hasCjsExports":true},"type":"js/module"}]}
@@ -0,0 +1 @@
{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":31,"index":46}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./PreventRemoveContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":65,"index":112}}],"key":"gocprUc09OHt9JxWdj0Uy4jHmps=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = {};\n if (e) Object.keys(e).forEach(function (k) {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n });\n n.default = e;\n return n;\n }\n exports.usePreventRemoveContext = usePreventRemoveContext;\n var _react = require(_dependencyMap[0], \"react\");\n var React = _interopNamespace(_react);\n var _PreventRemoveContextJs = require(_dependencyMap[1], \"./PreventRemoveContext.js\");\n function usePreventRemoveContext() {\n const value = React.useContext(_PreventRemoveContextJs.PreventRemoveContext);\n if (value == null) {\n throw new Error(\"Couldn't find the prevent remove context. Is your component inside NavigationContent?\");\n }\n return value;\n }\n});","lineCount":33,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13,"Object"],[4,8,1,13],[4,9,1,13,"defineProperty"],[4,23,1,13],[4,24,1,13,"exports"],[4,31,1,13],[5,4,1,13,"value"],[5,9,1,13],[6,2,1,13],[7,2,1,13],[7,11,1,13,"_interopNamespace"],[7,29,1,13,"e"],[7,30,1,13],[8,4,1,13],[8,8,1,13,"e"],[8,9,1,13],[8,13,1,13,"e"],[8,14,1,13],[8,15,1,13,"__esModule"],[8,25,1,13],[8,34,1,13,"e"],[8,35,1,13],[9,4,1,13],[9,8,1,13,"n"],[9,9,1,13],[10,4,1,13],[10,8,1,13,"e"],[10,9,1,13],[10,11,1,13,"Object"],[10,17,1,13],[10,18,1,13,"keys"],[10,22,1,13],[10,23,1,13,"e"],[10,24,1,13],[10,26,1,13,"forEach"],[10,33,1,13],[10,44,1,13,"k"],[10,45,1,13],[11,6,1,13],[11,10,1,13,"d"],[11,11,1,13],[11,14,1,13,"Object"],[11,20,1,13],[11,21,1,13,"getOwnPropertyDescriptor"],[11,45,1,13],[11,46,1,13,"e"],[11,47,1,13],[11,49,1,13,"k"],[11,50,1,13],[12,6,1,13,"Object"],[12,12,1,13],[12,13,1,13,"defineProperty"],[12,27,1,13],[12,28,1,13,"n"],[12,29,1,13],[12,31,1,13,"k"],[12,32,1,13],[12,34,1,13,"d"],[12,35,1,13],[12,36,1,13,"get"],[12,39,1,13],[12,42,1,13,"d"],[12,43,1,13],[13,8,1,13,"enumerable"],[13,18,1,13],[14,8,1,13,"get"],[14,11,1,13],[14,22,1,13,"get"],[14,23,1,13],[15,10,1,13],[15,17,1,13,"e"],[15,18,1,13],[15,19,1,13,"k"],[15,20,1,13],[16,8,1,13],[17,6,1,13],[18,4,1,13],[19,4,1,13,"n"],[19,5,1,13],[19,6,1,13,"default"],[19,13,1,13],[19,16,1,13,"e"],[19,17,1,13],[20,4,1,13],[20,11,1,13,"n"],[20,12,1,13],[21,2,1,13],[22,2,5,0,"exports"],[22,9,5,0],[22,10,5,0,"usePreventRemoveContext"],[22,33,5,0],[22,36,5,0,"usePreventRemoveContext"],[22,59,5,0],[23,2,3,0],[23,6,3,0,"_react"],[23,12,3,0],[23,15,3,0,"require"],[23,22,3,0],[23,23,3,0,"_dependencyMap"],[23,37,3,0],[24,2,3,0],[24,6,3,0,"React"],[24,11,3,0],[24,14,3,0,"_interopNamespace"],[24,31,3,0],[24,32,3,0,"_react"],[24,38,3,0],[25,2,4,0],[25,6,4,0,"_PreventRemoveContextJs"],[25,29,4,0],[25,32,4,0,"require"],[25,39,4,0],[25,40,4,0,"_dependencyMap"],[25,54,4,0],[26,2,5,7],[26,11,5,16,"usePreventRemoveContext"],[26,34,5,39,"usePreventRemoveContext"],[26,35,5,39],[26,37,5,42],[27,4,6,2],[27,10,6,8,"value"],[27,15,6,13],[27,18,6,16,"React"],[27,23,6,21],[27,24,6,22,"useContext"],[27,34,6,32],[27,35,6,33,"PreventRemoveContext"],[27,58,6,53],[27,59,6,53,"PreventRemoveContext"],[27,79,6,53],[27,80,6,54],[28,4,7,2],[28,8,7,6,"value"],[28,13,7,11],[28,17,7,15],[28,21,7,19],[28,23,7,21],[29,6,8,4],[29,12,8,10],[29,16,8,14,"Error"],[29,21,8,19],[29,22,8,20],[29,109,8,107],[29,110,8,108],[30,4,9,2],[31,4,10,2],[31,11,10,9,"value"],[31,16,10,14],[32,2,11,0],[33,0,11,1],[33,3]],"functionMap":{"names":["<global>","usePreventRemoveContext"],"mappings":"AAA;OCI;CDM"},"hasCjsExports":false},"type":"js/module"}]}