mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
6.7 KiB
Plaintext
1 line
6.7 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 getDefaultStyleValue;\n }\n });\n /* eslint-disable no-plusplus */\n\n const DIRECTIONAL_FALLBACKS = {\n Top: ['Vertical', ''],\n Bottom: ['Vertical', ''],\n Vertical: [''],\n Left: ['Horizontal', ''],\n Right: ['Horizontal', ''],\n Horizontal: ['']\n };\n const DIRECTIONAL_SUFFICES = Object.keys(DIRECTIONAL_FALLBACKS);\n function getDefaultStyleValue(key, flatStyle) {\n if (key === 'backgroundColor') {\n return 'rgba(0,0,0,0)';\n }\n if (key === 'color' || key.indexOf('Color') !== -1) {\n return 'rgba(0,0,0,1)';\n }\n if (key.indexOf('rotate') === 0 || key.indexOf('skew') === 0) {\n return '0deg';\n }\n if (key === 'opacity' || key.indexOf('scale') === 0) {\n return 1;\n }\n if (key === 'fontSize') {\n return 14;\n }\n if (key.indexOf('margin') === 0 || key.indexOf('padding') === 0) {\n for (let suffix, i = 0; i < DIRECTIONAL_SUFFICES.length; i++) {\n suffix = DIRECTIONAL_SUFFICES[i];\n if (key.substr(-suffix.length) === suffix) {\n const prefix = key.substr(0, key.length - suffix.length);\n const fallbacks = DIRECTIONAL_FALLBACKS[suffix];\n for (let fallback, j = 0; j < fallbacks.length; j++) {\n fallback = prefix + fallbacks[j];\n if (fallback in flatStyle) {\n return flatStyle[fallback];\n }\n }\n break;\n }\n }\n }\n return 0;\n }\n});","lineCount":58,"map":[[7,2,14,15,"Object"],[7,8,14,15],[7,9,14,15,"defineProperty"],[7,23,14,15],[7,24,14,15,"exports"],[7,31,14,15],[8,4,14,15,"enumerable"],[8,14,14,15],[9,4,14,15,"get"],[9,7,14,15],[9,18,14,15,"get"],[9,19,14,15],[10,6,14,15],[10,13,14,15,"getDefaultStyleValue"],[10,33,14,15],[11,4,14,15],[12,2,14,15],[13,2,1,0],[15,2,3,0],[15,8,3,6,"DIRECTIONAL_FALLBACKS"],[15,29,3,27],[15,32,3,30],[16,4,4,2,"Top"],[16,7,4,5],[16,9,4,7],[16,10,4,8],[16,20,4,18],[16,22,4,20],[16,24,4,22],[16,25,4,23],[17,4,5,2,"Bottom"],[17,10,5,8],[17,12,5,10],[17,13,5,11],[17,23,5,21],[17,25,5,23],[17,27,5,25],[17,28,5,26],[18,4,6,2,"Vertical"],[18,12,6,10],[18,14,6,12],[18,15,6,13],[18,17,6,15],[18,18,6,16],[19,4,7,2,"Left"],[19,8,7,6],[19,10,7,8],[19,11,7,9],[19,23,7,21],[19,25,7,23],[19,27,7,25],[19,28,7,26],[20,4,8,2,"Right"],[20,9,8,7],[20,11,8,9],[20,12,8,10],[20,24,8,22],[20,26,8,24],[20,28,8,26],[20,29,8,27],[21,4,9,2,"Horizontal"],[21,14,9,12],[21,16,9,14],[21,17,9,15],[21,19,9,17],[22,2,10,0],[22,3,10,1],[23,2,12,0],[23,8,12,6,"DIRECTIONAL_SUFFICES"],[23,28,12,26],[23,31,12,29,"Object"],[23,37,12,35],[23,38,12,36,"keys"],[23,42,12,40],[23,43,12,41,"DIRECTIONAL_FALLBACKS"],[23,64,12,62],[23,65,12,63],[24,2,14,15],[24,11,14,24,"getDefaultStyleValue"],[24,31,14,44,"getDefaultStyleValue"],[24,32,14,45,"key"],[24,35,14,48],[24,37,14,50,"flatStyle"],[24,46,14,59],[24,48,14,61],[25,4,15,2],[25,8,15,6,"key"],[25,11,15,9],[25,16,15,14],[25,33,15,31],[25,35,15,33],[26,6,16,4],[26,13,16,11],[26,28,16,26],[27,4,17,2],[28,4,18,2],[28,8,18,6,"key"],[28,11,18,9],[28,16,18,14],[28,23,18,21],[28,27,18,25,"key"],[28,30,18,28],[28,31,18,29,"indexOf"],[28,38,18,36],[28,39,18,37],[28,46,18,44],[28,47,18,45],[28,52,18,50],[28,53,18,51],[28,54,18,52],[28,56,18,54],[29,6,19,4],[29,13,19,11],[29,28,19,26],[30,4,20,2],[31,4,21,2],[31,8,21,6,"key"],[31,11,21,9],[31,12,21,10,"indexOf"],[31,19,21,17],[31,20,21,18],[31,28,21,26],[31,29,21,27],[31,34,21,32],[31,35,21,33],[31,39,21,37,"key"],[31,42,21,40],[31,43,21,41,"indexOf"],[31,50,21,48],[31,51,21,49],[31,57,21,55],[31,58,21,56],[31,63,21,61],[31,64,21,62],[31,66,21,64],[32,6,22,4],[32,13,22,11],[32,19,22,17],[33,4,23,2],[34,4,24,2],[34,8,24,6,"key"],[34,11,24,9],[34,16,24,14],[34,25,24,23],[34,29,24,27,"key"],[34,32,24,30],[34,33,24,31,"indexOf"],[34,40,24,38],[34,41,24,39],[34,48,24,46],[34,49,24,47],[34,54,24,52],[34,55,24,53],[34,57,24,55],[35,6,25,4],[35,13,25,11],[35,14,25,12],[36,4,26,2],[37,4,27,2],[37,8,27,6,"key"],[37,11,27,9],[37,16,27,14],[37,26,27,24],[37,28,27,26],[38,6,28,4],[38,13,28,11],[38,15,28,13],[39,4,29,2],[40,4,30,2],[40,8,30,6,"key"],[40,11,30,9],[40,12,30,10,"indexOf"],[40,19,30,17],[40,20,30,18],[40,28,30,26],[40,29,30,27],[40,34,30,32],[40,35,30,33],[40,39,30,37,"key"],[40,42,30,40],[40,43,30,41,"indexOf"],[40,50,30,48],[40,51,30,49],[40,60,30,58],[40,61,30,59],[40,66,30,64],[40,67,30,65],[40,69,30,67],[41,6,31,4],[41,11,31,9],[41,15,31,13,"suffix"],[41,21,31,19],[41,23,31,21,"i"],[41,24,31,22],[41,27,31,25],[41,28,31,26],[41,30,31,28,"i"],[41,31,31,29],[41,34,31,32,"DIRECTIONAL_SUFFICES"],[41,54,31,52],[41,55,31,53,"length"],[41,61,31,59],[41,63,31,61,"i"],[41,64,31,62],[41,66,31,64],[41,68,31,66],[42,8,32,6,"suffix"],[42,14,32,12],[42,17,32,15,"DIRECTIONAL_SUFFICES"],[42,37,32,35],[42,38,32,36,"i"],[42,39,32,37],[42,40,32,38],[43,8,33,6],[43,12,33,10,"key"],[43,15,33,13],[43,16,33,14,"substr"],[43,22,33,20],[43,23,33,21],[43,24,33,22,"suffix"],[43,30,33,28],[43,31,33,29,"length"],[43,37,33,35],[43,38,33,36],[43,43,33,41,"suffix"],[43,49,33,47],[43,51,33,49],[44,10,34,8],[44,16,34,14,"prefix"],[44,22,34,20],[44,25,34,23,"key"],[44,28,34,26],[44,29,34,27,"substr"],[44,35,34,33],[44,36,34,34],[44,37,34,35],[44,39,34,37,"key"],[44,42,34,40],[44,43,34,41,"length"],[44,49,34,47],[44,52,34,50,"suffix"],[44,58,34,56],[44,59,34,57,"length"],[44,65,34,63],[44,66,34,64],[45,10,35,8],[45,16,35,14,"fallbacks"],[45,25,35,23],[45,28,35,26,"DIRECTIONAL_FALLBACKS"],[45,49,35,47],[45,50,35,48,"suffix"],[45,56,35,54],[45,57,35,55],[46,10,36,8],[46,15,36,13],[46,19,36,17,"fallback"],[46,27,36,25],[46,29,36,27,"j"],[46,30,36,28],[46,33,36,31],[46,34,36,32],[46,36,36,34,"j"],[46,37,36,35],[46,40,36,38,"fallbacks"],[46,49,36,47],[46,50,36,48,"length"],[46,56,36,54],[46,58,36,56,"j"],[46,59,36,57],[46,61,36,59],[46,63,36,61],[47,12,37,10,"fallback"],[47,20,37,18],[47,23,37,21,"prefix"],[47,29,37,27],[47,32,37,30,"fallbacks"],[47,41,37,39],[47,42,37,40,"j"],[47,43,37,41],[47,44,37,42],[48,12,38,10],[48,16,38,14,"fallback"],[48,24,38,22],[48,28,38,26,"flatStyle"],[48,37,38,35],[48,39,38,37],[49,14,39,12],[49,21,39,19,"flatStyle"],[49,30,39,28],[49,31,39,29,"fallback"],[49,39,39,37],[49,40,39,38],[50,12,40,10],[51,10,41,8],[52,10,42,8],[53,8,43,6],[54,6,44,4],[55,4,45,2],[56,4,46,2],[56,11,46,9],[56,12,46,10],[57,2,47,0],[58,0,47,1],[58,3]],"functionMap":{"names":["<global>","getDefaultStyleValue"],"mappings":"AAA;eCa;CDiC"},"hasCjsExports":false},"type":"js/module"}]} |