@vcmap/ui 5.0.0-rc.29 → 5.0.0-rc.31

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.
Files changed (334) hide show
  1. package/build/buildHelpers.js +4 -3
  2. package/config/base.config.json +5 -4
  3. package/config/dev.config.json +8 -0
  4. package/config/graphFeatureInfo.config.json +1 -1
  5. package/config/projects.config.json +2 -2
  6. package/dist/assets/cesium/ThirdParty/Workers/basis_transcoder.js +1 -1
  7. package/dist/assets/cesium/Workers/chunk-227AJNOA.js +59 -0
  8. package/dist/assets/cesium/Workers/chunk-2R5O53JW.js +157 -0
  9. package/dist/assets/cesium/Workers/chunk-34YUDLRP.js +781 -0
  10. package/dist/assets/cesium/Workers/chunk-3W63OHNJ.js +100 -0
  11. package/dist/assets/cesium/Workers/chunk-4MFFIWUA.js +163 -0
  12. package/dist/assets/cesium/Workers/chunk-66QLLS45.js +218 -0
  13. package/dist/assets/cesium/Workers/chunk-6BTKZDRG.js +77 -0
  14. package/dist/assets/cesium/Workers/chunk-A4JVFBQ3.js +101 -0
  15. package/dist/assets/cesium/Workers/chunk-ABADGKYE.js +58 -0
  16. package/dist/assets/cesium/Workers/chunk-AFFLIKOH.js +353 -0
  17. package/dist/assets/cesium/Workers/chunk-AHKEZ2OE.js +629 -0
  18. package/dist/assets/cesium/Workers/chunk-C3SXRKRW.js +476 -0
  19. package/dist/assets/cesium/Workers/chunk-CCFQRR6D.js +55 -0
  20. package/dist/assets/cesium/Workers/chunk-CHHNOC2C.js +1860 -0
  21. package/dist/assets/cesium/Workers/chunk-CTELOFLA.js +196 -0
  22. package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +3273 -0
  23. package/dist/assets/cesium/Workers/chunk-EW2GWJYB.js +44 -0
  24. package/dist/assets/cesium/Workers/chunk-GLZBE3ML.js +421 -0
  25. package/dist/assets/cesium/Workers/chunk-HARLBUOL.js +236 -0
  26. package/dist/assets/cesium/Workers/chunk-HQF437NJ.js +117 -0
  27. package/dist/assets/cesium/Workers/chunk-IPA4EACJ.js +368 -0
  28. package/dist/assets/cesium/Workers/chunk-J3JY6I2C.js +1009 -0
  29. package/dist/assets/cesium/Workers/chunk-JB2LWGH4.js +390 -0
  30. package/dist/assets/cesium/Workers/chunk-JS3AW5BK.js +634 -0
  31. package/dist/assets/cesium/Workers/chunk-K36FEYS7.js +452 -0
  32. package/dist/assets/cesium/Workers/chunk-KD4Y7CZL.js +400 -0
  33. package/dist/assets/cesium/Workers/chunk-KTJSNCK4.js +842 -0
  34. package/dist/assets/cesium/Workers/chunk-LLUNNUJV.js +258 -0
  35. package/dist/assets/cesium/Workers/{package.js → chunk-MPAZH4BF.js} +13 -2
  36. package/dist/assets/cesium/Workers/chunk-MYZB7C4T.js +1258 -0
  37. package/dist/assets/cesium/Workers/chunk-N3JIFFX2.js +501 -0
  38. package/dist/assets/cesium/Workers/chunk-O5AMBQ36.js +430 -0
  39. package/dist/assets/cesium/Workers/chunk-OAVNIRB4.js +124 -0
  40. package/dist/assets/cesium/Workers/chunk-OYFCF4PL.js +171 -0
  41. package/dist/assets/cesium/Workers/chunk-OZJDGN5F.js +1477 -0
  42. package/dist/assets/cesium/Workers/chunk-PCJWUS4M.js +2041 -0
  43. package/dist/assets/cesium/Workers/chunk-PFQBCKBM.js +8644 -0
  44. package/dist/assets/cesium/Workers/chunk-QIKODV5G.js +305 -0
  45. package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +73 -0
  46. package/dist/assets/cesium/Workers/chunk-QMEMZIJI.js +138 -0
  47. package/dist/assets/cesium/Workers/chunk-QT3MPEMI.js +102 -0
  48. package/dist/assets/cesium/Workers/chunk-RP2A7BR5.js +289 -0
  49. package/dist/assets/cesium/Workers/chunk-RW6LU2CJ.js +138 -0
  50. package/dist/assets/cesium/Workers/chunk-TFC6TZ3S.js +757 -0
  51. package/dist/assets/cesium/Workers/chunk-V3NGATMV.js +693 -0
  52. package/dist/assets/cesium/Workers/chunk-VLGOATD6.js +1075 -0
  53. package/dist/assets/cesium/Workers/chunk-WXTV4ATB.js +39 -0
  54. package/dist/assets/cesium/Workers/chunk-X4SU25DT.js +302 -0
  55. package/dist/assets/cesium/Workers/chunk-XTY7B2N6.js +2716 -0
  56. package/dist/assets/cesium/Workers/chunk-XY7MGBKC.js +513 -0
  57. package/dist/assets/cesium/Workers/chunk-Z24VKNDO.js +834 -0
  58. package/dist/assets/cesium/Workers/chunk-ZA25DG4Y.js +684 -0
  59. package/dist/assets/cesium/Workers/chunk-ZFOBYDGF.js +73 -0
  60. package/dist/assets/cesium/Workers/combineGeometry.js +65 -15
  61. package/dist/assets/cesium/Workers/createBoxGeometry.js +55 -10
  62. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +231 -310
  63. package/dist/assets/cesium/Workers/createCircleGeometry.js +185 -202
  64. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +141 -155
  65. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +477 -557
  66. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +218 -230
  67. package/dist/assets/cesium/Workers/createCorridorGeometry.js +1162 -1307
  68. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +533 -569
  69. package/dist/assets/cesium/Workers/createCylinderGeometry.js +57 -10
  70. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +224 -258
  71. package/dist/assets/cesium/Workers/createEllipseGeometry.js +68 -12
  72. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +61 -12
  73. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +56 -10
  74. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +58 -13
  75. package/dist/assets/cesium/Workers/createFrustumGeometry.js +55 -10
  76. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +226 -243
  77. package/dist/assets/cesium/Workers/createGeometry.js +143 -48
  78. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +1484 -2011
  79. package/dist/assets/cesium/Workers/createPlaneGeometry.js +216 -243
  80. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +121 -113
  81. package/dist/assets/cesium/Workers/createPolygonGeometry.js +1041 -1327
  82. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +516 -657
  83. package/dist/assets/cesium/Workers/createPolylineGeometry.js +471 -547
  84. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +352 -384
  85. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +271 -295
  86. package/dist/assets/cesium/Workers/createRectangleGeometry.js +1128 -1331
  87. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +445 -500
  88. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +381 -440
  89. package/dist/assets/cesium/Workers/createSphereGeometry.js +112 -118
  90. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +112 -121
  91. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +32 -127
  92. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +462 -505
  93. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +377 -436
  94. package/dist/assets/cesium/Workers/createVectorTilePoints.js +110 -77
  95. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +369 -391
  96. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +252 -244
  97. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +543 -615
  98. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2244 -2677
  99. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +682 -926
  100. package/dist/assets/cesium/Workers/createWallGeometry.js +459 -593
  101. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +324 -419
  102. package/dist/assets/cesium/Workers/decodeDraco.js +327 -347
  103. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2530 -3567
  104. package/dist/assets/cesium/Workers/decodeI3S.js +765 -970
  105. package/dist/assets/cesium/Workers/transcodeKTX2.js +3353 -1464
  106. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +3 -4
  107. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +748 -953
  108. package/dist/assets/{cesium.16590b.js → cesium.77d0f7.js} +8915 -13165
  109. package/dist/assets/cesium.js +1 -1
  110. package/dist/assets/{core.74da2a.js → core.720589.js} +3421 -3365
  111. package/dist/assets/core.js +1 -1
  112. package/dist/assets/index-dd539204.js +1 -0
  113. package/dist/assets/{ol.50a512.js → ol.e48649.js} +4 -4
  114. package/dist/assets/ol.js +1 -1
  115. package/dist/assets/{ui.d3054c.css → ui.50452a.css} +2 -2
  116. package/dist/assets/{ui.d3054c.js → ui.50452a.js} +5312 -4776
  117. package/dist/assets/ui.js +1 -1
  118. package/dist/assets/vue.js +2 -2
  119. package/dist/assets/{vuetify.946bd8.js → vuetify.f0a769.js} +1 -1
  120. package/dist/assets/vuetify.js +2 -2
  121. package/dist/index.html +27 -23
  122. package/index.html +23 -22
  123. package/index.js +6 -0
  124. package/package.json +5 -5
  125. package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +37 -1
  126. package/plugins/@vcmap-show-case/form-inputs-example/index.js +3 -0
  127. package/plugins/@vcmap-show-case/form-inputs-example/validation.js +11 -0
  128. package/plugins/@vcmap-show-case/plugin-editors/PluginEditors.vue +119 -0
  129. package/plugins/@vcmap-show-case/plugin-editors/index.js +41 -0
  130. package/plugins/@vcmap-show-case/plugin-editors/package.json +5 -0
  131. package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ProjectSelectorComponent.vue +1 -1
  132. package/plugins/{@vcmap → @vcmap-show-case}/project-selector/config.json +2 -2
  133. package/plugins/{@vcmap → @vcmap-show-case}/project-selector/package.json +1 -1
  134. package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/package.json +1 -1
  135. package/plugins/@vcmap-show-case/style-input-example/styleExample.vue +0 -1
  136. package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +1 -1
  137. package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/ThemeChangerComponent.vue +1 -1
  138. package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/config.json +2 -2
  139. package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/package.json +1 -1
  140. package/plugins/@vcmap-show-case/vector-properties-example/index.js +40 -0
  141. package/plugins/@vcmap-show-case/vector-properties-example/package.json +5 -0
  142. package/plugins/@vcmap-show-case/vector-properties-example/vectorPropertiesExample.vue +128 -0
  143. package/plugins/package.json +6 -2
  144. package/src/application/VcsAttributions.vue +27 -20
  145. package/src/components/form-inputs-controls/VcsChipArrayInput.vue +290 -0
  146. package/src/components/form-inputs-controls/VcsSlider.vue +1 -0
  147. package/src/components/form-inputs-controls/VcsTextField.vue +9 -3
  148. package/src/components/icons/2DAreaIcon.vue +2 -17
  149. package/src/components/icons/2DDistanceIcon.vue +0 -3
  150. package/src/components/icons/3DAreaIcon.vue +2 -17
  151. package/src/components/icons/3DDistanceIcon.vue +0 -3
  152. package/src/components/icons/3DHeightIcon.vue +0 -3
  153. package/src/components/icons/AngleIcon.vue +0 -1
  154. package/src/components/icons/AssociationsIcon.vue +1 -3
  155. package/src/components/icons/AxisIcon.vue +0 -4
  156. package/src/components/icons/BoundingBoxIcon.vue +1 -4
  157. package/src/components/icons/CheckboxIcon.vue +0 -2
  158. package/src/components/icons/CheckboxIndeterminateIcon.vue +1 -5
  159. package/src/components/icons/CircleIcon.vue +1 -6
  160. package/src/components/icons/ClippingHorizontalIcon.vue +0 -1
  161. package/src/components/icons/ClippingIcon.vue +0 -1
  162. package/src/components/icons/ClippingVerticalIcon.vue +0 -1
  163. package/src/components/icons/ColorPickerIcon.vue +0 -1
  164. package/src/components/icons/ColorSwatchIcon.vue +0 -2
  165. package/src/components/icons/CommentIcon.vue +0 -1
  166. package/src/components/icons/CompassIcon.vue +0 -2
  167. package/src/components/icons/ComponentsIcon.vue +0 -1
  168. package/src/components/icons/ConeIcon.vue +1 -4
  169. package/src/components/icons/DimensionsHouseIcon.vue +0 -2
  170. package/src/components/icons/EditIcon.vue +0 -1
  171. package/src/components/icons/EditVerticesIcon.vue +0 -4
  172. package/src/components/icons/ElevationProfileIcon.vue +1 -13
  173. package/src/components/icons/ExportAreaIcon.vue +0 -1
  174. package/src/components/icons/ExportFlightIcon.vue +0 -1
  175. package/src/components/icons/ExportIcon.vue +12 -8
  176. package/src/components/icons/ExternalLinkIcon.vue +0 -2
  177. package/src/components/icons/FastForwardIcon.vue +0 -1
  178. package/src/components/icons/FilterIcon.vue +0 -1
  179. package/src/components/icons/GlobeNatureIcon.vue +0 -3
  180. package/src/components/icons/GroundIcon.vue +0 -1
  181. package/src/components/icons/HealthCareIndustriesIcon.vue +1 -11
  182. package/src/components/icons/HideIcon.vue +0 -1
  183. package/src/components/icons/HomePointIcon.vue +0 -1
  184. package/src/components/icons/HospitalsIcon.vue +1 -20
  185. package/src/components/icons/HouseIcon.vue +3 -13
  186. package/src/components/icons/ImportIcon.vue +6 -14
  187. package/src/components/icons/InfoIcon.vue +0 -2
  188. package/src/components/icons/KebabIcon.vue +1 -9
  189. package/src/components/icons/LabelIcon.vue +0 -2
  190. package/src/components/icons/LayersIcon.vue +1 -9
  191. package/src/components/icons/LegendIcon.vue +0 -1
  192. package/src/components/icons/LineIcon.vue +0 -2
  193. package/src/components/icons/LinkIcon.vue +0 -1
  194. package/src/components/icons/LogoutIcon.vue +0 -1
  195. package/src/components/icons/MapIcon.vue +0 -2
  196. package/src/components/icons/MenuIcon.vue +1 -5
  197. package/src/components/icons/MinusIcon.vue +0 -2
  198. package/src/components/icons/ObjectSelectIcon.vue +0 -2
  199. package/src/components/icons/ObliqueViewIcon.vue +0 -1
  200. package/src/components/icons/PdfIcon.vue +0 -1
  201. package/src/components/icons/PedestrianIcon.vue +0 -1
  202. package/src/components/icons/PenIcon.vue +0 -1
  203. package/src/components/icons/PlayCircleIcon.vue +1 -8
  204. package/src/components/icons/PlusIcon.vue +0 -2
  205. package/src/components/icons/PoiIcon.vue +0 -1
  206. package/src/components/icons/PointIcon.vue +2 -6
  207. package/src/components/icons/PointSelectIcon.vue +0 -1
  208. package/src/components/icons/PresentationModeIcon.vue +0 -1
  209. package/src/components/icons/ProgressIcon.vue +1 -1
  210. package/src/components/icons/QueryIcon.vue +0 -1
  211. package/src/components/icons/RectangleIcon.vue +1 -6
  212. package/src/components/icons/ReturnIcon.vue +0 -1
  213. package/src/components/icons/RewindIcon.vue +0 -1
  214. package/src/components/icons/RotateLeftIcon.vue +0 -1
  215. package/src/components/icons/RotateRightIcon.vue +0 -1
  216. package/src/components/icons/ScreenshotIcon.vue +1 -6
  217. package/src/components/icons/SearchIcon.vue +0 -1
  218. package/src/components/icons/ShadowIcon.vue +0 -2
  219. package/src/components/icons/ShapesIcon.vue +1 -4
  220. package/src/components/icons/ShareIcon.vue +0 -1
  221. package/src/components/icons/SimpleCircleFilledIcon.vue +0 -1
  222. package/src/components/icons/SimpleCircleHalfFilledIcon.vue +0 -1
  223. package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -7
  224. package/src/components/icons/SkipPreviousIcon.vue +1 -6
  225. package/src/components/icons/SplitViewIcon.vue +0 -1
  226. package/src/components/icons/TextStyleIcon.vue +0 -3
  227. package/src/components/icons/ThreeDimensionsIcon.vue +0 -1
  228. package/src/components/icons/ToolsIcon.vue +0 -1
  229. package/src/components/icons/TouchIcon.vue +0 -1
  230. package/src/components/icons/TriangleIcon.vue +0 -3
  231. package/src/components/icons/TwoDimensionsIcon.vue +0 -2
  232. package/src/components/icons/UploadIcon.vue +0 -1
  233. package/src/components/icons/UserProfileIcon.vue +0 -1
  234. package/src/components/icons/UserShareIcon.vue +0 -1
  235. package/src/components/icons/ViewpointFlightIcon.vue +0 -1
  236. package/src/components/icons/ViewpointIcon.vue +0 -1
  237. package/src/components/icons/Viewshed360Icon.vue +0 -1
  238. package/src/components/icons/ViewshedConeIcon.vue +0 -1
  239. package/src/components/icons/ViewshedIcon.vue +0 -1
  240. package/src/components/icons/WalkingIcon.vue +0 -1
  241. package/src/components/icons/WallIcon.vue +1 -4
  242. package/src/components/icons/WandIcon.vue +22 -70
  243. package/src/components/lists/VcsList.vue +18 -12
  244. package/src/components/plugins/AbstractConfigEditor.vue +84 -0
  245. package/src/components/style/VcsImageSelector.vue +6 -5
  246. package/src/components/style/VcsTextSelector.vue +1 -1
  247. package/src/components/tables/VcsDataTable.vue +1 -1
  248. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +780 -0
  249. package/src/components/vector-properties/composables.js +93 -0
  250. package/src/contentTree/contentTreeCollection.js +30 -9
  251. package/src/i18n/de.js +41 -7
  252. package/src/i18n/en.js +39 -5
  253. package/src/i18n/i18nCollection.js +19 -65
  254. package/src/manager/buttonManager.js +4 -0
  255. package/src/manager/collectionManager/collectionComponent.js +1 -1
  256. package/src/manager/contextMenu/contextMenuManager.js +2 -0
  257. package/src/pluginHelper.js +57 -17
  258. package/src/vcsUiApp.js +25 -30
  259. package/src/vuePlugins/i18n.js +0 -8
  260. package/dist/assets/cesium/ThirdParty/Workers/draco_decoder_nodejs.js +0 -117
  261. package/dist/assets/cesium/Workers/ArcType-2d9abbbc.js +0 -37
  262. package/dist/assets/cesium/Workers/AttributeCompression-f9f6c717.js +0 -716
  263. package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-4140c51f.js +0 -258
  264. package/dist/assets/cesium/Workers/BoundingRectangle-c714b156.js +0 -369
  265. package/dist/assets/cesium/Workers/BoxGeometry-6f3da43d.js +0 -884
  266. package/dist/assets/cesium/Workers/Check-6ede7e26.js +0 -290
  267. package/dist/assets/cesium/Workers/Color-8a565ff2.js +0 -2262
  268. package/dist/assets/cesium/Workers/ComponentDatatype-cf1fa08e.js +0 -341
  269. package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4b4d4096.js +0 -132
  270. package/dist/assets/cesium/Workers/CorridorGeometryLibrary-7b94502b.js +0 -498
  271. package/dist/assets/cesium/Workers/CylinderGeometry-ca070b87.js +0 -467
  272. package/dist/assets/cesium/Workers/CylinderGeometryLibrary-7bf291b4.js +0 -63
  273. package/dist/assets/cesium/Workers/EllipseGeometry-122e51fa.js +0 -1304
  274. package/dist/assets/cesium/Workers/EllipseGeometryLibrary-4d326efc.js +0 -366
  275. package/dist/assets/cesium/Workers/EllipseOutlineGeometry-16cc2bd7.js +0 -443
  276. package/dist/assets/cesium/Workers/EllipsoidGeodesic-5b3623dc.js +0 -520
  277. package/dist/assets/cesium/Workers/EllipsoidGeometry-cb148ca2.js +0 -637
  278. package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-0fa10c79.js +0 -454
  279. package/dist/assets/cesium/Workers/EllipsoidRhumbLine-ef872433.js +0 -741
  280. package/dist/assets/cesium/Workers/EllipsoidTangentPlane-6dd1b7af.js +0 -373
  281. package/dist/assets/cesium/Workers/EncodedCartesian3-57415c8a.js +0 -171
  282. package/dist/assets/cesium/Workers/FrustumGeometry-ee73037c.js +0 -2540
  283. package/dist/assets/cesium/Workers/GeometryAttribute-ff5b4fb1.js +0 -619
  284. package/dist/assets/cesium/Workers/GeometryAttributes-ad136444.js +0 -91
  285. package/dist/assets/cesium/Workers/GeometryInstance-34d9e21e.js +0 -121
  286. package/dist/assets/cesium/Workers/GeometryOffsetAttribute-9ad0019c.js +0 -16
  287. package/dist/assets/cesium/Workers/GeometryPipeline-1f8fbf05.js +0 -3690
  288. package/dist/assets/cesium/Workers/IndexDatatype-2643aa47.js +0 -200
  289. package/dist/assets/cesium/Workers/IntersectionTests-70d39ba9.js +0 -1836
  290. package/dist/assets/cesium/Workers/Math-0a2ac845.js +0 -1340
  291. package/dist/assets/cesium/Workers/Matrix2-e1298525.js +0 -7086
  292. package/dist/assets/cesium/Workers/Matrix3-41c58dde.js +0 -4283
  293. package/dist/assets/cesium/Workers/OrientedBoundingBox-159cf1d6.js +0 -1259
  294. package/dist/assets/cesium/Workers/Plane-4c3d403b.js +0 -309
  295. package/dist/assets/cesium/Workers/PolygonGeometryLibrary-076a5d25.js +0 -1074
  296. package/dist/assets/cesium/Workers/PolygonPipeline-b9f2810a.js +0 -1344
  297. package/dist/assets/cesium/Workers/PolylinePipeline-639192e0.js +0 -573
  298. package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-b73549fb.js +0 -781
  299. package/dist/assets/cesium/Workers/PrimitivePipeline-10ede1b6.js +0 -966
  300. package/dist/assets/cesium/Workers/RectangleGeometryLibrary-c35a7356.js +0 -280
  301. package/dist/assets/cesium/Workers/RuntimeError-ef395448.js +0 -68
  302. package/dist/assets/cesium/Workers/TerrainEncoding-668d242f.js +0 -1227
  303. package/dist/assets/cesium/Workers/Transforms-a2a85221.js +0 -14712
  304. package/dist/assets/cesium/Workers/VertexFormat-030f11ff.js +0 -312
  305. package/dist/assets/cesium/Workers/WallGeometryLibrary-1938bf0d.js +0 -211
  306. package/dist/assets/cesium/Workers/WebGLConstants-0b1ce7ba.js +0 -620
  307. package/dist/assets/cesium/Workers/WebMercatorProjection-13ed1a6e.js +0 -151
  308. package/dist/assets/cesium/Workers/arrayRemoveDuplicates-d2061e85.js +0 -129
  309. package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +0 -1363
  310. package/dist/assets/cesium/Workers/combine-d9581036.js +0 -82
  311. package/dist/assets/cesium/Workers/defaultValue-fe22d8c0.js +0 -51
  312. package/dist/assets/index-cb070eff.js +0 -1
  313. package/plugins/@vcmap/create-link/fallbackCreateLink.vue +0 -76
  314. package/plugins/@vcmap/create-link/index.js +0 -95
  315. package/plugins/@vcmap/create-link/package.json +0 -6
  316. package/plugins/@vcmap/search-nominatim/LICENSE.md +0 -13
  317. package/plugins/@vcmap/search-nominatim/README.md +0 -3
  318. package/plugins/@vcmap/search-nominatim/config.json +0 -3
  319. package/plugins/@vcmap/search-nominatim/index.js +0 -29
  320. package/plugins/@vcmap/search-nominatim/nominatim.js +0 -175
  321. package/plugins/@vcmap/search-nominatim/package.json +0 -9
  322. /package/dist/assets/{vue.30740e.js → vue.5d696e.js} +0 -0
  323. /package/dist/assets/{vuetify.946bd8.css → vuetify.f0a769.css} +0 -0
  324. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ModulesListComponent.vue +0 -0
  325. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/README.md +0 -0
  326. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/de.json +0 -0
  327. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/en.json +0 -0
  328. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/index.js +0 -0
  329. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/README.md +0 -0
  330. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/SimpleGraphComponent.vue +0 -0
  331. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/index.js +0 -0
  332. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/simpleGraphView.js +0 -0
  333. /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/README.md +0 -0
  334. /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/index.js +0 -0
@@ -1,1363 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.106.3
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- if (typeof self === "undefined") {
27
- self = {};
28
- }
29
- self.onmessage = function(event) {
30
- var data = event.data;
31
- require(data.loaderConfig, [data.workerModule], function(workerModule) {
32
- self.onmessage = workerModule;
33
- self.CESIUM_BASE_URL = data.loaderConfig.baseUrl;
34
- });
35
- };
36
- function setTimeout(fn) {
37
- fn();
38
- }
39
- /** vim: et:ts=4:sw=4:sts=4
40
- * @license RequireJS 2.1.20 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
41
- * Available via the MIT or new BSD license.
42
- * see: http://github.com/jrburke/requirejs for details
43
- */
44
- var requirejs, require, define;
45
- (function(global) {
46
- var req, s, head, baseElement, dataMain, src, interactiveScript, currentlyAddingScript, mainScript, subPath, version = "2.1.20", commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm, cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g, jsSuffixRegExp = /\.js$/, currDirRegExp = /^\.\//, op = Object.prototype, ostring = op.toString, hasOwn = op.hasOwnProperty, ap = Array.prototype, isBrowser = !!(typeof window !== "undefined" && typeof navigator !== "undefined" && window.document), isWebWorker = !isBrowser && typeof importScripts !== "undefined", readyRegExp = isBrowser && navigator.platform === "PLAYSTATION 3" ? /^complete$/ : /^(complete|loaded)$/, defContextName = "_", isOpera = typeof opera !== "undefined" && opera.toString() === "[object Opera]", contexts = {}, cfg = {}, globalDefQueue = [], useInteractive = false;
47
- function isFunction(it) {
48
- return ostring.call(it) === "[object Function]";
49
- }
50
- function isArray(it) {
51
- return ostring.call(it) === "[object Array]";
52
- }
53
- function each(ary, func) {
54
- if (ary) {
55
- var i;
56
- for (i = 0; i < ary.length; i += 1) {
57
- if (ary[i] && func(ary[i], i, ary)) {
58
- break;
59
- }
60
- }
61
- }
62
- }
63
- function eachReverse(ary, func) {
64
- if (ary) {
65
- var i;
66
- for (i = ary.length - 1; i > -1; i -= 1) {
67
- if (ary[i] && func(ary[i], i, ary)) {
68
- break;
69
- }
70
- }
71
- }
72
- }
73
- function hasProp(obj, prop) {
74
- return hasOwn.call(obj, prop);
75
- }
76
- function getOwn(obj, prop) {
77
- return hasProp(obj, prop) && obj[prop];
78
- }
79
- function eachProp(obj, func) {
80
- var prop;
81
- for (prop in obj) {
82
- if (hasProp(obj, prop)) {
83
- if (func(obj[prop], prop)) {
84
- break;
85
- }
86
- }
87
- }
88
- }
89
- function mixin(target, source, force, deepStringMixin) {
90
- if (source) {
91
- eachProp(source, function(value, prop) {
92
- if (force || !hasProp(target, prop)) {
93
- if (deepStringMixin && typeof value === "object" && value && !isArray(value) && !isFunction(value) && !(value instanceof RegExp)) {
94
- if (!target[prop]) {
95
- target[prop] = {};
96
- }
97
- mixin(target[prop], value, force, deepStringMixin);
98
- } else {
99
- target[prop] = value;
100
- }
101
- }
102
- });
103
- }
104
- return target;
105
- }
106
- function bind(obj, fn) {
107
- return function() {
108
- return fn.apply(obj, arguments);
109
- };
110
- }
111
- function scripts() {
112
- return document.getElementsByTagName("script");
113
- }
114
- function defaultOnError(err) {
115
- throw err;
116
- }
117
- function getGlobal(value) {
118
- if (!value) {
119
- return value;
120
- }
121
- var g = global;
122
- each(value.split("."), function(part) {
123
- g = g[part];
124
- });
125
- return g;
126
- }
127
- function makeError(id, msg, err, requireModules) {
128
- var e = new Error(msg + "\nhttp://requirejs.org/docs/errors.html#" + id);
129
- e.requireType = id;
130
- e.requireModules = requireModules;
131
- if (err) {
132
- e.originalError = err;
133
- }
134
- return e;
135
- }
136
- if (typeof define !== "undefined") {
137
- return;
138
- }
139
- if (typeof requirejs !== "undefined") {
140
- if (isFunction(requirejs)) {
141
- return;
142
- }
143
- cfg = requirejs;
144
- requirejs = void 0;
145
- }
146
- if (typeof require !== "undefined" && !isFunction(require)) {
147
- cfg = require;
148
- require = void 0;
149
- }
150
- function newContext(contextName) {
151
- var inCheckLoaded, Module, context, handlers, checkLoadedTimeoutId, config = {
152
- //Defaults. Do not set a default for map
153
- //config to speed up normalize(), which
154
- //will run faster if there is no default.
155
- waitSeconds: 7,
156
- baseUrl: "./",
157
- paths: {},
158
- bundles: {},
159
- pkgs: {},
160
- shim: {},
161
- config: {}
162
- }, registry = {}, enabledRegistry = {}, undefEvents = {}, defQueue = [], defined = {}, urlFetched = {}, bundlesMap = {}, requireCounter = 1, unnormalizedCounter = 1;
163
- function trimDots(ary) {
164
- var i, part;
165
- for (i = 0; i < ary.length; i++) {
166
- part = ary[i];
167
- if (part === ".") {
168
- ary.splice(i, 1);
169
- i -= 1;
170
- } else if (part === "..") {
171
- if (i === 0 || i === 1 && ary[2] === ".." || ary[i - 1] === "..") {
172
- continue;
173
- } else if (i > 0) {
174
- ary.splice(i - 1, 2);
175
- i -= 2;
176
- }
177
- }
178
- }
179
- }
180
- function normalize(name, baseName, applyMap) {
181
- var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex, foundMap, foundI, foundStarMap, starI, normalizedBaseParts, baseParts = baseName && baseName.split("/"), map = config.map, starMap = map && map["*"];
182
- if (name) {
183
- name = name.split("/");
184
- lastIndex = name.length - 1;
185
- if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {
186
- name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, "");
187
- }
188
- if (name[0].charAt(0) === "." && baseParts) {
189
- normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);
190
- name = normalizedBaseParts.concat(name);
191
- }
192
- trimDots(name);
193
- name = name.join("/");
194
- }
195
- if (applyMap && map && (baseParts || starMap)) {
196
- nameParts = name.split("/");
197
- outerLoop:
198
- for (i = nameParts.length; i > 0; i -= 1) {
199
- nameSegment = nameParts.slice(0, i).join("/");
200
- if (baseParts) {
201
- for (j = baseParts.length; j > 0; j -= 1) {
202
- mapValue = getOwn(map, baseParts.slice(0, j).join("/"));
203
- if (mapValue) {
204
- mapValue = getOwn(mapValue, nameSegment);
205
- if (mapValue) {
206
- foundMap = mapValue;
207
- foundI = i;
208
- break outerLoop;
209
- }
210
- }
211
- }
212
- }
213
- if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) {
214
- foundStarMap = getOwn(starMap, nameSegment);
215
- starI = i;
216
- }
217
- }
218
- if (!foundMap && foundStarMap) {
219
- foundMap = foundStarMap;
220
- foundI = starI;
221
- }
222
- if (foundMap) {
223
- nameParts.splice(0, foundI, foundMap);
224
- name = nameParts.join("/");
225
- }
226
- }
227
- pkgMain = getOwn(config.pkgs, name);
228
- return pkgMain ? pkgMain : name;
229
- }
230
- function removeScript(name) {
231
- if (isBrowser) {
232
- each(scripts(), function(scriptNode) {
233
- if (scriptNode.getAttribute("data-requiremodule") === name && scriptNode.getAttribute("data-requirecontext") === context.contextName) {
234
- scriptNode.parentNode.removeChild(scriptNode);
235
- return true;
236
- }
237
- });
238
- }
239
- }
240
- function hasPathFallback(id) {
241
- var pathConfig = getOwn(config.paths, id);
242
- if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) {
243
- pathConfig.shift();
244
- context.require.undef(id);
245
- context.makeRequire(null, {
246
- skipMap: true
247
- })([id]);
248
- return true;
249
- }
250
- }
251
- function splitPrefix(name) {
252
- var prefix, index = name ? name.indexOf("!") : -1;
253
- if (index > -1) {
254
- prefix = name.substring(0, index);
255
- name = name.substring(index + 1, name.length);
256
- }
257
- return [prefix, name];
258
- }
259
- function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) {
260
- var url, pluginModule, suffix, nameParts, prefix = null, parentName = parentModuleMap ? parentModuleMap.name : null, originalName = name, isDefine = true, normalizedName = "";
261
- if (!name) {
262
- isDefine = false;
263
- name = "_@r" + (requireCounter += 1);
264
- }
265
- nameParts = splitPrefix(name);
266
- prefix = nameParts[0];
267
- name = nameParts[1];
268
- if (prefix) {
269
- prefix = normalize(prefix, parentName, applyMap);
270
- pluginModule = getOwn(defined, prefix);
271
- }
272
- if (name) {
273
- if (prefix) {
274
- if (pluginModule && pluginModule.normalize) {
275
- normalizedName = pluginModule.normalize(name, function(name2) {
276
- return normalize(name2, parentName, applyMap);
277
- });
278
- } else {
279
- normalizedName = name.indexOf("!") === -1 ? normalize(name, parentName, applyMap) : name;
280
- }
281
- } else {
282
- normalizedName = normalize(name, parentName, applyMap);
283
- nameParts = splitPrefix(normalizedName);
284
- prefix = nameParts[0];
285
- normalizedName = nameParts[1];
286
- isNormalized = true;
287
- url = context.nameToUrl(normalizedName);
288
- }
289
- }
290
- suffix = prefix && !pluginModule && !isNormalized ? "_unnormalized" + (unnormalizedCounter += 1) : "";
291
- return {
292
- prefix,
293
- name: normalizedName,
294
- parentMap: parentModuleMap,
295
- unnormalized: !!suffix,
296
- url,
297
- originalName,
298
- isDefine,
299
- id: (prefix ? prefix + "!" + normalizedName : normalizedName) + suffix
300
- };
301
- }
302
- function getModule(depMap) {
303
- var id = depMap.id, mod = getOwn(registry, id);
304
- if (!mod) {
305
- mod = registry[id] = new context.Module(depMap);
306
- }
307
- return mod;
308
- }
309
- function on(depMap, name, fn) {
310
- var id = depMap.id, mod = getOwn(registry, id);
311
- if (hasProp(defined, id) && (!mod || mod.defineEmitComplete)) {
312
- if (name === "defined") {
313
- fn(defined[id]);
314
- }
315
- } else {
316
- mod = getModule(depMap);
317
- if (mod.error && name === "error") {
318
- fn(mod.error);
319
- } else {
320
- mod.on(name, fn);
321
- }
322
- }
323
- }
324
- function onError(err, errback) {
325
- var ids = err.requireModules, notified = false;
326
- if (errback) {
327
- errback(err);
328
- } else {
329
- each(ids, function(id) {
330
- var mod = getOwn(registry, id);
331
- if (mod) {
332
- mod.error = err;
333
- if (mod.events.error) {
334
- notified = true;
335
- mod.emit("error", err);
336
- }
337
- }
338
- });
339
- if (!notified) {
340
- req.onError(err);
341
- }
342
- }
343
- }
344
- function takeGlobalQueue() {
345
- if (globalDefQueue.length) {
346
- each(globalDefQueue, function(queueItem) {
347
- var id = queueItem[0];
348
- if (typeof id === "string") {
349
- context.defQueueMap[id] = true;
350
- }
351
- defQueue.push(queueItem);
352
- });
353
- globalDefQueue = [];
354
- }
355
- }
356
- handlers = {
357
- require: function(mod) {
358
- if (mod.require) {
359
- return mod.require;
360
- } else {
361
- return mod.require = context.makeRequire(mod.map);
362
- }
363
- },
364
- exports: function(mod) {
365
- mod.usingExports = true;
366
- if (mod.map.isDefine) {
367
- if (mod.exports) {
368
- return defined[mod.map.id] = mod.exports;
369
- } else {
370
- return mod.exports = defined[mod.map.id] = {};
371
- }
372
- }
373
- },
374
- module: function(mod) {
375
- if (mod.module) {
376
- return mod.module;
377
- } else {
378
- return mod.module = {
379
- id: mod.map.id,
380
- uri: mod.map.url,
381
- config: function() {
382
- return getOwn(config.config, mod.map.id) || {};
383
- },
384
- exports: mod.exports || (mod.exports = {})
385
- };
386
- }
387
- }
388
- };
389
- function cleanRegistry(id) {
390
- delete registry[id];
391
- delete enabledRegistry[id];
392
- }
393
- function breakCycle(mod, traced, processed) {
394
- var id = mod.map.id;
395
- if (mod.error) {
396
- mod.emit("error", mod.error);
397
- } else {
398
- traced[id] = true;
399
- each(mod.depMaps, function(depMap, i) {
400
- var depId = depMap.id, dep = getOwn(registry, depId);
401
- if (dep && !mod.depMatched[i] && !processed[depId]) {
402
- if (getOwn(traced, depId)) {
403
- mod.defineDep(i, defined[depId]);
404
- mod.check();
405
- } else {
406
- breakCycle(dep, traced, processed);
407
- }
408
- }
409
- });
410
- processed[id] = true;
411
- }
412
- }
413
- function checkLoaded() {
414
- var err, usingPathFallback, waitInterval = config.waitSeconds * 1e3, expired = waitInterval && context.startTime + waitInterval < (/* @__PURE__ */ new Date()).getTime(), noLoads = [], reqCalls = [], stillLoading = false, needCycleCheck = true;
415
- if (inCheckLoaded) {
416
- return;
417
- }
418
- inCheckLoaded = true;
419
- eachProp(enabledRegistry, function(mod) {
420
- var map = mod.map, modId = map.id;
421
- if (!mod.enabled) {
422
- return;
423
- }
424
- if (!map.isDefine) {
425
- reqCalls.push(mod);
426
- }
427
- if (!mod.error) {
428
- if (!mod.inited && expired) {
429
- if (hasPathFallback(modId)) {
430
- usingPathFallback = true;
431
- stillLoading = true;
432
- } else {
433
- noLoads.push(modId);
434
- removeScript(modId);
435
- }
436
- } else if (!mod.inited && mod.fetched && map.isDefine) {
437
- stillLoading = true;
438
- if (!map.prefix) {
439
- return needCycleCheck = false;
440
- }
441
- }
442
- }
443
- });
444
- if (expired && noLoads.length) {
445
- err = makeError(
446
- "timeout",
447
- "Load timeout for modules: " + noLoads,
448
- null,
449
- noLoads
450
- );
451
- err.contextName = context.contextName;
452
- return onError(err);
453
- }
454
- if (needCycleCheck) {
455
- each(reqCalls, function(mod) {
456
- breakCycle(mod, {}, {});
457
- });
458
- }
459
- if ((!expired || usingPathFallback) && stillLoading) {
460
- if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) {
461
- checkLoadedTimeoutId = setTimeout(function() {
462
- checkLoadedTimeoutId = 0;
463
- checkLoaded();
464
- }, 50);
465
- }
466
- }
467
- inCheckLoaded = false;
468
- }
469
- Module = function(map) {
470
- this.events = getOwn(undefEvents, map.id) || {};
471
- this.map = map;
472
- this.shim = getOwn(config.shim, map.id);
473
- this.depExports = [];
474
- this.depMaps = [];
475
- this.depMatched = [];
476
- this.pluginMaps = {};
477
- this.depCount = 0;
478
- };
479
- Module.prototype = {
480
- init: function(depMaps, factory, errback, options) {
481
- options = options || {};
482
- if (this.inited) {
483
- return;
484
- }
485
- this.factory = factory;
486
- if (errback) {
487
- this.on("error", errback);
488
- } else if (this.events.error) {
489
- errback = bind(this, function(err) {
490
- this.emit("error", err);
491
- });
492
- }
493
- this.depMaps = depMaps && depMaps.slice(0);
494
- this.errback = errback;
495
- this.inited = true;
496
- this.ignore = options.ignore;
497
- if (options.enabled || this.enabled) {
498
- this.enable();
499
- } else {
500
- this.check();
501
- }
502
- },
503
- defineDep: function(i, depExports) {
504
- if (!this.depMatched[i]) {
505
- this.depMatched[i] = true;
506
- this.depCount -= 1;
507
- this.depExports[i] = depExports;
508
- }
509
- },
510
- fetch: function() {
511
- if (this.fetched) {
512
- return;
513
- }
514
- this.fetched = true;
515
- context.startTime = (/* @__PURE__ */ new Date()).getTime();
516
- var map = this.map;
517
- if (this.shim) {
518
- context.makeRequire(this.map, {
519
- enableBuildCallback: true
520
- })(
521
- this.shim.deps || [],
522
- bind(this, function() {
523
- return map.prefix ? this.callPlugin() : this.load();
524
- })
525
- );
526
- } else {
527
- return map.prefix ? this.callPlugin() : this.load();
528
- }
529
- },
530
- load: function() {
531
- var url = this.map.url;
532
- if (!urlFetched[url]) {
533
- urlFetched[url] = true;
534
- context.load(this.map.id, url);
535
- }
536
- },
537
- /**
538
- * Checks if the module is ready to define itself, and if so,
539
- * define it.
540
- * @private
541
- */
542
- check: function() {
543
- if (!this.enabled || this.enabling) {
544
- return;
545
- }
546
- var err, cjsModule, id = this.map.id, depExports = this.depExports, exports = this.exports, factory = this.factory;
547
- if (!this.inited) {
548
- if (!hasProp(context.defQueueMap, id)) {
549
- this.fetch();
550
- }
551
- } else if (this.error) {
552
- this.emit("error", this.error);
553
- } else if (!this.defining) {
554
- this.defining = true;
555
- if (this.depCount < 1 && !this.defined) {
556
- if (isFunction(factory)) {
557
- if (this.events.error && this.map.isDefine || req.onError !== defaultOnError) {
558
- try {
559
- exports = context.execCb(id, factory, depExports, exports);
560
- } catch (e) {
561
- err = e;
562
- }
563
- } else {
564
- exports = context.execCb(id, factory, depExports, exports);
565
- }
566
- if (this.map.isDefine && exports === void 0) {
567
- cjsModule = this.module;
568
- if (cjsModule) {
569
- exports = cjsModule.exports;
570
- } else if (this.usingExports) {
571
- exports = this.exports;
572
- }
573
- }
574
- if (err) {
575
- err.requireMap = this.map;
576
- err.requireModules = this.map.isDefine ? [this.map.id] : null;
577
- err.requireType = this.map.isDefine ? "define" : "require";
578
- return onError(this.error = err);
579
- }
580
- } else {
581
- exports = factory;
582
- }
583
- this.exports = exports;
584
- if (this.map.isDefine && !this.ignore) {
585
- defined[id] = exports;
586
- if (req.onResourceLoad) {
587
- req.onResourceLoad(context, this.map, this.depMaps);
588
- }
589
- }
590
- cleanRegistry(id);
591
- this.defined = true;
592
- }
593
- this.defining = false;
594
- if (this.defined && !this.defineEmitted) {
595
- this.defineEmitted = true;
596
- this.emit("defined", this.exports);
597
- this.defineEmitComplete = true;
598
- }
599
- }
600
- },
601
- callPlugin: function() {
602
- var map = this.map, id = map.id, pluginMap = makeModuleMap(map.prefix);
603
- this.depMaps.push(pluginMap);
604
- on(
605
- pluginMap,
606
- "defined",
607
- bind(this, function(plugin) {
608
- var load, normalizedMap, normalizedMod, bundleId = getOwn(bundlesMap, this.map.id), name = this.map.name, parentName = this.map.parentMap ? this.map.parentMap.name : null, localRequire = context.makeRequire(map.parentMap, {
609
- enableBuildCallback: true
610
- });
611
- if (this.map.unnormalized) {
612
- if (plugin.normalize) {
613
- name = plugin.normalize(name, function(name2) {
614
- return normalize(name2, parentName, true);
615
- }) || "";
616
- }
617
- normalizedMap = makeModuleMap(
618
- map.prefix + "!" + name,
619
- this.map.parentMap
620
- );
621
- on(
622
- normalizedMap,
623
- "defined",
624
- bind(this, function(value) {
625
- this.init(
626
- [],
627
- function() {
628
- return value;
629
- },
630
- null,
631
- {
632
- enabled: true,
633
- ignore: true
634
- }
635
- );
636
- })
637
- );
638
- normalizedMod = getOwn(registry, normalizedMap.id);
639
- if (normalizedMod) {
640
- this.depMaps.push(normalizedMap);
641
- if (this.events.error) {
642
- normalizedMod.on(
643
- "error",
644
- bind(this, function(err) {
645
- this.emit("error", err);
646
- })
647
- );
648
- }
649
- normalizedMod.enable();
650
- }
651
- return;
652
- }
653
- if (bundleId) {
654
- this.map.url = context.nameToUrl(bundleId);
655
- this.load();
656
- return;
657
- }
658
- load = bind(this, function(value) {
659
- this.init(
660
- [],
661
- function() {
662
- return value;
663
- },
664
- null,
665
- {
666
- enabled: true
667
- }
668
- );
669
- });
670
- load.error = bind(this, function(err) {
671
- this.inited = true;
672
- this.error = err;
673
- err.requireModules = [id];
674
- eachProp(registry, function(mod) {
675
- if (mod.map.id.indexOf(id + "_unnormalized") === 0) {
676
- cleanRegistry(mod.map.id);
677
- }
678
- });
679
- onError(err);
680
- });
681
- load.fromText = bind(this, function(text2, textAlt) {
682
- var moduleName = map.name, moduleMap = makeModuleMap(moduleName), hasInteractive = useInteractive;
683
- if (textAlt) {
684
- text2 = textAlt;
685
- }
686
- if (hasInteractive) {
687
- useInteractive = false;
688
- }
689
- getModule(moduleMap);
690
- if (hasProp(config.config, id)) {
691
- config.config[moduleName] = config.config[id];
692
- }
693
- try {
694
- req.exec(text2);
695
- } catch (e) {
696
- return onError(
697
- makeError(
698
- "fromtexteval",
699
- "fromText eval for " + id + " failed: " + e,
700
- e,
701
- [id]
702
- )
703
- );
704
- }
705
- if (hasInteractive) {
706
- useInteractive = true;
707
- }
708
- this.depMaps.push(moduleMap);
709
- context.completeLoad(moduleName);
710
- localRequire([moduleName], load);
711
- });
712
- plugin.load(map.name, localRequire, load, config);
713
- })
714
- );
715
- context.enable(pluginMap, this);
716
- this.pluginMaps[pluginMap.id] = pluginMap;
717
- },
718
- enable: function() {
719
- enabledRegistry[this.map.id] = this;
720
- this.enabled = true;
721
- this.enabling = true;
722
- each(
723
- this.depMaps,
724
- bind(this, function(depMap, i) {
725
- var id, mod, handler;
726
- if (typeof depMap === "string") {
727
- depMap = makeModuleMap(
728
- depMap,
729
- this.map.isDefine ? this.map : this.map.parentMap,
730
- false,
731
- !this.skipMap
732
- );
733
- this.depMaps[i] = depMap;
734
- handler = getOwn(handlers, depMap.id);
735
- if (handler) {
736
- this.depExports[i] = handler(this);
737
- return;
738
- }
739
- this.depCount += 1;
740
- on(
741
- depMap,
742
- "defined",
743
- bind(this, function(depExports) {
744
- if (this.undefed) {
745
- return;
746
- }
747
- this.defineDep(i, depExports);
748
- this.check();
749
- })
750
- );
751
- if (this.errback) {
752
- on(depMap, "error", bind(this, this.errback));
753
- } else if (this.events.error) {
754
- on(
755
- depMap,
756
- "error",
757
- bind(this, function(err) {
758
- this.emit("error", err);
759
- })
760
- );
761
- }
762
- }
763
- id = depMap.id;
764
- mod = registry[id];
765
- if (!hasProp(handlers, id) && mod && !mod.enabled) {
766
- context.enable(depMap, this);
767
- }
768
- })
769
- );
770
- eachProp(
771
- this.pluginMaps,
772
- bind(this, function(pluginMap) {
773
- var mod = getOwn(registry, pluginMap.id);
774
- if (mod && !mod.enabled) {
775
- context.enable(pluginMap, this);
776
- }
777
- })
778
- );
779
- this.enabling = false;
780
- this.check();
781
- },
782
- on: function(name, cb) {
783
- var cbs = this.events[name];
784
- if (!cbs) {
785
- cbs = this.events[name] = [];
786
- }
787
- cbs.push(cb);
788
- },
789
- emit: function(name, evt) {
790
- each(this.events[name], function(cb) {
791
- cb(evt);
792
- });
793
- if (name === "error") {
794
- delete this.events[name];
795
- }
796
- }
797
- };
798
- function callGetModule(args) {
799
- if (!hasProp(defined, args[0])) {
800
- getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]);
801
- }
802
- }
803
- function removeListener(node, func, name, ieName) {
804
- if (node.detachEvent && !isOpera) {
805
- if (ieName) {
806
- node.detachEvent(ieName, func);
807
- }
808
- } else {
809
- node.removeEventListener(name, func, false);
810
- }
811
- }
812
- function getScriptData(evt) {
813
- var node = evt.currentTarget || evt.srcElement;
814
- removeListener(node, context.onScriptLoad, "load", "onreadystatechange");
815
- removeListener(node, context.onScriptError, "error");
816
- return {
817
- node,
818
- id: node && node.getAttribute("data-requiremodule")
819
- };
820
- }
821
- function intakeDefines() {
822
- var args;
823
- takeGlobalQueue();
824
- while (defQueue.length) {
825
- args = defQueue.shift();
826
- if (args[0] === null) {
827
- return onError(
828
- makeError(
829
- "mismatch",
830
- "Mismatched anonymous define() module: " + args[args.length - 1]
831
- )
832
- );
833
- } else {
834
- callGetModule(args);
835
- }
836
- }
837
- context.defQueueMap = {};
838
- }
839
- context = {
840
- config,
841
- contextName,
842
- registry,
843
- defined,
844
- urlFetched,
845
- defQueue,
846
- defQueueMap: {},
847
- Module,
848
- makeModuleMap,
849
- nextTick: req.nextTick,
850
- onError,
851
- /**
852
- * @private
853
- * Set a configuration for the context.
854
- * @param {object} cfg config object to integrate.
855
- */
856
- configure: function(cfg2) {
857
- if (cfg2.baseUrl) {
858
- if (cfg2.baseUrl.charAt(cfg2.baseUrl.length - 1) !== "/") {
859
- cfg2.baseUrl += "/";
860
- }
861
- }
862
- var shim = config.shim, objs = {
863
- paths: true,
864
- bundles: true,
865
- config: true,
866
- map: true
867
- };
868
- eachProp(cfg2, function(value, prop) {
869
- if (objs[prop]) {
870
- if (!config[prop]) {
871
- config[prop] = {};
872
- }
873
- mixin(config[prop], value, true, true);
874
- } else {
875
- config[prop] = value;
876
- }
877
- });
878
- if (cfg2.bundles) {
879
- eachProp(cfg2.bundles, function(value, prop) {
880
- each(value, function(v) {
881
- if (v !== prop) {
882
- bundlesMap[v] = prop;
883
- }
884
- });
885
- });
886
- }
887
- if (cfg2.shim) {
888
- eachProp(cfg2.shim, function(value, id) {
889
- if (isArray(value)) {
890
- value = {
891
- deps: value
892
- };
893
- }
894
- if ((value.exports || value.init) && !value.exportsFn) {
895
- value.exportsFn = context.makeShimExports(value);
896
- }
897
- shim[id] = value;
898
- });
899
- config.shim = shim;
900
- }
901
- if (cfg2.packages) {
902
- each(cfg2.packages, function(pkgObj) {
903
- var location, name;
904
- pkgObj = typeof pkgObj === "string" ? { name: pkgObj } : pkgObj;
905
- name = pkgObj.name;
906
- location = pkgObj.location;
907
- if (location) {
908
- config.paths[name] = pkgObj.location;
909
- }
910
- config.pkgs[name] = pkgObj.name + "/" + (pkgObj.main || "main").replace(currDirRegExp, "").replace(jsSuffixRegExp, "");
911
- });
912
- }
913
- eachProp(registry, function(mod, id) {
914
- if (!mod.inited && !mod.map.unnormalized) {
915
- mod.map = makeModuleMap(id, null, true);
916
- }
917
- });
918
- if (cfg2.deps || cfg2.callback) {
919
- context.require(cfg2.deps || [], cfg2.callback);
920
- }
921
- },
922
- makeShimExports: function(value) {
923
- function fn() {
924
- var ret;
925
- if (value.init) {
926
- ret = value.init.apply(global, arguments);
927
- }
928
- return ret || value.exports && getGlobal(value.exports);
929
- }
930
- return fn;
931
- },
932
- makeRequire: function(relMap, options) {
933
- options = options || {};
934
- function localRequire(deps, callback, errback) {
935
- var id, map, requireMod;
936
- if (options.enableBuildCallback && callback && isFunction(callback)) {
937
- callback.__requireJsBuild = true;
938
- }
939
- if (typeof deps === "string") {
940
- if (isFunction(callback)) {
941
- return onError(
942
- makeError("requireargs", "Invalid require call"),
943
- errback
944
- );
945
- }
946
- if (relMap && hasProp(handlers, deps)) {
947
- return handlers[deps](registry[relMap.id]);
948
- }
949
- if (req.get) {
950
- return req.get(context, deps, relMap, localRequire);
951
- }
952
- map = makeModuleMap(deps, relMap, false, true);
953
- id = map.id;
954
- if (!hasProp(defined, id)) {
955
- return onError(
956
- makeError(
957
- "notloaded",
958
- 'Module name "' + id + '" has not been loaded yet for context: ' + contextName + (relMap ? "" : ". Use require([])")
959
- )
960
- );
961
- }
962
- return defined[id];
963
- }
964
- intakeDefines();
965
- context.nextTick(function() {
966
- intakeDefines();
967
- requireMod = getModule(makeModuleMap(null, relMap));
968
- requireMod.skipMap = options.skipMap;
969
- requireMod.init(deps, callback, errback, {
970
- enabled: true
971
- });
972
- checkLoaded();
973
- });
974
- return localRequire;
975
- }
976
- mixin(localRequire, {
977
- isBrowser,
978
- /**
979
- * Converts a module name + .extension into an URL path.
980
- * *Requires* the use of a module name. It does not support using
981
- * plain URLs like nameToUrl.
982
- */
983
- toUrl: function(moduleNamePlusExt) {
984
- var ext, index = moduleNamePlusExt.lastIndexOf("."), segment = moduleNamePlusExt.split("/")[0], isRelative = segment === "." || segment === "..";
985
- if (index !== -1 && (!isRelative || index > 1)) {
986
- ext = moduleNamePlusExt.substring(
987
- index,
988
- moduleNamePlusExt.length
989
- );
990
- moduleNamePlusExt = moduleNamePlusExt.substring(0, index);
991
- }
992
- return context.nameToUrl(
993
- normalize(moduleNamePlusExt, relMap && relMap.id, true),
994
- ext,
995
- true
996
- );
997
- },
998
- defined: function(id) {
999
- return hasProp(defined, makeModuleMap(id, relMap, false, true).id);
1000
- },
1001
- specified: function(id) {
1002
- id = makeModuleMap(id, relMap, false, true).id;
1003
- return hasProp(defined, id) || hasProp(registry, id);
1004
- }
1005
- });
1006
- if (!relMap) {
1007
- localRequire.undef = function(id) {
1008
- takeGlobalQueue();
1009
- var map = makeModuleMap(id, relMap, true), mod = getOwn(registry, id);
1010
- mod.undefed = true;
1011
- removeScript(id);
1012
- delete defined[id];
1013
- delete urlFetched[map.url];
1014
- delete undefEvents[id];
1015
- eachReverse(defQueue, function(args, i) {
1016
- if (args[0] === id) {
1017
- defQueue.splice(i, 1);
1018
- }
1019
- });
1020
- delete context.defQueueMap[id];
1021
- if (mod) {
1022
- if (mod.events.defined) {
1023
- undefEvents[id] = mod.events;
1024
- }
1025
- cleanRegistry(id);
1026
- }
1027
- };
1028
- }
1029
- return localRequire;
1030
- },
1031
- /**
1032
- * @private
1033
- * Called to enable a module if it is still in the registry
1034
- * awaiting enablement. A second arg, parent, the parent module,
1035
- * is passed in for context, when this method is overridden by
1036
- * the optimizer. Not shown here to keep code compact.
1037
- */
1038
- enable: function(depMap) {
1039
- var mod = getOwn(registry, depMap.id);
1040
- if (mod) {
1041
- getModule(depMap).enable();
1042
- }
1043
- },
1044
- /**
1045
- * Internal method used by environment adapters to complete a load event.
1046
- * A load event could be a script load or just a load pass from a synchronous
1047
- * load call.
1048
- * @param {string} moduleName the name of the module to potentially complete.
1049
- * @private
1050
- */
1051
- completeLoad: function(moduleName) {
1052
- var found, args, mod, shim = getOwn(config.shim, moduleName) || {}, shExports = shim.exports;
1053
- takeGlobalQueue();
1054
- while (defQueue.length) {
1055
- args = defQueue.shift();
1056
- if (args[0] === null) {
1057
- args[0] = moduleName;
1058
- if (found) {
1059
- break;
1060
- }
1061
- found = true;
1062
- } else if (args[0] === moduleName) {
1063
- found = true;
1064
- }
1065
- callGetModule(args);
1066
- }
1067
- context.defQueueMap = {};
1068
- mod = getOwn(registry, moduleName);
1069
- if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) {
1070
- if (config.enforceDefine && (!shExports || !getGlobal(shExports))) {
1071
- if (hasPathFallback(moduleName)) {
1072
- return;
1073
- } else {
1074
- return onError(
1075
- makeError(
1076
- "nodefine",
1077
- "No define call for " + moduleName,
1078
- null,
1079
- [moduleName]
1080
- )
1081
- );
1082
- }
1083
- } else {
1084
- callGetModule([moduleName, shim.deps || [], shim.exportsFn]);
1085
- }
1086
- }
1087
- checkLoaded();
1088
- },
1089
- /**
1090
- * @private
1091
- * Converts a module name to a file path. Supports cases where
1092
- * moduleName may actually be just an URL.
1093
- * Note that it **does not** call normalize on the moduleName,
1094
- * it is assumed to have already been normalized. This is an
1095
- * internal API, not a public one. Use toUrl for the public API.
1096
- */
1097
- nameToUrl: function(moduleName, ext, skipExt) {
1098
- var paths, syms, i, parentModule, url, parentPath, bundleId, pkgMain = getOwn(config.pkgs, moduleName);
1099
- if (pkgMain) {
1100
- moduleName = pkgMain;
1101
- }
1102
- bundleId = getOwn(bundlesMap, moduleName);
1103
- if (bundleId) {
1104
- return context.nameToUrl(bundleId, ext, skipExt);
1105
- }
1106
- if (req.jsExtRegExp.test(moduleName)) {
1107
- url = moduleName + (ext || "");
1108
- } else {
1109
- paths = config.paths;
1110
- syms = moduleName.split("/");
1111
- for (i = syms.length; i > 0; i -= 1) {
1112
- parentModule = syms.slice(0, i).join("/");
1113
- parentPath = getOwn(paths, parentModule);
1114
- if (parentPath) {
1115
- if (isArray(parentPath)) {
1116
- parentPath = parentPath[0];
1117
- }
1118
- syms.splice(0, i, parentPath);
1119
- break;
1120
- }
1121
- }
1122
- url = syms.join("/");
1123
- url += ext || (/^data\:|\?/.test(url) || skipExt ? "" : ".js");
1124
- url = (url.charAt(0) === "/" || url.match(/^[\w\+\.\-]+:/) ? "" : config.baseUrl) + url;
1125
- }
1126
- return config.urlArgs ? url + ((url.indexOf("?") === -1 ? "?" : "&") + config.urlArgs) : url;
1127
- },
1128
- //Delegates to req.load. Broken out as a separate function to
1129
- //allow overriding in the optimizer.
1130
- load: function(id, url) {
1131
- req.load(context, id, url);
1132
- },
1133
- /**
1134
- * Executes a module callback function. Broken out as a separate function
1135
- * solely to allow the build system to sequence the files in the built
1136
- * layer in the right sequence.
1137
- *
1138
- * @private
1139
- */
1140
- execCb: function(name, callback, args, exports) {
1141
- return callback.apply(exports, args);
1142
- },
1143
- /**
1144
- * callback for script loads, used to check status of loading.
1145
- * @private
1146
- * @param {Event} evt the event from the browser for the script
1147
- * that was loaded.
1148
- */
1149
- onScriptLoad: function(evt) {
1150
- if (evt.type === "load" || readyRegExp.test((evt.currentTarget || evt.srcElement).readyState)) {
1151
- interactiveScript = null;
1152
- var data = getScriptData(evt);
1153
- context.completeLoad(data.id);
1154
- }
1155
- },
1156
- /**
1157
- * @private
1158
- * Callback for script errors.
1159
- */
1160
- onScriptError: function(evt) {
1161
- var data = getScriptData(evt);
1162
- if (!hasPathFallback(data.id)) {
1163
- return onError(
1164
- makeError("scripterror", "Script error for: " + data.id, evt, [
1165
- data.id
1166
- ])
1167
- );
1168
- }
1169
- }
1170
- };
1171
- context.require = context.makeRequire();
1172
- return context;
1173
- }
1174
- req = requirejs = function(deps, callback, errback, optional) {
1175
- var context, config, contextName = defContextName;
1176
- if (!isArray(deps) && typeof deps !== "string") {
1177
- config = deps;
1178
- if (isArray(callback)) {
1179
- deps = callback;
1180
- callback = errback;
1181
- errback = optional;
1182
- } else {
1183
- deps = [];
1184
- }
1185
- }
1186
- if (config && config.context) {
1187
- contextName = config.context;
1188
- }
1189
- context = getOwn(contexts, contextName);
1190
- if (!context) {
1191
- context = contexts[contextName] = req.s.newContext(contextName);
1192
- }
1193
- if (config) {
1194
- context.configure(config);
1195
- }
1196
- return context.require(deps, callback, errback);
1197
- };
1198
- req.config = function(config) {
1199
- return req(config);
1200
- };
1201
- req.nextTick = typeof setTimeout !== "undefined" ? function(fn) {
1202
- setTimeout(fn, 4);
1203
- } : function(fn) {
1204
- fn();
1205
- };
1206
- if (!require) {
1207
- require = req;
1208
- }
1209
- req.version = version;
1210
- req.jsExtRegExp = /^\/|:|\?|\.js$/;
1211
- req.isBrowser = isBrowser;
1212
- s = req.s = {
1213
- contexts,
1214
- newContext
1215
- };
1216
- req({});
1217
- each(["toUrl", "undef", "defined", "specified"], function(prop) {
1218
- req[prop] = function() {
1219
- var ctx = contexts[defContextName];
1220
- return ctx.require[prop].apply(ctx, arguments);
1221
- };
1222
- });
1223
- if (isBrowser) {
1224
- head = s.head = document.getElementsByTagName("head")[0];
1225
- baseElement = document.getElementsByTagName("base")[0];
1226
- if (baseElement) {
1227
- head = s.head = baseElement.parentNode;
1228
- }
1229
- }
1230
- req.onError = defaultOnError;
1231
- req.createNode = function(config, moduleName, url) {
1232
- var node = config.xhtml ? document.createElementNS("http://www.w3.org/1999/xhtml", "html:script") : document.createElement("script");
1233
- node.type = config.scriptType || "text/javascript";
1234
- node.charset = "utf-8";
1235
- node.async = true;
1236
- return node;
1237
- };
1238
- req.load = function(context, moduleName, url) {
1239
- var config = context && context.config || {}, node;
1240
- if (isBrowser) {
1241
- node = req.createNode(config, moduleName, url);
1242
- if (config.onNodeCreated) {
1243
- config.onNodeCreated(node, config, moduleName, url);
1244
- }
1245
- node.setAttribute("data-requirecontext", context.contextName);
1246
- node.setAttribute("data-requiremodule", moduleName);
1247
- if (node.attachEvent && //Check if node.attachEvent is artificially added by custom script or
1248
- //natively supported by browser
1249
- //read https://github.com/jrburke/requirejs/issues/187
1250
- //if we can NOT find [native code] then it must NOT natively supported.
1251
- //in IE8, node.attachEvent does not have toString()
1252
- //Note the test for "[native code" with no closing brace, see:
1253
- //https://github.com/jrburke/requirejs/issues/273
1254
- !(node.attachEvent.toString && node.attachEvent.toString().indexOf("[native code") < 0) && !isOpera) {
1255
- useInteractive = true;
1256
- node.attachEvent("onreadystatechange", context.onScriptLoad);
1257
- } else {
1258
- node.addEventListener("load", context.onScriptLoad, false);
1259
- node.addEventListener("error", context.onScriptError, false);
1260
- }
1261
- node.src = url;
1262
- currentlyAddingScript = node;
1263
- if (baseElement) {
1264
- head.insertBefore(node, baseElement);
1265
- } else {
1266
- head.appendChild(node);
1267
- }
1268
- currentlyAddingScript = null;
1269
- return node;
1270
- } else if (isWebWorker) {
1271
- try {
1272
- importScripts(url);
1273
- context.completeLoad(moduleName);
1274
- } catch (e) {
1275
- context.onError(
1276
- makeError(
1277
- "importscripts",
1278
- "importScripts failed for " + moduleName + " at " + url,
1279
- e,
1280
- [moduleName]
1281
- )
1282
- );
1283
- }
1284
- }
1285
- };
1286
- function getInteractiveScript() {
1287
- if (interactiveScript && interactiveScript.readyState === "interactive") {
1288
- return interactiveScript;
1289
- }
1290
- eachReverse(scripts(), function(script) {
1291
- if (script.readyState === "interactive") {
1292
- return interactiveScript = script;
1293
- }
1294
- });
1295
- return interactiveScript;
1296
- }
1297
- if (isBrowser && !cfg.skipDataMain) {
1298
- eachReverse(scripts(), function(script) {
1299
- if (!head) {
1300
- head = script.parentNode;
1301
- }
1302
- dataMain = script.getAttribute("data-main");
1303
- if (dataMain) {
1304
- mainScript = dataMain;
1305
- if (!cfg.baseUrl) {
1306
- src = mainScript.split("/");
1307
- mainScript = src.pop();
1308
- subPath = src.length ? src.join("/") + "/" : "./";
1309
- cfg.baseUrl = subPath;
1310
- }
1311
- mainScript = mainScript.replace(jsSuffixRegExp, "");
1312
- if (req.jsExtRegExp.test(mainScript)) {
1313
- mainScript = dataMain;
1314
- }
1315
- cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript];
1316
- return true;
1317
- }
1318
- });
1319
- }
1320
- define = function(name, deps, callback) {
1321
- var node, context;
1322
- if (typeof name !== "string") {
1323
- callback = deps;
1324
- deps = name;
1325
- name = null;
1326
- }
1327
- if (!isArray(deps)) {
1328
- callback = deps;
1329
- deps = null;
1330
- }
1331
- if (!deps && isFunction(callback)) {
1332
- deps = [];
1333
- if (callback.length) {
1334
- callback.toString().replace(commentRegExp, "").replace(cjsRequireRegExp, function(match, dep) {
1335
- deps.push(dep);
1336
- });
1337
- deps = (callback.length === 1 ? ["require"] : ["require", "exports", "module"]).concat(deps);
1338
- }
1339
- }
1340
- if (useInteractive) {
1341
- node = currentlyAddingScript || getInteractiveScript();
1342
- if (node) {
1343
- if (!name) {
1344
- name = node.getAttribute("data-requiremodule");
1345
- }
1346
- context = contexts[node.getAttribute("data-requirecontext")];
1347
- }
1348
- }
1349
- if (context) {
1350
- context.defQueue.push([name, deps, callback]);
1351
- context.defQueueMap[name] = true;
1352
- } else {
1353
- globalDefQueue.push([name, deps, callback]);
1354
- }
1355
- };
1356
- define.amd = {
1357
- jQuery: true
1358
- };
1359
- req.exec = function(text) {
1360
- return eval(text);
1361
- };
1362
- req(cfg);
1363
- })(this);