@prestizni-software/server-dem 0.7.4 → 0.9.0
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.
- package/AutoUpdateClientManagerClass.d.ts +158 -0
- package/AutoUpdateClientManagerClass.js +820 -0
- package/AutoUpdateClientManagerClass.js.map +1 -0
- package/AutoUpdateManagerClass.d.ts +102 -0
- package/AutoUpdateManagerClass.js +117 -0
- package/AutoUpdateManagerClass.js.map +1 -0
- package/AutoUpdateServerManagerClass.d.ts +238 -0
- package/AutoUpdateServerManagerClass.js +1087 -0
- package/AutoUpdateServerManagerClass.js.map +1 -0
- package/AutoUpdatedClientObjectClass.d.ts +244 -0
- package/AutoUpdatedClientObjectClass.js +969 -0
- package/AutoUpdatedClientObjectClass.js.map +1 -0
- package/AutoUpdatedServerObjectClass.d.ts +134 -0
- package/AutoUpdatedServerObjectClass.js +346 -0
- package/AutoUpdatedServerObjectClass.js.map +1 -0
- package/ClientTypes.d.ts +15 -0
- package/ClientTypes.js +52 -0
- package/ClientTypes.js.map +1 -0
- package/CommonTypes.d.ts +296 -0
- package/CommonTypes.js +233 -0
- package/CommonTypes.js.map +1 -0
- package/CommonTypes_server.d.ts +1 -0
- package/CommonTypes_server.js +2 -0
- package/CommonTypes_server.js.map +1 -0
- package/{dist/DEMErrors.js.map → DEMErrors.js.map} +1 -1
- package/ServerTypes.d.ts +16 -0
- package/ServerTypes.js +60 -0
- package/ServerTypes.js.map +1 -0
- package/client.d.ts +6 -0
- package/client.js +7 -0
- package/client.js.map +1 -0
- package/coverage/lcov-report/block-navigation.js +71 -0
- package/coverage/lcov-report/block-navigation.js.map +1 -0
- package/coverage/lcov-report/prettify.js +478 -0
- package/coverage/lcov-report/prettify.js.map +1 -0
- package/coverage/lcov-report/sorter.js +177 -0
- package/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/AutoUpdateClientManagerClass.d.ts +20 -0
- package/dist/AutoUpdateClientManagerClass.js +283 -0
- package/dist/AutoUpdateClientManagerClass.js.map +1 -0
- package/dist/AutoUpdateManagerClass.d.ts +17 -96
- package/dist/AutoUpdateManagerClass.js +15 -73
- package/dist/AutoUpdateManagerClass.js.map +1 -1
- package/dist/AutoUpdateServerManagerClass.d.ts +18 -207
- package/dist/AutoUpdateServerManagerClass.js +198 -680
- package/dist/AutoUpdateServerManagerClass.js.map +1 -1
- package/dist/AutoUpdatedClientObjectClass.d.ts +63 -206
- package/dist/AutoUpdatedClientObjectClass.js +660 -707
- package/dist/AutoUpdatedClientObjectClass.js.map +1 -1
- package/dist/AutoUpdatedServerObjectClass.d.ts +13 -126
- package/dist/AutoUpdatedServerObjectClass.js +92 -315
- package/dist/AutoUpdatedServerObjectClass.js.map +1 -1
- package/dist/ClientTypes.d.ts +13 -0
- package/dist/ClientTypes.js +70 -0
- package/dist/ClientTypes.js.map +1 -0
- package/dist/CommonTypes.d.ts +3 -266
- package/dist/CommonTypes.js +4 -234
- package/dist/CommonTypes.js.map +1 -1
- package/dist/CommonTypes_server.d.ts +1 -1
- package/dist/CommonTypes_server.js +2 -1
- package/dist/CommonTypes_server.js.map +1 -1
- package/dist/ServerTypes.d.ts +13 -0
- package/dist/ServerTypes.js +78 -0
- package/dist/ServerTypes.js.map +1 -0
- package/dist/TestTypes.d.ts +1 -0
- package/dist/TestTypes.js +7 -0
- package/dist/TestTypes.js.map +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.js +12 -0
- package/dist/client.js.map +1 -0
- package/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
- package/dist/coverage/lcov-report/block-navigation.js +71 -0
- package/dist/coverage/lcov-report/block-navigation.js.map +1 -0
- package/dist/coverage/lcov-report/prettify.d.ts +0 -0
- package/dist/coverage/lcov-report/prettify.js +736 -0
- package/dist/coverage/lcov-report/prettify.js.map +1 -0
- package/dist/coverage/lcov-report/sorter.d.ts +1 -0
- package/dist/coverage/lcov-report/sorter.js +177 -0
- package/dist/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/dist/AutoUpdateClientManagerClass.d.ts +19 -0
- package/dist/dist/AutoUpdateClientManagerClass.js +284 -0
- package/dist/dist/AutoUpdateClientManagerClass.js.map +1 -0
- package/dist/dist/AutoUpdateManagerClass.d.ts +23 -0
- package/dist/dist/AutoUpdateManagerClass.js +60 -0
- package/dist/dist/AutoUpdateManagerClass.js.map +1 -0
- package/dist/dist/AutoUpdateServerManagerClass.d.ts +50 -0
- package/dist/dist/AutoUpdateServerManagerClass.js +413 -0
- package/dist/dist/AutoUpdateServerManagerClass.js.map +1 -0
- package/dist/dist/AutoUpdatedClientObjectClass.d.ts +72 -0
- package/dist/dist/AutoUpdatedClientObjectClass.js +865 -0
- package/dist/dist/AutoUpdatedClientObjectClass.js.map +1 -0
- package/dist/dist/AutoUpdatedServerObjectClass.d.ts +15 -0
- package/dist/dist/AutoUpdatedServerObjectClass.js +124 -0
- package/dist/dist/AutoUpdatedServerObjectClass.js.map +1 -0
- package/dist/dist/ClientTypes.d.ts +13 -0
- package/dist/dist/ClientTypes.js +71 -0
- package/dist/dist/ClientTypes.js.map +1 -0
- package/dist/dist/CommonTypes.d.ts +3 -0
- package/dist/dist/CommonTypes.js +20 -0
- package/dist/dist/CommonTypes.js.map +1 -0
- package/dist/dist/CommonTypes_server.d.ts +1 -0
- package/dist/dist/CommonTypes_server.js +4 -0
- package/dist/dist/CommonTypes_server.js.map +1 -0
- package/dist/dist/ServerTypes.d.ts +13 -0
- package/dist/dist/ServerTypes.js +79 -0
- package/dist/dist/ServerTypes.js.map +1 -0
- package/dist/dist/TestTypes.d.ts +1 -0
- package/dist/dist/TestTypes.js +8 -0
- package/dist/dist/TestTypes.js.map +1 -0
- package/dist/dist/client.d.ts +1 -0
- package/dist/dist/client.js +13 -0
- package/dist/dist/client.js.map +1 -0
- package/dist/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
- package/dist/dist/coverage/lcov-report/block-navigation.js +71 -0
- package/dist/dist/coverage/lcov-report/block-navigation.js.map +1 -0
- package/dist/dist/coverage/lcov-report/prettify.d.ts +0 -0
- package/dist/dist/coverage/lcov-report/prettify.js +736 -0
- package/dist/dist/coverage/lcov-report/prettify.js.map +1 -0
- package/dist/dist/coverage/lcov-report/sorter.d.ts +1 -0
- package/dist/dist/coverage/lcov-report/sorter.js +177 -0
- package/dist/dist/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/dist/dist/AutoUpdateClientManagerClass.d.ts +19 -0
- package/dist/dist/dist/AutoUpdateClientManagerClass.js +285 -0
- package/dist/dist/dist/AutoUpdateClientManagerClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdateManagerClass.d.ts +23 -0
- package/dist/dist/dist/AutoUpdateManagerClass.js +61 -0
- package/dist/dist/dist/AutoUpdateManagerClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdateServerManagerClass.d.ts +158 -0
- package/dist/dist/dist/AutoUpdateServerManagerClass.js +414 -0
- package/dist/dist/dist/AutoUpdateServerManagerClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdatedClientObjectClass.d.ts +72 -0
- package/dist/dist/dist/AutoUpdatedClientObjectClass.js +866 -0
- package/dist/dist/dist/AutoUpdatedClientObjectClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdatedServerObjectClass.d.ts +15 -0
- package/dist/dist/dist/AutoUpdatedServerObjectClass.js +125 -0
- package/dist/dist/dist/AutoUpdatedServerObjectClass.js.map +1 -0
- package/dist/dist/dist/ClientTypes.d.ts +13 -0
- package/dist/dist/dist/ClientTypes.js +72 -0
- package/dist/dist/dist/ClientTypes.js.map +1 -0
- package/dist/dist/dist/CommonTypes.d.ts +3 -0
- package/dist/dist/dist/CommonTypes.js +21 -0
- package/dist/dist/dist/CommonTypes.js.map +1 -0
- package/dist/dist/dist/CommonTypes_server.d.ts +1 -0
- package/dist/dist/dist/CommonTypes_server.js +5 -0
- package/dist/dist/dist/CommonTypes_server.js.map +1 -0
- package/dist/dist/dist/ServerTypes.d.ts +13 -0
- package/dist/dist/dist/ServerTypes.js +80 -0
- package/dist/dist/dist/ServerTypes.js.map +1 -0
- package/dist/dist/dist/TestTypes.d.ts +1 -0
- package/dist/dist/dist/TestTypes.js +9 -0
- package/dist/dist/dist/TestTypes.js.map +1 -0
- package/dist/dist/dist/client.d.ts +1 -0
- package/dist/dist/dist/client.js +14 -0
- package/dist/dist/dist/client.js.map +1 -0
- package/dist/dist/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
- package/dist/dist/dist/coverage/lcov-report/block-navigation.js +71 -0
- package/dist/dist/dist/coverage/lcov-report/block-navigation.js.map +1 -0
- package/dist/dist/dist/coverage/lcov-report/prettify.d.ts +0 -0
- package/dist/dist/dist/coverage/lcov-report/prettify.js +736 -0
- package/dist/dist/dist/coverage/lcov-report/prettify.js.map +1 -0
- package/dist/dist/dist/coverage/lcov-report/sorter.d.ts +1 -0
- package/dist/dist/dist/coverage/lcov-report/sorter.js +177 -0
- package/dist/dist/dist/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/_layout.js +27 -0
- package/dist/dist/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/explore.js +95 -0
- package/dist/dist/dist/expo-test/app/(tabs)/explore.js.map +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/index.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/index.js +81 -0
- package/dist/dist/dist/expo-test/app/(tabs)/index.js.map +1 -0
- package/dist/dist/dist/expo-test/app/_layout.d.ts +4 -0
- package/dist/dist/dist/expo-test/app/_layout.js +22 -0
- package/dist/dist/dist/expo-test/app/_layout.js.map +1 -0
- package/dist/dist/dist/expo-test/app/modal.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/modal.js +28 -0
- package/dist/dist/dist/expo-test/app/modal.js.map +1 -0
- package/dist/dist/dist/expo-test/components/external-link.d.ts +4 -0
- package/dist/dist/dist/expo-test/components/external-link.js +18 -0
- package/dist/dist/dist/expo-test/components/external-link.js.map +1 -0
- package/dist/dist/dist/expo-test/components/haptic-tab.d.ts +1 -0
- package/dist/dist/dist/expo-test/components/haptic-tab.js +15 -0
- package/dist/dist/dist/expo-test/components/haptic-tab.js.map +1 -0
- package/dist/dist/dist/expo-test/components/hello-wave.d.ts +1 -0
- package/dist/dist/dist/expo-test/components/hello-wave.js +19 -0
- package/dist/dist/dist/expo-test/components/hello-wave.js.map +1 -0
- package/dist/dist/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
- package/dist/dist/dist/expo-test/components/parallax-scroll-view.js +53 -0
- package/dist/dist/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/dist/dist/dist/expo-test/components/themed-text.d.ts +7 -0
- package/dist/dist/dist/expo-test/components/themed-text.js +43 -0
- package/dist/dist/dist/expo-test/components/themed-text.js.map +1 -0
- package/dist/dist/dist/expo-test/components/themed-view.d.ts +6 -0
- package/dist/dist/dist/expo-test/components/themed-view.js +10 -0
- package/dist/dist/dist/expo-test/components/themed-view.js.map +1 -0
- package/dist/dist/dist/expo-test/components/ui/collapsible.d.ts +4 -0
- package/dist/dist/dist/expo-test/components/ui/collapsible.js +34 -0
- package/dist/dist/dist/expo-test/components/ui/collapsible.js.map +1 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.js +14 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.js +25 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/dist/dist/dist/expo-test/constants/theme.d.ts +26 -0
- package/dist/dist/dist/expo-test/constants/theme.js +53 -0
- package/dist/dist/dist/expo-test/constants/theme.js.map +1 -0
- package/dist/dist/dist/expo-test/eslint.config.d.ts +2 -0
- package/dist/dist/dist/expo-test/eslint.config.js +11 -0
- package/dist/dist/dist/expo-test/eslint.config.js.map +1 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.js +5 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.js +20 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/dist/dist/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
- package/dist/dist/dist/expo-test/hooks/use-theme-color.js +20 -0
- package/dist/dist/dist/expo-test/hooks/use-theme-color.js.map +1 -0
- package/dist/dist/dist/expo-test/scripts/reset-project.d.ts +2 -0
- package/dist/dist/dist/expo-test/scripts/reset-project.js +98 -0
- package/dist/dist/dist/expo-test/scripts/reset-project.js.map +1 -0
- package/dist/dist/dist/jest.config.d.ts +21 -0
- package/dist/dist/dist/jest.config.js +20 -0
- package/dist/dist/dist/jest.config.js.map +1 -0
- package/dist/dist/dist/server.d.ts +1 -0
- package/dist/dist/dist/server.js +16 -0
- package/dist/dist/dist/server.js.map +1 -0
- package/dist/dist/dist/socket_test.d.ts +1 -0
- package/dist/dist/dist/socket_test.js +24 -0
- package/dist/dist/dist/socket_test.js.map +1 -0
- package/dist/dist/dist/test.d.ts +1 -0
- package/dist/dist/dist/test.js +7 -0
- package/dist/dist/dist/test.js.map +1 -0
- package/dist/dist/dist/test_client.d.ts +1 -0
- package/dist/dist/dist/test_client.js +26 -0
- package/dist/dist/dist/test_client.js.map +1 -0
- package/dist/dist/dist/test_lib.d.ts +2 -0
- package/dist/dist/dist/test_lib.js +85 -0
- package/dist/dist/dist/test_lib.js.map +1 -0
- package/dist/dist/dist/test_server.d.ts +1 -0
- package/dist/dist/dist/test_server.js +54 -0
- package/dist/dist/dist/test_server.js.map +1 -0
- package/dist/dist/dist/tests/dem.test.d.ts +1 -0
- package/dist/dist/dist/tests/dem.test.js +341 -0
- package/dist/dist/dist/tests/dem.test.js.map +1 -0
- package/dist/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
- package/dist/dist/expo-test/app/(tabs)/_layout.js +26 -0
- package/dist/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/dist/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/dist/dist/expo-test/app/(tabs)/explore.js +94 -0
- package/dist/dist/expo-test/app/(tabs)/explore.js.map +1 -0
- package/dist/dist/expo-test/app/(tabs)/index.d.ts +1 -0
- package/dist/dist/expo-test/app/(tabs)/index.js +80 -0
- package/dist/dist/expo-test/app/(tabs)/index.js.map +1 -0
- package/dist/dist/expo-test/app/_layout.d.ts +4 -0
- package/dist/dist/expo-test/app/_layout.js +21 -0
- package/dist/dist/expo-test/app/_layout.js.map +1 -0
- package/dist/dist/expo-test/app/modal.d.ts +1 -0
- package/dist/dist/expo-test/app/modal.js +27 -0
- package/dist/dist/expo-test/app/modal.js.map +1 -0
- package/dist/dist/expo-test/components/external-link.d.ts +4 -0
- package/dist/dist/expo-test/components/external-link.js +17 -0
- package/dist/dist/expo-test/components/external-link.js.map +1 -0
- package/dist/dist/expo-test/components/haptic-tab.d.ts +1 -0
- package/dist/dist/expo-test/components/haptic-tab.js +14 -0
- package/dist/dist/expo-test/components/haptic-tab.js.map +1 -0
- package/dist/dist/expo-test/components/hello-wave.d.ts +1 -0
- package/dist/dist/expo-test/components/hello-wave.js +18 -0
- package/dist/dist/expo-test/components/hello-wave.js.map +1 -0
- package/dist/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
- package/dist/dist/expo-test/components/parallax-scroll-view.js +52 -0
- package/dist/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/dist/dist/expo-test/components/themed-text.d.ts +7 -0
- package/dist/dist/expo-test/components/themed-text.js +42 -0
- package/dist/dist/expo-test/components/themed-text.js.map +1 -0
- package/dist/dist/expo-test/components/themed-view.d.ts +6 -0
- package/dist/dist/expo-test/components/themed-view.js +9 -0
- package/dist/dist/expo-test/components/themed-view.js.map +1 -0
- package/dist/dist/expo-test/components/ui/collapsible.d.ts +4 -0
- package/dist/dist/expo-test/components/ui/collapsible.js +33 -0
- package/dist/dist/expo-test/components/ui/collapsible.js.map +1 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.ios.js +13 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.js +24 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/dist/dist/expo-test/constants/theme.d.ts +26 -0
- package/dist/dist/expo-test/constants/theme.js +52 -0
- package/dist/dist/expo-test/constants/theme.js.map +1 -0
- package/dist/dist/expo-test/eslint.config.d.ts +2 -0
- package/dist/dist/expo-test/eslint.config.js +11 -0
- package/dist/dist/expo-test/eslint.config.js.map +1 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.js +4 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.web.js +19 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/dist/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
- package/dist/dist/expo-test/hooks/use-theme-color.js +19 -0
- package/dist/dist/expo-test/hooks/use-theme-color.js.map +1 -0
- package/dist/dist/expo-test/scripts/reset-project.d.ts +2 -0
- package/dist/dist/expo-test/scripts/reset-project.js +98 -0
- package/dist/dist/expo-test/scripts/reset-project.js.map +1 -0
- package/dist/dist/jest.config.d.ts +21 -0
- package/dist/dist/jest.config.js +19 -0
- package/dist/dist/jest.config.js.map +1 -0
- package/dist/dist/server.d.ts +1 -0
- package/dist/dist/server.js +15 -0
- package/dist/dist/server.js.map +1 -0
- package/dist/dist/socket_test.d.ts +1 -0
- package/dist/dist/socket_test.js +23 -0
- package/dist/dist/socket_test.js.map +1 -0
- package/dist/dist/test.d.ts +1 -0
- package/dist/dist/test.js +6 -0
- package/dist/dist/test.js.map +1 -0
- package/dist/dist/test_client.d.ts +1 -0
- package/dist/dist/test_client.js +25 -0
- package/dist/dist/test_client.js.map +1 -0
- package/dist/dist/test_lib.d.ts +2 -0
- package/dist/dist/test_lib.js +84 -0
- package/dist/dist/test_lib.js.map +1 -0
- package/dist/dist/test_server.d.ts +1 -0
- package/dist/dist/test_server.js +53 -0
- package/dist/dist/test_server.js.map +1 -0
- package/dist/dist/tests/dem.test.d.ts +1 -0
- package/dist/dist/tests/dem.test.js +340 -0
- package/dist/dist/tests/dem.test.js.map +1 -0
- package/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
- package/dist/expo-test/app/(tabs)/_layout.js +25 -0
- package/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/dist/expo-test/app/(tabs)/explore.js +93 -0
- package/dist/expo-test/app/(tabs)/explore.js.map +1 -0
- package/dist/expo-test/app/(tabs)/index.d.ts +1 -0
- package/dist/expo-test/app/(tabs)/index.js +79 -0
- package/dist/expo-test/app/(tabs)/index.js.map +1 -0
- package/dist/expo-test/app/_layout.d.ts +4 -0
- package/dist/expo-test/app/_layout.js +20 -0
- package/dist/expo-test/app/_layout.js.map +1 -0
- package/dist/expo-test/app/modal.d.ts +1 -0
- package/dist/expo-test/app/modal.js +26 -0
- package/dist/expo-test/app/modal.js.map +1 -0
- package/dist/expo-test/components/external-link.d.ts +4 -0
- package/dist/expo-test/components/external-link.js +16 -0
- package/dist/expo-test/components/external-link.js.map +1 -0
- package/dist/expo-test/components/haptic-tab.d.ts +1 -0
- package/dist/expo-test/components/haptic-tab.js +13 -0
- package/dist/expo-test/components/haptic-tab.js.map +1 -0
- package/dist/expo-test/components/hello-wave.d.ts +1 -0
- package/dist/expo-test/components/hello-wave.js +17 -0
- package/dist/expo-test/components/hello-wave.js.map +1 -0
- package/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
- package/dist/expo-test/components/parallax-scroll-view.js +51 -0
- package/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/dist/expo-test/components/themed-text.d.ts +7 -0
- package/dist/expo-test/components/themed-text.js +41 -0
- package/dist/expo-test/components/themed-text.js.map +1 -0
- package/dist/expo-test/components/themed-view.d.ts +6 -0
- package/dist/expo-test/components/themed-view.js +8 -0
- package/dist/expo-test/components/themed-view.js.map +1 -0
- package/dist/expo-test/components/ui/collapsible.d.ts +4 -0
- package/dist/expo-test/components/ui/collapsible.js +32 -0
- package/dist/expo-test/components/ui/collapsible.js.map +1 -0
- package/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
- package/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
- package/dist/expo-test/components/ui/icon-symbol.ios.js +12 -0
- package/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/dist/expo-test/components/ui/icon-symbol.js +23 -0
- package/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/dist/expo-test/constants/theme.d.ts +26 -0
- package/dist/expo-test/constants/theme.js +51 -0
- package/dist/expo-test/constants/theme.js.map +1 -0
- package/dist/expo-test/eslint.config.d.ts +2 -0
- package/dist/expo-test/eslint.config.js +11 -0
- package/dist/expo-test/eslint.config.js.map +1 -0
- package/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/dist/expo-test/hooks/use-color-scheme.js +3 -0
- package/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/dist/expo-test/hooks/use-color-scheme.web.js +18 -0
- package/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
- package/dist/expo-test/hooks/use-theme-color.js +18 -0
- package/dist/expo-test/hooks/use-theme-color.js.map +1 -0
- package/dist/expo-test/scripts/reset-project.d.ts +2 -0
- package/dist/expo-test/scripts/reset-project.js +98 -0
- package/dist/expo-test/scripts/reset-project.js.map +1 -0
- package/dist/jest.config.d.ts +21 -0
- package/dist/jest.config.js +18 -0
- package/dist/jest.config.js.map +1 -0
- package/dist/server.d.ts +1 -8
- package/dist/server.js +13 -8
- package/dist/server.js.map +1 -1
- package/dist/socket_test.d.ts +1 -0
- package/dist/socket_test.js +22 -0
- package/dist/socket_test.js.map +1 -0
- package/dist/test.d.ts +1 -0
- package/dist/test.js +5 -0
- package/dist/test.js.map +1 -0
- package/dist/test_client.d.ts +1 -0
- package/dist/test_client.js +24 -0
- package/dist/test_client.js.map +1 -0
- package/dist/test_lib.d.ts +12 -0
- package/dist/test_lib.js +83 -0
- package/dist/test_lib.js.map +1 -0
- package/dist/test_server.d.ts +1 -0
- package/dist/test_server.js +52 -0
- package/dist/test_server.js.map +1 -0
- package/dist/tests/dem.test.d.ts +1 -0
- package/dist/tests/dem.test.js +339 -0
- package/dist/tests/dem.test.js.map +1 -0
- package/expo-test/app/(tabs)/_layout.d.ts +2 -0
- package/expo-test/app/(tabs)/_layout.js +24 -0
- package/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/expo-test/app/(tabs)/explore.js +92 -0
- package/expo-test/app/(tabs)/explore.js.map +1 -0
- package/expo-test/app/(tabs)/index.d.ts +1 -0
- package/expo-test/app/(tabs)/index.js +78 -0
- package/expo-test/app/(tabs)/index.js.map +1 -0
- package/expo-test/app/_layout.d.ts +5 -0
- package/expo-test/app/_layout.js +19 -0
- package/expo-test/app/_layout.js.map +1 -0
- package/expo-test/app/modal.d.ts +1 -0
- package/expo-test/app/modal.js +25 -0
- package/expo-test/app/modal.js.map +1 -0
- package/expo-test/components/external-link.d.ts +7 -0
- package/expo-test/components/external-link.js +15 -0
- package/expo-test/components/external-link.js.map +1 -0
- package/expo-test/components/haptic-tab.d.ts +2 -0
- package/expo-test/components/haptic-tab.js +12 -0
- package/expo-test/components/haptic-tab.js.map +1 -0
- package/expo-test/components/hello-wave.d.ts +1 -0
- package/expo-test/components/hello-wave.js +16 -0
- package/expo-test/components/hello-wave.js.map +1 -0
- package/expo-test/components/parallax-scroll-view.d.ts +10 -0
- package/expo-test/components/parallax-scroll-view.js +50 -0
- package/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/expo-test/components/themed-text.d.ts +7 -0
- package/expo-test/components/themed-text.js +40 -0
- package/expo-test/components/themed-text.js.map +1 -0
- package/expo-test/components/themed-view.d.ts +6 -0
- package/expo-test/components/themed-view.js +7 -0
- package/expo-test/components/themed-view.js.map +1 -0
- package/expo-test/components/ui/collapsible.d.ts +4 -0
- package/expo-test/components/ui/collapsible.js +31 -0
- package/expo-test/components/ui/collapsible.js.map +1 -0
- package/expo-test/components/ui/icon-symbol.d.ts +25 -0
- package/expo-test/components/ui/icon-symbol.ios.d.ts +9 -0
- package/expo-test/components/ui/icon-symbol.ios.js +11 -0
- package/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/expo-test/components/ui/icon-symbol.js +22 -0
- package/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/expo-test/constants/theme.d.ts +32 -0
- package/expo-test/constants/theme.js +50 -0
- package/expo-test/constants/theme.js.map +1 -0
- package/expo-test/eslint.config.d.ts +2 -0
- package/expo-test/eslint.config.js +11 -0
- package/expo-test/eslint.config.js.map +1 -0
- package/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/expo-test/hooks/use-color-scheme.js +2 -0
- package/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/expo-test/hooks/use-color-scheme.web.js +17 -0
- package/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/expo-test/hooks/use-theme-color.d.ts +9 -0
- package/expo-test/hooks/use-theme-color.js +17 -0
- package/expo-test/hooks/use-theme-color.js.map +1 -0
- package/expo-test/scripts/reset-project.d.ts +2 -0
- package/expo-test/scripts/reset-project.js +98 -0
- package/expo-test/scripts/reset-project.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.js +5 -0
- package/index.js.map +1 -0
- package/jest.config.d.ts +3 -0
- package/jest.config.js +17 -0
- package/jest.config.js.map +1 -0
- package/package.json +23 -42
- package/server.d.ts +8 -0
- package/server.js +9 -0
- package/server.js.map +1 -0
- package/sync/ServerChangeTracker.js.map +1 -0
- package/version.d.ts +21 -0
- package/version.js +22 -0
- package/version.js.map +1 -0
- package/README.md +0 -18
- package/dist/sync/ServerChangeTracker.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/{dist/DEMErrors.d.ts → DEMErrors.d.ts} +0 -0
- /package/{dist/DEMErrors.js → DEMErrors.js} +0 -0
- /package/{dist/sync → sync}/ClientStateReconciler.d.ts +0 -0
- /package/{dist/sync → sync}/ClientStateReconciler.js +0 -0
- /package/{dist/sync → sync}/ClientStateReconciler.js.map +0 -0
- /package/{dist/sync → sync}/ServerChangeTracker.d.ts +0 -0
- /package/{dist/sync → sync}/ServerChangeTracker.js +0 -0
- /package/{dist/sync → sync}/index.d.ts +0 -0
- /package/{dist/sync → sync}/index.js +0 -0
- /package/{dist/sync → sync}/index.js.map +0 -0
- /package/{dist/sync → sync}/storage/IClientStorageAdapter.d.ts +0 -0
- /package/{dist/sync → sync}/storage/IClientStorageAdapter.js +0 -0
- /package/{dist/sync → sync}/storage/IClientStorageAdapter.js.map +0 -0
- /package/{dist/sync → sync}/storage/IndexedDbStorageAdapter.d.ts +0 -0
- /package/{dist/sync → sync}/storage/IndexedDbStorageAdapter.js +0 -0
- /package/{dist/sync → sync}/storage/IndexedDbStorageAdapter.js.map +0 -0
- /package/{dist/sync → sync}/storage/LocalStorageAdapter.d.ts +0 -0
- /package/{dist/sync → sync}/storage/LocalStorageAdapter.js +0 -0
- /package/{dist/sync → sync}/storage/LocalStorageAdapter.js.map +0 -0
- /package/{dist/sync → sync}/storage/MemoryStorageAdapter.d.ts +0 -0
- /package/{dist/sync → sync}/storage/MemoryStorageAdapter.js +0 -0
- /package/{dist/sync → sync}/storage/MemoryStorageAdapter.js.map +0 -0
- /package/{dist/sync → sync}/types.d.ts +0 -0
- /package/{dist/sync → sync}/types.js +0 -0
- /package/{dist/sync → sync}/types.js.map +0 -0
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
window.PR_SHOULD_USE_CONTINUATION = true;
|
|
4
|
+
(function () {
|
|
5
|
+
var h = ["break,continue,do,else,for,if,return,while"];
|
|
6
|
+
var u = [h, "auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];
|
|
7
|
+
var p = [u, "catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];
|
|
8
|
+
var l = [p, "alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];
|
|
9
|
+
var x = [p, "abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];
|
|
10
|
+
var R = [x, "as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];
|
|
11
|
+
var r = "all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";
|
|
12
|
+
var w = [p, "debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];
|
|
13
|
+
var s = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";
|
|
14
|
+
var I = [h, "and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];
|
|
15
|
+
var f = [h, "alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];
|
|
16
|
+
var H = [h, "case,done,elif,esac,eval,fi,function,in,local,set,then,until"];
|
|
17
|
+
var A = [l, R, w, s + I, f, H];
|
|
18
|
+
var e = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;
|
|
19
|
+
var C = "str";
|
|
20
|
+
var z = "kwd";
|
|
21
|
+
var j = "com";
|
|
22
|
+
var O = "typ";
|
|
23
|
+
var G = "lit";
|
|
24
|
+
var L = "pun";
|
|
25
|
+
var F = "pln";
|
|
26
|
+
var m = "tag";
|
|
27
|
+
var E = "dec";
|
|
28
|
+
var J = "src";
|
|
29
|
+
var P = "atn";
|
|
30
|
+
var n = "atv";
|
|
31
|
+
var N = "nocode";
|
|
32
|
+
var M = "(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";
|
|
33
|
+
function k(Z) {
|
|
34
|
+
var ad = 0;
|
|
35
|
+
var S = false;
|
|
36
|
+
var ac = false;
|
|
37
|
+
for (var V = 0, U = Z.length; V < U; ++V) {
|
|
38
|
+
var ae = Z[V];
|
|
39
|
+
if (ae.ignoreCase) {
|
|
40
|
+
ac = true;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
if (/[a-z]/i.test(ae.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ""))) {
|
|
44
|
+
S = true;
|
|
45
|
+
ac = false;
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
var Y = { b: 8, t: 9, n: 10, v: 11, f: 12, r: 13 };
|
|
51
|
+
function ab(ah) {
|
|
52
|
+
var ag = ah.charCodeAt(0);
|
|
53
|
+
if (ag !== 92) {
|
|
54
|
+
return ag;
|
|
55
|
+
}
|
|
56
|
+
var af = ah.charAt(1);
|
|
57
|
+
ag = Y[af];
|
|
58
|
+
if (ag) {
|
|
59
|
+
return ag;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
if ("0" <= af && af <= "7") {
|
|
63
|
+
return parseInt(ah.substring(1), 8);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
if (af === "u" || af === "x") {
|
|
67
|
+
return parseInt(ah.substring(2), 16);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
return ah.charCodeAt(1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function T(af) {
|
|
76
|
+
if (af < 32) {
|
|
77
|
+
return (af < 16 ? "\\x0" : "\\x") + af.toString(16);
|
|
78
|
+
}
|
|
79
|
+
var ag = String.fromCharCode(af);
|
|
80
|
+
if (ag === "\\" || ag === "-" || ag === "[" || ag === "]") {
|
|
81
|
+
ag = "\\" + ag;
|
|
82
|
+
}
|
|
83
|
+
return ag;
|
|
84
|
+
}
|
|
85
|
+
function X(am) {
|
|
86
|
+
var aq = am.substring(1, am.length - 1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]", "g"));
|
|
87
|
+
var ak = [];
|
|
88
|
+
var af = [];
|
|
89
|
+
var ao = aq[0] === "^";
|
|
90
|
+
for (var ar = ao ? 1 : 0, aj = aq.length; ar < aj; ++ar) {
|
|
91
|
+
var ah = aq[ar];
|
|
92
|
+
if (/\\[bdsw]/i.test(ah)) {
|
|
93
|
+
ak.push(ah);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
var ag = ab(ah);
|
|
97
|
+
var al;
|
|
98
|
+
if (ar + 2 < aj && "-" === aq[ar + 1]) {
|
|
99
|
+
al = ab(aq[ar + 2]);
|
|
100
|
+
ar += 2;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
al = ag;
|
|
104
|
+
}
|
|
105
|
+
af.push([ag, al]);
|
|
106
|
+
if (!(al < 65 || ag > 122)) {
|
|
107
|
+
if (!(al < 65 || ag > 90)) {
|
|
108
|
+
af.push([Math.max(65, ag) | 32, Math.min(al, 90) | 32]);
|
|
109
|
+
}
|
|
110
|
+
if (!(al < 97 || ag > 122)) {
|
|
111
|
+
af.push([Math.max(97, ag) & ~32, Math.min(al, 122) & ~32]);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
af.sort(function (av, au) { return (av[0] - au[0]) || (au[1] - av[1]); });
|
|
117
|
+
var ai = [];
|
|
118
|
+
var ap = [NaN, NaN];
|
|
119
|
+
for (var ar = 0; ar < af.length; ++ar) {
|
|
120
|
+
var at = af[ar];
|
|
121
|
+
if (at[0] <= ap[1] + 1) {
|
|
122
|
+
ap[1] = Math.max(ap[1], at[1]);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
ai.push(ap = at);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
var an = ["["];
|
|
129
|
+
if (ao) {
|
|
130
|
+
an.push("^");
|
|
131
|
+
}
|
|
132
|
+
an.push.apply(an, ak);
|
|
133
|
+
for (var ar = 0; ar < ai.length; ++ar) {
|
|
134
|
+
var at = ai[ar];
|
|
135
|
+
an.push(T(at[0]));
|
|
136
|
+
if (at[1] > at[0]) {
|
|
137
|
+
if (at[1] + 1 > at[0]) {
|
|
138
|
+
an.push("-");
|
|
139
|
+
}
|
|
140
|
+
an.push(T(at[1]));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
an.push("]");
|
|
144
|
+
return an.join("");
|
|
145
|
+
}
|
|
146
|
+
function W(al) {
|
|
147
|
+
var aj = al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)", "g"));
|
|
148
|
+
var ah = aj.length;
|
|
149
|
+
var an = [];
|
|
150
|
+
for (var ak = 0, am = 0; ak < ah; ++ak) {
|
|
151
|
+
var ag = aj[ak];
|
|
152
|
+
if (ag === "(") {
|
|
153
|
+
++am;
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
if ("\\" === ag.charAt(0)) {
|
|
157
|
+
var af = +ag.substring(1);
|
|
158
|
+
if (af && af <= am) {
|
|
159
|
+
an[af] = -1;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
for (var ak = 1; ak < an.length; ++ak) {
|
|
165
|
+
if (-1 === an[ak]) {
|
|
166
|
+
an[ak] = ++ad;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
for (var ak = 0, am = 0; ak < ah; ++ak) {
|
|
170
|
+
var ag = aj[ak];
|
|
171
|
+
if (ag === "(") {
|
|
172
|
+
++am;
|
|
173
|
+
if (an[am] === undefined) {
|
|
174
|
+
aj[ak] = "(?:";
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
if ("\\" === ag.charAt(0)) {
|
|
179
|
+
var af = +ag.substring(1);
|
|
180
|
+
if (af && af <= am) {
|
|
181
|
+
aj[ak] = "\\" + an[am];
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
for (var ak = 0, am = 0; ak < ah; ++ak) {
|
|
187
|
+
if ("^" === aj[ak] && "^" !== aj[ak + 1]) {
|
|
188
|
+
aj[ak] = "";
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
if (al.ignoreCase && S) {
|
|
192
|
+
for (var ak = 0; ak < ah; ++ak) {
|
|
193
|
+
var ag = aj[ak];
|
|
194
|
+
var ai = ag.charAt(0);
|
|
195
|
+
if (ag.length >= 2 && ai === "[") {
|
|
196
|
+
aj[ak] = X(ag);
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
if (ai !== "\\") {
|
|
200
|
+
aj[ak] = ag.replace(/[a-zA-Z]/g, function (ao) { var ap = ao.charCodeAt(0); return "[" + String.fromCharCode(ap & ~32, ap | 32) + "]"; });
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return aj.join("");
|
|
206
|
+
}
|
|
207
|
+
var aa = [];
|
|
208
|
+
for (var V = 0, U = Z.length; V < U; ++V) {
|
|
209
|
+
var ae = Z[V];
|
|
210
|
+
if (ae.global || ae.multiline) {
|
|
211
|
+
throw new Error("" + ae);
|
|
212
|
+
}
|
|
213
|
+
aa.push("(?:" + W(ae) + ")");
|
|
214
|
+
}
|
|
215
|
+
return new RegExp(aa.join("|"), ac ? "gi" : "g");
|
|
216
|
+
}
|
|
217
|
+
function a(V) {
|
|
218
|
+
var U = /(?:^|\s)nocode(?:\s|$)/;
|
|
219
|
+
var X = [];
|
|
220
|
+
var T = 0;
|
|
221
|
+
var Z = [];
|
|
222
|
+
var W = 0;
|
|
223
|
+
var S;
|
|
224
|
+
if (V.currentStyle) {
|
|
225
|
+
S = V.currentStyle.whiteSpace;
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
if (window.getComputedStyle) {
|
|
229
|
+
S = document.defaultView.getComputedStyle(V, null).getPropertyValue("white-space");
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
var Y = S && "pre" === S.substring(0, 3);
|
|
233
|
+
function aa(ab) {
|
|
234
|
+
switch (ab.nodeType) {
|
|
235
|
+
case 1:
|
|
236
|
+
if (U.test(ab.className)) {
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
for (var ae = ab.firstChild; ae; ae = ae.nextSibling) {
|
|
240
|
+
aa(ae);
|
|
241
|
+
}
|
|
242
|
+
var ad = ab.nodeName;
|
|
243
|
+
if ("BR" === ad || "LI" === ad) {
|
|
244
|
+
X[W] = "\n";
|
|
245
|
+
Z[W << 1] = T++;
|
|
246
|
+
Z[(W++ << 1) | 1] = ab;
|
|
247
|
+
}
|
|
248
|
+
break;
|
|
249
|
+
case 3:
|
|
250
|
+
case 4:
|
|
251
|
+
var ac = ab.nodeValue;
|
|
252
|
+
if (ac.length) {
|
|
253
|
+
if (!Y) {
|
|
254
|
+
ac = ac.replace(/[ \t\r\n]+/g, " ");
|
|
255
|
+
}
|
|
256
|
+
else {
|
|
257
|
+
ac = ac.replace(/\r\n?/g, "\n");
|
|
258
|
+
}
|
|
259
|
+
X[W] = ac;
|
|
260
|
+
Z[W << 1] = T;
|
|
261
|
+
T += ac.length;
|
|
262
|
+
Z[(W++ << 1) | 1] = ab;
|
|
263
|
+
}
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
aa(V);
|
|
268
|
+
return { sourceCode: X.join("").replace(/\n$/, ""), spans: Z };
|
|
269
|
+
}
|
|
270
|
+
function B(S, U, W, T) {
|
|
271
|
+
if (!U) {
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
var V = { sourceCode: U, basePos: S };
|
|
275
|
+
W(V);
|
|
276
|
+
T.push.apply(T, V.decorations);
|
|
277
|
+
}
|
|
278
|
+
var v = /\S/;
|
|
279
|
+
function o(S) {
|
|
280
|
+
var V = undefined;
|
|
281
|
+
for (var U = S.firstChild; U; U = U.nextSibling) {
|
|
282
|
+
var T = U.nodeType;
|
|
283
|
+
V = (T === 1) ? (V ? S : U) : (T === 3) ? (v.test(U.nodeValue) ? S : V) : V;
|
|
284
|
+
}
|
|
285
|
+
return V === S ? undefined : V;
|
|
286
|
+
}
|
|
287
|
+
function g(U, T) {
|
|
288
|
+
var S = {};
|
|
289
|
+
var V;
|
|
290
|
+
(function () {
|
|
291
|
+
var ad = U.concat(T);
|
|
292
|
+
var ah = [];
|
|
293
|
+
var ag = {};
|
|
294
|
+
for (var ab = 0, Z = ad.length; ab < Z; ++ab) {
|
|
295
|
+
var Y = ad[ab];
|
|
296
|
+
var ac = Y[3];
|
|
297
|
+
if (ac) {
|
|
298
|
+
for (var ae = ac.length; --ae >= 0;) {
|
|
299
|
+
S[ac.charAt(ae)] = Y;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
var af = Y[1];
|
|
303
|
+
var aa = "" + af;
|
|
304
|
+
if (!ag.hasOwnProperty(aa)) {
|
|
305
|
+
ah.push(af);
|
|
306
|
+
ag[aa] = null;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
ah.push(/[\0-\uffff]/);
|
|
310
|
+
V = k(ah);
|
|
311
|
+
})();
|
|
312
|
+
var X = T.length;
|
|
313
|
+
var W = function (ah) {
|
|
314
|
+
var Z = ah.sourceCode, Y = ah.basePos;
|
|
315
|
+
var ad = [Y, F];
|
|
316
|
+
var af = 0;
|
|
317
|
+
var an = Z.match(V) || [];
|
|
318
|
+
var aj = {};
|
|
319
|
+
for (var ae = 0, aq = an.length; ae < aq; ++ae) {
|
|
320
|
+
var ag = an[ae];
|
|
321
|
+
var ap = aj[ag];
|
|
322
|
+
var ai = void 0;
|
|
323
|
+
var am;
|
|
324
|
+
if (typeof ap === "string") {
|
|
325
|
+
am = false;
|
|
326
|
+
}
|
|
327
|
+
else {
|
|
328
|
+
var aa = S[ag.charAt(0)];
|
|
329
|
+
if (aa) {
|
|
330
|
+
ai = ag.match(aa[1]);
|
|
331
|
+
ap = aa[0];
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
for (var ao = 0; ao < X; ++ao) {
|
|
335
|
+
aa = T[ao];
|
|
336
|
+
ai = ag.match(aa[1]);
|
|
337
|
+
if (ai) {
|
|
338
|
+
ap = aa[0];
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
if (!ai) {
|
|
343
|
+
ap = F;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
am = ap.length >= 5 && "lang-" === ap.substring(0, 5);
|
|
347
|
+
if (am && !(ai && typeof ai[1] === "string")) {
|
|
348
|
+
am = false;
|
|
349
|
+
ap = J;
|
|
350
|
+
}
|
|
351
|
+
if (!am) {
|
|
352
|
+
aj[ag] = ap;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
var ab = af;
|
|
356
|
+
af += ag.length;
|
|
357
|
+
if (!am) {
|
|
358
|
+
ad.push(Y + ab, ap);
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
var al = ai[1];
|
|
362
|
+
var ak = ag.indexOf(al);
|
|
363
|
+
var ac = ak + al.length;
|
|
364
|
+
if (ai[2]) {
|
|
365
|
+
ac = ag.length - ai[2].length;
|
|
366
|
+
ak = ac - al.length;
|
|
367
|
+
}
|
|
368
|
+
var ar = ap.substring(5);
|
|
369
|
+
B(Y + ab, ag.substring(0, ak), W, ad);
|
|
370
|
+
B(Y + ab + ak, al, q(ar, al), ad);
|
|
371
|
+
B(Y + ab + ac, ag.substring(ac), W, ad);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
ah.decorations = ad;
|
|
375
|
+
};
|
|
376
|
+
return W;
|
|
377
|
+
}
|
|
378
|
+
function i(T) {
|
|
379
|
+
var W = [], S = [];
|
|
380
|
+
if (T.tripleQuotedStrings) {
|
|
381
|
+
W.push([C, /^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/, null, "'\""]);
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
if (T.multiLineStrings) {
|
|
385
|
+
W.push([C, /^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/, null, "'\"`"]);
|
|
386
|
+
}
|
|
387
|
+
else {
|
|
388
|
+
W.push([C, /^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/, null, "\"'"]);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
if (T.verbatimStrings) {
|
|
392
|
+
S.push([C, /^@\"(?:[^\"]|\"\")*(?:\"|$)/, null]);
|
|
393
|
+
}
|
|
394
|
+
var Y = T.hashComments;
|
|
395
|
+
if (Y) {
|
|
396
|
+
if (T.cStyleComments) {
|
|
397
|
+
if (Y > 1) {
|
|
398
|
+
W.push([j, /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, null, "#"]);
|
|
399
|
+
}
|
|
400
|
+
else {
|
|
401
|
+
W.push([j, /^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/, null, "#"]);
|
|
402
|
+
}
|
|
403
|
+
S.push([C, /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/, null]);
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
W.push([j, /^#[^\r\n]*/, null, "#"]);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
if (T.cStyleComments) {
|
|
410
|
+
S.push([j, /^\/\/[^\r\n]*/, null]);
|
|
411
|
+
S.push([j, /^\/\*[\s\S]*?(?:\*\/|$)/, null]);
|
|
412
|
+
}
|
|
413
|
+
if (T.regexLiterals) {
|
|
414
|
+
var X = ("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");
|
|
415
|
+
S.push(["lang-regex", new RegExp("^" + M + "(" + X + ")")]);
|
|
416
|
+
}
|
|
417
|
+
var V = T.types;
|
|
418
|
+
if (V) {
|
|
419
|
+
S.push([O, V]);
|
|
420
|
+
}
|
|
421
|
+
var U = ("" + T.keywords).replace(/^ | $/g, "");
|
|
422
|
+
if (U.length) {
|
|
423
|
+
S.push([z, new RegExp("^(?:" + U.replace(/[\s,]+/g, "|") + ")\\b"), null]);
|
|
424
|
+
}
|
|
425
|
+
W.push([F, /^\s+/, null, " \r\n\t\xA0"]);
|
|
426
|
+
S.push([G, /^@[a-z_$][a-z_$@0-9]*/i, null], [O, /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/, null], [F, /^[a-z_$][a-z_$@0-9]*/i, null], [G, new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*", "i"), null, "0123456789"], [F, /^\\[\s\S]?/, null], [L, /^.[^\s\w\.$@\'\"\`\/\#\\]*/, null]);
|
|
427
|
+
return g(W, S);
|
|
428
|
+
}
|
|
429
|
+
var K = i({ keywords: A, hashComments: true, cStyleComments: true, multiLineStrings: true, regexLiterals: true });
|
|
430
|
+
function Q(V, ag) {
|
|
431
|
+
var U = /(?:^|\s)nocode(?:\s|$)/;
|
|
432
|
+
var ab = /\r\n?|\n/;
|
|
433
|
+
var ac = V.ownerDocument;
|
|
434
|
+
var S;
|
|
435
|
+
if (V.currentStyle) {
|
|
436
|
+
S = V.currentStyle.whiteSpace;
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
if (window.getComputedStyle) {
|
|
440
|
+
S = ac.defaultView.getComputedStyle(V, null).getPropertyValue("white-space");
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
var Z = S && "pre" === S.substring(0, 3);
|
|
444
|
+
var af = ac.createElement("LI");
|
|
445
|
+
while (V.firstChild) {
|
|
446
|
+
af.appendChild(V.firstChild);
|
|
447
|
+
}
|
|
448
|
+
var W = [af];
|
|
449
|
+
function ae(al) {
|
|
450
|
+
switch (al.nodeType) {
|
|
451
|
+
case 1:
|
|
452
|
+
if (U.test(al.className)) {
|
|
453
|
+
break;
|
|
454
|
+
}
|
|
455
|
+
if ("BR" === al.nodeName) {
|
|
456
|
+
ad(al);
|
|
457
|
+
if (al.parentNode) {
|
|
458
|
+
al.parentNode.removeChild(al);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
else {
|
|
462
|
+
for (var an = al.firstChild; an; an = an.nextSibling) {
|
|
463
|
+
ae(an);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
break;
|
|
467
|
+
case 3:
|
|
468
|
+
case 4:
|
|
469
|
+
if (Z) {
|
|
470
|
+
var am = al.nodeValue;
|
|
471
|
+
var aj = am.match(ab);
|
|
472
|
+
if (aj) {
|
|
473
|
+
var ai = am.substring(0, aj.index);
|
|
474
|
+
al.nodeValue = ai;
|
|
475
|
+
var ah = am.substring(aj.index + aj[0].length);
|
|
476
|
+
if (ah) {
|
|
477
|
+
var ak = al.parentNode;
|
|
478
|
+
ak.insertBefore(ac.createTextNode(ah), al.nextSibling);
|
|
479
|
+
}
|
|
480
|
+
ad(al);
|
|
481
|
+
if (!ai) {
|
|
482
|
+
al.parentNode.removeChild(al);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
break;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
function ad(ak) {
|
|
490
|
+
while (!ak.nextSibling) {
|
|
491
|
+
ak = ak.parentNode;
|
|
492
|
+
if (!ak) {
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
function ai(al, ar) {
|
|
497
|
+
var aq = ar ? al.cloneNode(false) : al;
|
|
498
|
+
var ao = al.parentNode;
|
|
499
|
+
if (ao) {
|
|
500
|
+
var ap = ai(ao, 1);
|
|
501
|
+
var an = al.nextSibling;
|
|
502
|
+
ap.appendChild(aq);
|
|
503
|
+
for (var am = an; am; am = an) {
|
|
504
|
+
an = am.nextSibling;
|
|
505
|
+
ap.appendChild(am);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
return aq;
|
|
509
|
+
}
|
|
510
|
+
var ah = ai(ak.nextSibling, 0);
|
|
511
|
+
for (var aj; (aj = ah.parentNode) && aj.nodeType === 1;) {
|
|
512
|
+
ah = aj;
|
|
513
|
+
}
|
|
514
|
+
W.push(ah);
|
|
515
|
+
}
|
|
516
|
+
for (var Y = 0; Y < W.length; ++Y) {
|
|
517
|
+
ae(W[Y]);
|
|
518
|
+
}
|
|
519
|
+
if (ag === (ag | 0)) {
|
|
520
|
+
W[0].setAttribute("value", ag);
|
|
521
|
+
}
|
|
522
|
+
var aa = ac.createElement("OL");
|
|
523
|
+
aa.className = "linenums";
|
|
524
|
+
var X = Math.max(0, ((ag - 1)) | 0) || 0;
|
|
525
|
+
for (var Y = 0, T = W.length; Y < T; ++Y) {
|
|
526
|
+
af = W[Y];
|
|
527
|
+
af.className = "L" + ((Y + X) % 10);
|
|
528
|
+
if (!af.firstChild) {
|
|
529
|
+
af.appendChild(ac.createTextNode("\xA0"));
|
|
530
|
+
}
|
|
531
|
+
aa.appendChild(af);
|
|
532
|
+
}
|
|
533
|
+
V.appendChild(aa);
|
|
534
|
+
}
|
|
535
|
+
function D(ac) {
|
|
536
|
+
var aj = /\bMSIE\b/.test(navigator.userAgent);
|
|
537
|
+
var am = /\n/g;
|
|
538
|
+
var al = ac.sourceCode;
|
|
539
|
+
var an = al.length;
|
|
540
|
+
var V = 0;
|
|
541
|
+
var aa = ac.spans;
|
|
542
|
+
var T = aa.length;
|
|
543
|
+
var ah = 0;
|
|
544
|
+
var X = ac.decorations;
|
|
545
|
+
var Y = X.length;
|
|
546
|
+
var Z = 0;
|
|
547
|
+
X[Y] = an;
|
|
548
|
+
var ar, aq;
|
|
549
|
+
for (aq = ar = 0; aq < Y;) {
|
|
550
|
+
if (X[aq] !== X[aq + 2]) {
|
|
551
|
+
X[ar++] = X[aq++];
|
|
552
|
+
X[ar++] = X[aq++];
|
|
553
|
+
}
|
|
554
|
+
else {
|
|
555
|
+
aq += 2;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
Y = ar;
|
|
559
|
+
for (aq = ar = 0; aq < Y;) {
|
|
560
|
+
var at = X[aq];
|
|
561
|
+
var ab = X[aq + 1];
|
|
562
|
+
var W = aq + 2;
|
|
563
|
+
while (W + 2 <= Y && X[W + 1] === ab) {
|
|
564
|
+
W += 2;
|
|
565
|
+
}
|
|
566
|
+
X[ar++] = at;
|
|
567
|
+
X[ar++] = ab;
|
|
568
|
+
aq = W;
|
|
569
|
+
}
|
|
570
|
+
Y = X.length = ar;
|
|
571
|
+
var ae = null;
|
|
572
|
+
while (ah < T) {
|
|
573
|
+
var af = aa[ah];
|
|
574
|
+
var S = aa[ah + 2] || an;
|
|
575
|
+
var ag = X[Z];
|
|
576
|
+
var ap = X[Z + 2] || an;
|
|
577
|
+
var W = Math.min(S, ap);
|
|
578
|
+
var ak = aa[ah + 1];
|
|
579
|
+
var U;
|
|
580
|
+
if (ak.nodeType !== 1 && (U = al.substring(V, W))) {
|
|
581
|
+
if (aj) {
|
|
582
|
+
U = U.replace(am, "\r");
|
|
583
|
+
}
|
|
584
|
+
ak.nodeValue = U;
|
|
585
|
+
var ai = ak.ownerDocument;
|
|
586
|
+
var ao = ai.createElement("SPAN");
|
|
587
|
+
ao.className = X[Z + 1];
|
|
588
|
+
var ad = ak.parentNode;
|
|
589
|
+
ad.replaceChild(ao, ak);
|
|
590
|
+
ao.appendChild(ak);
|
|
591
|
+
if (V < S) {
|
|
592
|
+
aa[ah + 1] = ak = ai.createTextNode(al.substring(W, S));
|
|
593
|
+
ad.insertBefore(ak, ao.nextSibling);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
V = W;
|
|
597
|
+
if (V >= S) {
|
|
598
|
+
ah += 2;
|
|
599
|
+
}
|
|
600
|
+
if (V >= ap) {
|
|
601
|
+
Z += 2;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
var t = {};
|
|
606
|
+
function c(U, V) {
|
|
607
|
+
for (var S = V.length; --S >= 0;) {
|
|
608
|
+
var T = V[S];
|
|
609
|
+
if (!t.hasOwnProperty(T)) {
|
|
610
|
+
t[T] = U;
|
|
611
|
+
}
|
|
612
|
+
else {
|
|
613
|
+
if (window.console) {
|
|
614
|
+
console.warn("cannot override language handler %s", T);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
function q(T, S) {
|
|
620
|
+
if (!(T && t.hasOwnProperty(T))) {
|
|
621
|
+
T = /^\s*</.test(S) ? "default-markup" : "default-code";
|
|
622
|
+
}
|
|
623
|
+
return t[T];
|
|
624
|
+
}
|
|
625
|
+
c(K, ["default-code"]);
|
|
626
|
+
c(g([], [[F, /^[^<?]+/], [E, /^<!\w[^>]*(?:>|$)/], [j, /^<\!--[\s\S]*?(?:-\->|$)/], ["lang-", /^<\?([\s\S]+?)(?:\?>|$)/], ["lang-", /^<%([\s\S]+?)(?:%>|$)/], [L, /^(?:<[%?]|[%?]>)/], ["lang-", /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i], ["lang-js", /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-css", /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i], ["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i]]), ["default-markup", "htm", "html", "mxml", "xhtml", "xml", "xsl"]);
|
|
627
|
+
c(g([[F, /^[\s]+/, null, " \t\r\n"], [n, /^(?:\"[^\"]*\"?|\'[^\']*\'?)/, null, "\"'"]], [[m, /^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i], [P, /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i], ["lang-uq.val", /^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/], [L, /^[=<>\/]+/], ["lang-js", /^on\w+\s*=\s*\"([^\"]+)\"/i], ["lang-js", /^on\w+\s*=\s*\'([^\']+)\'/i], ["lang-js", /^on\w+\s*=\s*([^\"\'>\s]+)/i], ["lang-css", /^style\s*=\s*\"([^\"]+)\"/i], ["lang-css", /^style\s*=\s*\'([^\']+)\'/i], ["lang-css", /^style\s*=\s*([^\"\'>\s]+)/i]]), ["in.tag"]);
|
|
628
|
+
c(g([], [[n, /^[\s\S]+/]]), ["uq.val"]);
|
|
629
|
+
c(i({ keywords: l, hashComments: true, cStyleComments: true, types: e }), ["c", "cc", "cpp", "cxx", "cyc", "m"]);
|
|
630
|
+
c(i({ keywords: "null,true,false" }), ["json"]);
|
|
631
|
+
c(i({ keywords: R, hashComments: true, cStyleComments: true, verbatimStrings: true, types: e }), ["cs"]);
|
|
632
|
+
c(i({ keywords: x, cStyleComments: true }), ["java"]);
|
|
633
|
+
c(i({ keywords: H, hashComments: true, multiLineStrings: true }), ["bsh", "csh", "sh"]);
|
|
634
|
+
c(i({ keywords: I, hashComments: true, multiLineStrings: true, tripleQuotedStrings: true }), ["cv", "py"]);
|
|
635
|
+
c(i({ keywords: s, hashComments: true, multiLineStrings: true, regexLiterals: true }), ["perl", "pl", "pm"]);
|
|
636
|
+
c(i({ keywords: f, hashComments: true, multiLineStrings: true, regexLiterals: true }), ["rb"]);
|
|
637
|
+
c(i({ keywords: w, cStyleComments: true, regexLiterals: true }), ["js"]);
|
|
638
|
+
c(i({ keywords: r, hashComments: 3, cStyleComments: true, multilineStrings: true, tripleQuotedStrings: true, regexLiterals: true }), ["coffee"]);
|
|
639
|
+
c(g([], [[C, /^[\s\S]+/]]), ["regex"]);
|
|
640
|
+
function d(V) {
|
|
641
|
+
var U = V.langExtension;
|
|
642
|
+
try {
|
|
643
|
+
var S = a(V.sourceNode);
|
|
644
|
+
var T = S.sourceCode;
|
|
645
|
+
V.sourceCode = T;
|
|
646
|
+
V.spans = S.spans;
|
|
647
|
+
V.basePos = 0;
|
|
648
|
+
q(U, T)(V);
|
|
649
|
+
D(V);
|
|
650
|
+
}
|
|
651
|
+
catch (W) {
|
|
652
|
+
if ("console" in window) {
|
|
653
|
+
console.log(W && W.stack ? W.stack : W);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
function y(W, V, U) {
|
|
658
|
+
var S = document.createElement("PRE");
|
|
659
|
+
S.innerHTML = W;
|
|
660
|
+
if (U) {
|
|
661
|
+
Q(S, U);
|
|
662
|
+
}
|
|
663
|
+
var T = { langExtension: V, numberLines: U, sourceNode: S };
|
|
664
|
+
d(T);
|
|
665
|
+
return S.innerHTML;
|
|
666
|
+
}
|
|
667
|
+
function b(ad) {
|
|
668
|
+
function Y(af) { return document.getElementsByTagName(af); }
|
|
669
|
+
var ac = [Y("pre"), Y("code"), Y("xmp")];
|
|
670
|
+
var T = [];
|
|
671
|
+
for (var aa = 0; aa < ac.length; ++aa) {
|
|
672
|
+
for (var Z = 0, V = ac[aa].length; Z < V; ++Z) {
|
|
673
|
+
T.push(ac[aa][Z]);
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
ac = null;
|
|
677
|
+
var W = Date;
|
|
678
|
+
if (!W.now) {
|
|
679
|
+
W = { now: function () { return +(new Date); } };
|
|
680
|
+
}
|
|
681
|
+
var X = 0;
|
|
682
|
+
var S;
|
|
683
|
+
var ab = /\blang(?:uage)?-([\w.]+)(?!\S)/;
|
|
684
|
+
var ae = /\bprettyprint\b/;
|
|
685
|
+
function U() {
|
|
686
|
+
var ag = (window.PR_SHOULD_USE_CONTINUATION ? W.now() + 250 : Infinity);
|
|
687
|
+
for (; X < T.length && W.now() < ag; X++) {
|
|
688
|
+
var aj = T[X];
|
|
689
|
+
var ai = aj.className;
|
|
690
|
+
if (ai.indexOf("prettyprint") >= 0) {
|
|
691
|
+
var ah = ai.match(ab);
|
|
692
|
+
var am;
|
|
693
|
+
if (!ah && (am = o(aj)) && "CODE" === am.tagName) {
|
|
694
|
+
ah = am.className.match(ab);
|
|
695
|
+
}
|
|
696
|
+
if (ah) {
|
|
697
|
+
ah = ah[1];
|
|
698
|
+
}
|
|
699
|
+
var al = false;
|
|
700
|
+
for (var ak = aj.parentNode; ak; ak = ak.parentNode) {
|
|
701
|
+
if ((ak.tagName === "pre" || ak.tagName === "code" || ak.tagName === "xmp") && ak.className && ak.className.indexOf("prettyprint") >= 0) {
|
|
702
|
+
al = true;
|
|
703
|
+
break;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
if (!al) {
|
|
707
|
+
var af = aj.className.match(/\blinenums\b(?::(\d+))?/);
|
|
708
|
+
af = af ? af[1] && af[1].length ? +af[1] : true : false;
|
|
709
|
+
if (af) {
|
|
710
|
+
Q(aj, af);
|
|
711
|
+
}
|
|
712
|
+
S = { langExtension: ah, sourceNode: aj, numberLines: af };
|
|
713
|
+
d(S);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
if (X < T.length) {
|
|
718
|
+
setTimeout(U, 250);
|
|
719
|
+
}
|
|
720
|
+
else {
|
|
721
|
+
if (ad) {
|
|
722
|
+
ad();
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
U();
|
|
727
|
+
}
|
|
728
|
+
window.prettyPrintOne = y;
|
|
729
|
+
window.prettyPrint = b;
|
|
730
|
+
window.PR = { createSimpleLexer: g, registerLangHandler: c, sourceDecorator: i, PR_ATTRIB_NAME: P, PR_ATTRIB_VALUE: n, PR_COMMENT: j, PR_DECLARATION: E, PR_KEYWORD: z, PR_LITERAL: G, PR_NOCODE: N, PR_PLAIN: F, PR_PUNCTUATION: L, PR_SOURCE: J, PR_STRING: C, PR_TAG: m, PR_TYPE: O };
|
|
731
|
+
})();
|
|
732
|
+
PR.registerLangHandler(PR.createSimpleLexer([], [[PR.PR_DECLARATION, /^<!\w[^>]*(?:>|$)/], [PR.PR_COMMENT, /^<\!--[\s\S]*?(?:-\->|$)/], [PR.PR_PUNCTUATION, /^(?:<[%?]|[%?]>)/], ["lang-", /^<\?([\s\S]+?)(?:\?>|$)/], ["lang-", /^<%([\s\S]+?)(?:%>|$)/], ["lang-", /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i], ["lang-handlebars", /^<script\b[^>]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-js", /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-css", /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i], ["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i], [PR.PR_DECLARATION, /^{{[#^>/]?\s*[\w.][^}]*}}/], [PR.PR_DECLARATION, /^{{&?\s*[\w.][^}]*}}/], [PR.PR_DECLARATION, /^{{{>?\s*[\w.][^}]*}}}/], [PR.PR_COMMENT, /^{{![^}]*}}/]]), ["handlebars", "hbs"]);
|
|
733
|
+
PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN, /^[ \t\r\n\f]+/, null, " \t\r\n\f"]], [[PR.PR_STRING, /^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/, null], [PR.PR_STRING, /^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/, null], ["lang-css-str", /^url\(([^\)\"\']*)\)/i], [PR.PR_KEYWORD, /^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i, null], ["lang-css-kw", /^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i], [PR.PR_COMMENT, /^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//], [PR.PR_COMMENT, /^(?:<!--|-->)/], [PR.PR_LITERAL, /^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i], [PR.PR_LITERAL, /^#(?:[0-9a-f]{3}){1,2}/i], [PR.PR_PLAIN, /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i], [PR.PR_PUNCTUATION, /^[^\s\w\'\"]+/]]), ["css"]);
|
|
734
|
+
PR.registerLangHandler(PR.createSimpleLexer([], [[PR.PR_KEYWORD, /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]), ["css-kw"]);
|
|
735
|
+
PR.registerLangHandler(PR.createSimpleLexer([], [[PR.PR_STRING, /^[^\)\"\']+/]]), ["css-str"]);
|
|
736
|
+
//# sourceMappingURL=prettify.js.map
|