Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/14/02877662639a1be2a7bad6e7f0c2313af26e1e11cfc8e1750b30590959f41047aaa3a9
T
2025-11-07 20:14:32 +00:00

1 line
2.9 KiB
Plaintext

{"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 Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return isSelectionValid;\n }\n });\n /**\n * Copyright (c) Nicolas Gallagher\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n function isSelectionValid() {\n var selection = window.getSelection();\n var string = selection.toString();\n var anchorNode = selection.anchorNode;\n var focusNode = selection.focusNode;\n var isTextNode = anchorNode && anchorNode.nodeType === window.Node.TEXT_NODE || focusNode && focusNode.nodeType === window.Node.TEXT_NODE;\n return string.length >= 1 && string !== '\\n' && isTextNode;\n }\n});","lineCount":30,"map":[[7,2,10,15,"Object"],[7,8,10,15],[7,9,10,15,"defineProperty"],[7,23,10,15],[7,24,10,15,"exports"],[7,31,10,15],[8,4,10,15,"enumerable"],[8,14,10,15],[9,4,10,15,"get"],[9,7,10,15],[9,18,10,15,"get"],[9,19,10,15],[10,6,10,15],[10,13,10,15,"isSelectionValid"],[10,29,10,15],[11,4,10,15],[12,2,10,15],[13,2,1,0],[14,0,2,0],[15,0,3,0],[16,0,4,0],[17,0,5,0],[18,0,6,0],[19,0,7,0],[20,0,8,0],[22,2,10,15],[22,11,10,24,"isSelectionValid"],[22,27,10,40,"isSelectionValid"],[22,28,10,40],[22,30,10,43],[23,4,11,2],[23,8,11,6,"selection"],[23,17,11,15],[23,20,11,18,"window"],[23,26,11,24],[23,27,11,25,"getSelection"],[23,39,11,37],[23,40,11,38],[23,41,11,39],[24,4,12,2],[24,8,12,6,"string"],[24,14,12,12],[24,17,12,15,"selection"],[24,26,12,24],[24,27,12,25,"toString"],[24,35,12,33],[24,36,12,34],[24,37,12,35],[25,4,13,2],[25,8,13,6,"anchorNode"],[25,18,13,16],[25,21,13,19,"selection"],[25,30,13,28],[25,31,13,29,"anchorNode"],[25,41,13,39],[26,4,14,2],[26,8,14,6,"focusNode"],[26,17,14,15],[26,20,14,18,"selection"],[26,29,14,27],[26,30,14,28,"focusNode"],[26,39,14,37],[27,4,15,2],[27,8,15,6,"isTextNode"],[27,18,15,16],[27,21,15,19,"anchorNode"],[27,31,15,29],[27,35,15,33,"anchorNode"],[27,45,15,43],[27,46,15,44,"nodeType"],[27,54,15,52],[27,59,15,57,"window"],[27,65,15,63],[27,66,15,64,"Node"],[27,70,15,68],[27,71,15,69,"TEXT_NODE"],[27,80,15,78],[27,84,15,82,"focusNode"],[27,93,15,91],[27,97,15,95,"focusNode"],[27,106,15,104],[27,107,15,105,"nodeType"],[27,115,15,113],[27,120,15,118,"window"],[27,126,15,124],[27,127,15,125,"Node"],[27,131,15,129],[27,132,15,130,"TEXT_NODE"],[27,141,15,139],[28,4,16,2],[28,11,16,9,"string"],[28,17,16,15],[28,18,16,16,"length"],[28,24,16,22],[28,28,16,26],[28,29,16,27],[28,33,16,31,"string"],[28,39,16,37],[28,44,16,42],[28,48,16,46],[28,52,16,50,"isTextNode"],[28,62,16,60],[29,2,17,0],[30,0,17,1],[30,3]],"functionMap":{"names":["<global>","isSelectionValid"],"mappings":"AAA;eCS"},"hasCjsExports":false},"type":"js/module"}]}