@seed-ship/mcp-ui-solid 1.2.2 → 2.0.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/CHANGELOG.md +28 -0
- package/dist/_virtual/_commonjsHelpers.cjs +7 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/index.cjs +7 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +8 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/leaflet-src.cjs +32 -0
- package/dist/_virtual/leaflet-src.cjs.map +1 -0
- package/dist/_virtual/leaflet-src.js +32 -0
- package/dist/_virtual/leaflet-src.js.map +1 -0
- package/dist/_virtual/leaflet-src2.cjs +5 -0
- package/dist/_virtual/leaflet-src2.cjs.map +1 -0
- package/dist/_virtual/leaflet-src2.js +5 -0
- package/dist/_virtual/leaflet-src2.js.map +1 -0
- package/dist/_virtual/leaflet.markercluster-src.cjs +9 -0
- package/dist/_virtual/leaflet.markercluster-src.cjs.map +1 -0
- package/dist/_virtual/leaflet.markercluster-src.js +9 -0
- package/dist/_virtual/leaflet.markercluster-src.js.map +1 -0
- package/dist/_virtual/leaflet.markercluster-src2.cjs +5 -0
- package/dist/_virtual/leaflet.markercluster-src2.cjs.map +1 -0
- package/dist/_virtual/leaflet.markercluster-src2.js +5 -0
- package/dist/_virtual/leaflet.markercluster-src2.js.map +1 -0
- package/dist/components/ActionGroupRenderer.cjs +173 -0
- package/dist/components/ActionGroupRenderer.cjs.map +1 -0
- package/dist/components/ActionGroupRenderer.d.ts +39 -0
- package/dist/components/ActionGroupRenderer.d.ts.map +1 -0
- package/dist/components/ActionGroupRenderer.js +173 -0
- package/dist/components/ActionGroupRenderer.js.map +1 -0
- package/dist/components/ActionRenderer.cjs.map +1 -1
- package/dist/components/ActionRenderer.d.ts.map +1 -1
- package/dist/components/ActionRenderer.js.map +1 -1
- package/dist/components/CarouselRenderer.cjs +5 -4
- package/dist/components/CarouselRenderer.cjs.map +1 -1
- package/dist/components/CarouselRenderer.d.ts +1 -2
- package/dist/components/CarouselRenderer.d.ts.map +1 -1
- package/dist/components/CarouselRenderer.js +5 -4
- package/dist/components/CarouselRenderer.js.map +1 -1
- package/dist/components/ChartJSRenderer.cjs +138 -0
- package/dist/components/ChartJSRenderer.cjs.map +1 -0
- package/dist/components/ChartJSRenderer.d.ts +49 -0
- package/dist/components/ChartJSRenderer.d.ts.map +1 -0
- package/dist/components/ChartJSRenderer.js +116 -0
- package/dist/components/ChartJSRenderer.js.map +1 -0
- package/dist/components/CodeBlockRenderer.cjs +164 -0
- package/dist/components/CodeBlockRenderer.cjs.map +1 -0
- package/dist/components/CodeBlockRenderer.d.ts +19 -0
- package/dist/components/CodeBlockRenderer.d.ts.map +1 -0
- package/dist/components/CodeBlockRenderer.js +164 -0
- package/dist/components/CodeBlockRenderer.js.map +1 -0
- package/dist/components/FormFieldRenderer.cjs +358 -0
- package/dist/components/FormFieldRenderer.cjs.map +1 -0
- package/dist/components/FormFieldRenderer.d.ts +20 -0
- package/dist/components/FormFieldRenderer.d.ts.map +1 -0
- package/dist/components/FormFieldRenderer.js +358 -0
- package/dist/components/FormFieldRenderer.js.map +1 -0
- package/dist/components/FormRenderer.cjs +217 -0
- package/dist/components/FormRenderer.cjs.map +1 -0
- package/dist/components/FormRenderer.d.ts +15 -0
- package/dist/components/FormRenderer.d.ts.map +1 -0
- package/dist/components/FormRenderer.js +217 -0
- package/dist/components/FormRenderer.js.map +1 -0
- package/dist/components/GenerativeUIErrorBoundary.cjs +1 -1
- package/dist/components/GenerativeUIErrorBoundary.cjs.map +1 -1
- package/dist/components/GenerativeUIErrorBoundary.js +1 -1
- package/dist/components/GenerativeUIErrorBoundary.js.map +1 -1
- package/dist/components/GridRenderer.cjs +6 -8
- package/dist/components/GridRenderer.cjs.map +1 -1
- package/dist/components/GridRenderer.d.ts +1 -0
- package/dist/components/GridRenderer.d.ts.map +1 -1
- package/dist/components/GridRenderer.js +6 -8
- package/dist/components/GridRenderer.js.map +1 -1
- package/dist/components/ImageGalleryRenderer.cjs +139 -0
- package/dist/components/ImageGalleryRenderer.cjs.map +1 -0
- package/dist/components/ImageGalleryRenderer.d.ts +18 -0
- package/dist/components/ImageGalleryRenderer.d.ts.map +1 -0
- package/dist/components/ImageGalleryRenderer.js +139 -0
- package/dist/components/ImageGalleryRenderer.js.map +1 -0
- package/dist/components/LightboxOverlay.cjs +118 -0
- package/dist/components/LightboxOverlay.cjs.map +1 -0
- package/dist/components/LightboxOverlay.d.ts +26 -0
- package/dist/components/LightboxOverlay.d.ts.map +1 -0
- package/dist/components/LightboxOverlay.js +118 -0
- package/dist/components/LightboxOverlay.js.map +1 -0
- package/dist/components/MapRenderer.cjs +166 -0
- package/dist/components/MapRenderer.cjs.map +1 -0
- package/dist/components/MapRenderer.d.ts +19 -0
- package/dist/components/MapRenderer.d.ts.map +1 -0
- package/dist/components/MapRenderer.js +166 -0
- package/dist/components/MapRenderer.js.map +1 -0
- package/dist/components/ModalRenderer.cjs +162 -0
- package/dist/components/ModalRenderer.cjs.map +1 -0
- package/dist/components/ModalRenderer.d.ts +67 -0
- package/dist/components/ModalRenderer.d.ts.map +1 -0
- package/dist/components/ModalRenderer.js +162 -0
- package/dist/components/ModalRenderer.js.map +1 -0
- package/dist/components/RenderContext.cjs +33 -0
- package/dist/components/RenderContext.cjs.map +1 -0
- package/dist/components/RenderContext.d.ts +42 -0
- package/dist/components/RenderContext.d.ts.map +1 -0
- package/dist/components/RenderContext.js +33 -0
- package/dist/components/RenderContext.js.map +1 -0
- package/dist/components/UIResourceRenderer.cjs +646 -197
- package/dist/components/UIResourceRenderer.cjs.map +1 -1
- package/dist/components/UIResourceRenderer.d.ts.map +1 -1
- package/dist/components/UIResourceRenderer.js +647 -198
- package/dist/components/UIResourceRenderer.js.map +1 -1
- package/dist/components/VideoRenderer.cjs +167 -0
- package/dist/components/VideoRenderer.cjs.map +1 -0
- package/dist/components/VideoRenderer.d.ts +37 -0
- package/dist/components/VideoRenderer.d.ts.map +1 -0
- package/dist/components/VideoRenderer.js +167 -0
- package/dist/components/VideoRenderer.js.map +1 -0
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components.cjs +27 -0
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +45 -0
- package/dist/components.d.ts +22 -0
- package/dist/components.js +28 -1
- package/dist/components.js.map +1 -1
- package/dist/context/MCPActionContext.cjs +3 -3
- package/dist/context/MCPActionContext.cjs.map +1 -1
- package/dist/context/MCPActionContext.d.ts.map +1 -1
- package/dist/context/MCPActionContext.js +3 -3
- package/dist/context/MCPActionContext.js.map +1 -1
- package/dist/hooks/index.d.ts +7 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useAction.cjs +85 -16
- package/dist/hooks/useAction.cjs.map +1 -1
- package/dist/hooks/useAction.d.ts +93 -7
- package/dist/hooks/useAction.d.ts.map +1 -1
- package/dist/hooks/useAction.js +85 -16
- package/dist/hooks/useAction.js.map +1 -1
- package/dist/hooks/useConditionalField.cjs +46 -0
- package/dist/hooks/useConditionalField.cjs.map +1 -0
- package/dist/hooks/useConditionalField.d.ts +35 -0
- package/dist/hooks/useConditionalField.d.ts.map +1 -0
- package/dist/hooks/useConditionalField.js +46 -0
- package/dist/hooks/useConditionalField.js.map +1 -0
- package/dist/hooks/useFormPersistence.cjs +123 -0
- package/dist/hooks/useFormPersistence.cjs.map +1 -0
- package/dist/hooks/useFormPersistence.d.ts +81 -0
- package/dist/hooks/useFormPersistence.d.ts.map +1 -0
- package/dist/hooks/useFormPersistence.js +123 -0
- package/dist/hooks/useFormPersistence.js.map +1 -0
- package/dist/hooks/useModal.cjs +41 -0
- package/dist/hooks/useModal.cjs.map +1 -0
- package/dist/hooks/useModal.d.ts +107 -0
- package/dist/hooks/useModal.d.ts.map +1 -0
- package/dist/hooks/useModal.js +41 -0
- package/dist/hooks/useModal.js.map +1 -0
- package/dist/hooks.cjs +8 -0
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.cts +16 -0
- package/dist/hooks.d.ts +7 -1
- package/dist/hooks.js +8 -0
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-ui-solid.css +969 -0
- package/dist/node_modules/.pnpm/@tanstack_solid-virtual@3.13.18_solid-js@1.9.10/node_modules/@tanstack/solid-virtual/dist/esm/index.cjs +66 -0
- package/dist/node_modules/.pnpm/@tanstack_solid-virtual@3.13.18_solid-js@1.9.10/node_modules/@tanstack/solid-virtual/dist/esm/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_solid-virtual@3.13.18_solid-js@1.9.10/node_modules/@tanstack/solid-virtual/dist/esm/index.js +67 -0
- package/dist/node_modules/.pnpm/@tanstack_solid-virtual@3.13.18_solid-js@1.9.10/node_modules/@tanstack/solid-virtual/dist/esm/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/index.cjs +823 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/index.js +823 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/utils.cjs +73 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/utils.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/utils.js +73 -0
- package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/index.cjs +6 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/index.js +6 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/index.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.cjs +1543 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js +1543 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/index.cjs +400 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/index.js +400 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/index.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/1c.cjs +158 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/1c.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/1c.js +158 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/1c.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/abnf.cjs +75 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/abnf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/abnf.js +75 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/abnf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/accesslog.cjs +91 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/accesslog.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/accesslog.js +91 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/accesslog.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/actionscript.cjs +152 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/actionscript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/actionscript.js +152 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/actionscript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ada.cjs +232 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ada.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ada.js +232 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ada.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/angelscript.cjs +176 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/angelscript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/angelscript.js +176 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/angelscript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/apache.cjs +104 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/apache.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/apache.js +104 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/apache.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/applescript.cjs +131 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/applescript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/applescript.js +131 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/applescript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arcade.cjs +432 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arcade.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arcade.js +432 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arcade.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arduino.cjs +943 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arduino.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arduino.js +943 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/arduino.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/armasm.cjs +98 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/armasm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/armasm.js +98 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/armasm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/asciidoc.cjs +258 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/asciidoc.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/asciidoc.js +258 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/asciidoc.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/aspectj.cjs +230 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/aspectj.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/aspectj.js +230 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/aspectj.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autohotkey.cjs +77 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autohotkey.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autohotkey.js +77 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autohotkey.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autoit.cjs +164 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autoit.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autoit.js +164 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/autoit.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/avrasm.cjs +68 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/avrasm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/avrasm.js +68 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/avrasm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/awk.cjs +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/awk.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/awk.js +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/awk.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/axapta.cjs +184 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/axapta.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/axapta.js +184 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/axapta.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.cjs +404 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.js +404 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/basic.cjs +236 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/basic.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/basic.js +236 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/basic.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bnf.cjs +41 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bnf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bnf.js +41 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bnf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/brainfuck.cjs +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/brainfuck.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/brainfuck.js +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/brainfuck.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.cjs +304 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.js +304 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cal.cjs +158 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cal.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cal.js +158 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cal.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/capnproto.cjs +100 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/capnproto.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/capnproto.js +100 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/capnproto.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ceylon.cjs +138 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ceylon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ceylon.js +138 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ceylon.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clean.cjs +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clean.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clean.js +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clean.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure-repl.cjs +27 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure-repl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure-repl.js +27 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure-repl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure.cjs +165 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure.js +165 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/clojure.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cmake.cjs +34 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cmake.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cmake.js +34 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cmake.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coffeescript.cjs +360 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coffeescript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coffeescript.js +360 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coffeescript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coq.cjs +449 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coq.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coq.js +449 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/coq.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cos.cjs +101 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cos.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cos.js +101 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cos.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.cjs +553 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js +553 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crmsh.cjs +96 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crmsh.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crmsh.js +96 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crmsh.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crystal.cjs +308 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crystal.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crystal.js +308 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/crystal.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.cjs +410 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.js +410 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csp.cjs +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csp.js +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.cjs +947 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.js +947 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/d.cjs +122 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/d.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/d.js +122 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/d.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dart.cjs +264 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dart.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dart.js +264 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dart.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/delphi.cjs +255 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/delphi.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/delphi.js +255 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/delphi.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.cjs +63 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.js +63 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/django.cjs +56 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/django.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/django.js +56 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/django.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dns.cjs +80 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dns.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dns.js +80 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dns.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dockerfile.cjs +44 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dockerfile.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dockerfile.js +44 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dockerfile.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dos.cjs +167 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dos.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dos.js +167 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dos.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dsconfig.cjs +67 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dsconfig.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dsconfig.js +67 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dsconfig.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dts.cjs +145 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dts.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dts.js +145 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dts.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dust.cjs +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dust.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dust.js +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/dust.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ebnf.cjs +52 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ebnf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ebnf.js +52 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ebnf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elixir.cjs +282 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elixir.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elixir.js +282 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elixir.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elm.cjs +138 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elm.js +138 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/elm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erb.cjs +28 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erb.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erb.js +28 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erb.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang-repl.cjs +55 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang-repl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang-repl.js +55 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang-repl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang.cjs +227 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang.js +227 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/erlang.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/excel.cjs +584 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/excel.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/excel.js +584 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/excel.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fix.cjs +43 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fix.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fix.js +43 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fix.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/flix.cjs +77 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/flix.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/flix.js +77 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/flix.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fortran.cjs +570 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fortran.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fortran.js +570 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fortran.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fsharp.cjs +576 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fsharp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fsharp.js +576 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/fsharp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gams.cjs +163 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gams.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gams.js +163 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gams.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gauss.cjs +197 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gauss.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gauss.js +197 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gauss.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gcode.cjs +172 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gcode.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gcode.js +172 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gcode.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gherkin.cjs +52 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gherkin.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gherkin.js +52 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gherkin.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/glsl.cjs +40 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/glsl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/glsl.js +40 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/glsl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gml.cjs +3133 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gml.js +3133 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.cjs +164 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.js +164 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/golo.cjs +82 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/golo.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/golo.js +82 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/golo.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gradle.cjs +191 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gradle.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gradle.js +191 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/gradle.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.cjs +80 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.js +80 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/groovy.cjs +190 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/groovy.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/groovy.js +190 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/groovy.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haml.cjs +114 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haml.js +114 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/handlebars.cjs +240 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/handlebars.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/handlebars.js +240 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/handlebars.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haskell.cjs +200 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haskell.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haskell.js +200 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haskell.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haxe.cjs +170 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haxe.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haxe.js +170 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/haxe.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hsp.cjs +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hsp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hsp.js +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hsp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/http.cjs +98 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/http.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/http.js +98 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/http.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hy.cjs +108 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hy.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hy.js +108 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/hy.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/inform7.cjs +67 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/inform7.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/inform7.js +67 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/inform7.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.cjs +126 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.js +126 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/irpf90.cjs +64 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/irpf90.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/irpf90.js +64 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/irpf90.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/isbl.cjs +267 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/isbl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/isbl.js +267 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/isbl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.cjs +264 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.js +264 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.cjs +711 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.js +711 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/jboss-cli.cjs +63 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/jboss-cli.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/jboss-cli.js +63 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/jboss-cli.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.cjs +50 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.js +50 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia-repl.cjs +36 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia-repl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia-repl.js +36 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia-repl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia.cjs +379 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia.js +379 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/julia.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.cjs +265 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.js +265 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lasso.cjs +155 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lasso.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lasso.js +155 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lasso.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/latex.cjs +281 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/latex.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/latex.js +281 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/latex.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ldif.cjs +33 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ldif.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ldif.js +33 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ldif.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/leaf.cjs +100 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/leaf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/leaf.js +100 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/leaf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.cjs +1028 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.js +1028 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lisp.cjs +142 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lisp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lisp.js +142 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lisp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livecodeserver.cjs +104 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livecodeserver.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livecodeserver.js +104 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livecodeserver.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livescript.cjs +371 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livescript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livescript.js +371 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/livescript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/llvm.cjs +99 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/llvm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/llvm.js +99 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/llvm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lsl.cjs +73 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lsl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lsl.js +73 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lsl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.cjs +71 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.js +71 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.cjs +81 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.js +81 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.cjs +242 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.js +242 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mathematica.cjs +7342 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mathematica.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mathematica.js +7342 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mathematica.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/matlab.cjs +86 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/matlab.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/matlab.js +86 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/matlab.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/maxima.cjs +64 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/maxima.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/maxima.js +64 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/maxima.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mel.cjs +36 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mel.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mel.js +36 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mel.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mercury.cjs +88 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mercury.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mercury.js +88 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mercury.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mipsasm.cjs +86 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mipsasm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mipsasm.js +86 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mipsasm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mizar.cjs +19 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mizar.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mizar.js +19 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mizar.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mojolicious.cjs +38 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mojolicious.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mojolicious.js +38 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/mojolicious.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/monkey.cjs +185 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/monkey.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/monkey.js +185 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/monkey.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/moonscript.cjs +145 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/moonscript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/moonscript.js +145 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/moonscript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/n1ql.cjs +361 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/n1ql.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/n1ql.js +361 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/n1ql.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nestedtext.cjs +86 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nestedtext.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nestedtext.js +86 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nestedtext.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nginx.cjs +153 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nginx.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nginx.js +153 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nginx.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nim.cjs +191 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nim.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nim.js +191 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nim.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nix.cjs +357 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nix.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nix.js +357 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nix.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/node-repl.cjs +35 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/node-repl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/node-repl.js +35 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/node-repl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nsis.cjs +540 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nsis.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nsis.js +540 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/nsis.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.cjs +253 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.js +253 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ocaml.cjs +76 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ocaml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ocaml.js +76 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ocaml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/openscad.cjs +79 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/openscad.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/openscad.js +79 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/openscad.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/oxygene.cjs +79 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/oxygene.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/oxygene.js +79 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/oxygene.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/parser3.cjs +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/parser3.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/parser3.js +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/parser3.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.cjs +495 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.js +495 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pf.cjs +46 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pf.js +46 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pgsql.cjs +290 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pgsql.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pgsql.js +290 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pgsql.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.cjs +56 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.js +56 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.cjs +611 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js +611 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.cjs +22 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.js +22 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pony.cjs +66 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pony.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pony.js +66 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/pony.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/powershell.cjs +266 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/powershell.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/powershell.js +266 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/powershell.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/processing.cjs +436 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/processing.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/processing.js +436 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/processing.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/profile.cjs +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/profile.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/profile.js +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/profile.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/prolog.cjs +87 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/prolog.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/prolog.js +87 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/prolog.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/properties.cjs +66 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/properties.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/properties.js +66 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/properties.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/protobuf.cjs +82 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/protobuf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/protobuf.js +82 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/protobuf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/puppet.cjs +121 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/puppet.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/puppet.js +121 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/puppet.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/purebasic.cjs +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/purebasic.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/purebasic.js +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/purebasic.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.cjs +35 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.js +35 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.cjs +425 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.js +425 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/q.cjs +34 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/q.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/q.js +34 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/q.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/qml.cjs +158 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/qml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/qml.js +158 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/qml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.cjs +220 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js +220 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/reasonml.cjs +149 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/reasonml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/reasonml.js +149 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/reasonml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rib.cjs +25 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rib.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rib.js +25 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rib.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/roboconf.cjs +79 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/roboconf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/roboconf.js +79 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/roboconf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/routeros.cjs +156 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/routeros.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/routeros.js +156 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/routeros.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rsl.cjs +147 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rsl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rsl.js +147 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rsl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.cjs +423 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.js +423 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruleslanguage.cjs +39 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruleslanguage.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruleslanguage.js +39 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruleslanguage.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.cjs +323 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.js +323 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sas.cjs +553 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sas.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sas.js +553 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sas.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scala.cjs +201 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scala.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scala.js +201 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scala.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scheme.cjs +149 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scheme.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scheme.js +149 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scheme.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scilab.cjs +68 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scilab.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scilab.js +68 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scilab.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.cjs +932 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.js +932 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.cjs +34 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.js +34 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smali.cjs +128 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smali.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smali.js +128 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smali.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smalltalk.cjs +71 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smalltalk.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smalltalk.js +71 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/smalltalk.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sml.cjs +78 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sml.js +78 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sqf.cjs +2620 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sqf.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sqf.js +2620 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sqf.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.cjs +653 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.js +653 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stan.cjs +505 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stan.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stan.js +505 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stan.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stata.cjs +48 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stata.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stata.js +48 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stata.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/step21.cjs +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/step21.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/step21.js +69 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/step21.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stylus.cjs +981 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stylus.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stylus.js +981 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/stylus.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/subunit.cjs +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/subunit.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/subunit.js +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/subunit.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.cjs +885 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.js +885 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/taggerscript.cjs +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/taggerscript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/taggerscript.js +57 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/taggerscript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tap.cjs +49 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tap.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tap.js +49 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tap.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tcl.cjs +190 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tcl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tcl.js +190 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tcl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/thrift.cjs +80 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/thrift.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/thrift.js +80 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/thrift.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tp.cjs +174 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tp.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tp.js +174 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/tp.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/twig.cjs +249 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/twig.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/twig.js +249 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/twig.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.cjs +824 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.js +824 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vala.cjs +51 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vala.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vala.js +51 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vala.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.cjs +143 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.js +143 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript-html.cjs +25 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript-html.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript-html.js +25 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript-html.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript.cjs +216 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript.js +216 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbscript.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/verilog.cjs +551 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/verilog.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/verilog.js +551 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/verilog.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vhdl.cjs +211 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vhdl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vhdl.js +211 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vhdl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vim.cjs +81 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vim.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vim.js +81 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vim.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.cjs +131 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.js +131 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wren.cjs +289 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wren.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wren.js +289 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wren.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/x86asm.cjs +97 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/x86asm.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/x86asm.js +97 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/x86asm.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xl.cjs +207 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xl.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xl.js +207 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xl.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.cjs +236 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.js +236 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xquery.cjs +337 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xquery.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xquery.js +337 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xquery.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.cjs +211 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.js +211 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.js.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/zephir.cjs +109 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/zephir.cjs.map +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/zephir.js +109 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/zephir.js.map +1 -0
- package/dist/node_modules/.pnpm/leaflet.markercluster@1.5.3_leaflet@1.9.4/node_modules/leaflet.markercluster/dist/leaflet.markercluster-src.cjs +1924 -0
- package/dist/node_modules/.pnpm/leaflet.markercluster@1.5.3_leaflet@1.9.4/node_modules/leaflet.markercluster/dist/leaflet.markercluster-src.cjs.map +1 -0
- package/dist/node_modules/.pnpm/leaflet.markercluster@1.5.3_leaflet@1.9.4/node_modules/leaflet.markercluster/dist/leaflet.markercluster-src.js +1924 -0
- package/dist/node_modules/.pnpm/leaflet.markercluster@1.5.3_leaflet@1.9.4/node_modules/leaflet.markercluster/dist/leaflet.markercluster-src.js.map +1 -0
- package/dist/node_modules/.pnpm/leaflet@1.9.4/node_modules/leaflet/dist/leaflet-src.cjs +9561 -0
- package/dist/node_modules/.pnpm/leaflet@1.9.4/node_modules/leaflet/dist/leaflet-src.cjs.map +1 -0
- package/dist/node_modules/.pnpm/leaflet@1.9.4/node_modules/leaflet/dist/leaflet-src.js +9561 -0
- package/dist/node_modules/.pnpm/leaflet@1.9.4/node_modules/leaflet/dist/leaflet-src.js.map +1 -0
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/validation.cjs +158 -15
- package/dist/services/validation.cjs.map +1 -1
- package/dist/services/validation.d.ts +40 -4
- package/dist/services/validation.d.ts.map +1 -1
- package/dist/services/validation.js +158 -15
- package/dist/services/validation.js.map +1 -1
- package/dist/test-setup.d.ts +6 -0
- package/dist/test-setup.d.ts.map +1 -0
- package/dist/types/index.d.ts +540 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types-export.d.cts +13 -0
- package/dist/types.d.cts +842 -0
- package/dist/types.d.ts +540 -2
- package/dist/validation.d.cts +14 -0
- package/package.json +107 -23
- package/src/components/ActionGroupRenderer.test.tsx +318 -0
- package/src/components/ActionGroupRenderer.tsx +175 -0
- package/src/components/ActionRenderer.tsx +1 -1
- package/src/components/CarouselRenderer.tsx +7 -6
- package/src/components/ChartJSRenderer.tsx +194 -0
- package/src/components/CodeBlockRenderer.test.tsx +85 -0
- package/src/components/CodeBlockRenderer.tsx +197 -0
- package/src/components/FormFieldRenderer.tsx +229 -0
- package/src/components/FormRenderer.test.tsx +536 -0
- package/src/components/FormRenderer.tsx +235 -0
- package/src/components/GenerativeUIErrorBoundary.tsx +1 -1
- package/src/components/GridRenderer.tsx +8 -4
- package/src/components/ImageGalleryRenderer.test.tsx +184 -0
- package/src/components/ImageGalleryRenderer.tsx +146 -0
- package/src/components/LightboxOverlay.tsx +172 -0
- package/src/components/MapRenderer.test.tsx +100 -0
- package/src/components/MapRenderer.tsx +201 -0
- package/src/components/ModalRenderer.test.tsx +430 -0
- package/src/components/ModalRenderer.tsx +232 -0
- package/src/components/RenderContext.tsx +71 -0
- package/src/components/UIResourceRenderer.tsx +400 -63
- package/src/components/VideoRenderer.test.tsx +223 -0
- package/src/components/VideoRenderer.tsx +194 -0
- package/src/components/index.ts +39 -0
- package/src/context/MCPActionContext.tsx +6 -3
- package/src/hooks/index.ts +20 -2
- package/src/hooks/useAction.ts +191 -19
- package/src/hooks/useConditionalField.ts +92 -0
- package/src/hooks/useFormPersistence.test.ts +265 -0
- package/src/hooks/useFormPersistence.ts +263 -0
- package/src/hooks/useModal.ts +154 -0
- package/src/index.ts +49 -1
- package/src/services/index.ts +7 -1
- package/src/services/validation.ts +216 -15
- package/src/ssr.test.tsx +190 -0
- package/src/test-setup.ts +38 -0
- package/src/types/index.ts +669 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/vite.config.ts +9 -1
- package/vitest.config.ts +1 -0
|
@@ -0,0 +1,1924 @@
|
|
|
1
|
+
import { __module as leaflet_markerclusterSrc$1 } from "../../../../../../_virtual/leaflet.markercluster-src2.js";
|
|
2
|
+
var leaflet_markerclusterSrc = leaflet_markerclusterSrc$1.exports;
|
|
3
|
+
var hasRequiredLeaflet_markerclusterSrc;
|
|
4
|
+
function requireLeaflet_markerclusterSrc() {
|
|
5
|
+
if (hasRequiredLeaflet_markerclusterSrc) return leaflet_markerclusterSrc$1.exports;
|
|
6
|
+
hasRequiredLeaflet_markerclusterSrc = 1;
|
|
7
|
+
(function(module, exports$1) {
|
|
8
|
+
(function(global, factory) {
|
|
9
|
+
factory(exports$1);
|
|
10
|
+
})(leaflet_markerclusterSrc, function(exports$12) {
|
|
11
|
+
var MarkerClusterGroup = L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|
12
|
+
options: {
|
|
13
|
+
maxClusterRadius: 80,
|
|
14
|
+
//A cluster will cover at most this many pixels from its center
|
|
15
|
+
iconCreateFunction: null,
|
|
16
|
+
clusterPane: L.Marker.prototype.options.pane,
|
|
17
|
+
spiderfyOnEveryZoom: false,
|
|
18
|
+
spiderfyOnMaxZoom: true,
|
|
19
|
+
showCoverageOnHover: true,
|
|
20
|
+
zoomToBoundsOnClick: true,
|
|
21
|
+
singleMarkerMode: false,
|
|
22
|
+
disableClusteringAtZoom: null,
|
|
23
|
+
// Setting this to false prevents the removal of any clusters outside of the viewpoint, which
|
|
24
|
+
// is the default behaviour for performance reasons.
|
|
25
|
+
removeOutsideVisibleBounds: true,
|
|
26
|
+
// Set to false to disable all animations (zoom and spiderfy).
|
|
27
|
+
// If false, option animateAddingMarkers below has no effect.
|
|
28
|
+
// If L.DomUtil.TRANSITION is falsy, this option has no effect.
|
|
29
|
+
animate: true,
|
|
30
|
+
//Whether to animate adding markers after adding the MarkerClusterGroup to the map
|
|
31
|
+
// If you are adding individual markers set to true, if adding bulk markers leave false for massive performance gains.
|
|
32
|
+
animateAddingMarkers: false,
|
|
33
|
+
// Make it possible to provide custom function to calculate spiderfy shape positions
|
|
34
|
+
spiderfyShapePositions: null,
|
|
35
|
+
//Increase to increase the distance away that spiderfied markers appear from the center
|
|
36
|
+
spiderfyDistanceMultiplier: 1,
|
|
37
|
+
// Make it possible to specify a polyline options on a spider leg
|
|
38
|
+
spiderLegPolylineOptions: { weight: 1.5, color: "#222", opacity: 0.5 },
|
|
39
|
+
// When bulk adding layers, adds markers in chunks. Means addLayers may not add all the layers in the call, others will be loaded during setTimeouts
|
|
40
|
+
chunkedLoading: false,
|
|
41
|
+
chunkInterval: 200,
|
|
42
|
+
// process markers for a maximum of ~ n milliseconds (then trigger the chunkProgress callback)
|
|
43
|
+
chunkDelay: 50,
|
|
44
|
+
// at the end of each interval, give n milliseconds back to system/browser
|
|
45
|
+
chunkProgress: null,
|
|
46
|
+
// progress callback: function(processed, total, elapsed) (e.g. for a progress indicator)
|
|
47
|
+
//Options to pass to the L.Polygon constructor
|
|
48
|
+
polygonOptions: {}
|
|
49
|
+
},
|
|
50
|
+
initialize: function(options) {
|
|
51
|
+
L.Util.setOptions(this, options);
|
|
52
|
+
if (!this.options.iconCreateFunction) {
|
|
53
|
+
this.options.iconCreateFunction = this._defaultIconCreateFunction;
|
|
54
|
+
}
|
|
55
|
+
this._featureGroup = L.featureGroup();
|
|
56
|
+
this._featureGroup.addEventParent(this);
|
|
57
|
+
this._nonPointGroup = L.featureGroup();
|
|
58
|
+
this._nonPointGroup.addEventParent(this);
|
|
59
|
+
this._inZoomAnimation = 0;
|
|
60
|
+
this._needsClustering = [];
|
|
61
|
+
this._needsRemoving = [];
|
|
62
|
+
this._currentShownBounds = null;
|
|
63
|
+
this._queue = [];
|
|
64
|
+
this._childMarkerEventHandlers = {
|
|
65
|
+
"dragstart": this._childMarkerDragStart,
|
|
66
|
+
"move": this._childMarkerMoved,
|
|
67
|
+
"dragend": this._childMarkerDragEnd
|
|
68
|
+
};
|
|
69
|
+
var animate = L.DomUtil.TRANSITION && this.options.animate;
|
|
70
|
+
L.extend(this, animate ? this._withAnimation : this._noAnimation);
|
|
71
|
+
this._markerCluster = animate ? L.MarkerCluster : L.MarkerClusterNonAnimated;
|
|
72
|
+
},
|
|
73
|
+
addLayer: function(layer) {
|
|
74
|
+
if (layer instanceof L.LayerGroup) {
|
|
75
|
+
return this.addLayers([layer]);
|
|
76
|
+
}
|
|
77
|
+
if (!layer.getLatLng) {
|
|
78
|
+
this._nonPointGroup.addLayer(layer);
|
|
79
|
+
this.fire("layeradd", { layer });
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
if (!this._map) {
|
|
83
|
+
this._needsClustering.push(layer);
|
|
84
|
+
this.fire("layeradd", { layer });
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
if (this.hasLayer(layer)) {
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
if (this._unspiderfy) {
|
|
91
|
+
this._unspiderfy();
|
|
92
|
+
}
|
|
93
|
+
this._addLayer(layer, this._maxZoom);
|
|
94
|
+
this.fire("layeradd", { layer });
|
|
95
|
+
this._topClusterLevel._recalculateBounds();
|
|
96
|
+
this._refreshClustersIcons();
|
|
97
|
+
var visibleLayer = layer, currentZoom = this._zoom;
|
|
98
|
+
if (layer.__parent) {
|
|
99
|
+
while (visibleLayer.__parent._zoom >= currentZoom) {
|
|
100
|
+
visibleLayer = visibleLayer.__parent;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
if (this._currentShownBounds.contains(visibleLayer.getLatLng())) {
|
|
104
|
+
if (this.options.animateAddingMarkers) {
|
|
105
|
+
this._animationAddLayer(layer, visibleLayer);
|
|
106
|
+
} else {
|
|
107
|
+
this._animationAddLayerNonAnimated(layer, visibleLayer);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return this;
|
|
111
|
+
},
|
|
112
|
+
removeLayer: function(layer) {
|
|
113
|
+
if (layer instanceof L.LayerGroup) {
|
|
114
|
+
return this.removeLayers([layer]);
|
|
115
|
+
}
|
|
116
|
+
if (!layer.getLatLng) {
|
|
117
|
+
this._nonPointGroup.removeLayer(layer);
|
|
118
|
+
this.fire("layerremove", { layer });
|
|
119
|
+
return this;
|
|
120
|
+
}
|
|
121
|
+
if (!this._map) {
|
|
122
|
+
if (!this._arraySplice(this._needsClustering, layer) && this.hasLayer(layer)) {
|
|
123
|
+
this._needsRemoving.push({ layer, latlng: layer._latlng });
|
|
124
|
+
}
|
|
125
|
+
this.fire("layerremove", { layer });
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
if (!layer.__parent) {
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
if (this._unspiderfy) {
|
|
132
|
+
this._unspiderfy();
|
|
133
|
+
this._unspiderfyLayer(layer);
|
|
134
|
+
}
|
|
135
|
+
this._removeLayer(layer, true);
|
|
136
|
+
this.fire("layerremove", { layer });
|
|
137
|
+
this._topClusterLevel._recalculateBounds();
|
|
138
|
+
this._refreshClustersIcons();
|
|
139
|
+
layer.off(this._childMarkerEventHandlers, this);
|
|
140
|
+
if (this._featureGroup.hasLayer(layer)) {
|
|
141
|
+
this._featureGroup.removeLayer(layer);
|
|
142
|
+
if (layer.clusterShow) {
|
|
143
|
+
layer.clusterShow();
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return this;
|
|
147
|
+
},
|
|
148
|
+
//Takes an array of markers and adds them in bulk
|
|
149
|
+
addLayers: function(layersArray, skipLayerAddEvent) {
|
|
150
|
+
if (!L.Util.isArray(layersArray)) {
|
|
151
|
+
return this.addLayer(layersArray);
|
|
152
|
+
}
|
|
153
|
+
var fg = this._featureGroup, npg = this._nonPointGroup, chunked = this.options.chunkedLoading, chunkInterval = this.options.chunkInterval, chunkProgress = this.options.chunkProgress, l = layersArray.length, offset = 0, originalArray = true, m;
|
|
154
|
+
if (this._map) {
|
|
155
|
+
var started = (/* @__PURE__ */ new Date()).getTime();
|
|
156
|
+
var process = L.bind(function() {
|
|
157
|
+
var start = (/* @__PURE__ */ new Date()).getTime();
|
|
158
|
+
if (this._map && this._unspiderfy) {
|
|
159
|
+
this._unspiderfy();
|
|
160
|
+
}
|
|
161
|
+
for (; offset < l; offset++) {
|
|
162
|
+
if (chunked && offset % 200 === 0) {
|
|
163
|
+
var elapsed = (/* @__PURE__ */ new Date()).getTime() - start;
|
|
164
|
+
if (elapsed > chunkInterval) {
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
m = layersArray[offset];
|
|
169
|
+
if (m instanceof L.LayerGroup) {
|
|
170
|
+
if (originalArray) {
|
|
171
|
+
layersArray = layersArray.slice();
|
|
172
|
+
originalArray = false;
|
|
173
|
+
}
|
|
174
|
+
this._extractNonGroupLayers(m, layersArray);
|
|
175
|
+
l = layersArray.length;
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
if (!m.getLatLng) {
|
|
179
|
+
npg.addLayer(m);
|
|
180
|
+
if (!skipLayerAddEvent) {
|
|
181
|
+
this.fire("layeradd", { layer: m });
|
|
182
|
+
}
|
|
183
|
+
continue;
|
|
184
|
+
}
|
|
185
|
+
if (this.hasLayer(m)) {
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
this._addLayer(m, this._maxZoom);
|
|
189
|
+
if (!skipLayerAddEvent) {
|
|
190
|
+
this.fire("layeradd", { layer: m });
|
|
191
|
+
}
|
|
192
|
+
if (m.__parent) {
|
|
193
|
+
if (m.__parent.getChildCount() === 2) {
|
|
194
|
+
var markers = m.__parent.getAllChildMarkers(), otherMarker = markers[0] === m ? markers[1] : markers[0];
|
|
195
|
+
fg.removeLayer(otherMarker);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
if (chunkProgress) {
|
|
200
|
+
chunkProgress(offset, l, (/* @__PURE__ */ new Date()).getTime() - started);
|
|
201
|
+
}
|
|
202
|
+
if (offset === l) {
|
|
203
|
+
this._topClusterLevel._recalculateBounds();
|
|
204
|
+
this._refreshClustersIcons();
|
|
205
|
+
this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds);
|
|
206
|
+
} else {
|
|
207
|
+
setTimeout(process, this.options.chunkDelay);
|
|
208
|
+
}
|
|
209
|
+
}, this);
|
|
210
|
+
process();
|
|
211
|
+
} else {
|
|
212
|
+
var needsClustering = this._needsClustering;
|
|
213
|
+
for (; offset < l; offset++) {
|
|
214
|
+
m = layersArray[offset];
|
|
215
|
+
if (m instanceof L.LayerGroup) {
|
|
216
|
+
if (originalArray) {
|
|
217
|
+
layersArray = layersArray.slice();
|
|
218
|
+
originalArray = false;
|
|
219
|
+
}
|
|
220
|
+
this._extractNonGroupLayers(m, layersArray);
|
|
221
|
+
l = layersArray.length;
|
|
222
|
+
continue;
|
|
223
|
+
}
|
|
224
|
+
if (!m.getLatLng) {
|
|
225
|
+
npg.addLayer(m);
|
|
226
|
+
continue;
|
|
227
|
+
}
|
|
228
|
+
if (this.hasLayer(m)) {
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
needsClustering.push(m);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
return this;
|
|
235
|
+
},
|
|
236
|
+
//Takes an array of markers and removes them in bulk
|
|
237
|
+
removeLayers: function(layersArray) {
|
|
238
|
+
var i, m, l = layersArray.length, fg = this._featureGroup, npg = this._nonPointGroup, originalArray = true;
|
|
239
|
+
if (!this._map) {
|
|
240
|
+
for (i = 0; i < l; i++) {
|
|
241
|
+
m = layersArray[i];
|
|
242
|
+
if (m instanceof L.LayerGroup) {
|
|
243
|
+
if (originalArray) {
|
|
244
|
+
layersArray = layersArray.slice();
|
|
245
|
+
originalArray = false;
|
|
246
|
+
}
|
|
247
|
+
this._extractNonGroupLayers(m, layersArray);
|
|
248
|
+
l = layersArray.length;
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
this._arraySplice(this._needsClustering, m);
|
|
252
|
+
npg.removeLayer(m);
|
|
253
|
+
if (this.hasLayer(m)) {
|
|
254
|
+
this._needsRemoving.push({ layer: m, latlng: m._latlng });
|
|
255
|
+
}
|
|
256
|
+
this.fire("layerremove", { layer: m });
|
|
257
|
+
}
|
|
258
|
+
return this;
|
|
259
|
+
}
|
|
260
|
+
if (this._unspiderfy) {
|
|
261
|
+
this._unspiderfy();
|
|
262
|
+
var layersArray2 = layersArray.slice(), l2 = l;
|
|
263
|
+
for (i = 0; i < l2; i++) {
|
|
264
|
+
m = layersArray2[i];
|
|
265
|
+
if (m instanceof L.LayerGroup) {
|
|
266
|
+
this._extractNonGroupLayers(m, layersArray2);
|
|
267
|
+
l2 = layersArray2.length;
|
|
268
|
+
continue;
|
|
269
|
+
}
|
|
270
|
+
this._unspiderfyLayer(m);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
for (i = 0; i < l; i++) {
|
|
274
|
+
m = layersArray[i];
|
|
275
|
+
if (m instanceof L.LayerGroup) {
|
|
276
|
+
if (originalArray) {
|
|
277
|
+
layersArray = layersArray.slice();
|
|
278
|
+
originalArray = false;
|
|
279
|
+
}
|
|
280
|
+
this._extractNonGroupLayers(m, layersArray);
|
|
281
|
+
l = layersArray.length;
|
|
282
|
+
continue;
|
|
283
|
+
}
|
|
284
|
+
if (!m.__parent) {
|
|
285
|
+
npg.removeLayer(m);
|
|
286
|
+
this.fire("layerremove", { layer: m });
|
|
287
|
+
continue;
|
|
288
|
+
}
|
|
289
|
+
this._removeLayer(m, true, true);
|
|
290
|
+
this.fire("layerremove", { layer: m });
|
|
291
|
+
if (fg.hasLayer(m)) {
|
|
292
|
+
fg.removeLayer(m);
|
|
293
|
+
if (m.clusterShow) {
|
|
294
|
+
m.clusterShow();
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
this._topClusterLevel._recalculateBounds();
|
|
299
|
+
this._refreshClustersIcons();
|
|
300
|
+
this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds);
|
|
301
|
+
return this;
|
|
302
|
+
},
|
|
303
|
+
//Removes all layers from the MarkerClusterGroup
|
|
304
|
+
clearLayers: function() {
|
|
305
|
+
if (!this._map) {
|
|
306
|
+
this._needsClustering = [];
|
|
307
|
+
this._needsRemoving = [];
|
|
308
|
+
delete this._gridClusters;
|
|
309
|
+
delete this._gridUnclustered;
|
|
310
|
+
}
|
|
311
|
+
if (this._noanimationUnspiderfy) {
|
|
312
|
+
this._noanimationUnspiderfy();
|
|
313
|
+
}
|
|
314
|
+
this._featureGroup.clearLayers();
|
|
315
|
+
this._nonPointGroup.clearLayers();
|
|
316
|
+
this.eachLayer(function(marker) {
|
|
317
|
+
marker.off(this._childMarkerEventHandlers, this);
|
|
318
|
+
delete marker.__parent;
|
|
319
|
+
}, this);
|
|
320
|
+
if (this._map) {
|
|
321
|
+
this._generateInitialClusters();
|
|
322
|
+
}
|
|
323
|
+
return this;
|
|
324
|
+
},
|
|
325
|
+
//Override FeatureGroup.getBounds as it doesn't work
|
|
326
|
+
getBounds: function() {
|
|
327
|
+
var bounds = new L.LatLngBounds();
|
|
328
|
+
if (this._topClusterLevel) {
|
|
329
|
+
bounds.extend(this._topClusterLevel._bounds);
|
|
330
|
+
}
|
|
331
|
+
for (var i = this._needsClustering.length - 1; i >= 0; i--) {
|
|
332
|
+
bounds.extend(this._needsClustering[i].getLatLng());
|
|
333
|
+
}
|
|
334
|
+
bounds.extend(this._nonPointGroup.getBounds());
|
|
335
|
+
return bounds;
|
|
336
|
+
},
|
|
337
|
+
//Overrides LayerGroup.eachLayer
|
|
338
|
+
eachLayer: function(method, context) {
|
|
339
|
+
var markers = this._needsClustering.slice(), needsRemoving = this._needsRemoving, thisNeedsRemoving, i, j;
|
|
340
|
+
if (this._topClusterLevel) {
|
|
341
|
+
this._topClusterLevel.getAllChildMarkers(markers);
|
|
342
|
+
}
|
|
343
|
+
for (i = markers.length - 1; i >= 0; i--) {
|
|
344
|
+
thisNeedsRemoving = true;
|
|
345
|
+
for (j = needsRemoving.length - 1; j >= 0; j--) {
|
|
346
|
+
if (needsRemoving[j].layer === markers[i]) {
|
|
347
|
+
thisNeedsRemoving = false;
|
|
348
|
+
break;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
if (thisNeedsRemoving) {
|
|
352
|
+
method.call(context, markers[i]);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
this._nonPointGroup.eachLayer(method, context);
|
|
356
|
+
},
|
|
357
|
+
//Overrides LayerGroup.getLayers
|
|
358
|
+
getLayers: function() {
|
|
359
|
+
var layers = [];
|
|
360
|
+
this.eachLayer(function(l) {
|
|
361
|
+
layers.push(l);
|
|
362
|
+
});
|
|
363
|
+
return layers;
|
|
364
|
+
},
|
|
365
|
+
//Overrides LayerGroup.getLayer, WARNING: Really bad performance
|
|
366
|
+
getLayer: function(id) {
|
|
367
|
+
var result = null;
|
|
368
|
+
id = parseInt(id, 10);
|
|
369
|
+
this.eachLayer(function(l) {
|
|
370
|
+
if (L.stamp(l) === id) {
|
|
371
|
+
result = l;
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
return result;
|
|
375
|
+
},
|
|
376
|
+
//Returns true if the given layer is in this MarkerClusterGroup
|
|
377
|
+
hasLayer: function(layer) {
|
|
378
|
+
if (!layer) {
|
|
379
|
+
return false;
|
|
380
|
+
}
|
|
381
|
+
var i, anArray = this._needsClustering;
|
|
382
|
+
for (i = anArray.length - 1; i >= 0; i--) {
|
|
383
|
+
if (anArray[i] === layer) {
|
|
384
|
+
return true;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
anArray = this._needsRemoving;
|
|
388
|
+
for (i = anArray.length - 1; i >= 0; i--) {
|
|
389
|
+
if (anArray[i].layer === layer) {
|
|
390
|
+
return false;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
return !!(layer.__parent && layer.__parent._group === this) || this._nonPointGroup.hasLayer(layer);
|
|
394
|
+
},
|
|
395
|
+
//Zoom down to show the given layer (spiderfying if necessary) then calls the callback
|
|
396
|
+
zoomToShowLayer: function(layer, callback) {
|
|
397
|
+
var map = this._map;
|
|
398
|
+
if (typeof callback !== "function") {
|
|
399
|
+
callback = function() {
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
var showMarker = function() {
|
|
403
|
+
if ((map.hasLayer(layer) || map.hasLayer(layer.__parent)) && !this._inZoomAnimation) {
|
|
404
|
+
this._map.off("moveend", showMarker, this);
|
|
405
|
+
this.off("animationend", showMarker, this);
|
|
406
|
+
if (map.hasLayer(layer)) {
|
|
407
|
+
callback();
|
|
408
|
+
} else if (layer.__parent._icon) {
|
|
409
|
+
this.once("spiderfied", callback, this);
|
|
410
|
+
layer.__parent.spiderfy();
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
if (layer._icon && this._map.getBounds().contains(layer.getLatLng())) {
|
|
415
|
+
callback();
|
|
416
|
+
} else if (layer.__parent._zoom < Math.round(this._map._zoom)) {
|
|
417
|
+
this._map.on("moveend", showMarker, this);
|
|
418
|
+
this._map.panTo(layer.getLatLng());
|
|
419
|
+
} else {
|
|
420
|
+
this._map.on("moveend", showMarker, this);
|
|
421
|
+
this.on("animationend", showMarker, this);
|
|
422
|
+
layer.__parent.zoomToBounds();
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
//Overrides FeatureGroup.onAdd
|
|
426
|
+
onAdd: function(map) {
|
|
427
|
+
this._map = map;
|
|
428
|
+
var i, l, layer;
|
|
429
|
+
if (!isFinite(this._map.getMaxZoom())) {
|
|
430
|
+
throw "Map has no maxZoom specified";
|
|
431
|
+
}
|
|
432
|
+
this._featureGroup.addTo(map);
|
|
433
|
+
this._nonPointGroup.addTo(map);
|
|
434
|
+
if (!this._gridClusters) {
|
|
435
|
+
this._generateInitialClusters();
|
|
436
|
+
}
|
|
437
|
+
this._maxLat = map.options.crs.projection.MAX_LATITUDE;
|
|
438
|
+
for (i = 0, l = this._needsRemoving.length; i < l; i++) {
|
|
439
|
+
layer = this._needsRemoving[i];
|
|
440
|
+
layer.newlatlng = layer.layer._latlng;
|
|
441
|
+
layer.layer._latlng = layer.latlng;
|
|
442
|
+
}
|
|
443
|
+
for (i = 0, l = this._needsRemoving.length; i < l; i++) {
|
|
444
|
+
layer = this._needsRemoving[i];
|
|
445
|
+
this._removeLayer(layer.layer, true);
|
|
446
|
+
layer.layer._latlng = layer.newlatlng;
|
|
447
|
+
}
|
|
448
|
+
this._needsRemoving = [];
|
|
449
|
+
this._zoom = Math.round(this._map._zoom);
|
|
450
|
+
this._currentShownBounds = this._getExpandedVisibleBounds();
|
|
451
|
+
this._map.on("zoomend", this._zoomEnd, this);
|
|
452
|
+
this._map.on("moveend", this._moveEnd, this);
|
|
453
|
+
if (this._spiderfierOnAdd) {
|
|
454
|
+
this._spiderfierOnAdd();
|
|
455
|
+
}
|
|
456
|
+
this._bindEvents();
|
|
457
|
+
l = this._needsClustering;
|
|
458
|
+
this._needsClustering = [];
|
|
459
|
+
this.addLayers(l, true);
|
|
460
|
+
},
|
|
461
|
+
//Overrides FeatureGroup.onRemove
|
|
462
|
+
onRemove: function(map) {
|
|
463
|
+
map.off("zoomend", this._zoomEnd, this);
|
|
464
|
+
map.off("moveend", this._moveEnd, this);
|
|
465
|
+
this._unbindEvents();
|
|
466
|
+
this._map._mapPane.className = this._map._mapPane.className.replace(" leaflet-cluster-anim", "");
|
|
467
|
+
if (this._spiderfierOnRemove) {
|
|
468
|
+
this._spiderfierOnRemove();
|
|
469
|
+
}
|
|
470
|
+
delete this._maxLat;
|
|
471
|
+
this._hideCoverage();
|
|
472
|
+
this._featureGroup.remove();
|
|
473
|
+
this._nonPointGroup.remove();
|
|
474
|
+
this._featureGroup.clearLayers();
|
|
475
|
+
this._map = null;
|
|
476
|
+
},
|
|
477
|
+
getVisibleParent: function(marker) {
|
|
478
|
+
var vMarker = marker;
|
|
479
|
+
while (vMarker && !vMarker._icon) {
|
|
480
|
+
vMarker = vMarker.__parent;
|
|
481
|
+
}
|
|
482
|
+
return vMarker || null;
|
|
483
|
+
},
|
|
484
|
+
//Remove the given object from the given array
|
|
485
|
+
_arraySplice: function(anArray, obj) {
|
|
486
|
+
for (var i = anArray.length - 1; i >= 0; i--) {
|
|
487
|
+
if (anArray[i] === obj) {
|
|
488
|
+
anArray.splice(i, 1);
|
|
489
|
+
return true;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
/**
|
|
494
|
+
* Removes a marker from all _gridUnclustered zoom levels, starting at the supplied zoom.
|
|
495
|
+
* @param marker to be removed from _gridUnclustered.
|
|
496
|
+
* @param z integer bottom start zoom level (included)
|
|
497
|
+
* @private
|
|
498
|
+
*/
|
|
499
|
+
_removeFromGridUnclustered: function(marker, z) {
|
|
500
|
+
var map = this._map, gridUnclustered = this._gridUnclustered, minZoom = Math.floor(this._map.getMinZoom());
|
|
501
|
+
for (; z >= minZoom; z--) {
|
|
502
|
+
if (!gridUnclustered[z].removeObject(marker, map.project(marker.getLatLng(), z))) {
|
|
503
|
+
break;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
_childMarkerDragStart: function(e) {
|
|
508
|
+
e.target.__dragStart = e.target._latlng;
|
|
509
|
+
},
|
|
510
|
+
_childMarkerMoved: function(e) {
|
|
511
|
+
if (!this._ignoreMove && !e.target.__dragStart) {
|
|
512
|
+
var isPopupOpen = e.target._popup && e.target._popup.isOpen();
|
|
513
|
+
this._moveChild(e.target, e.oldLatLng, e.latlng);
|
|
514
|
+
if (isPopupOpen) {
|
|
515
|
+
e.target.openPopup();
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
_moveChild: function(layer, from, to) {
|
|
520
|
+
layer._latlng = from;
|
|
521
|
+
this.removeLayer(layer);
|
|
522
|
+
layer._latlng = to;
|
|
523
|
+
this.addLayer(layer);
|
|
524
|
+
},
|
|
525
|
+
_childMarkerDragEnd: function(e) {
|
|
526
|
+
var dragStart = e.target.__dragStart;
|
|
527
|
+
delete e.target.__dragStart;
|
|
528
|
+
if (dragStart) {
|
|
529
|
+
this._moveChild(e.target, dragStart, e.target._latlng);
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
//Internal function for removing a marker from everything.
|
|
533
|
+
//dontUpdateMap: set to true if you will handle updating the map manually (for bulk functions)
|
|
534
|
+
_removeLayer: function(marker, removeFromDistanceGrid, dontUpdateMap) {
|
|
535
|
+
var gridClusters = this._gridClusters, gridUnclustered = this._gridUnclustered, fg = this._featureGroup, map = this._map, minZoom = Math.floor(this._map.getMinZoom());
|
|
536
|
+
if (removeFromDistanceGrid) {
|
|
537
|
+
this._removeFromGridUnclustered(marker, this._maxZoom);
|
|
538
|
+
}
|
|
539
|
+
var cluster = marker.__parent, markers = cluster._markers, otherMarker;
|
|
540
|
+
this._arraySplice(markers, marker);
|
|
541
|
+
while (cluster) {
|
|
542
|
+
cluster._childCount--;
|
|
543
|
+
cluster._boundsNeedUpdate = true;
|
|
544
|
+
if (cluster._zoom < minZoom) {
|
|
545
|
+
break;
|
|
546
|
+
} else if (removeFromDistanceGrid && cluster._childCount <= 1) {
|
|
547
|
+
otherMarker = cluster._markers[0] === marker ? cluster._markers[1] : cluster._markers[0];
|
|
548
|
+
gridClusters[cluster._zoom].removeObject(cluster, map.project(cluster._cLatLng, cluster._zoom));
|
|
549
|
+
gridUnclustered[cluster._zoom].addObject(otherMarker, map.project(otherMarker.getLatLng(), cluster._zoom));
|
|
550
|
+
this._arraySplice(cluster.__parent._childClusters, cluster);
|
|
551
|
+
cluster.__parent._markers.push(otherMarker);
|
|
552
|
+
otherMarker.__parent = cluster.__parent;
|
|
553
|
+
if (cluster._icon) {
|
|
554
|
+
fg.removeLayer(cluster);
|
|
555
|
+
if (!dontUpdateMap) {
|
|
556
|
+
fg.addLayer(otherMarker);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
} else {
|
|
560
|
+
cluster._iconNeedsUpdate = true;
|
|
561
|
+
}
|
|
562
|
+
cluster = cluster.__parent;
|
|
563
|
+
}
|
|
564
|
+
delete marker.__parent;
|
|
565
|
+
},
|
|
566
|
+
_isOrIsParent: function(el, oel) {
|
|
567
|
+
while (oel) {
|
|
568
|
+
if (el === oel) {
|
|
569
|
+
return true;
|
|
570
|
+
}
|
|
571
|
+
oel = oel.parentNode;
|
|
572
|
+
}
|
|
573
|
+
return false;
|
|
574
|
+
},
|
|
575
|
+
//Override L.Evented.fire
|
|
576
|
+
fire: function(type, data, propagate) {
|
|
577
|
+
if (data && data.layer instanceof L.MarkerCluster) {
|
|
578
|
+
if (data.originalEvent && this._isOrIsParent(data.layer._icon, data.originalEvent.relatedTarget)) {
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
type = "cluster" + type;
|
|
582
|
+
}
|
|
583
|
+
L.FeatureGroup.prototype.fire.call(this, type, data, propagate);
|
|
584
|
+
},
|
|
585
|
+
//Override L.Evented.listens
|
|
586
|
+
listens: function(type, propagate) {
|
|
587
|
+
return L.FeatureGroup.prototype.listens.call(this, type, propagate) || L.FeatureGroup.prototype.listens.call(this, "cluster" + type, propagate);
|
|
588
|
+
},
|
|
589
|
+
//Default functionality
|
|
590
|
+
_defaultIconCreateFunction: function(cluster) {
|
|
591
|
+
var childCount = cluster.getChildCount();
|
|
592
|
+
var c = " marker-cluster-";
|
|
593
|
+
if (childCount < 10) {
|
|
594
|
+
c += "small";
|
|
595
|
+
} else if (childCount < 100) {
|
|
596
|
+
c += "medium";
|
|
597
|
+
} else {
|
|
598
|
+
c += "large";
|
|
599
|
+
}
|
|
600
|
+
return new L.DivIcon({ html: "<div><span>" + childCount + "</span></div>", className: "marker-cluster" + c, iconSize: new L.Point(40, 40) });
|
|
601
|
+
},
|
|
602
|
+
_bindEvents: function() {
|
|
603
|
+
var map = this._map, spiderfyOnMaxZoom = this.options.spiderfyOnMaxZoom, showCoverageOnHover = this.options.showCoverageOnHover, zoomToBoundsOnClick = this.options.zoomToBoundsOnClick, spiderfyOnEveryZoom = this.options.spiderfyOnEveryZoom;
|
|
604
|
+
if (spiderfyOnMaxZoom || zoomToBoundsOnClick || spiderfyOnEveryZoom) {
|
|
605
|
+
this.on("clusterclick clusterkeypress", this._zoomOrSpiderfy, this);
|
|
606
|
+
}
|
|
607
|
+
if (showCoverageOnHover) {
|
|
608
|
+
this.on("clustermouseover", this._showCoverage, this);
|
|
609
|
+
this.on("clustermouseout", this._hideCoverage, this);
|
|
610
|
+
map.on("zoomend", this._hideCoverage, this);
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
_zoomOrSpiderfy: function(e) {
|
|
614
|
+
var cluster = e.layer, bottomCluster = cluster;
|
|
615
|
+
if (e.type === "clusterkeypress" && e.originalEvent && e.originalEvent.keyCode !== 13) {
|
|
616
|
+
return;
|
|
617
|
+
}
|
|
618
|
+
while (bottomCluster._childClusters.length === 1) {
|
|
619
|
+
bottomCluster = bottomCluster._childClusters[0];
|
|
620
|
+
}
|
|
621
|
+
if (bottomCluster._zoom === this._maxZoom && bottomCluster._childCount === cluster._childCount && this.options.spiderfyOnMaxZoom) {
|
|
622
|
+
cluster.spiderfy();
|
|
623
|
+
} else if (this.options.zoomToBoundsOnClick) {
|
|
624
|
+
cluster.zoomToBounds();
|
|
625
|
+
}
|
|
626
|
+
if (this.options.spiderfyOnEveryZoom) {
|
|
627
|
+
cluster.spiderfy();
|
|
628
|
+
}
|
|
629
|
+
if (e.originalEvent && e.originalEvent.keyCode === 13) {
|
|
630
|
+
this._map._container.focus();
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
_showCoverage: function(e) {
|
|
634
|
+
var map = this._map;
|
|
635
|
+
if (this._inZoomAnimation) {
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
638
|
+
if (this._shownPolygon) {
|
|
639
|
+
map.removeLayer(this._shownPolygon);
|
|
640
|
+
}
|
|
641
|
+
if (e.layer.getChildCount() > 2 && e.layer !== this._spiderfied) {
|
|
642
|
+
this._shownPolygon = new L.Polygon(e.layer.getConvexHull(), this.options.polygonOptions);
|
|
643
|
+
map.addLayer(this._shownPolygon);
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
_hideCoverage: function() {
|
|
647
|
+
if (this._shownPolygon) {
|
|
648
|
+
this._map.removeLayer(this._shownPolygon);
|
|
649
|
+
this._shownPolygon = null;
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
_unbindEvents: function() {
|
|
653
|
+
var spiderfyOnMaxZoom = this.options.spiderfyOnMaxZoom, showCoverageOnHover = this.options.showCoverageOnHover, zoomToBoundsOnClick = this.options.zoomToBoundsOnClick, spiderfyOnEveryZoom = this.options.spiderfyOnEveryZoom, map = this._map;
|
|
654
|
+
if (spiderfyOnMaxZoom || zoomToBoundsOnClick || spiderfyOnEveryZoom) {
|
|
655
|
+
this.off("clusterclick clusterkeypress", this._zoomOrSpiderfy, this);
|
|
656
|
+
}
|
|
657
|
+
if (showCoverageOnHover) {
|
|
658
|
+
this.off("clustermouseover", this._showCoverage, this);
|
|
659
|
+
this.off("clustermouseout", this._hideCoverage, this);
|
|
660
|
+
map.off("zoomend", this._hideCoverage, this);
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
_zoomEnd: function() {
|
|
664
|
+
if (!this._map) {
|
|
665
|
+
return;
|
|
666
|
+
}
|
|
667
|
+
this._mergeSplitClusters();
|
|
668
|
+
this._zoom = Math.round(this._map._zoom);
|
|
669
|
+
this._currentShownBounds = this._getExpandedVisibleBounds();
|
|
670
|
+
},
|
|
671
|
+
_moveEnd: function() {
|
|
672
|
+
if (this._inZoomAnimation) {
|
|
673
|
+
return;
|
|
674
|
+
}
|
|
675
|
+
var newBounds = this._getExpandedVisibleBounds();
|
|
676
|
+
this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds, Math.floor(this._map.getMinZoom()), this._zoom, newBounds);
|
|
677
|
+
this._topClusterLevel._recursivelyAddChildrenToMap(null, Math.round(this._map._zoom), newBounds);
|
|
678
|
+
this._currentShownBounds = newBounds;
|
|
679
|
+
return;
|
|
680
|
+
},
|
|
681
|
+
_generateInitialClusters: function() {
|
|
682
|
+
var maxZoom = Math.ceil(this._map.getMaxZoom()), minZoom = Math.floor(this._map.getMinZoom()), radius = this.options.maxClusterRadius, radiusFn = radius;
|
|
683
|
+
if (typeof radius !== "function") {
|
|
684
|
+
radiusFn = function() {
|
|
685
|
+
return radius;
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
if (this.options.disableClusteringAtZoom !== null) {
|
|
689
|
+
maxZoom = this.options.disableClusteringAtZoom - 1;
|
|
690
|
+
}
|
|
691
|
+
this._maxZoom = maxZoom;
|
|
692
|
+
this._gridClusters = {};
|
|
693
|
+
this._gridUnclustered = {};
|
|
694
|
+
for (var zoom = maxZoom; zoom >= minZoom; zoom--) {
|
|
695
|
+
this._gridClusters[zoom] = new L.DistanceGrid(radiusFn(zoom));
|
|
696
|
+
this._gridUnclustered[zoom] = new L.DistanceGrid(radiusFn(zoom));
|
|
697
|
+
}
|
|
698
|
+
this._topClusterLevel = new this._markerCluster(this, minZoom - 1);
|
|
699
|
+
},
|
|
700
|
+
//Zoom: Zoom to start adding at (Pass this._maxZoom to start at the bottom)
|
|
701
|
+
_addLayer: function(layer, zoom) {
|
|
702
|
+
var gridClusters = this._gridClusters, gridUnclustered = this._gridUnclustered, minZoom = Math.floor(this._map.getMinZoom()), markerPoint, z;
|
|
703
|
+
if (this.options.singleMarkerMode) {
|
|
704
|
+
this._overrideMarkerIcon(layer);
|
|
705
|
+
}
|
|
706
|
+
layer.on(this._childMarkerEventHandlers, this);
|
|
707
|
+
for (; zoom >= minZoom; zoom--) {
|
|
708
|
+
markerPoint = this._map.project(layer.getLatLng(), zoom);
|
|
709
|
+
var closest = gridClusters[zoom].getNearObject(markerPoint);
|
|
710
|
+
if (closest) {
|
|
711
|
+
closest._addChild(layer);
|
|
712
|
+
layer.__parent = closest;
|
|
713
|
+
return;
|
|
714
|
+
}
|
|
715
|
+
closest = gridUnclustered[zoom].getNearObject(markerPoint);
|
|
716
|
+
if (closest) {
|
|
717
|
+
var parent = closest.__parent;
|
|
718
|
+
if (parent) {
|
|
719
|
+
this._removeLayer(closest, false);
|
|
720
|
+
}
|
|
721
|
+
var newCluster = new this._markerCluster(this, zoom, closest, layer);
|
|
722
|
+
gridClusters[zoom].addObject(newCluster, this._map.project(newCluster._cLatLng, zoom));
|
|
723
|
+
closest.__parent = newCluster;
|
|
724
|
+
layer.__parent = newCluster;
|
|
725
|
+
var lastParent = newCluster;
|
|
726
|
+
for (z = zoom - 1; z > parent._zoom; z--) {
|
|
727
|
+
lastParent = new this._markerCluster(this, z, lastParent);
|
|
728
|
+
gridClusters[z].addObject(lastParent, this._map.project(closest.getLatLng(), z));
|
|
729
|
+
}
|
|
730
|
+
parent._addChild(lastParent);
|
|
731
|
+
this._removeFromGridUnclustered(closest, zoom);
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
gridUnclustered[zoom].addObject(layer, markerPoint);
|
|
735
|
+
}
|
|
736
|
+
this._topClusterLevel._addChild(layer);
|
|
737
|
+
layer.__parent = this._topClusterLevel;
|
|
738
|
+
return;
|
|
739
|
+
},
|
|
740
|
+
/**
|
|
741
|
+
* Refreshes the icon of all "dirty" visible clusters.
|
|
742
|
+
* Non-visible "dirty" clusters will be updated when they are added to the map.
|
|
743
|
+
* @private
|
|
744
|
+
*/
|
|
745
|
+
_refreshClustersIcons: function() {
|
|
746
|
+
this._featureGroup.eachLayer(function(c) {
|
|
747
|
+
if (c instanceof L.MarkerCluster && c._iconNeedsUpdate) {
|
|
748
|
+
c._updateIcon();
|
|
749
|
+
}
|
|
750
|
+
});
|
|
751
|
+
},
|
|
752
|
+
//Enqueue code to fire after the marker expand/contract has happened
|
|
753
|
+
_enqueue: function(fn) {
|
|
754
|
+
this._queue.push(fn);
|
|
755
|
+
if (!this._queueTimeout) {
|
|
756
|
+
this._queueTimeout = setTimeout(L.bind(this._processQueue, this), 300);
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
_processQueue: function() {
|
|
760
|
+
for (var i = 0; i < this._queue.length; i++) {
|
|
761
|
+
this._queue[i].call(this);
|
|
762
|
+
}
|
|
763
|
+
this._queue.length = 0;
|
|
764
|
+
clearTimeout(this._queueTimeout);
|
|
765
|
+
this._queueTimeout = null;
|
|
766
|
+
},
|
|
767
|
+
//Merge and split any existing clusters that are too big or small
|
|
768
|
+
_mergeSplitClusters: function() {
|
|
769
|
+
var mapZoom = Math.round(this._map._zoom);
|
|
770
|
+
this._processQueue();
|
|
771
|
+
if (this._zoom < mapZoom && this._currentShownBounds.intersects(this._getExpandedVisibleBounds())) {
|
|
772
|
+
this._animationStart();
|
|
773
|
+
this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds, Math.floor(this._map.getMinZoom()), this._zoom, this._getExpandedVisibleBounds());
|
|
774
|
+
this._animationZoomIn(this._zoom, mapZoom);
|
|
775
|
+
} else if (this._zoom > mapZoom) {
|
|
776
|
+
this._animationStart();
|
|
777
|
+
this._animationZoomOut(this._zoom, mapZoom);
|
|
778
|
+
} else {
|
|
779
|
+
this._moveEnd();
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
//Gets the maps visible bounds expanded in each direction by the size of the screen (so the user cannot see an area we do not cover in one pan)
|
|
783
|
+
_getExpandedVisibleBounds: function() {
|
|
784
|
+
if (!this.options.removeOutsideVisibleBounds) {
|
|
785
|
+
return this._mapBoundsInfinite;
|
|
786
|
+
} else if (L.Browser.mobile) {
|
|
787
|
+
return this._checkBoundsMaxLat(this._map.getBounds());
|
|
788
|
+
}
|
|
789
|
+
return this._checkBoundsMaxLat(this._map.getBounds().pad(1));
|
|
790
|
+
},
|
|
791
|
+
/**
|
|
792
|
+
* Expands the latitude to Infinity (or -Infinity) if the input bounds reach the map projection maximum defined latitude
|
|
793
|
+
* (in the case of Web/Spherical Mercator, it is 85.0511287798 / see https://en.wikipedia.org/wiki/Web_Mercator#Formulas).
|
|
794
|
+
* Otherwise, the removeOutsideVisibleBounds option will remove markers beyond that limit, whereas the same markers without
|
|
795
|
+
* this option (or outside MCG) will have their position floored (ceiled) by the projection and rendered at that limit,
|
|
796
|
+
* making the user think that MCG "eats" them and never displays them again.
|
|
797
|
+
* @param bounds L.LatLngBounds
|
|
798
|
+
* @returns {L.LatLngBounds}
|
|
799
|
+
* @private
|
|
800
|
+
*/
|
|
801
|
+
_checkBoundsMaxLat: function(bounds) {
|
|
802
|
+
var maxLat = this._maxLat;
|
|
803
|
+
if (maxLat !== void 0) {
|
|
804
|
+
if (bounds.getNorth() >= maxLat) {
|
|
805
|
+
bounds._northEast.lat = Infinity;
|
|
806
|
+
}
|
|
807
|
+
if (bounds.getSouth() <= -maxLat) {
|
|
808
|
+
bounds._southWest.lat = -Infinity;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
return bounds;
|
|
812
|
+
},
|
|
813
|
+
//Shared animation code
|
|
814
|
+
_animationAddLayerNonAnimated: function(layer, newCluster) {
|
|
815
|
+
if (newCluster === layer) {
|
|
816
|
+
this._featureGroup.addLayer(layer);
|
|
817
|
+
} else if (newCluster._childCount === 2) {
|
|
818
|
+
newCluster._addToMap();
|
|
819
|
+
var markers = newCluster.getAllChildMarkers();
|
|
820
|
+
this._featureGroup.removeLayer(markers[0]);
|
|
821
|
+
this._featureGroup.removeLayer(markers[1]);
|
|
822
|
+
} else {
|
|
823
|
+
newCluster._updateIcon();
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
* Extracts individual (i.e. non-group) layers from a Layer Group.
|
|
828
|
+
* @param group to extract layers from.
|
|
829
|
+
* @param output {Array} in which to store the extracted layers.
|
|
830
|
+
* @returns {*|Array}
|
|
831
|
+
* @private
|
|
832
|
+
*/
|
|
833
|
+
_extractNonGroupLayers: function(group, output) {
|
|
834
|
+
var layers = group.getLayers(), i = 0, layer;
|
|
835
|
+
output = output || [];
|
|
836
|
+
for (; i < layers.length; i++) {
|
|
837
|
+
layer = layers[i];
|
|
838
|
+
if (layer instanceof L.LayerGroup) {
|
|
839
|
+
this._extractNonGroupLayers(layer, output);
|
|
840
|
+
continue;
|
|
841
|
+
}
|
|
842
|
+
output.push(layer);
|
|
843
|
+
}
|
|
844
|
+
return output;
|
|
845
|
+
},
|
|
846
|
+
/**
|
|
847
|
+
* Implements the singleMarkerMode option.
|
|
848
|
+
* @param layer Marker to re-style using the Clusters iconCreateFunction.
|
|
849
|
+
* @returns {L.Icon} The newly created icon.
|
|
850
|
+
* @private
|
|
851
|
+
*/
|
|
852
|
+
_overrideMarkerIcon: function(layer) {
|
|
853
|
+
var icon = layer.options.icon = this.options.iconCreateFunction({
|
|
854
|
+
getChildCount: function() {
|
|
855
|
+
return 1;
|
|
856
|
+
},
|
|
857
|
+
getAllChildMarkers: function() {
|
|
858
|
+
return [layer];
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
return icon;
|
|
862
|
+
}
|
|
863
|
+
});
|
|
864
|
+
L.MarkerClusterGroup.include({
|
|
865
|
+
_mapBoundsInfinite: new L.LatLngBounds(new L.LatLng(-Infinity, -Infinity), new L.LatLng(Infinity, Infinity))
|
|
866
|
+
});
|
|
867
|
+
L.MarkerClusterGroup.include({
|
|
868
|
+
_noAnimation: {
|
|
869
|
+
//Non Animated versions of everything
|
|
870
|
+
_animationStart: function() {
|
|
871
|
+
},
|
|
872
|
+
_animationZoomIn: function(previousZoomLevel, newZoomLevel) {
|
|
873
|
+
this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds, Math.floor(this._map.getMinZoom()), previousZoomLevel);
|
|
874
|
+
this._topClusterLevel._recursivelyAddChildrenToMap(null, newZoomLevel, this._getExpandedVisibleBounds());
|
|
875
|
+
this.fire("animationend");
|
|
876
|
+
},
|
|
877
|
+
_animationZoomOut: function(previousZoomLevel, newZoomLevel) {
|
|
878
|
+
this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds, Math.floor(this._map.getMinZoom()), previousZoomLevel);
|
|
879
|
+
this._topClusterLevel._recursivelyAddChildrenToMap(null, newZoomLevel, this._getExpandedVisibleBounds());
|
|
880
|
+
this.fire("animationend");
|
|
881
|
+
},
|
|
882
|
+
_animationAddLayer: function(layer, newCluster) {
|
|
883
|
+
this._animationAddLayerNonAnimated(layer, newCluster);
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
_withAnimation: {
|
|
887
|
+
//Animated versions here
|
|
888
|
+
_animationStart: function() {
|
|
889
|
+
this._map._mapPane.className += " leaflet-cluster-anim";
|
|
890
|
+
this._inZoomAnimation++;
|
|
891
|
+
},
|
|
892
|
+
_animationZoomIn: function(previousZoomLevel, newZoomLevel) {
|
|
893
|
+
var bounds = this._getExpandedVisibleBounds(), fg = this._featureGroup, minZoom = Math.floor(this._map.getMinZoom()), i;
|
|
894
|
+
this._ignoreMove = true;
|
|
895
|
+
this._topClusterLevel._recursively(bounds, previousZoomLevel, minZoom, function(c) {
|
|
896
|
+
var startPos = c._latlng, markers = c._markers, m;
|
|
897
|
+
if (!bounds.contains(startPos)) {
|
|
898
|
+
startPos = null;
|
|
899
|
+
}
|
|
900
|
+
if (c._isSingleParent() && previousZoomLevel + 1 === newZoomLevel) {
|
|
901
|
+
fg.removeLayer(c);
|
|
902
|
+
c._recursivelyAddChildrenToMap(null, newZoomLevel, bounds);
|
|
903
|
+
} else {
|
|
904
|
+
c.clusterHide();
|
|
905
|
+
c._recursivelyAddChildrenToMap(startPos, newZoomLevel, bounds);
|
|
906
|
+
}
|
|
907
|
+
for (i = markers.length - 1; i >= 0; i--) {
|
|
908
|
+
m = markers[i];
|
|
909
|
+
if (!bounds.contains(m._latlng)) {
|
|
910
|
+
fg.removeLayer(m);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
});
|
|
914
|
+
this._forceLayout();
|
|
915
|
+
this._topClusterLevel._recursivelyBecomeVisible(bounds, newZoomLevel);
|
|
916
|
+
fg.eachLayer(function(n) {
|
|
917
|
+
if (!(n instanceof L.MarkerCluster) && n._icon) {
|
|
918
|
+
n.clusterShow();
|
|
919
|
+
}
|
|
920
|
+
});
|
|
921
|
+
this._topClusterLevel._recursively(bounds, previousZoomLevel, newZoomLevel, function(c) {
|
|
922
|
+
c._recursivelyRestoreChildPositions(newZoomLevel);
|
|
923
|
+
});
|
|
924
|
+
this._ignoreMove = false;
|
|
925
|
+
this._enqueue(function() {
|
|
926
|
+
this._topClusterLevel._recursively(bounds, previousZoomLevel, minZoom, function(c) {
|
|
927
|
+
fg.removeLayer(c);
|
|
928
|
+
c.clusterShow();
|
|
929
|
+
});
|
|
930
|
+
this._animationEnd();
|
|
931
|
+
});
|
|
932
|
+
},
|
|
933
|
+
_animationZoomOut: function(previousZoomLevel, newZoomLevel) {
|
|
934
|
+
this._animationZoomOutSingle(this._topClusterLevel, previousZoomLevel - 1, newZoomLevel);
|
|
935
|
+
this._topClusterLevel._recursivelyAddChildrenToMap(null, newZoomLevel, this._getExpandedVisibleBounds());
|
|
936
|
+
this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds, Math.floor(this._map.getMinZoom()), previousZoomLevel, this._getExpandedVisibleBounds());
|
|
937
|
+
},
|
|
938
|
+
_animationAddLayer: function(layer, newCluster) {
|
|
939
|
+
var me = this, fg = this._featureGroup;
|
|
940
|
+
fg.addLayer(layer);
|
|
941
|
+
if (newCluster !== layer) {
|
|
942
|
+
if (newCluster._childCount > 2) {
|
|
943
|
+
newCluster._updateIcon();
|
|
944
|
+
this._forceLayout();
|
|
945
|
+
this._animationStart();
|
|
946
|
+
layer._setPos(this._map.latLngToLayerPoint(newCluster.getLatLng()));
|
|
947
|
+
layer.clusterHide();
|
|
948
|
+
this._enqueue(function() {
|
|
949
|
+
fg.removeLayer(layer);
|
|
950
|
+
layer.clusterShow();
|
|
951
|
+
me._animationEnd();
|
|
952
|
+
});
|
|
953
|
+
} else {
|
|
954
|
+
this._forceLayout();
|
|
955
|
+
me._animationStart();
|
|
956
|
+
me._animationZoomOutSingle(newCluster, this._map.getMaxZoom(), this._zoom);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
// Private methods for animated versions.
|
|
962
|
+
_animationZoomOutSingle: function(cluster, previousZoomLevel, newZoomLevel) {
|
|
963
|
+
var bounds = this._getExpandedVisibleBounds(), minZoom = Math.floor(this._map.getMinZoom());
|
|
964
|
+
cluster._recursivelyAnimateChildrenInAndAddSelfToMap(bounds, minZoom, previousZoomLevel + 1, newZoomLevel);
|
|
965
|
+
var me = this;
|
|
966
|
+
this._forceLayout();
|
|
967
|
+
cluster._recursivelyBecomeVisible(bounds, newZoomLevel);
|
|
968
|
+
this._enqueue(function() {
|
|
969
|
+
if (cluster._childCount === 1) {
|
|
970
|
+
var m = cluster._markers[0];
|
|
971
|
+
this._ignoreMove = true;
|
|
972
|
+
m.setLatLng(m.getLatLng());
|
|
973
|
+
this._ignoreMove = false;
|
|
974
|
+
if (m.clusterShow) {
|
|
975
|
+
m.clusterShow();
|
|
976
|
+
}
|
|
977
|
+
} else {
|
|
978
|
+
cluster._recursively(bounds, newZoomLevel, minZoom, function(c) {
|
|
979
|
+
c._recursivelyRemoveChildrenFromMap(bounds, minZoom, previousZoomLevel + 1);
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
me._animationEnd();
|
|
983
|
+
});
|
|
984
|
+
},
|
|
985
|
+
_animationEnd: function() {
|
|
986
|
+
if (this._map) {
|
|
987
|
+
this._map._mapPane.className = this._map._mapPane.className.replace(" leaflet-cluster-anim", "");
|
|
988
|
+
}
|
|
989
|
+
this._inZoomAnimation--;
|
|
990
|
+
this.fire("animationend");
|
|
991
|
+
},
|
|
992
|
+
//Force a browser layout of stuff in the map
|
|
993
|
+
// Should apply the current opacity and location to all elements so we can update them again for an animation
|
|
994
|
+
_forceLayout: function() {
|
|
995
|
+
L.Util.falseFn(document.body.offsetWidth);
|
|
996
|
+
}
|
|
997
|
+
});
|
|
998
|
+
L.markerClusterGroup = function(options) {
|
|
999
|
+
return new L.MarkerClusterGroup(options);
|
|
1000
|
+
};
|
|
1001
|
+
var MarkerCluster = L.MarkerCluster = L.Marker.extend({
|
|
1002
|
+
options: L.Icon.prototype.options,
|
|
1003
|
+
initialize: function(group, zoom, a, b) {
|
|
1004
|
+
L.Marker.prototype.initialize.call(
|
|
1005
|
+
this,
|
|
1006
|
+
a ? a._cLatLng || a.getLatLng() : new L.LatLng(0, 0),
|
|
1007
|
+
{ icon: this, pane: group.options.clusterPane }
|
|
1008
|
+
);
|
|
1009
|
+
this._group = group;
|
|
1010
|
+
this._zoom = zoom;
|
|
1011
|
+
this._markers = [];
|
|
1012
|
+
this._childClusters = [];
|
|
1013
|
+
this._childCount = 0;
|
|
1014
|
+
this._iconNeedsUpdate = true;
|
|
1015
|
+
this._boundsNeedUpdate = true;
|
|
1016
|
+
this._bounds = new L.LatLngBounds();
|
|
1017
|
+
if (a) {
|
|
1018
|
+
this._addChild(a);
|
|
1019
|
+
}
|
|
1020
|
+
if (b) {
|
|
1021
|
+
this._addChild(b);
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
//Recursively retrieve all child markers of this cluster
|
|
1025
|
+
getAllChildMarkers: function(storageArray, ignoreDraggedMarker) {
|
|
1026
|
+
storageArray = storageArray || [];
|
|
1027
|
+
for (var i = this._childClusters.length - 1; i >= 0; i--) {
|
|
1028
|
+
this._childClusters[i].getAllChildMarkers(storageArray, ignoreDraggedMarker);
|
|
1029
|
+
}
|
|
1030
|
+
for (var j = this._markers.length - 1; j >= 0; j--) {
|
|
1031
|
+
if (ignoreDraggedMarker && this._markers[j].__dragStart) {
|
|
1032
|
+
continue;
|
|
1033
|
+
}
|
|
1034
|
+
storageArray.push(this._markers[j]);
|
|
1035
|
+
}
|
|
1036
|
+
return storageArray;
|
|
1037
|
+
},
|
|
1038
|
+
//Returns the count of how many child markers we have
|
|
1039
|
+
getChildCount: function() {
|
|
1040
|
+
return this._childCount;
|
|
1041
|
+
},
|
|
1042
|
+
//Zoom to the minimum of showing all of the child markers, or the extents of this cluster
|
|
1043
|
+
zoomToBounds: function(fitBoundsOptions) {
|
|
1044
|
+
var childClusters = this._childClusters.slice(), map = this._group._map, boundsZoom = map.getBoundsZoom(this._bounds), zoom = this._zoom + 1, mapZoom = map.getZoom(), i;
|
|
1045
|
+
while (childClusters.length > 0 && boundsZoom > zoom) {
|
|
1046
|
+
zoom++;
|
|
1047
|
+
var newClusters = [];
|
|
1048
|
+
for (i = 0; i < childClusters.length; i++) {
|
|
1049
|
+
newClusters = newClusters.concat(childClusters[i]._childClusters);
|
|
1050
|
+
}
|
|
1051
|
+
childClusters = newClusters;
|
|
1052
|
+
}
|
|
1053
|
+
if (boundsZoom > zoom) {
|
|
1054
|
+
this._group._map.setView(this._latlng, zoom);
|
|
1055
|
+
} else if (boundsZoom <= mapZoom) {
|
|
1056
|
+
this._group._map.setView(this._latlng, mapZoom + 1);
|
|
1057
|
+
} else {
|
|
1058
|
+
this._group._map.fitBounds(this._bounds, fitBoundsOptions);
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
getBounds: function() {
|
|
1062
|
+
var bounds = new L.LatLngBounds();
|
|
1063
|
+
bounds.extend(this._bounds);
|
|
1064
|
+
return bounds;
|
|
1065
|
+
},
|
|
1066
|
+
_updateIcon: function() {
|
|
1067
|
+
this._iconNeedsUpdate = true;
|
|
1068
|
+
if (this._icon) {
|
|
1069
|
+
this.setIcon(this);
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
//Cludge for Icon, we pretend to be an icon for performance
|
|
1073
|
+
createIcon: function() {
|
|
1074
|
+
if (this._iconNeedsUpdate) {
|
|
1075
|
+
this._iconObj = this._group.options.iconCreateFunction(this);
|
|
1076
|
+
this._iconNeedsUpdate = false;
|
|
1077
|
+
}
|
|
1078
|
+
return this._iconObj.createIcon();
|
|
1079
|
+
},
|
|
1080
|
+
createShadow: function() {
|
|
1081
|
+
return this._iconObj.createShadow();
|
|
1082
|
+
},
|
|
1083
|
+
_addChild: function(new1, isNotificationFromChild) {
|
|
1084
|
+
this._iconNeedsUpdate = true;
|
|
1085
|
+
this._boundsNeedUpdate = true;
|
|
1086
|
+
this._setClusterCenter(new1);
|
|
1087
|
+
if (new1 instanceof L.MarkerCluster) {
|
|
1088
|
+
if (!isNotificationFromChild) {
|
|
1089
|
+
this._childClusters.push(new1);
|
|
1090
|
+
new1.__parent = this;
|
|
1091
|
+
}
|
|
1092
|
+
this._childCount += new1._childCount;
|
|
1093
|
+
} else {
|
|
1094
|
+
if (!isNotificationFromChild) {
|
|
1095
|
+
this._markers.push(new1);
|
|
1096
|
+
}
|
|
1097
|
+
this._childCount++;
|
|
1098
|
+
}
|
|
1099
|
+
if (this.__parent) {
|
|
1100
|
+
this.__parent._addChild(new1, true);
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
/**
|
|
1104
|
+
* Makes sure the cluster center is set. If not, uses the child center if it is a cluster, or the marker position.
|
|
1105
|
+
* @param child L.MarkerCluster|L.Marker that will be used as cluster center if not defined yet.
|
|
1106
|
+
* @private
|
|
1107
|
+
*/
|
|
1108
|
+
_setClusterCenter: function(child) {
|
|
1109
|
+
if (!this._cLatLng) {
|
|
1110
|
+
this._cLatLng = child._cLatLng || child._latlng;
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
/**
|
|
1114
|
+
* Assigns impossible bounding values so that the next extend entirely determines the new bounds.
|
|
1115
|
+
* This method avoids having to trash the previous L.LatLngBounds object and to create a new one, which is much slower for this class.
|
|
1116
|
+
* As long as the bounds are not extended, most other methods would probably fail, as they would with bounds initialized but not extended.
|
|
1117
|
+
* @private
|
|
1118
|
+
*/
|
|
1119
|
+
_resetBounds: function() {
|
|
1120
|
+
var bounds = this._bounds;
|
|
1121
|
+
if (bounds._southWest) {
|
|
1122
|
+
bounds._southWest.lat = Infinity;
|
|
1123
|
+
bounds._southWest.lng = Infinity;
|
|
1124
|
+
}
|
|
1125
|
+
if (bounds._northEast) {
|
|
1126
|
+
bounds._northEast.lat = -Infinity;
|
|
1127
|
+
bounds._northEast.lng = -Infinity;
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
_recalculateBounds: function() {
|
|
1131
|
+
var markers = this._markers, childClusters = this._childClusters, latSum = 0, lngSum = 0, totalCount = this._childCount, i, child, childLatLng, childCount;
|
|
1132
|
+
if (totalCount === 0) {
|
|
1133
|
+
return;
|
|
1134
|
+
}
|
|
1135
|
+
this._resetBounds();
|
|
1136
|
+
for (i = 0; i < markers.length; i++) {
|
|
1137
|
+
childLatLng = markers[i]._latlng;
|
|
1138
|
+
this._bounds.extend(childLatLng);
|
|
1139
|
+
latSum += childLatLng.lat;
|
|
1140
|
+
lngSum += childLatLng.lng;
|
|
1141
|
+
}
|
|
1142
|
+
for (i = 0; i < childClusters.length; i++) {
|
|
1143
|
+
child = childClusters[i];
|
|
1144
|
+
if (child._boundsNeedUpdate) {
|
|
1145
|
+
child._recalculateBounds();
|
|
1146
|
+
}
|
|
1147
|
+
this._bounds.extend(child._bounds);
|
|
1148
|
+
childLatLng = child._wLatLng;
|
|
1149
|
+
childCount = child._childCount;
|
|
1150
|
+
latSum += childLatLng.lat * childCount;
|
|
1151
|
+
lngSum += childLatLng.lng * childCount;
|
|
1152
|
+
}
|
|
1153
|
+
this._latlng = this._wLatLng = new L.LatLng(latSum / totalCount, lngSum / totalCount);
|
|
1154
|
+
this._boundsNeedUpdate = false;
|
|
1155
|
+
},
|
|
1156
|
+
//Set our markers position as given and add it to the map
|
|
1157
|
+
_addToMap: function(startPos) {
|
|
1158
|
+
if (startPos) {
|
|
1159
|
+
this._backupLatlng = this._latlng;
|
|
1160
|
+
this.setLatLng(startPos);
|
|
1161
|
+
}
|
|
1162
|
+
this._group._featureGroup.addLayer(this);
|
|
1163
|
+
},
|
|
1164
|
+
_recursivelyAnimateChildrenIn: function(bounds, center, maxZoom) {
|
|
1165
|
+
this._recursively(
|
|
1166
|
+
bounds,
|
|
1167
|
+
this._group._map.getMinZoom(),
|
|
1168
|
+
maxZoom - 1,
|
|
1169
|
+
function(c) {
|
|
1170
|
+
var markers = c._markers, i, m;
|
|
1171
|
+
for (i = markers.length - 1; i >= 0; i--) {
|
|
1172
|
+
m = markers[i];
|
|
1173
|
+
if (m._icon) {
|
|
1174
|
+
m._setPos(center);
|
|
1175
|
+
m.clusterHide();
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
function(c) {
|
|
1180
|
+
var childClusters = c._childClusters, j, cm;
|
|
1181
|
+
for (j = childClusters.length - 1; j >= 0; j--) {
|
|
1182
|
+
cm = childClusters[j];
|
|
1183
|
+
if (cm._icon) {
|
|
1184
|
+
cm._setPos(center);
|
|
1185
|
+
cm.clusterHide();
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
);
|
|
1190
|
+
},
|
|
1191
|
+
_recursivelyAnimateChildrenInAndAddSelfToMap: function(bounds, mapMinZoom, previousZoomLevel, newZoomLevel) {
|
|
1192
|
+
this._recursively(
|
|
1193
|
+
bounds,
|
|
1194
|
+
newZoomLevel,
|
|
1195
|
+
mapMinZoom,
|
|
1196
|
+
function(c) {
|
|
1197
|
+
c._recursivelyAnimateChildrenIn(bounds, c._group._map.latLngToLayerPoint(c.getLatLng()).round(), previousZoomLevel);
|
|
1198
|
+
if (c._isSingleParent() && previousZoomLevel - 1 === newZoomLevel) {
|
|
1199
|
+
c.clusterShow();
|
|
1200
|
+
c._recursivelyRemoveChildrenFromMap(bounds, mapMinZoom, previousZoomLevel);
|
|
1201
|
+
} else {
|
|
1202
|
+
c.clusterHide();
|
|
1203
|
+
}
|
|
1204
|
+
c._addToMap();
|
|
1205
|
+
}
|
|
1206
|
+
);
|
|
1207
|
+
},
|
|
1208
|
+
_recursivelyBecomeVisible: function(bounds, zoomLevel) {
|
|
1209
|
+
this._recursively(bounds, this._group._map.getMinZoom(), zoomLevel, null, function(c) {
|
|
1210
|
+
c.clusterShow();
|
|
1211
|
+
});
|
|
1212
|
+
},
|
|
1213
|
+
_recursivelyAddChildrenToMap: function(startPos, zoomLevel, bounds) {
|
|
1214
|
+
this._recursively(
|
|
1215
|
+
bounds,
|
|
1216
|
+
this._group._map.getMinZoom() - 1,
|
|
1217
|
+
zoomLevel,
|
|
1218
|
+
function(c) {
|
|
1219
|
+
if (zoomLevel === c._zoom) {
|
|
1220
|
+
return;
|
|
1221
|
+
}
|
|
1222
|
+
for (var i = c._markers.length - 1; i >= 0; i--) {
|
|
1223
|
+
var nm = c._markers[i];
|
|
1224
|
+
if (!bounds.contains(nm._latlng)) {
|
|
1225
|
+
continue;
|
|
1226
|
+
}
|
|
1227
|
+
if (startPos) {
|
|
1228
|
+
nm._backupLatlng = nm.getLatLng();
|
|
1229
|
+
nm.setLatLng(startPos);
|
|
1230
|
+
if (nm.clusterHide) {
|
|
1231
|
+
nm.clusterHide();
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
c._group._featureGroup.addLayer(nm);
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
function(c) {
|
|
1238
|
+
c._addToMap(startPos);
|
|
1239
|
+
}
|
|
1240
|
+
);
|
|
1241
|
+
},
|
|
1242
|
+
_recursivelyRestoreChildPositions: function(zoomLevel) {
|
|
1243
|
+
for (var i = this._markers.length - 1; i >= 0; i--) {
|
|
1244
|
+
var nm = this._markers[i];
|
|
1245
|
+
if (nm._backupLatlng) {
|
|
1246
|
+
nm.setLatLng(nm._backupLatlng);
|
|
1247
|
+
delete nm._backupLatlng;
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
if (zoomLevel - 1 === this._zoom) {
|
|
1251
|
+
for (var j = this._childClusters.length - 1; j >= 0; j--) {
|
|
1252
|
+
this._childClusters[j]._restorePosition();
|
|
1253
|
+
}
|
|
1254
|
+
} else {
|
|
1255
|
+
for (var k = this._childClusters.length - 1; k >= 0; k--) {
|
|
1256
|
+
this._childClusters[k]._recursivelyRestoreChildPositions(zoomLevel);
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
_restorePosition: function() {
|
|
1261
|
+
if (this._backupLatlng) {
|
|
1262
|
+
this.setLatLng(this._backupLatlng);
|
|
1263
|
+
delete this._backupLatlng;
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1266
|
+
//exceptBounds: If set, don't remove any markers/clusters in it
|
|
1267
|
+
_recursivelyRemoveChildrenFromMap: function(previousBounds, mapMinZoom, zoomLevel, exceptBounds) {
|
|
1268
|
+
var m, i;
|
|
1269
|
+
this._recursively(
|
|
1270
|
+
previousBounds,
|
|
1271
|
+
mapMinZoom - 1,
|
|
1272
|
+
zoomLevel - 1,
|
|
1273
|
+
function(c) {
|
|
1274
|
+
for (i = c._markers.length - 1; i >= 0; i--) {
|
|
1275
|
+
m = c._markers[i];
|
|
1276
|
+
if (!exceptBounds || !exceptBounds.contains(m._latlng)) {
|
|
1277
|
+
c._group._featureGroup.removeLayer(m);
|
|
1278
|
+
if (m.clusterShow) {
|
|
1279
|
+
m.clusterShow();
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
function(c) {
|
|
1285
|
+
for (i = c._childClusters.length - 1; i >= 0; i--) {
|
|
1286
|
+
m = c._childClusters[i];
|
|
1287
|
+
if (!exceptBounds || !exceptBounds.contains(m._latlng)) {
|
|
1288
|
+
c._group._featureGroup.removeLayer(m);
|
|
1289
|
+
if (m.clusterShow) {
|
|
1290
|
+
m.clusterShow();
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
);
|
|
1296
|
+
},
|
|
1297
|
+
//Run the given functions recursively to this and child clusters
|
|
1298
|
+
// boundsToApplyTo: a L.LatLngBounds representing the bounds of what clusters to recurse in to
|
|
1299
|
+
// zoomLevelToStart: zoom level to start running functions (inclusive)
|
|
1300
|
+
// zoomLevelToStop: zoom level to stop running functions (inclusive)
|
|
1301
|
+
// runAtEveryLevel: function that takes an L.MarkerCluster as an argument that should be applied on every level
|
|
1302
|
+
// runAtBottomLevel: function that takes an L.MarkerCluster as an argument that should be applied at only the bottom level
|
|
1303
|
+
_recursively: function(boundsToApplyTo, zoomLevelToStart, zoomLevelToStop, runAtEveryLevel, runAtBottomLevel) {
|
|
1304
|
+
var childClusters = this._childClusters, zoom = this._zoom, i, c;
|
|
1305
|
+
if (zoomLevelToStart <= zoom) {
|
|
1306
|
+
if (runAtEveryLevel) {
|
|
1307
|
+
runAtEveryLevel(this);
|
|
1308
|
+
}
|
|
1309
|
+
if (runAtBottomLevel && zoom === zoomLevelToStop) {
|
|
1310
|
+
runAtBottomLevel(this);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
if (zoom < zoomLevelToStart || zoom < zoomLevelToStop) {
|
|
1314
|
+
for (i = childClusters.length - 1; i >= 0; i--) {
|
|
1315
|
+
c = childClusters[i];
|
|
1316
|
+
if (c._boundsNeedUpdate) {
|
|
1317
|
+
c._recalculateBounds();
|
|
1318
|
+
}
|
|
1319
|
+
if (boundsToApplyTo.intersects(c._bounds)) {
|
|
1320
|
+
c._recursively(boundsToApplyTo, zoomLevelToStart, zoomLevelToStop, runAtEveryLevel, runAtBottomLevel);
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
//Returns true if we are the parent of only one cluster and that cluster is the same as us
|
|
1326
|
+
_isSingleParent: function() {
|
|
1327
|
+
return this._childClusters.length > 0 && this._childClusters[0]._childCount === this._childCount;
|
|
1328
|
+
}
|
|
1329
|
+
});
|
|
1330
|
+
L.Marker.include({
|
|
1331
|
+
clusterHide: function() {
|
|
1332
|
+
var backup = this.options.opacity;
|
|
1333
|
+
this.setOpacity(0);
|
|
1334
|
+
this.options.opacity = backup;
|
|
1335
|
+
return this;
|
|
1336
|
+
},
|
|
1337
|
+
clusterShow: function() {
|
|
1338
|
+
return this.setOpacity(this.options.opacity);
|
|
1339
|
+
}
|
|
1340
|
+
});
|
|
1341
|
+
L.DistanceGrid = function(cellSize) {
|
|
1342
|
+
this._cellSize = cellSize;
|
|
1343
|
+
this._sqCellSize = cellSize * cellSize;
|
|
1344
|
+
this._grid = {};
|
|
1345
|
+
this._objectPoint = {};
|
|
1346
|
+
};
|
|
1347
|
+
L.DistanceGrid.prototype = {
|
|
1348
|
+
addObject: function(obj, point) {
|
|
1349
|
+
var x = this._getCoord(point.x), y = this._getCoord(point.y), grid = this._grid, row = grid[y] = grid[y] || {}, cell = row[x] = row[x] || [], stamp = L.Util.stamp(obj);
|
|
1350
|
+
this._objectPoint[stamp] = point;
|
|
1351
|
+
cell.push(obj);
|
|
1352
|
+
},
|
|
1353
|
+
updateObject: function(obj, point) {
|
|
1354
|
+
this.removeObject(obj);
|
|
1355
|
+
this.addObject(obj, point);
|
|
1356
|
+
},
|
|
1357
|
+
//Returns true if the object was found
|
|
1358
|
+
removeObject: function(obj, point) {
|
|
1359
|
+
var x = this._getCoord(point.x), y = this._getCoord(point.y), grid = this._grid, row = grid[y] = grid[y] || {}, cell = row[x] = row[x] || [], i, len;
|
|
1360
|
+
delete this._objectPoint[L.Util.stamp(obj)];
|
|
1361
|
+
for (i = 0, len = cell.length; i < len; i++) {
|
|
1362
|
+
if (cell[i] === obj) {
|
|
1363
|
+
cell.splice(i, 1);
|
|
1364
|
+
if (len === 1) {
|
|
1365
|
+
delete row[x];
|
|
1366
|
+
}
|
|
1367
|
+
return true;
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
eachObject: function(fn, context) {
|
|
1372
|
+
var i, j, k, len, row, cell, removed, grid = this._grid;
|
|
1373
|
+
for (i in grid) {
|
|
1374
|
+
row = grid[i];
|
|
1375
|
+
for (j in row) {
|
|
1376
|
+
cell = row[j];
|
|
1377
|
+
for (k = 0, len = cell.length; k < len; k++) {
|
|
1378
|
+
removed = fn.call(context, cell[k]);
|
|
1379
|
+
if (removed) {
|
|
1380
|
+
k--;
|
|
1381
|
+
len--;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
getNearObject: function(point) {
|
|
1388
|
+
var x = this._getCoord(point.x), y = this._getCoord(point.y), i, j, k, row, cell, len, obj, dist, objectPoint = this._objectPoint, closestDistSq = this._sqCellSize, closest = null;
|
|
1389
|
+
for (i = y - 1; i <= y + 1; i++) {
|
|
1390
|
+
row = this._grid[i];
|
|
1391
|
+
if (row) {
|
|
1392
|
+
for (j = x - 1; j <= x + 1; j++) {
|
|
1393
|
+
cell = row[j];
|
|
1394
|
+
if (cell) {
|
|
1395
|
+
for (k = 0, len = cell.length; k < len; k++) {
|
|
1396
|
+
obj = cell[k];
|
|
1397
|
+
dist = this._sqDist(objectPoint[L.Util.stamp(obj)], point);
|
|
1398
|
+
if (dist < closestDistSq || dist <= closestDistSq && closest === null) {
|
|
1399
|
+
closestDistSq = dist;
|
|
1400
|
+
closest = obj;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
return closest;
|
|
1408
|
+
},
|
|
1409
|
+
_getCoord: function(x) {
|
|
1410
|
+
var coord = Math.floor(x / this._cellSize);
|
|
1411
|
+
return isFinite(coord) ? coord : x;
|
|
1412
|
+
},
|
|
1413
|
+
_sqDist: function(p, p2) {
|
|
1414
|
+
var dx = p2.x - p.x, dy = p2.y - p.y;
|
|
1415
|
+
return dx * dx + dy * dy;
|
|
1416
|
+
}
|
|
1417
|
+
};
|
|
1418
|
+
(function() {
|
|
1419
|
+
L.QuickHull = {
|
|
1420
|
+
/*
|
|
1421
|
+
* @param {Object} cpt a point to be measured from the baseline
|
|
1422
|
+
* @param {Array} bl the baseline, as represented by a two-element
|
|
1423
|
+
* array of latlng objects.
|
|
1424
|
+
* @returns {Number} an approximate distance measure
|
|
1425
|
+
*/
|
|
1426
|
+
getDistant: function(cpt, bl) {
|
|
1427
|
+
var vY = bl[1].lat - bl[0].lat, vX = bl[0].lng - bl[1].lng;
|
|
1428
|
+
return vX * (cpt.lat - bl[0].lat) + vY * (cpt.lng - bl[0].lng);
|
|
1429
|
+
},
|
|
1430
|
+
/*
|
|
1431
|
+
* @param {Array} baseLine a two-element array of latlng objects
|
|
1432
|
+
* representing the baseline to project from
|
|
1433
|
+
* @param {Array} latLngs an array of latlng objects
|
|
1434
|
+
* @returns {Object} the maximum point and all new points to stay
|
|
1435
|
+
* in consideration for the hull.
|
|
1436
|
+
*/
|
|
1437
|
+
findMostDistantPointFromBaseLine: function(baseLine, latLngs) {
|
|
1438
|
+
var maxD = 0, maxPt = null, newPoints = [], i, pt, d;
|
|
1439
|
+
for (i = latLngs.length - 1; i >= 0; i--) {
|
|
1440
|
+
pt = latLngs[i];
|
|
1441
|
+
d = this.getDistant(pt, baseLine);
|
|
1442
|
+
if (d > 0) {
|
|
1443
|
+
newPoints.push(pt);
|
|
1444
|
+
} else {
|
|
1445
|
+
continue;
|
|
1446
|
+
}
|
|
1447
|
+
if (d > maxD) {
|
|
1448
|
+
maxD = d;
|
|
1449
|
+
maxPt = pt;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
return { maxPoint: maxPt, newPoints };
|
|
1453
|
+
},
|
|
1454
|
+
/*
|
|
1455
|
+
* Given a baseline, compute the convex hull of latLngs as an array
|
|
1456
|
+
* of latLngs.
|
|
1457
|
+
*
|
|
1458
|
+
* @param {Array} latLngs
|
|
1459
|
+
* @returns {Array}
|
|
1460
|
+
*/
|
|
1461
|
+
buildConvexHull: function(baseLine, latLngs) {
|
|
1462
|
+
var convexHullBaseLines = [], t = this.findMostDistantPointFromBaseLine(baseLine, latLngs);
|
|
1463
|
+
if (t.maxPoint) {
|
|
1464
|
+
convexHullBaseLines = convexHullBaseLines.concat(
|
|
1465
|
+
this.buildConvexHull([baseLine[0], t.maxPoint], t.newPoints)
|
|
1466
|
+
);
|
|
1467
|
+
convexHullBaseLines = convexHullBaseLines.concat(
|
|
1468
|
+
this.buildConvexHull([t.maxPoint, baseLine[1]], t.newPoints)
|
|
1469
|
+
);
|
|
1470
|
+
return convexHullBaseLines;
|
|
1471
|
+
} else {
|
|
1472
|
+
return [baseLine[0]];
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
/*
|
|
1476
|
+
* Given an array of latlngs, compute a convex hull as an array
|
|
1477
|
+
* of latlngs
|
|
1478
|
+
*
|
|
1479
|
+
* @param {Array} latLngs
|
|
1480
|
+
* @returns {Array}
|
|
1481
|
+
*/
|
|
1482
|
+
getConvexHull: function(latLngs) {
|
|
1483
|
+
var maxLat = false, minLat = false, maxLng = false, minLng = false, maxLatPt = null, minLatPt = null, maxLngPt = null, minLngPt = null, maxPt = null, minPt = null, i;
|
|
1484
|
+
for (i = latLngs.length - 1; i >= 0; i--) {
|
|
1485
|
+
var pt = latLngs[i];
|
|
1486
|
+
if (maxLat === false || pt.lat > maxLat) {
|
|
1487
|
+
maxLatPt = pt;
|
|
1488
|
+
maxLat = pt.lat;
|
|
1489
|
+
}
|
|
1490
|
+
if (minLat === false || pt.lat < minLat) {
|
|
1491
|
+
minLatPt = pt;
|
|
1492
|
+
minLat = pt.lat;
|
|
1493
|
+
}
|
|
1494
|
+
if (maxLng === false || pt.lng > maxLng) {
|
|
1495
|
+
maxLngPt = pt;
|
|
1496
|
+
maxLng = pt.lng;
|
|
1497
|
+
}
|
|
1498
|
+
if (minLng === false || pt.lng < minLng) {
|
|
1499
|
+
minLngPt = pt;
|
|
1500
|
+
minLng = pt.lng;
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
if (minLat !== maxLat) {
|
|
1504
|
+
minPt = minLatPt;
|
|
1505
|
+
maxPt = maxLatPt;
|
|
1506
|
+
} else {
|
|
1507
|
+
minPt = minLngPt;
|
|
1508
|
+
maxPt = maxLngPt;
|
|
1509
|
+
}
|
|
1510
|
+
var ch = [].concat(
|
|
1511
|
+
this.buildConvexHull([minPt, maxPt], latLngs),
|
|
1512
|
+
this.buildConvexHull([maxPt, minPt], latLngs)
|
|
1513
|
+
);
|
|
1514
|
+
return ch;
|
|
1515
|
+
}
|
|
1516
|
+
};
|
|
1517
|
+
})();
|
|
1518
|
+
L.MarkerCluster.include({
|
|
1519
|
+
getConvexHull: function() {
|
|
1520
|
+
var childMarkers = this.getAllChildMarkers(), points = [], p, i;
|
|
1521
|
+
for (i = childMarkers.length - 1; i >= 0; i--) {
|
|
1522
|
+
p = childMarkers[i].getLatLng();
|
|
1523
|
+
points.push(p);
|
|
1524
|
+
}
|
|
1525
|
+
return L.QuickHull.getConvexHull(points);
|
|
1526
|
+
}
|
|
1527
|
+
});
|
|
1528
|
+
L.MarkerCluster.include({
|
|
1529
|
+
_2PI: Math.PI * 2,
|
|
1530
|
+
_circleFootSeparation: 25,
|
|
1531
|
+
//related to circumference of circle
|
|
1532
|
+
_circleStartAngle: 0,
|
|
1533
|
+
_spiralFootSeparation: 28,
|
|
1534
|
+
//related to size of spiral (experiment!)
|
|
1535
|
+
_spiralLengthStart: 11,
|
|
1536
|
+
_spiralLengthFactor: 5,
|
|
1537
|
+
_circleSpiralSwitchover: 9,
|
|
1538
|
+
//show spiral instead of circle from this marker count upwards.
|
|
1539
|
+
// 0 -> always spiral; Infinity -> always circle
|
|
1540
|
+
spiderfy: function() {
|
|
1541
|
+
if (this._group._spiderfied === this || this._group._inZoomAnimation) {
|
|
1542
|
+
return;
|
|
1543
|
+
}
|
|
1544
|
+
var childMarkers = this.getAllChildMarkers(null, true), group = this._group, map = group._map, center = map.latLngToLayerPoint(this._latlng), positions;
|
|
1545
|
+
this._group._unspiderfy();
|
|
1546
|
+
this._group._spiderfied = this;
|
|
1547
|
+
if (this._group.options.spiderfyShapePositions) {
|
|
1548
|
+
positions = this._group.options.spiderfyShapePositions(childMarkers.length, center);
|
|
1549
|
+
} else if (childMarkers.length >= this._circleSpiralSwitchover) {
|
|
1550
|
+
positions = this._generatePointsSpiral(childMarkers.length, center);
|
|
1551
|
+
} else {
|
|
1552
|
+
center.y += 10;
|
|
1553
|
+
positions = this._generatePointsCircle(childMarkers.length, center);
|
|
1554
|
+
}
|
|
1555
|
+
this._animationSpiderfy(childMarkers, positions);
|
|
1556
|
+
},
|
|
1557
|
+
unspiderfy: function(zoomDetails) {
|
|
1558
|
+
if (this._group._inZoomAnimation) {
|
|
1559
|
+
return;
|
|
1560
|
+
}
|
|
1561
|
+
this._animationUnspiderfy(zoomDetails);
|
|
1562
|
+
this._group._spiderfied = null;
|
|
1563
|
+
},
|
|
1564
|
+
_generatePointsCircle: function(count, centerPt) {
|
|
1565
|
+
var circumference = this._group.options.spiderfyDistanceMultiplier * this._circleFootSeparation * (2 + count), legLength = circumference / this._2PI, angleStep = this._2PI / count, res = [], i, angle;
|
|
1566
|
+
legLength = Math.max(legLength, 35);
|
|
1567
|
+
res.length = count;
|
|
1568
|
+
for (i = 0; i < count; i++) {
|
|
1569
|
+
angle = this._circleStartAngle + i * angleStep;
|
|
1570
|
+
res[i] = new L.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle))._round();
|
|
1571
|
+
}
|
|
1572
|
+
return res;
|
|
1573
|
+
},
|
|
1574
|
+
_generatePointsSpiral: function(count, centerPt) {
|
|
1575
|
+
var spiderfyDistanceMultiplier = this._group.options.spiderfyDistanceMultiplier, legLength = spiderfyDistanceMultiplier * this._spiralLengthStart, separation = spiderfyDistanceMultiplier * this._spiralFootSeparation, lengthFactor = spiderfyDistanceMultiplier * this._spiralLengthFactor * this._2PI, angle = 0, res = [], i;
|
|
1576
|
+
res.length = count;
|
|
1577
|
+
for (i = count; i >= 0; i--) {
|
|
1578
|
+
if (i < count) {
|
|
1579
|
+
res[i] = new L.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle))._round();
|
|
1580
|
+
}
|
|
1581
|
+
angle += separation / legLength + i * 5e-4;
|
|
1582
|
+
legLength += lengthFactor / angle;
|
|
1583
|
+
}
|
|
1584
|
+
return res;
|
|
1585
|
+
},
|
|
1586
|
+
_noanimationUnspiderfy: function() {
|
|
1587
|
+
var group = this._group, map = group._map, fg = group._featureGroup, childMarkers = this.getAllChildMarkers(null, true), m, i;
|
|
1588
|
+
group._ignoreMove = true;
|
|
1589
|
+
this.setOpacity(1);
|
|
1590
|
+
for (i = childMarkers.length - 1; i >= 0; i--) {
|
|
1591
|
+
m = childMarkers[i];
|
|
1592
|
+
fg.removeLayer(m);
|
|
1593
|
+
if (m._preSpiderfyLatlng) {
|
|
1594
|
+
m.setLatLng(m._preSpiderfyLatlng);
|
|
1595
|
+
delete m._preSpiderfyLatlng;
|
|
1596
|
+
}
|
|
1597
|
+
if (m.setZIndexOffset) {
|
|
1598
|
+
m.setZIndexOffset(0);
|
|
1599
|
+
}
|
|
1600
|
+
if (m._spiderLeg) {
|
|
1601
|
+
map.removeLayer(m._spiderLeg);
|
|
1602
|
+
delete m._spiderLeg;
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
group.fire("unspiderfied", {
|
|
1606
|
+
cluster: this,
|
|
1607
|
+
markers: childMarkers
|
|
1608
|
+
});
|
|
1609
|
+
group._ignoreMove = false;
|
|
1610
|
+
group._spiderfied = null;
|
|
1611
|
+
}
|
|
1612
|
+
});
|
|
1613
|
+
L.MarkerClusterNonAnimated = L.MarkerCluster.extend({
|
|
1614
|
+
_animationSpiderfy: function(childMarkers, positions) {
|
|
1615
|
+
var group = this._group, map = group._map, fg = group._featureGroup, legOptions = this._group.options.spiderLegPolylineOptions, i, m, leg, newPos;
|
|
1616
|
+
group._ignoreMove = true;
|
|
1617
|
+
for (i = 0; i < childMarkers.length; i++) {
|
|
1618
|
+
newPos = map.layerPointToLatLng(positions[i]);
|
|
1619
|
+
m = childMarkers[i];
|
|
1620
|
+
leg = new L.Polyline([this._latlng, newPos], legOptions);
|
|
1621
|
+
map.addLayer(leg);
|
|
1622
|
+
m._spiderLeg = leg;
|
|
1623
|
+
m._preSpiderfyLatlng = m._latlng;
|
|
1624
|
+
m.setLatLng(newPos);
|
|
1625
|
+
if (m.setZIndexOffset) {
|
|
1626
|
+
m.setZIndexOffset(1e6);
|
|
1627
|
+
}
|
|
1628
|
+
fg.addLayer(m);
|
|
1629
|
+
}
|
|
1630
|
+
this.setOpacity(0.3);
|
|
1631
|
+
group._ignoreMove = false;
|
|
1632
|
+
group.fire("spiderfied", {
|
|
1633
|
+
cluster: this,
|
|
1634
|
+
markers: childMarkers
|
|
1635
|
+
});
|
|
1636
|
+
},
|
|
1637
|
+
_animationUnspiderfy: function() {
|
|
1638
|
+
this._noanimationUnspiderfy();
|
|
1639
|
+
}
|
|
1640
|
+
});
|
|
1641
|
+
L.MarkerCluster.include({
|
|
1642
|
+
_animationSpiderfy: function(childMarkers, positions) {
|
|
1643
|
+
var me = this, group = this._group, map = group._map, fg = group._featureGroup, thisLayerLatLng = this._latlng, thisLayerPos = map.latLngToLayerPoint(thisLayerLatLng), svg = L.Path.SVG, legOptions = L.extend({}, this._group.options.spiderLegPolylineOptions), finalLegOpacity = legOptions.opacity, i, m, leg, legPath, legLength, newPos;
|
|
1644
|
+
if (finalLegOpacity === void 0) {
|
|
1645
|
+
finalLegOpacity = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity;
|
|
1646
|
+
}
|
|
1647
|
+
if (svg) {
|
|
1648
|
+
legOptions.opacity = 0;
|
|
1649
|
+
legOptions.className = (legOptions.className || "") + " leaflet-cluster-spider-leg";
|
|
1650
|
+
} else {
|
|
1651
|
+
legOptions.opacity = finalLegOpacity;
|
|
1652
|
+
}
|
|
1653
|
+
group._ignoreMove = true;
|
|
1654
|
+
for (i = 0; i < childMarkers.length; i++) {
|
|
1655
|
+
m = childMarkers[i];
|
|
1656
|
+
newPos = map.layerPointToLatLng(positions[i]);
|
|
1657
|
+
leg = new L.Polyline([thisLayerLatLng, newPos], legOptions);
|
|
1658
|
+
map.addLayer(leg);
|
|
1659
|
+
m._spiderLeg = leg;
|
|
1660
|
+
if (svg) {
|
|
1661
|
+
legPath = leg._path;
|
|
1662
|
+
legLength = legPath.getTotalLength() + 0.1;
|
|
1663
|
+
legPath.style.strokeDasharray = legLength;
|
|
1664
|
+
legPath.style.strokeDashoffset = legLength;
|
|
1665
|
+
}
|
|
1666
|
+
if (m.setZIndexOffset) {
|
|
1667
|
+
m.setZIndexOffset(1e6);
|
|
1668
|
+
}
|
|
1669
|
+
if (m.clusterHide) {
|
|
1670
|
+
m.clusterHide();
|
|
1671
|
+
}
|
|
1672
|
+
fg.addLayer(m);
|
|
1673
|
+
if (m._setPos) {
|
|
1674
|
+
m._setPos(thisLayerPos);
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
group._forceLayout();
|
|
1678
|
+
group._animationStart();
|
|
1679
|
+
for (i = childMarkers.length - 1; i >= 0; i--) {
|
|
1680
|
+
newPos = map.layerPointToLatLng(positions[i]);
|
|
1681
|
+
m = childMarkers[i];
|
|
1682
|
+
m._preSpiderfyLatlng = m._latlng;
|
|
1683
|
+
m.setLatLng(newPos);
|
|
1684
|
+
if (m.clusterShow) {
|
|
1685
|
+
m.clusterShow();
|
|
1686
|
+
}
|
|
1687
|
+
if (svg) {
|
|
1688
|
+
leg = m._spiderLeg;
|
|
1689
|
+
legPath = leg._path;
|
|
1690
|
+
legPath.style.strokeDashoffset = 0;
|
|
1691
|
+
leg.setStyle({ opacity: finalLegOpacity });
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
this.setOpacity(0.3);
|
|
1695
|
+
group._ignoreMove = false;
|
|
1696
|
+
setTimeout(function() {
|
|
1697
|
+
group._animationEnd();
|
|
1698
|
+
group.fire("spiderfied", {
|
|
1699
|
+
cluster: me,
|
|
1700
|
+
markers: childMarkers
|
|
1701
|
+
});
|
|
1702
|
+
}, 200);
|
|
1703
|
+
},
|
|
1704
|
+
_animationUnspiderfy: function(zoomDetails) {
|
|
1705
|
+
var me = this, group = this._group, map = group._map, fg = group._featureGroup, thisLayerPos = zoomDetails ? map._latLngToNewLayerPoint(this._latlng, zoomDetails.zoom, zoomDetails.center) : map.latLngToLayerPoint(this._latlng), childMarkers = this.getAllChildMarkers(null, true), svg = L.Path.SVG, m, i, leg, legPath, legLength, nonAnimatable;
|
|
1706
|
+
group._ignoreMove = true;
|
|
1707
|
+
group._animationStart();
|
|
1708
|
+
this.setOpacity(1);
|
|
1709
|
+
for (i = childMarkers.length - 1; i >= 0; i--) {
|
|
1710
|
+
m = childMarkers[i];
|
|
1711
|
+
if (!m._preSpiderfyLatlng) {
|
|
1712
|
+
continue;
|
|
1713
|
+
}
|
|
1714
|
+
m.closePopup();
|
|
1715
|
+
m.setLatLng(m._preSpiderfyLatlng);
|
|
1716
|
+
delete m._preSpiderfyLatlng;
|
|
1717
|
+
nonAnimatable = true;
|
|
1718
|
+
if (m._setPos) {
|
|
1719
|
+
m._setPos(thisLayerPos);
|
|
1720
|
+
nonAnimatable = false;
|
|
1721
|
+
}
|
|
1722
|
+
if (m.clusterHide) {
|
|
1723
|
+
m.clusterHide();
|
|
1724
|
+
nonAnimatable = false;
|
|
1725
|
+
}
|
|
1726
|
+
if (nonAnimatable) {
|
|
1727
|
+
fg.removeLayer(m);
|
|
1728
|
+
}
|
|
1729
|
+
if (svg) {
|
|
1730
|
+
leg = m._spiderLeg;
|
|
1731
|
+
legPath = leg._path;
|
|
1732
|
+
legLength = legPath.getTotalLength() + 0.1;
|
|
1733
|
+
legPath.style.strokeDashoffset = legLength;
|
|
1734
|
+
leg.setStyle({ opacity: 0 });
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
group._ignoreMove = false;
|
|
1738
|
+
setTimeout(function() {
|
|
1739
|
+
var stillThereChildCount = 0;
|
|
1740
|
+
for (i = childMarkers.length - 1; i >= 0; i--) {
|
|
1741
|
+
m = childMarkers[i];
|
|
1742
|
+
if (m._spiderLeg) {
|
|
1743
|
+
stillThereChildCount++;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
for (i = childMarkers.length - 1; i >= 0; i--) {
|
|
1747
|
+
m = childMarkers[i];
|
|
1748
|
+
if (!m._spiderLeg) {
|
|
1749
|
+
continue;
|
|
1750
|
+
}
|
|
1751
|
+
if (m.clusterShow) {
|
|
1752
|
+
m.clusterShow();
|
|
1753
|
+
}
|
|
1754
|
+
if (m.setZIndexOffset) {
|
|
1755
|
+
m.setZIndexOffset(0);
|
|
1756
|
+
}
|
|
1757
|
+
if (stillThereChildCount > 1) {
|
|
1758
|
+
fg.removeLayer(m);
|
|
1759
|
+
}
|
|
1760
|
+
map.removeLayer(m._spiderLeg);
|
|
1761
|
+
delete m._spiderLeg;
|
|
1762
|
+
}
|
|
1763
|
+
group._animationEnd();
|
|
1764
|
+
group.fire("unspiderfied", {
|
|
1765
|
+
cluster: me,
|
|
1766
|
+
markers: childMarkers
|
|
1767
|
+
});
|
|
1768
|
+
}, 200);
|
|
1769
|
+
}
|
|
1770
|
+
});
|
|
1771
|
+
L.MarkerClusterGroup.include({
|
|
1772
|
+
//The MarkerCluster currently spiderfied (if any)
|
|
1773
|
+
_spiderfied: null,
|
|
1774
|
+
unspiderfy: function() {
|
|
1775
|
+
this._unspiderfy.apply(this, arguments);
|
|
1776
|
+
},
|
|
1777
|
+
_spiderfierOnAdd: function() {
|
|
1778
|
+
this._map.on("click", this._unspiderfyWrapper, this);
|
|
1779
|
+
if (this._map.options.zoomAnimation) {
|
|
1780
|
+
this._map.on("zoomstart", this._unspiderfyZoomStart, this);
|
|
1781
|
+
}
|
|
1782
|
+
this._map.on("zoomend", this._noanimationUnspiderfy, this);
|
|
1783
|
+
if (!L.Browser.touch) {
|
|
1784
|
+
this._map.getRenderer(this);
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
_spiderfierOnRemove: function() {
|
|
1788
|
+
this._map.off("click", this._unspiderfyWrapper, this);
|
|
1789
|
+
this._map.off("zoomstart", this._unspiderfyZoomStart, this);
|
|
1790
|
+
this._map.off("zoomanim", this._unspiderfyZoomAnim, this);
|
|
1791
|
+
this._map.off("zoomend", this._noanimationUnspiderfy, this);
|
|
1792
|
+
this._noanimationUnspiderfy();
|
|
1793
|
+
},
|
|
1794
|
+
//On zoom start we add a zoomanim handler so that we are guaranteed to be last (after markers are animated)
|
|
1795
|
+
//This means we can define the animation they do rather than Markers doing an animation to their actual location
|
|
1796
|
+
_unspiderfyZoomStart: function() {
|
|
1797
|
+
if (!this._map) {
|
|
1798
|
+
return;
|
|
1799
|
+
}
|
|
1800
|
+
this._map.on("zoomanim", this._unspiderfyZoomAnim, this);
|
|
1801
|
+
},
|
|
1802
|
+
_unspiderfyZoomAnim: function(zoomDetails) {
|
|
1803
|
+
if (L.DomUtil.hasClass(this._map._mapPane, "leaflet-touching")) {
|
|
1804
|
+
return;
|
|
1805
|
+
}
|
|
1806
|
+
this._map.off("zoomanim", this._unspiderfyZoomAnim, this);
|
|
1807
|
+
this._unspiderfy(zoomDetails);
|
|
1808
|
+
},
|
|
1809
|
+
_unspiderfyWrapper: function() {
|
|
1810
|
+
this._unspiderfy();
|
|
1811
|
+
},
|
|
1812
|
+
_unspiderfy: function(zoomDetails) {
|
|
1813
|
+
if (this._spiderfied) {
|
|
1814
|
+
this._spiderfied.unspiderfy(zoomDetails);
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
_noanimationUnspiderfy: function() {
|
|
1818
|
+
if (this._spiderfied) {
|
|
1819
|
+
this._spiderfied._noanimationUnspiderfy();
|
|
1820
|
+
}
|
|
1821
|
+
},
|
|
1822
|
+
//If the given layer is currently being spiderfied then we unspiderfy it so it isn't on the map anymore etc
|
|
1823
|
+
_unspiderfyLayer: function(layer) {
|
|
1824
|
+
if (layer._spiderLeg) {
|
|
1825
|
+
this._featureGroup.removeLayer(layer);
|
|
1826
|
+
if (layer.clusterShow) {
|
|
1827
|
+
layer.clusterShow();
|
|
1828
|
+
}
|
|
1829
|
+
if (layer.setZIndexOffset) {
|
|
1830
|
+
layer.setZIndexOffset(0);
|
|
1831
|
+
}
|
|
1832
|
+
this._map.removeLayer(layer._spiderLeg);
|
|
1833
|
+
delete layer._spiderLeg;
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
});
|
|
1837
|
+
L.MarkerClusterGroup.include({
|
|
1838
|
+
/**
|
|
1839
|
+
* Updates the icon of all clusters which are parents of the given marker(s).
|
|
1840
|
+
* In singleMarkerMode, also updates the given marker(s) icon.
|
|
1841
|
+
* @param layers L.MarkerClusterGroup|L.LayerGroup|Array(L.Marker)|Map(L.Marker)|
|
|
1842
|
+
* L.MarkerCluster|L.Marker (optional) list of markers (or single marker) whose parent
|
|
1843
|
+
* clusters need to be updated. If not provided, retrieves all child markers of this.
|
|
1844
|
+
* @returns {L.MarkerClusterGroup}
|
|
1845
|
+
*/
|
|
1846
|
+
refreshClusters: function(layers) {
|
|
1847
|
+
if (!layers) {
|
|
1848
|
+
layers = this._topClusterLevel.getAllChildMarkers();
|
|
1849
|
+
} else if (layers instanceof L.MarkerClusterGroup) {
|
|
1850
|
+
layers = layers._topClusterLevel.getAllChildMarkers();
|
|
1851
|
+
} else if (layers instanceof L.LayerGroup) {
|
|
1852
|
+
layers = layers._layers;
|
|
1853
|
+
} else if (layers instanceof L.MarkerCluster) {
|
|
1854
|
+
layers = layers.getAllChildMarkers();
|
|
1855
|
+
} else if (layers instanceof L.Marker) {
|
|
1856
|
+
layers = [layers];
|
|
1857
|
+
}
|
|
1858
|
+
this._flagParentsIconsNeedUpdate(layers);
|
|
1859
|
+
this._refreshClustersIcons();
|
|
1860
|
+
if (this.options.singleMarkerMode) {
|
|
1861
|
+
this._refreshSingleMarkerModeMarkers(layers);
|
|
1862
|
+
}
|
|
1863
|
+
return this;
|
|
1864
|
+
},
|
|
1865
|
+
/**
|
|
1866
|
+
* Simply flags all parent clusters of the given markers as having a "dirty" icon.
|
|
1867
|
+
* @param layers Array(L.Marker)|Map(L.Marker) list of markers.
|
|
1868
|
+
* @private
|
|
1869
|
+
*/
|
|
1870
|
+
_flagParentsIconsNeedUpdate: function(layers) {
|
|
1871
|
+
var id, parent;
|
|
1872
|
+
for (id in layers) {
|
|
1873
|
+
parent = layers[id].__parent;
|
|
1874
|
+
while (parent) {
|
|
1875
|
+
parent._iconNeedsUpdate = true;
|
|
1876
|
+
parent = parent.__parent;
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
/**
|
|
1881
|
+
* Re-draws the icon of the supplied markers.
|
|
1882
|
+
* To be used in singleMarkerMode only.
|
|
1883
|
+
* @param layers Array(L.Marker)|Map(L.Marker) list of markers.
|
|
1884
|
+
* @private
|
|
1885
|
+
*/
|
|
1886
|
+
_refreshSingleMarkerModeMarkers: function(layers) {
|
|
1887
|
+
var id, layer;
|
|
1888
|
+
for (id in layers) {
|
|
1889
|
+
layer = layers[id];
|
|
1890
|
+
if (this.hasLayer(layer)) {
|
|
1891
|
+
layer.setIcon(this._overrideMarkerIcon(layer));
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
});
|
|
1896
|
+
L.Marker.include({
|
|
1897
|
+
/**
|
|
1898
|
+
* Updates the given options in the marker's icon and refreshes the marker.
|
|
1899
|
+
* @param options map object of icon options.
|
|
1900
|
+
* @param directlyRefreshClusters boolean (optional) true to trigger
|
|
1901
|
+
* MCG.refreshClustersOf() right away with this single marker.
|
|
1902
|
+
* @returns {L.Marker}
|
|
1903
|
+
*/
|
|
1904
|
+
refreshIconOptions: function(options, directlyRefreshClusters) {
|
|
1905
|
+
var icon = this.options.icon;
|
|
1906
|
+
L.setOptions(icon, options);
|
|
1907
|
+
this.setIcon(icon);
|
|
1908
|
+
if (directlyRefreshClusters && this.__parent) {
|
|
1909
|
+
this.__parent._group.refreshClusters(this);
|
|
1910
|
+
}
|
|
1911
|
+
return this;
|
|
1912
|
+
}
|
|
1913
|
+
});
|
|
1914
|
+
exports$12.MarkerClusterGroup = MarkerClusterGroup;
|
|
1915
|
+
exports$12.MarkerCluster = MarkerCluster;
|
|
1916
|
+
Object.defineProperty(exports$12, "__esModule", { value: true });
|
|
1917
|
+
});
|
|
1918
|
+
})(leaflet_markerclusterSrc$1, leaflet_markerclusterSrc$1.exports);
|
|
1919
|
+
return leaflet_markerclusterSrc$1.exports;
|
|
1920
|
+
}
|
|
1921
|
+
export {
|
|
1922
|
+
requireLeaflet_markerclusterSrc as __require
|
|
1923
|
+
};
|
|
1924
|
+
//# sourceMappingURL=leaflet.markercluster-src.js.map
|