@visitscotland/component-library 5.41.6 → 5.42.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.
Files changed (395) hide show
  1. package/dist/client/manifest.json +1583 -1479
  2. package/dist/client/scripts/0036243f84e83014237c.js +1 -1
  3. package/dist/client/scripts/00ccd7949f170b3d738d.js +1 -1
  4. package/dist/client/scripts/01554a4fdde2d61b4d49.js +1 -1
  5. package/dist/client/scripts/{a397c46fe765889eba59.js → 01b8e76e714348e01802.js} +1 -1
  6. package/dist/client/scripts/0389a15654d3a45aab1a.js +1 -1
  7. package/dist/client/scripts/04b71860f29844231b00.js +1 -1
  8. package/dist/client/scripts/{e94da6d3801ebb02d8ce.js → 05460edc897f6e35c50e.js} +1 -1
  9. package/dist/client/scripts/056cd8933beea0edc19e.js +1 -1
  10. package/dist/client/scripts/{19a97f4c8217fe493368.js → 05964f039507c464d344.js} +1 -1
  11. package/dist/client/scripts/093dbadb21acf4310ea2.js +1 -1
  12. package/dist/client/scripts/0965942c287f6c10c83a.js +1 -1
  13. package/dist/client/scripts/{0da964d971a554507734.js → 096a1dc72c78b8176a60.js} +1 -1
  14. package/dist/client/scripts/{5389ee753606f9248ce8.js → 09ae016b64791f86ce4a.js} +1 -1
  15. package/dist/client/scripts/09efaf35581f94d9341a.js +1 -1
  16. package/dist/client/scripts/0a73fba3841d42f4062e.js +1 -1
  17. package/dist/client/scripts/0cb36cf0019d0d1516a9.js +1 -0
  18. package/dist/client/scripts/0e836ffbc4a97ef8a4fb.js +1 -1
  19. package/dist/client/scripts/0eccccf491d2d8c15ec2.js +1 -1
  20. package/dist/client/scripts/{2122d479f8a8a3d5a02e.js → 0efef27882999582a48c.js} +1 -1
  21. package/dist/client/scripts/108124f3353174a3c98b.js +1 -1
  22. package/dist/client/scripts/10c8c43c2d1d2c9c3ac6.js +1 -1
  23. package/dist/client/scripts/{149849e9e46fa12a6d57.js → 11bdf203d8398fc93aea.js} +1 -1
  24. package/dist/client/scripts/1262d9eb296be8be48b9.js +1 -1
  25. package/dist/client/scripts/{d46534bfd4639ca6592e.js → 12f9d7e13904294edfc5.js} +1 -1
  26. package/dist/client/scripts/{72709ccc1d539e0e7922.js → 12fa4d6469761cdb8326.js} +1 -1
  27. package/dist/client/scripts/{bff2361f88ee3867b9b5.js → 144d2007e1b1a85b5cec.js} +1 -1
  28. package/dist/client/scripts/{607805f92c511232d42e.js → 14552227c097ba45d96d.js} +1 -1
  29. package/dist/client/scripts/15e9f022c7952c07e6ce.js +1 -1
  30. package/dist/client/scripts/16a3a76ec493d5af9559.js +1 -1
  31. package/dist/client/scripts/16d1b6f2e9d13a059244.js +1 -1
  32. package/dist/client/scripts/16f08d577a78d2740818.js +1 -1
  33. package/dist/client/scripts/17bca51c0b3e12105894.js +1 -1
  34. package/dist/client/scripts/1970d55f90fe220cf58b.js +1 -1
  35. package/dist/client/scripts/1aae8117699af5bed418.js +1 -1
  36. package/dist/client/scripts/1c048832077af161ca70.js +1 -1
  37. package/dist/client/scripts/{e31c75f05ebcf9568c26.js → 1cf0a84b704943e20542.js} +1 -1
  38. package/dist/client/scripts/1dab8b823a9fc7be9e7d.js +1 -1
  39. package/dist/client/scripts/{830e7f83c507e3b81403.js → 1de9c5ad01140bfb6ca5.js} +1 -1
  40. package/dist/client/scripts/{4e22e8c6d6968c8bb509.js → 1f4d80572006cd3ff28e.js} +1 -1
  41. package/dist/client/scripts/{4626c48ced549c077e3e.js → 201941464a25dc50dcec.js} +1 -1
  42. package/dist/client/scripts/{c21a6c36e3568bdc534f.js → 20d05ca262d096564101.js} +1 -1
  43. package/dist/client/scripts/{d0754b4aa24deddb7245.js → 21711e87222aa129f005.js} +1 -1
  44. package/dist/client/scripts/2290109a2b19f24f7f67.js +1 -1
  45. package/dist/client/scripts/23889a0a798b09d499c1.js +1 -1
  46. package/dist/client/scripts/{f443edb707d72594a1e7.js → 239e8acfb9f1a566c62f.js} +1 -1
  47. package/dist/client/scripts/24070a0f940f8ed87a1c.js +1 -1
  48. package/dist/client/scripts/{adc43fc9fa9ee3c85f21.js → 281fbf5ff6ca8953bd94.js} +1 -1
  49. package/dist/client/scripts/29d2385ba08f0023585c.js +1 -1
  50. package/dist/client/scripts/2a0d066c05ce80ef84a2.js +1 -1
  51. package/dist/client/scripts/2a74d3661f1aeb64da2d.js +1 -1
  52. package/dist/client/scripts/2bdd4484eaf0f7c7bc7d.js +1 -1
  53. package/dist/client/scripts/2d931eb506983939dee2.js +1 -1
  54. package/dist/client/scripts/2e41422c35f0d8147936.js +1 -1
  55. package/dist/client/scripts/2fb997a43b43bfb18687.js +1 -1
  56. package/dist/client/scripts/{958dc3347b4c79ae92f0.js → 3173dc863274aa930452.js} +1 -1
  57. package/dist/client/scripts/31cc034791fd8fed08dc.js +1 -1
  58. package/dist/client/scripts/{209af26331fa5efbb1e0.js → 34684cbbfd8f07dd7939.js} +1 -1
  59. package/dist/client/scripts/350b5411ffc3a7b4a42a.js +1 -0
  60. package/dist/client/scripts/{678be80c89eff10efccf.js → 370e6150fbd0dccf34c7.js} +2 -2
  61. package/dist/client/scripts/378133b962494b0328be.js +1 -1
  62. package/dist/client/scripts/38875405be2461bf6367.js +1 -1
  63. package/dist/client/scripts/38d5589b9158ab8e7423.js +1 -1
  64. package/dist/client/scripts/392a233a558e074c70d9.js +1 -1
  65. package/dist/client/scripts/393fa3ee68d9e76e6def.js +1 -1
  66. package/dist/client/scripts/3967efd5a872171e7230.js +1 -1
  67. package/dist/client/scripts/{784d227f712ddb91cb2a.js → 39bd197d7d1f66f65105.js} +1 -1
  68. package/dist/client/scripts/3a54f6b2d5b91ff395dc.js +1 -1
  69. package/dist/client/scripts/3aaefce16b5df1479178.js +1 -1
  70. package/dist/client/scripts/3ae3625c5b179d3021e9.js +1 -1
  71. package/dist/client/scripts/3c5baf37fc4cdec110f6.js +1 -1
  72. package/dist/client/scripts/3cf61618bc3263a1c0c9.js +1 -1
  73. package/dist/client/scripts/3ea2352e8a94ddc6dc8a.js +1 -1
  74. package/dist/client/scripts/{336dc65beaffd0fe9728.js → 404c0b7cff4d305398c5.js} +1 -1
  75. package/dist/client/scripts/406e9909758efdb1ae29.js +1 -1
  76. package/dist/client/scripts/408bd09f6eb4f00d6659.js +1 -1
  77. package/dist/client/scripts/416c4f28b6594389fb58.js +1 -0
  78. package/dist/client/scripts/41dea7515c49fbb37cd0.js +1 -1
  79. package/dist/client/scripts/41f72194eda6300eda07.js +1 -0
  80. package/dist/client/scripts/42233f90e1246c3d508e.js +1 -1
  81. package/dist/client/scripts/427f4a836835f87aa5a6.js +1 -0
  82. package/dist/client/scripts/{dba3948d8b668e96cee6.js → 45ea777abdc94a4fe90a.js} +1 -1
  83. package/dist/client/scripts/{58473b34392d3edecc6c.js → 49ab77897fd7265e3bf1.js} +1 -1
  84. package/dist/client/scripts/{1c5e74a53e980a13c560.js → 4a5baf290bdcb8866cb3.js} +1 -1
  85. package/dist/client/scripts/4a7dd18ce8648d5f3748.js +1 -1
  86. package/dist/client/scripts/{7c55ed358f5750245829.js → 4af4fb2e7934b3943d68.js} +1 -1
  87. package/dist/client/scripts/{bd3814764b1c7e8c5751.js → 4f47ffaa9a5862cc51d1.js} +1 -1
  88. package/dist/client/scripts/5032a70c599e2f468071.js +1 -1
  89. package/dist/client/scripts/507d772ea7c3ad69cd02.js +1 -1
  90. package/dist/client/scripts/509216b4e74f11f64f80.js +1 -0
  91. package/dist/client/scripts/{0de83ee7e84dc3cca135.js → 50d64cdbfaa0c7f02bff.js} +1 -1
  92. package/dist/client/scripts/51240b9c502b2993bd72.js +1 -1
  93. package/dist/client/scripts/{83df837d0feb863dfcd9.js → 51b02e9cc8dcce007d09.js} +1 -1
  94. package/dist/client/scripts/{9a3456d670f8b4d54fa7.js → 527999b00f27717c8e3d.js} +1 -1
  95. package/dist/client/scripts/53251829ca5de2bf36fe.js +1 -0
  96. package/dist/client/scripts/5338ba2c1a300fb817ad.js +1 -1
  97. package/dist/client/scripts/{4db66c860932e8c611a3.js → 56b154fca6dd1d2717ab.js} +1 -1
  98. package/dist/client/scripts/5828c72a7124a5bcb563.js +1 -0
  99. package/dist/client/scripts/59ab7b4a6827442b90c7.js +1 -1
  100. package/dist/client/scripts/5a4a97205da676950fcf.js +1 -0
  101. package/dist/client/scripts/{529b4b855c5a64c0b642.js → 5ba4f0c291b89c266862.js} +1 -1
  102. package/dist/client/scripts/5bfe1a52e5e438b16b80.js +1 -1
  103. package/dist/client/scripts/5d1cdcc8987a6cc186f0.js +1 -1
  104. package/dist/client/scripts/{544b6969eedda98a4909.js → 5eb42ef6d08a351ed72d.js} +1 -1
  105. package/dist/client/scripts/6011db9e93655179bce2.js +1 -1
  106. package/dist/client/scripts/{7920255a5c68d97e99d9.js → 6017d8191657aaded718.js} +1 -1
  107. package/dist/client/scripts/60e11eae5d8e305a26b5.js +1 -1
  108. package/dist/client/scripts/{aaf155991bb2554936c0.js → 61640640348bfae9911a.js} +1 -1
  109. package/dist/client/scripts/6198cadc6ef977ea0b7f.js +1 -1
  110. package/dist/client/scripts/6231f7cde1c1a252e3ff.js +1 -1
  111. package/dist/client/scripts/{c6fcd69688050e54270d.js → 63325e5621b93d481e33.js} +1 -1
  112. package/dist/client/scripts/6426b3dc3b49d5317801.js +1 -0
  113. package/dist/client/scripts/6482c0db9dfb95939fd0.js +1 -1
  114. package/dist/client/scripts/{b1786948f0135f272a09.js → 656320e03d581a8ea0e1.js} +1 -1
  115. package/dist/client/scripts/65f43123fc14b35b64d1.js +2 -0
  116. package/dist/client/scripts/662de3a6d0e84564965f.js +1 -1
  117. package/dist/client/scripts/66d53fffb25ec07a1aa7.js +1 -1
  118. package/dist/client/scripts/66d5a4a2cf08cdaa86bb.js +1 -1
  119. package/dist/client/scripts/69230c65912cdd38a584.js +1 -1
  120. package/dist/client/scripts/{1077b219313276c21765.js → 6946e6aba0f938c33d41.js} +1 -1
  121. package/dist/client/scripts/697dab8ed79ec60a309b.js +1 -1
  122. package/dist/client/scripts/{eda3d84b5c7ef1cf832f.js → 69bcf40c72866c57569c.js} +1 -1
  123. package/dist/client/scripts/{205795ceed348c421487.js → 6b8c01aec2b272c579b2.js} +1 -1
  124. package/dist/client/scripts/{c183f805ae8a659449f3.js → 6c01c3fecf56394f299c.js} +1 -1
  125. package/dist/client/scripts/6dcc7e68252e013045d4.js +1 -1
  126. package/dist/client/scripts/{529a6860261e6074f3d1.js → 6e12a7ec94aa04c9e19a.js} +1 -1
  127. package/dist/client/scripts/{f446782fd7a7a2f8aaef.js → 6ec32a52d983bd17d964.js} +1 -1
  128. package/dist/client/scripts/{60cb2189fbc7f98e341c.js → 6eef2c349f99513c7605.js} +1 -1
  129. package/dist/client/scripts/{b43eabedc3d8cb405b13.js → 6f304354b9d063f6a388.js} +1 -1
  130. package/dist/client/scripts/6f579b91d024f526a37f.js +1 -1
  131. package/dist/client/scripts/701b3f29f72a42f4ba5b.js +1 -1
  132. package/dist/client/scripts/{e72a9fa25e0cb614b047.js → 7021a1aa103adb4c0afb.js} +1 -1
  133. package/dist/client/scripts/{69c0b19f9b3d9637c86d.js → 70613f88c015cb23628f.js} +1 -1
  134. package/dist/client/scripts/70b382267b5513186329.js +2 -0
  135. package/dist/client/scripts/71ef2d367311e6e5bc86.js +1 -1
  136. package/dist/client/scripts/73b00f60638d900381f9.js +2 -0
  137. package/dist/client/scripts/73b00f60638d900381f9.js.LICENSE.txt +5 -0
  138. package/dist/client/scripts/746da613bad15ee3dcff.js +1 -1
  139. package/dist/client/scripts/74ecbb4b7b820d191d79.js +1 -1
  140. package/dist/client/scripts/{52ead081f08a937878ce.js → 764708e59c9e117d7d05.js} +1 -1
  141. package/dist/client/scripts/{3e5daaae9842486f22de.js → 773d825d249ad0676725.js} +1 -1
  142. package/dist/client/scripts/{dfb0649a31917de093b0.js → 785f5aedccd25328545f.js} +1 -1
  143. package/dist/client/scripts/7bd6628181af41e6fc20.js +1 -1
  144. package/dist/client/scripts/{c44d2718bc46a06944c9.js → 7c47a608596fd7e340ac.js} +1 -1
  145. package/dist/client/scripts/{ac814e350b080b08f5fe.js → 7d74987d7c93713490df.js} +1 -1
  146. package/dist/client/scripts/7dc60eea744dfc329db1.js +1 -0
  147. package/dist/client/scripts/7e85f5e695d079dca886.js +2 -0
  148. package/dist/client/scripts/7e85f5e695d079dca886.js.LICENSE.txt +1 -0
  149. package/dist/client/scripts/7f80929b1cc1047be1c9.js +1 -1
  150. package/dist/client/scripts/{22e270f311f56a5407cb.js → 7f95fbcd683062c20173.js} +1 -1
  151. package/dist/client/scripts/80482a16fe24140d2a21.js +1 -1
  152. package/dist/client/scripts/804a497cb44fe949310e.js +1 -1
  153. package/dist/client/scripts/815b2ba5fab54eebb5ca.js +1 -1
  154. package/dist/client/scripts/84e8cb222b65ef8c7fd7.js +1 -1
  155. package/dist/client/scripts/8537711ac020c8f29676.js +1 -1
  156. package/dist/client/scripts/{2e92c9f1881a5f4f24d8.js → 858d0a582e7ad0c11188.js} +1 -1
  157. package/dist/client/scripts/86714d804290b9ba22f6.js +1 -1
  158. package/dist/client/scripts/867ee96ab822b2070c40.js +1 -1
  159. package/dist/client/scripts/87437d71b7ed0a627316.js +1 -1
  160. package/dist/client/scripts/8773147ebc61bee2e1a6.js +1 -1
  161. package/dist/client/scripts/88b02946d875717c7892.js +1 -1
  162. package/dist/client/scripts/8a563c21fcd39c3edc64.js +1 -1
  163. package/dist/client/scripts/{6b3a9814dfe9345f60db.js → 8f0d8b6f4cf5ea5d32e3.js} +1 -1
  164. package/dist/client/scripts/9017b70932ac98380220.js +1 -1
  165. package/dist/client/scripts/914125d34a0c8421839d.js +1 -1
  166. package/dist/client/scripts/91501cfefb3e9beeffa4.js +1 -1
  167. package/dist/client/scripts/91d074c85ca207348249.js +1 -1
  168. package/dist/client/scripts/91f5a130ef63276c95f1.js +1 -1
  169. package/dist/client/scripts/92e2f55c77c0b9473c56.js +1 -1
  170. package/dist/client/scripts/92f88dfc1b040e6657db.js +1 -1
  171. package/dist/client/scripts/9324abfa574340eb6ede.js +1 -1
  172. package/dist/client/scripts/933d633cb47a3304650c.js +1 -1
  173. package/dist/client/scripts/{e0f5acc47ed5ca962695.js → 934ef1913852643b8075.js} +1 -1
  174. package/dist/client/scripts/93891a876d2976d9805f.js +1 -1
  175. package/dist/client/scripts/9486014a6b617075b94c.js +1 -1
  176. package/dist/client/scripts/95239a6c2ab36a9f67e8.js +1 -1
  177. package/dist/client/scripts/955225d756ed3c4e0856.js +1 -0
  178. package/dist/client/scripts/{61e2b5d6d91ac1f79caa.js → 969be097de0ece70a219.js} +1 -1
  179. package/dist/client/scripts/{c92d18059ca7a5fa187e.js → 9795b08c4ac3d39aa734.js} +1 -1
  180. package/dist/client/scripts/980215f15338a4638935.js +1 -1
  181. package/dist/client/scripts/9865e2574c6d07158054.js +1 -1
  182. package/dist/client/scripts/{8bff3de4212bafab4077.js → 9a240e0b21d636d1a38b.js} +1 -1
  183. package/dist/client/scripts/{eab0059cfa57db0af11c.js → 9be66e00b94134bf8ba1.js} +1 -1
  184. package/dist/client/scripts/9c4c4822a484f5a5ad19.js +1 -1
  185. package/dist/client/scripts/9c9ffd5549b3beb747e8.js +1 -0
  186. package/dist/client/scripts/{382fbb35d40be45010f0.js → 9e4f9b5ccf6374929ffd.js} +1 -1
  187. package/dist/client/scripts/{5c2b82e012d3f482ead3.js → 9f3a445b7e4a1376917a.js} +1 -1
  188. package/dist/client/scripts/a1e09e772d99a582aca6.js +1 -1
  189. package/dist/client/scripts/a256e0ec3a4d4952396d.js +1 -0
  190. package/dist/client/scripts/a299cbe3889cd21cace8.js +1 -1
  191. package/dist/client/scripts/a2fe354aca6970fedba6.js +1 -1
  192. package/dist/client/scripts/a3125245058e27361bb2.js +1 -1
  193. package/dist/client/scripts/{138cfedbc9aa0fb82acc.js → a35c162c99ace4b92eff.js} +1 -1
  194. package/dist/client/scripts/a3f9d1ecae4ff253fe3e.js +1 -0
  195. package/dist/client/scripts/a451e339bbbf4c755dd2.js +1 -1
  196. package/dist/client/scripts/{55b1f27dcbab64e7f0b4.js → a4919aaeec2b21a6fbc1.js} +1 -1
  197. package/dist/client/scripts/a49c74188fc5251d8b65.js +1 -1
  198. package/dist/client/scripts/a4dcfa11d11e734e715b.js +2 -0
  199. package/dist/client/scripts/{6544d845ce286c6cf7f6.js.LICENSE.txt → a4dcfa11d11e734e715b.js.LICENSE.txt} +1 -1
  200. package/dist/client/scripts/{2f0aa96a3867425b917c.js → a54ed3a84366af42e9e7.js} +1 -1
  201. package/dist/client/scripts/a57475df7173017e6067.js +1 -0
  202. package/dist/client/scripts/{de48ab96f2314589c8f5.js → a5fc4d479e8511e4eb2b.js} +1 -1
  203. package/dist/client/scripts/a67dfcc6f9de1ceaf9d9.js +1 -1
  204. package/dist/client/scripts/a6d598ec76e67174f994.js +1 -1
  205. package/dist/client/scripts/a74cc1abc33d10c98576.js +1 -1
  206. package/dist/client/scripts/a7dbd4ea0593cac5da1e.js +1 -1
  207. package/dist/client/scripts/a7f81a333cfee151ffc8.js +1 -1
  208. package/dist/client/scripts/a8c732ef4e6bb196c696.js +1 -1
  209. package/dist/client/scripts/{23c68f0836ee164afc97.js → a95791db9a4415066336.js} +1 -1
  210. package/dist/client/scripts/a964116d7226e0252a4e.js +1 -0
  211. package/dist/client/scripts/a98815c8466bb8a199d5.js +1 -1
  212. package/dist/client/scripts/a9887918f6748e99e5e6.js +1 -1
  213. package/dist/client/scripts/a98a1c78a6e495be1fe3.js +1 -1
  214. package/dist/client/scripts/a98ae546a5412a626205.js +1 -1
  215. package/dist/client/scripts/aa420ba8f8c0b546ec1b.js +1 -1
  216. package/dist/client/scripts/ab31c58b4b87e68b35fb.js +1 -1
  217. package/dist/client/scripts/abe7bec6335799afee09.js +1 -1
  218. package/dist/client/scripts/ac9413fc9a5f74284fd0.js +1 -1
  219. package/dist/client/scripts/ace1879f1508cfa2945b.js +1 -0
  220. package/dist/client/scripts/ada91090ef1c52557dc9.js +1 -1
  221. package/dist/client/scripts/ae547edbc8099702ba5a.js +1 -1
  222. package/dist/client/scripts/ae596ff1996c280c202c.js +1 -1
  223. package/dist/client/scripts/aed82b4abb9926126fdd.js +1 -1
  224. package/dist/client/scripts/{23b4b0e265088d24449e.js → af9276e8bebe0ab20336.js} +1 -1
  225. package/dist/client/scripts/affc2dc765c1741a7319.js +1 -1
  226. package/dist/client/scripts/b1590b789b54502c0272.js +1 -1
  227. package/dist/client/scripts/b28351429658bbe84c2b.js +1 -1
  228. package/dist/client/scripts/{580a33d2a6fd7fafab2e.js → b28545c066f1d7392f38.js} +1 -1
  229. package/dist/client/scripts/{4adaa88e55937e122c02.js → b6fd2ab6730d6bb9bcdf.js} +1 -1
  230. package/dist/client/scripts/b83b6b4191840a25baa5.js +1 -1
  231. package/dist/client/scripts/{b12061cee6bd7ef0da0b.js → b951d27fb7938085152b.js} +1 -1
  232. package/dist/client/scripts/{3abc2630f32e1ddf96d3.js → baf3f29cb863c2f70914.js} +1 -1
  233. package/dist/client/scripts/bb787f3765349db90879.js +1 -0
  234. package/dist/client/scripts/{33243d5f6375a35a5b08.js → bce7cfcab89665d7843d.js} +1 -1
  235. package/dist/client/scripts/{2862716c5f1748b88abf.js → bcffe26cebcae8869796.js} +1 -1
  236. package/dist/client/scripts/becfc64a7cf18580f64b.js +1 -1
  237. package/dist/client/scripts/bf0781d3e1fda7aaf432.js +1 -1
  238. package/dist/client/scripts/c07d2bb6aab9b5629d10.js +1 -1
  239. package/dist/client/scripts/{f2a2f7927eed677de0fb.js → c10411cb2fb0d1e96b39.js} +1 -1
  240. package/dist/client/scripts/c26ce260299263eeb8bb.js +1 -1
  241. package/dist/client/scripts/c3622d52d3929b8ce67a.js +1 -1
  242. package/dist/client/scripts/{e8055817c34ca7f2e0d1.js → c3768b5966b8ae4dfaec.js} +1 -1
  243. package/dist/client/scripts/{31bdae30a445f8caf38d.js → c385596749afa7bb3263.js} +1 -1
  244. package/dist/client/scripts/c481d06a2d00d82eaaad.js +1 -0
  245. package/dist/client/scripts/{17f050e8fbf954ca4400.js → c4988b34044304274bd5.js} +1 -1
  246. package/dist/client/scripts/c5f1674416359d3591b6.js +1 -1
  247. package/dist/client/scripts/c851b9c277a957cfd5d1.js +1 -0
  248. package/dist/client/scripts/ca79fa2a1ed7e82e450a.js +1 -1
  249. package/dist/client/scripts/{eb9ab6dd707734630876.js → cb6f19fdf5a3339ce13a.js} +1 -1
  250. package/dist/client/scripts/{18fdae02c01f35f20b11.js → cbc09cc950a1dd22d943.js} +1 -1
  251. package/dist/client/scripts/ccbc92304043924d021b.js +1 -1
  252. package/dist/client/scripts/{e6d875a37c62f3d3e561.js → cdb04a3db8b41eabef26.js} +1 -1
  253. package/dist/client/scripts/{9a83b42dbc369d0277e6.js → ce0c092a8914dd6ea4bc.js} +1 -1
  254. package/dist/client/scripts/ce762c959cf9b699acf8.js +1 -1
  255. package/dist/client/scripts/d014754e0eff762e6ca9.js +1 -1
  256. package/dist/client/scripts/d014f1abc1fcc90b5657.js +1 -1
  257. package/dist/client/scripts/d2b70350d3fa2cef0e39.js +1 -1
  258. package/dist/client/scripts/d307d2e9cf655c179d77.js +1 -1
  259. package/dist/client/scripts/{8ce2d092e29a43286f3c.js → d3290ba9c36afffcdaf5.js} +1 -1
  260. package/dist/client/scripts/d39f4c3cff0aeebb9f76.js +1 -1
  261. package/dist/client/scripts/d3aa563c4024f80b82d0.js +1 -1
  262. package/dist/client/scripts/d63d97bbaaf166541301.js +1 -0
  263. package/dist/client/scripts/d7a62916cee4d6e2b444.js +1 -1
  264. package/dist/client/scripts/{886d531d72735c6d34f0.js → d84d483d866959c361e3.js} +1 -1
  265. package/dist/client/scripts/d8502c8331a1e69286ed.js +1 -1
  266. package/dist/client/scripts/{a6130794c1d33d80488a.js → d90312afbc1bfd9f5a0d.js} +1 -1
  267. package/dist/client/scripts/db30cb86f2d695ff6d1c.js +1 -1
  268. package/dist/client/scripts/dc16b2fd8f77226e3fd5.js +1 -1
  269. package/dist/client/scripts/dca2c65879ee8c6fe5e7.js +1 -1
  270. package/dist/client/scripts/ddc4d2ea575a50bc4ae3.js +1 -1
  271. package/dist/client/scripts/de137222b71f4b8d7f47.js +1 -1
  272. package/dist/client/scripts/df56e8276b6973df6c3c.js +1 -1
  273. package/dist/client/scripts/dfab0d5501435b36f6fb.js +1 -1
  274. package/dist/client/scripts/e02282a148d07c58be1b.js +1 -0
  275. package/dist/client/scripts/e0ae6eb532e9deca95b9.js +1 -1
  276. package/dist/client/scripts/e0c5487ea1f49ba55654.js +1 -1
  277. package/dist/client/scripts/{43f8d26f8aecf79a4b3a.js → e1041a8f8fee37da9f64.js} +1 -1
  278. package/dist/client/scripts/{55718fd925b0c6f0c0fd.js → e19441594c72c7e33187.js} +1 -1
  279. package/dist/client/scripts/e2b91f9e13b86ff8389c.js +1 -1
  280. package/dist/client/scripts/e32ea532d3a6b8476e8e.js +1 -1
  281. package/dist/client/scripts/{38318d710c41e17d02b6.js → e40e16f802cba2b38cd0.js} +1 -1
  282. package/dist/client/scripts/{2cd9d0c7890646526851.js → e50f735e24a5511e4fe7.js} +1 -1
  283. package/dist/client/scripts/e53c02752abb05f93abd.js +2 -0
  284. package/dist/client/scripts/e555e6f7c093044467bd.js +1 -1
  285. package/dist/client/scripts/e600798c21b1e4b3421a.js +1 -1
  286. package/dist/client/scripts/e60fe8e9115fe7dd13cf.js +1 -1
  287. package/dist/client/scripts/e6e11ced2410e20b8d71.js +1 -1
  288. package/dist/client/scripts/e7b33c7b9c52aa2c42fb.js +1 -1
  289. package/dist/client/scripts/{e84e2c99fac618724a6b.js → e835ff260d3fbc62fe97.js} +1 -1
  290. package/dist/client/scripts/e86000417aa87698de4d.js +1 -1
  291. package/dist/client/scripts/e8e60da8c8779e8707b7.js +1 -0
  292. package/dist/client/scripts/e949a288ca740fd5e306.js +1 -1
  293. package/dist/client/scripts/e97cb8c56d2e5ca10a9b.js +1 -1
  294. package/dist/client/scripts/{c0448d3c462e3deb1993.js → ebd5c31d99bfb280a1c4.js} +1 -1
  295. package/dist/client/scripts/ebe3c46ecbab47f14ec8.js +1 -0
  296. package/dist/client/scripts/ed99cbfe5e38529fe2fb.js +1 -0
  297. package/dist/client/scripts/eeab9a15254a348ad026.js +1 -0
  298. package/dist/client/scripts/eeaf7a5064376c23e2fd.js +1 -1
  299. package/dist/client/scripts/{04dfed6889eaadd2afd5.js → f059d5c14973f89cc511.js} +1 -1
  300. package/dist/client/scripts/f1fc1db1d8256f3c8b0f.js +1 -1
  301. package/dist/client/scripts/f277be41b5d66b178431.js +1 -1
  302. package/dist/client/scripts/f2cfbc8d04d591718bf9.js +1 -1
  303. package/dist/client/scripts/f2ef165911bb1b115aad.js +1 -1
  304. package/dist/client/scripts/f463c441cd83d40c3f8f.js +1 -1
  305. package/dist/client/scripts/f4dd172b8568997dcdf4.js +2 -0
  306. package/dist/client/scripts/f75efc7d112f59f0bf9c.js +1 -1
  307. package/dist/client/scripts/{4bd0e0de8052cba02172.js → f812bdfd78927c2b61fe.js} +1 -1
  308. package/dist/client/scripts/{6a18930893f1bec771d8.js → f8e071a1b88fcd7db10a.js} +1 -1
  309. package/dist/client/scripts/f94be4a838d4a8146c32.js +1 -1
  310. package/dist/client/scripts/{ab4c23c9be69cc8dc10a.js → fbd887d0bca0878a38f9.js} +1 -1
  311. package/dist/client/scripts/{2a512ada29fd6340b561.js → fbf1755027488e5b0cfb.js} +1 -1
  312. package/dist/client/scripts/fc63ac8b05db08b3486b.js +1 -0
  313. package/dist/client/scripts/fddbb5023e794ab0f98a.js +1 -1
  314. package/dist/client/scripts/{af5952182a294bc0aa31.js → fec2ba020c24c384b60b.js} +1 -1
  315. package/dist/client/scripts/fed71972ffa79d797286.js +1 -1
  316. package/dist/client/scripts/ff80131a5bed70291e0b.js +1 -1
  317. package/dist/components/{LoadingSpinner-BKvB97F9.mjs → LoadingSpinner-OUYR1Zws.mjs} +4283 -4156
  318. package/dist/components/LoadingSpinner-W8dEafHA.js +38 -0
  319. package/dist/components/vs-component-library-maps.js +3 -3
  320. package/dist/components/vs-component-library-maps.mjs +694 -694
  321. package/dist/components/vs-component-library.js +2 -2
  322. package/dist/components/vs-component-library.mjs +7 -7
  323. package/dist/ssr/index.js +1 -1
  324. package/dist/ssr/manifest.json +1 -1
  325. package/package.json +3 -3
  326. package/dist/client/scripts/02267cd15e5d3c38ec2a.js +0 -1
  327. package/dist/client/scripts/05ed6c26804615289452.js +0 -1
  328. package/dist/client/scripts/089accd171820ed54ff9.js +0 -1
  329. package/dist/client/scripts/0b761938ad36cd67b6bf.js +0 -1
  330. package/dist/client/scripts/10559d03b0ae2c434d59.js +0 -1
  331. package/dist/client/scripts/29a09e10b4c826dc6bcd.js +0 -1
  332. package/dist/client/scripts/3e2a4885ce28b249cd63.js +0 -1
  333. package/dist/client/scripts/4686de7ea799c8ec1c03.js +0 -1
  334. package/dist/client/scripts/46b91e4ff55299b16e9b.js +0 -1
  335. package/dist/client/scripts/52884b53dca6e2248312.js +0 -1
  336. package/dist/client/scripts/568f78f9b01fc9462683.js +0 -1
  337. package/dist/client/scripts/5801faf406d084e1f422.js +0 -1
  338. package/dist/client/scripts/5f831ae065d194ef8b88.js +0 -2
  339. package/dist/client/scripts/6021921cffa267d6b6a7.js +0 -1
  340. package/dist/client/scripts/6544d845ce286c6cf7f6.js +0 -2
  341. package/dist/client/scripts/6b275c100f8042199de9.js +0 -1
  342. package/dist/client/scripts/715a2208f0956b83dafc.js +0 -1
  343. package/dist/client/scripts/72e8cf2a7ddceadf4584.js +0 -2
  344. package/dist/client/scripts/72e8cf2a7ddceadf4584.js.LICENSE.txt +0 -1
  345. package/dist/client/scripts/8bbb03cef27adbf1052c.js +0 -1
  346. package/dist/client/scripts/91ec808848d9ef8fde7a.js +0 -1
  347. package/dist/client/scripts/98b05b5cd0aaffd7572a.js +0 -1
  348. package/dist/client/scripts/a1d3f1a72e58f869f748.js +0 -1
  349. package/dist/client/scripts/a55fed95b2f031316caf.js +0 -1
  350. package/dist/client/scripts/afd5b0c1ea115a131076.js +0 -1
  351. package/dist/client/scripts/b16d36c13df4f81799dc.js +0 -2
  352. package/dist/client/scripts/c4c6c4f82f8a5ceb9401.js +0 -1
  353. package/dist/client/scripts/d92b71a6a05b8f554c7e.js +0 -1
  354. package/dist/client/scripts/e92b419e81affdea6d7d.js +0 -1
  355. package/dist/client/scripts/ee1d435693f0ce65b853.js +0 -1
  356. package/dist/client/scripts/f166c3fa28bce031e937.js +0 -1
  357. package/dist/client/scripts/f2dfcfa0d38d341fc827.js +0 -2
  358. package/dist/client/scripts/fdd619f75d63a8628e4e.js +0 -2
  359. package/dist/client/scripts/fe9b0e3ab93fda599cfb.js +0 -1
  360. package/dist/client/scripts/feeecf83bdc1c651376a.js +0 -1
  361. package/dist/components/LoadingSpinner-C8LAYV8q.js +0 -38
  362. package/dist/client/scripts/{04d55c65d84727be241d.js → 27ab39799c27a6e7c170.js} +0 -0
  363. package/dist/client/scripts/{678be80c89eff10efccf.js.LICENSE.txt → 370e6150fbd0dccf34c7.js.LICENSE.txt} +0 -0
  364. package/dist/client/scripts/{fdd619f75d63a8628e4e.js.LICENSE.txt → 65f43123fc14b35b64d1.js.LICENSE.txt} +0 -0
  365. package/dist/client/scripts/{f2dfcfa0d38d341fc827.js.LICENSE.txt → 70b382267b5513186329.js.LICENSE.txt} +0 -0
  366. package/dist/client/scripts/{fd3f812603b78fe9978b.js → 81267fad3ff38d811ea7.js} +0 -0
  367. package/dist/client/scripts/{5c7de0c787b6e213d9a7.js → d94ba5393987a3e2d90a.js} +0 -0
  368. package/dist/client/scripts/{5f831ae065d194ef8b88.js.LICENSE.txt → e53c02752abb05f93abd.js.LICENSE.txt} +0 -0
  369. package/dist/client/scripts/{6b563760413cecbb2ea9.js → e6abca5f001c11b9b614.js} +0 -0
  370. package/dist/client/scripts/{b16d36c13df4f81799dc.js.LICENSE.txt → f4dd172b8568997dcdf4.js.LICENSE.txt} +0 -0
  371. package/dist/client/styles/{5389ee753606f9248ce8.css → 09ae016b64791f86ce4a.css} +0 -0
  372. package/dist/client/styles/{72709ccc1d539e0e7922.css → 12fa4d6469761cdb8326.css} +0 -0
  373. package/dist/client/styles/{f166c3fa28bce031e937.css → 350b5411ffc3a7b4a42a.css} +0 -0
  374. package/dist/client/styles/{0b761938ad36cd67b6bf.css → 416c4f28b6594389fb58.css} +0 -0
  375. package/dist/client/styles/{e92b419e81affdea6d7d.css → 41f72194eda6300eda07.css} +0 -0
  376. package/dist/client/styles/{10559d03b0ae2c434d59.css → 427f4a836835f87aa5a6.css} +0 -0
  377. package/dist/client/styles/{ee1d435693f0ce65b853.css → 509216b4e74f11f64f80.css} +0 -0
  378. package/dist/client/styles/{6021921cffa267d6b6a7.css → 53251829ca5de2bf36fe.css} +0 -0
  379. package/dist/client/styles/{3e2a4885ce28b249cd63.css → 5828c72a7124a5bcb563.css} +0 -0
  380. package/dist/client/styles/{feeecf83bdc1c651376a.css → 5a4a97205da676950fcf.css} +0 -0
  381. package/dist/client/styles/{46b91e4ff55299b16e9b.css → 6426b3dc3b49d5317801.css} +0 -0
  382. package/dist/client/styles/{5801faf406d084e1f422.css → 7dc60eea744dfc329db1.css} +0 -0
  383. package/dist/client/styles/{089accd171820ed54ff9.css → 955225d756ed3c4e0856.css} +0 -0
  384. package/dist/client/styles/{6b275c100f8042199de9.css → 9c9ffd5549b3beb747e8.css} +0 -0
  385. package/dist/client/styles/{c4c6c4f82f8a5ceb9401.css → a256e0ec3a4d4952396d.css} +0 -0
  386. package/dist/client/styles/{29a09e10b4c826dc6bcd.css → a964116d7226e0252a4e.css} +0 -0
  387. package/dist/client/styles/{afd5b0c1ea115a131076.css → ace1879f1508cfa2945b.css} +0 -0
  388. package/dist/client/styles/{8bbb03cef27adbf1052c.css → c481d06a2d00d82eaaad.css} +0 -0
  389. package/dist/client/styles/{715a2208f0956b83dafc.css → d63d97bbaaf166541301.css} +0 -0
  390. package/dist/client/styles/{a55fed95b2f031316caf.css → e02282a148d07c58be1b.css} +0 -0
  391. package/dist/client/styles/{6b563760413cecbb2ea9.css → e6abca5f001c11b9b614.css} +0 -0
  392. package/dist/client/styles/{fe9b0e3ab93fda599cfb.css → ebe3c46ecbab47f14ec8.css} +0 -0
  393. package/dist/client/styles/{d92b71a6a05b8f554c7e.css → ed99cbfe5e38529fe2fb.css} +0 -0
  394. package/dist/client/styles/{568f78f9b01fc9462683.css → eeab9a15254a348ad026.css} +0 -0
  395. package/dist/ssr/styles/{864095754937ffa99171.css → 28e3bc50aab5464f72f4.css} +28 -28
@@ -20,7 +20,7 @@
20
20
  "index.js"
21
21
  ],
22
22
  "styles": [
23
- "styles/864095754937ffa99171.css"
23
+ "styles/28e3bc50aab5464f72f4.css"
24
24
  ]
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "5.41.6",
3
+ "version": "5.42.0",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",
@@ -166,12 +166,12 @@
166
166
  "@vuelidate/validators": "^2.0.2",
167
167
  "axios": "^1.4.0",
168
168
  "bootstrap-vue-next": "^0.17.0",
169
- "glob": "^9.0.0",
169
+ "glob": "^12.0.0",
170
170
  "global": "^4.4.0",
171
171
  "lodash": "^4.17.21",
172
172
  "mapbox-gl": "^1.11.1",
173
173
  "mitt": "^3.0.0",
174
- "pinia": "^2.1.3",
174
+ "pinia": "^3.0.4",
175
175
  "vite": "^5.1.3",
176
176
  "vue": "^3.3.4",
177
177
  "vue-combo-blocks": "^2.1.1",
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[810],{10810:function(t,e,n){n.d(e,{aH:function(){return m},bP:function(){return w}});var o,i=n(12189),r=n(50953),c=n(20641),s=n(96763);Symbol(),function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"}(o||(o={}));const a="undefined"!=typeof window,l=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function u(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){g(o.response,e,n)},o.onerror=function(){s.error("could not download file")},o.send()}function f(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function d(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const p="object"==typeof navigator?navigator:{userAgent:""},b=(()=>/Macintosh/.test(p.userAgent)&&/AppleWebKit/.test(p.userAgent)&&!/Safari/.test(p.userAgent))(),g=a?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!b?function(t,e="download",n){const o=document.createElement("a");o.download=e,o.rel="noopener","string"==typeof t?(o.href=t,o.origin!==location.origin?f(o.href)?u(t,e,n):(o.target="_blank",d(o)):d(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){d(o)}),0))}:"msSaveOrOpenBlob"in p?function(t,e="download",n){if("string"==typeof t)if(f(t))u(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){d(e)}))}else navigator.msSaveOrOpenBlob(function(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,n),e)}:function(t,e,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return u(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(l.HTMLElement))||"safari"in l,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&r||b)&&"undefined"!=typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!=typeof t)throw o=null,new Error("Wrong reader.result type");t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location.assign(t),o=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);o?o.location.assign(e):location.href=e,o=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}:()=>{},{assign:y}=Object;Symbol(),Symbol(),Symbol();const{assign:h}=Object;function m(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(){const n=t(this.$pinia),i=e[o];return"function"==typeof i?i.call(this,n):n[i]},n)),{})}function w(t){if(i.LER)return(0,r.QW)(t);{const e=(0,r.ux)(t),n={};for(const o in e){const i=e[o];i.effect?n[o]=(0,c.EW)({get:()=>t[o],set(e){t[o]=e}}):((0,r.i9)(i)||(0,r.g8)(i))&&(n[o]=(0,r.lW)(t,o))}return n}}},12189:function(t,e,n){n.d(e,{LER:function(){return o}});var o=!1}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2989],{15527:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function c(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,u)}s((n=n.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=u(0),c.throw=u(1),c.return=u(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r(this,void 0,void 0,(function(){var r,a,o,c,u,s,l;return n(this,(function(n){switch(n.label){case 0:r=t.apiKey,a=t.customerId,o=t.engineId,c="".concat("https://api-eu1.cludo.com/api/v3","/").concat(a,"/").concat(o,"/Autocomplete"),u="".concat(a,":").concat(r),n.label=1;case 1:return n.trys.push([1,4,,5]),[4,fetch(c,{method:"POST",body:JSON.stringify({text:e}),headers:{"Content-Type":"application/json",Authorization:"Basic ".concat(btoa(u))}})];case 2:if(!(s=n.sent()).ok)throw new Error("Autocomplete search error ".concat(s.status));return[4,s.json()];case 3:return[2,n.sent()];case 4:throw l=n.sent(),new Error("Autocomplete search error: ".concat(l));case 5:return[2]}}))}))}},52954:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function c(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,u)}s((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=u(0),c.throw=u(1),c.return=u(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=o(r(72989));t.default=function(e,t,r,o,u,s,l,i,f,d,p,h,v){return n(this,void 0,void 0,(function(){var n,y,b,g;return a(this,(function(a){switch(a.label){case 0:(n=(0,c.default)()).eventsApiError=!1,n.cludoError=!1,y="".concat(e,"?query=").concat(t,"&lang=").concat(f),y=r>1?"".concat(y,"&page=").concat(r):y,y=""!==s?"".concat(y,"&startDate=").concat(s):y,y=""!==l?"".concat(y,"&endDate=").concat(l):y,y=i?"".concat(y,"&sort=").concat(i):y,y="".concat(y,"events"===o?"&pageSize=12":"&pageSize=6"),y=d?"".concat(y,"&postcode=").concat(d):y,y=p?"".concat(y,"&location=").concat(p):y,y=h?"".concat(y,"&radius=").concat(h):y,y=v?"".concat(y,"&postcodeareas=").concat(v):y,u.forEach((function(e){y+="&category=".concat(e)})),o&&"events"!==o&&(y+="&category=".concat(o)),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch(y)];case 2:if(!(b=a.sent()).ok)throw n.isLoading=!1,n.eventsApiError=!0,new Error("Events response message: ".concat(b.status));return[4,b.json()];case 3:return[2,{results:(w=g=a.sent(),w.events.map((function(e){var t,r,n,a,o,c,u;return{id:e.id,parentId:e.parentId,title:e.name,description:(null===(r=null===(t=e.descriptions)||void 0===t?void 0:t[0])||void 0===r?void 0:r.description)||"",imgSrc:(null===(a=null===(n=e.images)||void 0===n?void 0:n[0])||void 0===a?void 0:a.url)||"",url:(null===(c=null===(o=e.performances)||void 0===o?void 0:o[0])||void 0===c?void 0:c.url)||"",placeUrl:e.place.website,location:e.place.town,startDate:e.startFormatted,endDate:e.endFormatted,minPrice:null===(u=e.minPrice)||void 0===u?void 0:u.toString(),dataSrc:"data-thistle",categoryCard:e.categoryCard||""}}))),totalResults:g.totalResults}];case 4:return a.sent(),n.isLoading=!1,n.eventsApiError=!0,[2,{results:[],totalResults:0}];case 5:return[2]}var w}))}))}},64791:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function c(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,u)}s((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=u(0),c.throw=u(1),c.return=u(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=o(r(72989));t.default=function(e,t,r,o,u,s){return n(this,void 0,void 0,(function(){var n,o,l,i,f,d,p,h,v;return a(this,(function(a){switch(a.label){case 0:if(n=t.apiKey,o=t.customerId,l=t.engineId,i="https://api-eu1.cludo.com/api/v3/".concat(o,"/").concat(l,"/search"),f="".concat(o,":").concat(n),(d=(0,c.default)()).eventsApiError=!1,d.cludoError=!1,!t)return d.cludoError=!0,d.isLoading=!1,[2,{results:[],totalResults:0}];if("events"===u)return[2,{results:[],totalResults:0}];a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch(i,{method:"POST",body:JSON.stringify({query:e||"*",operator:s,responseType:"JsonObject",perPage:6,page:r,facets:{Category:u?[u]:null}}),headers:{"Content-Type":"application/json",Authorization:"Basic ".concat(btoa(f))}})];case 2:if(!(p=a.sent()).ok)throw d.cludoError=!0,d.isLoading=!1,new Error("Cludo response message: ".concat(p.status));return[4,p.json()];case 3:return h=a.sent(),v=h.TypedDocuments.map((function(e){var t;return{id:e.Fields.Id.Value||"",title:e.Fields.Title.Value||"",description:e.Fields.Description.Value||"",imgSrc:(null===(t=e.Fields.Image)||void 0===t?void 0:t.Value)||"",url:e.Fields.Url.Value||"",dataSrc:"cludo",categoryCard:e.Fields.categoryCard.Value||""}})),[2,{results:v,totalResults:h.TotalDocument}];case 4:return a.sent(),d.cludoError=!0,d.isLoading=!1,[2,{results:[],totalResults:0}];case 5:return[2]}}))}))}},72989:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function c(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,u)}s((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=u(0),c.throw=u(1),c.return=u(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=r(17527),s=r(48086),l=c(r(64791)),i=c(r(52954)),f=c(r(15527)),d=(0,s.defineStore)("federatedSearch",(function(){var e=(0,u.ref)(null),t=(0,u.ref)(void 0),r=(0,u.ref)(!1),c=(0,u.ref)(1),s=(0,u.ref)(void 0),d=(0,u.ref)(!1),p=(0,u.ref)(!1),h=(0,u.ref)(null),v=(0,u.ref)(""),y=(0,u.ref)(null),b=(0,u.ref)(null),g=(0,u.ref)([]),w=(0,u.ref)([]),m=(0,u.ref)(void 0),_=(0,u.ref)(void 0),P=(0,u.ref)(void 0),S=(0,u.ref)(!1),k=(0,u.ref)(""),E=(0,u.ref)(""),x=(0,u.ref)(void 0),C=(0,u.ref)(void 0),I=(0,u.ref)(void 0),j=(0,u.ref)(-1),R=(0,u.ref)(""),O=(0,u.ref)(""),A=(0,u.ref)(""),T=(0,u.ref)(0),D=(0,u.ref)(""),F=(0,u.ref)("or");function L(){return n(this,arguments,void 0,(function(e){var r,n;return void 0===e&&(e=!1),a(this,(function(a){switch(a.label){case 0:return p.value=!0,e||(j.value+=1),[4,(0,l.default)(v.value,t.value,c.value,y.value,b.value,F.value)];case 1:return r=a.sent(),[4,(0,i.default)(s.value,v.value,c.value,b.value,w.value,k.value,E.value,x.value,I.value,O.value,A.value,T.value,D.value)];case 2:return n=a.sent(),h.value=o(o([],r.results,!0),n.results,!0),_.value=r.totalResults,P.value=n.totalResults,m.value=r.totalResults+n.totalResults,p.value=!1,[2]}}))}))}return{filters:e,currentPage:c,cludoCredentials:t,cludoError:r,eventsApi:s,eventsApiError:d,getAutoComplete:function(){return n(this,void 0,void 0,(function(){return a(this,(function(e){return[2,(0,f.default)(v.value,t.value)]}))}))},getSearchResults:L,isLoading:p,results:h,searchTerm:v,searchUrl:C,selectedCategory:y,selectedCategoryKey:b,selectedSubCategory:g,selectedSubCategoryKey:w,totalResults:m,totalResultsCludo:_,totalResultsEvents:P,navigateToResultsPage:function(e,t){return n(this,void 0,void 0,(function(){var r,n;return a(this,(function(a){switch(a.label){case 0:return r=new URL(window.location.href),R.value=t?"Autosuggestion":"User input",v.value?r.searchParams.set("search-term",v.value):r.searchParams.delete("search-term"),b.value?r.searchParams.set("category",encodeURIComponent(b.value)):r.searchParams.delete("category"),w.value.length>0?r.searchParams.set("sub-category",encodeURIComponent(w.value.join(","))):r.searchParams.delete("sub-category"),e?(c.value=1,r.searchParams.set("page",c.value.toString())):c.value&&c.value>1?r.searchParams.set("page",c.value.toString()):r.searchParams.delete("page"),k.value?r.searchParams.set("start-date",k.value):r.searchParams.delete("start-date"),E.value?r.searchParams.set("end-date",E.value):r.searchParams.delete("end-date"),x.value?r.searchParams.set("sort-by",x.value):r.searchParams.delete("sort-by"),S.value?[3,2]:(window.history.pushState({},"",r),[4,L()]);case 1:return a.sent(),[3,3];case 2:n="".concat(C.value,"/").concat(r.search),window.location.href=n,a.label=3;case 3:return[2]}}))}))},isHomePage:S,startDate:k,endDate:E,sortBy:x,siteLanguage:I,searchInSessionCount:j,queryInput:R,postcode:O,location:A,radius:T,postcodeareas:D,cludoApiOperator:F}}));t.default=d}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[681],{4243:function(e,t,r){"use strict";r.d(t,{A:function(){return i.A}});var i=r(57255)},27135:function(){},30681:function(e,t,r){"use strict";r.r(t);var i=r(46119),n=r(4243);r(71133);const a=(0,r(66262).A)(n.A,[["render",i.X]]);t.default=a},44441:function(e,t,r){"use strict";var i=r(85072),n=r.n(i),a=r(97825),s=r.n(a),c=r(77659),o=r.n(c),u=r(55056),l=r.n(u),p=r(10540),h=r.n(p),d=r(41113),f=r.n(d),v=r(27135),m=r.n(v),g={};g.styleTagTransform=f(),g.setAttributes=l(),g.insert=o().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m(),g),m()&&m().locals&&m().locals},46119:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var i=r(20641),n=r(90033),a=r(53751),s=["aria-label"];function c(e,t,r,c,o,u){var l=(0,i.g2)("VsMapMarkerIcon");return(0,i.uX)(),(0,i.CE)("button",{type:"button",class:(0,n.normalizeClass)(["vs-map-marker",u.isActive?"vs-map-marker--active":""]),"data-test":"vs-map-marker",onClick:t[0]||(t[0]=function(){return u.markerClick&&u.markerClick.apply(u,arguments)}),onKeydown:t[1]||(t[1]=(0,a.withKeys)((function(){return u.markerClick&&u.markerClick.apply(u,arguments)}),["enter"])),onMouseover:t[2]||(t[2]=function(e){return u.handleHover(r.feature)}),onMouseleave:t[3]||(t[3]=function(e){return u.handleHover("")}),onFocusin:t[4]||(t[4]=function(e){return u.handleHover(r.feature)}),onFocusout:t[5]||(t[5]=function(e){return u.handleHover("")}),"aria-label":u.getMarkerIcon},[(0,i.bF)(l,{id:u.getMarkerIcon,"is-map-marker":!0,number:r.feature.properties.stopCount?r.feature.properties.stopCount:""},null,8,["id","number"])],42,s)}},57255:function(e,t,r){"use strict";var i=r(64467),n=r(10810),a=r(79920),s=r(32536);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,i.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=null;t.A={name:"VsMapMarker",status:"prototype",release:"0.0.1",components:{VsMapMarkerIcon:s.default},props:{feature:{type:Object,required:!0},mapId:{type:String,required:!0},hasPopups:{type:Boolean,required:!0},selectedPlace:{type:String,default:null}},emits:["showDetail","setCategory"],setup:function(){u=(0,a.A)()},computed:o(o({isActive:function(){return!(!this.activePlace||!this.activePlace.properties||this.activePlace.properties.id!==this.feature.properties.id)||!(!this.highlightedPlace||!this.highlightedPlace.properties||this.highlightedPlace.properties.id!==this.feature.properties.id)}},(0,n.aH)(a.A,{highlightedPlace:function(e){return e.getHoveredStop(this.mapId)},activePlace:function(e){return e.getActivePlace(this.mapId)?e.getActivePlace(this.mapId):""},activeSubcat:function(e){return e.selectedSubCategory}})),{},{getMarkerIcon:function(){var e;return"null"===(e=""!==this.feature.properties.type?this.feature.properties.type:null!==this.activeSubcat?this.activeSubcat:"featured")&&(e=""),e}}),watch:{isActive:function(){return!!(this.activePlace&&this.activePlace.properties.id===this.feature.properties.id||this.highlightedPlace&&this.highlightedPlace.properties.id===this.feature.properties.id)||(this.activePlace&&this.activePlace.properties.id===this.feature.properties.id&&u.setActiveMarkerPos(this.feature.geometry.coordinates),!1)},activePlace:function(){this.activePlace&&this.activePlace.properties.id===this.feature.properties.id&&u.setActiveMarkerPos(this.feature.geometry.coordinates)}},mounted:function(){this.hasPopups&&document.body.addEventListener("click",this.handleClickEvent)},beforeUnmount:function(){document.body.removeEventListener("click",this.handleClickEvent)},methods:{markerClick:function(){u.setActiveMarkerPos(this.feature.geometry.coordinates),u.setActivePlace({mapId:this.mapId,activeFeature:this.feature}),this.$emit("showDetail",this.feature),this.$emit("setCategory",this.feature.properties.type)},handleHover:function(e){u.setHoveredPlace({mapId:this.mapId,hoveredFeature:e})},handleClickEvent:function(e){var t=document.getElementsByClassName("mapboxgl-canvas");e.target===t[0]&&u.setActivePlace({mapId:this.mapId,activeFeature:null})}}}},71133:function(e,t,r){"use strict";r(44441)}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1213],{34085:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(34713)},34713:function(e,t,n){"use strict";var r=n(64467),c=n(34352),i=n(10810),o=n(79920),u=n(32536);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s=null;t.A={name:"VsMapWithSidebarSubCategories",status:"prototype",release:"0.0.1",components:{BFormGroup:c.a3,BFormCheckboxGroup:c.zl,BFormCheckbox:c.GJ,VsMapMarkerIcon:u.default},props:{data:{type:Array,required:!0},selectedSubCategory:{type:String,required:!0}},data:function(){return{selected:[]}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({activeSubcatFilters:function(){return s?s.activeSubcatFilters:null}},(0,i.aH)(o.A,{activeSubcatFilters:function(e){return e.activeSubcatFilters}})),mounted:function(){var e=this;s=(0,o.A)(),this.selected=this.activeSubcatFilters,this.emitter&&(this.emitter.on("clearSelectedSubcats",(function(){e.selected=[]})),this.emitter.on("submitCheckboxData",(function(){e.checkboxesChangeSubmit()})));var t=document.getElementsByClassName("vs-main-map-subcategory")[0];t&&t.querySelectorAll('input[type="checkbox"]')[0].focus()},beforeUnmount:function(){this.emitter&&this.emitter.off("submitCheckboxData")},methods:{checkboxesChangeSubmit:function(){s.setActiveSubcatFilters(this.selected),this.$parent.$emit("subcategories-filtered",this.selected)},emitChange:function(){this.emitter&&this.emitter.emit("checkboxes-selected",this.selected)}}}},64988:function(e,t,n){"use strict";n(91024)},77848:function(e,t,n){"use strict";n.d(t,{X:function(){return r.X}});var r=n(91528)},79142:function(){},91024:function(e,t,n){"use strict";var r=n(85072),c=n.n(r),i=n(97825),o=n.n(i),u=n(77659),a=n.n(u),s=n(55056),l=n.n(s),b=n(10540),m=n.n(b),d=n(41113),f=n.n(d),p=n(79142),h=n.n(p),g={};g.styleTagTransform=f(),g.setAttributes=l(),g.insert=a().bind(null,"head"),g.domAPI=o(),g.insertStyleElement=m(),c()(h(),g),h()&&h().locals&&h().locals},91213:function(e,t,n){"use strict";n.r(t);var r=n(77848),c=n(34085);n(64988);const i=(0,n(66262).A)(c.A,[["render",r.X]]);t.default=i},91528:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(20641),c=n(90033),i={class:"vs-main-map-subcategory","data-test":"vs-main-map-subcategory"};function o(e,t,n,o,u,a){var s=(0,r.g2)("VsMapMarkerIcon"),l=(0,r.g2)("BFormCheckbox"),b=(0,r.g2)("BFormCheckboxGroup"),m=(0,r.g2)("BFormGroup");return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.bF)(m,null,{default:(0,r.k6)((function(){return[(0,r.bF)(b,{id:"checkbox-group-1",modelValue:u.selected,"onUpdate:modelValue":t[0]||(t[0]=function(e){return u.selected=e}),name:n.data.name},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.data,(function(e){return(0,r.uX)(),(0,r.Wv)(l,{key:e.id,value:e.id,onChange:a.emitChange},{default:(0,r.k6)((function(){return[(0,r.bF)(s,{class:"vs-main-map-subcategory__icon",id:n.selectedSubCategory},null,8,["id"]),(0,r.eW)(" "+(0,c.toDisplayString)(e.name),1)]})),_:2},1032,["value","onChange"])})),128))]})),_:1},8,["modelValue","name"])]})),_:1})])}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6216],{26216:function(e,n,t){"use strict";t.r(n);var o=t(74864),u={};for(var a in o)"default"!==a&&(u[a]=function(e){return o[e]}.bind(0,a));t.d(n,u),t(35214);const l=o.default;n.default=l},35214:function(e,n,t){"use strict";t(62098)},35408:function(){},62098:function(e,n,t){"use strict";var o=t(85072),u=t.n(o),a=t(97825),l=t.n(a),c=t(77659),i=t.n(c),r=t(55056),s=t.n(r),d=t(10540),m=t.n(d),v=t(41113),p=t.n(v),f=t(35408),k=t.n(f),_={};_.styleTagTransform=p(),_.setAttributes=s(),_.insert=i().bind(null,"head"),_.domAPI=l(),_.insertStyleElement=m(),u()(k(),_),k()&&k().locals&&k().locals},69694:function(e,n,t){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var u=t(17527),a=t(17527),l={class:"vs-guest-selector-row","data-test":"vs-guest-selector-row"},c={class:"vs-guest-selector-row__title"},i={key:1,class:"c-search__rooms-guests-picker__row"},r=["name"],s=["name"],d=["name"],m=t(17527),v=t(378),p=o(t(98896)),f=o(t(48836));n.default=(0,u.defineComponent)({__name:"GuestSelectorRow",props:{name:{},showRemoveBtn:{type:Boolean},unitLabel:{},unitOptions:{},unitRemoved:{type:Boolean}},emits:["numberChange","onRemove"],setup:function(e,n){var t=n.emit,o=e,u=t,k=(0,m.ref)(o.unitOptions.numberGroups.adults.count),_=(0,m.ref)(o.unitOptions.numberGroups.children.count),b=(0,m.ref)(o.unitOptions.numberGroups.infants.count),h=(0,v.getLabelText)("remove","Remove","guests_rooms"),B=(0,m.computed)((function(){return _.value+b.value})),y=function(e,n,t,o){var a="";e.includes("children")&&(_.value=n,a="children"),e.includes("infants")&&(b.value=n,a="infants"),(e.includes("r1a")||e.includes("r2a")||e.includes("r3a")||e.includes("r4a")||e.includes("r5a"))&&(k.value=n,a="adults"),u("numberChange",t,a,o)},g=function(){u("onRemove",b.value+_.value+k.value,b.value+_.value,o.unitOptions.id)};return function(e,n){return(0,a.openBlock)(),(0,a.createElementBlock)("div",l,[(0,a.createElementVNode)("div",c,(0,a.toDisplayString)(e.unitLabel),1),"r1"!==e.name?((0,a.openBlock)(),(0,a.createBlock)(f.default,{key:0,class:"vs-guest-selector-row__remove",onClick:(0,a.withModifiers)(g,["prevent"]),variant:"subtle",icon:"vs-icon-control-dismiss","icon-size":"sm","icon-position":"left","icon-only":"",size:"sm"},{default:(0,a.withCtx)((function(){return[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(h)),1)]})),_:1})):(0,a.createCommentVNode)("",!0),e.unitOptions?((0,a.openBlock)(),(0,a.createElementBlock)("div",i,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.unitOptions.numberGroups,(function(n,t){return(0,a.openBlock)(),(0,a.createBlock)(p.default,{"adult-count":k.value,"children-count":_.value,count:n.count,disabled:!1,id:e.unitOptions.id,"infant-count":b.value,"input-type":n,key:"".concat(e.name,"_").concat(t),"max-value":n.maxCount,"min-value":n.minCount,name:n.name,"row-label":n.unitLabel,"row-name":e.name,"unit-removed":e.unitRemoved,onChangeHandler:y},null,8,["adult-count","children-count","count","id","infant-count","input-type","max-value","min-value","name","row-label","row-name","unit-removed"])})),128)),(0,a.withDirectives)((0,a.createElementVNode)("input",{type:"hidden",name:"".concat(e.name,"c"),"onUpdate:modelValue":n[0]||(n[0]=function(e){return B.value=e})},null,8,r),[[a.vModelText,B.value]])])):(0,a.createCommentVNode)("",!0),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(_.value,(function(n,t){return(0,a.openBlock)(),(0,a.createElementBlock)("input",{type:"hidden",key:"".concat(e.name,"c").concat(t),name:"".concat(e.name,"c").concat(t),value:"10"},null,8,s)})),128)),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(b.value,(function(n,t){return(0,a.openBlock)(),(0,a.createElementBlock)("input",{type:"hidden",key:"".concat(e.name,"c").concat(t),name:"".concat(e.name,"c").concat(t+_.value),value:"1"},null,8,d)})),128))])}}})},74864:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return u.a}});var o=t(69694),u=t.n(o),a={};for(var l in o)"default"!==l&&(a[l]=function(e){return o[e]}.bind(0,l));t.d(n,a)}}]);
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsGuestSelector=t():e.VsGuestSelector=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3741],{21726:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o.a}});var l=n(38300),o=n.n(l),a={};for(var u in l)"default"!==u&&(a[u]=function(e){return l[e]}.bind(0,u));n.d(t,a)},31440:function(e,t,n){"use strict";n(44596)},34900:function(e,t,n){"use strict";n.r(t);var l=n(21726),o={};for(var a in l)"default"!==a&&(o[a]=function(e){return l[e]}.bind(0,a));n.d(t,o),n(31440);const u=l.default;t.default=u},38300:function(e,t,n){"use strict";var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(17527),a=n(17527),u={class:"form-group vs-guest-selector","data-test":"vs-guest-selector"},s={class:"vs-guest-selector__label"},r=["disabled"],i={class:"vs-guest-selector__button-row mb-075"},c={class:"d-flex justify-content-between"},d=["value","disabled"],m=["value","disabled"],v=n(17527),f=n(378),g=l(n(26216)),p=l(n(48836));t.default=(0,o.defineComponent)({__name:"GuestSelector",props:{availability:{type:Boolean}},setup:function(e){var t=(0,v.getCurrentInstance)(),n=(0,f.getLabelText)("add_room_label","Add a Room","guests_rooms"),l=(0,f.getLabelText)("save_changes","Save","guests_rooms"),o=(0,v.ref)(2),b=(0,f.getLabelText)("guest","Guest","guests_rooms"),_=(0,f.getLabelText)("guests","Guests","guests_rooms"),h=(0,v.ref)(!1),x=(0,v.ref)(0),y=(0,v.ref)([{id:"".concat(t.uid),showRemoveBtn:!1,numberGroups:{adults:{minCount:1,maxCount:30,count:2,name:"r1a",unitLabel:(0,f.getLabelText)("adults","Adults","guests_rooms")},children:{minCount:0,maxCount:30,count:0,name:"r1children",unitLabel:(0,f.getLabelText)("children","Children","guests_rooms")},infants:{minCount:0,maxCount:30,count:0,name:"r1infants",unitLabel:(0,f.getLabelText)("infants","Infants","guests_rooms")}}}]),C=(0,v.ref)(1),k=(0,f.getLabelText)("room","Room","guests_rooms"),L=(0,f.getLabelText)("rooms","Rooms","guests_rooms"),T=(0,v.ref)(!1),V=(0,v.ref)(!1),N=function(){V.value=!1},B=function(){V.value=!V.value},w=function(){if(y.value.length<5){var e={id:"".concat(t.uid),showRemoveBtn:!0,numberGroups:{adults:{minCount:1,maxCount:30,count:1,name:"r"+(y.value.length+1)+"a",unitLabel:(0,f.getLabelText)("adults","Adults","guests_rooms")},children:{minCount:0,maxCount:30,count:0,name:"r"+(y.value.length+1)+"children",unitLabel:(0,f.getLabelText)("children","Children","guests_rooms")},infants:{minCount:0,maxCount:30,count:0,name:"r"+(y.value.length+1)+"infants",unitLabel:(0,f.getLabelText)("infants","Infants","guests_rooms")}}},n=y.value.slice();n.push(e),y.value=n,C.value=n.length,h.value=!0,o.value=o.value+1}},E=function(e,t,n){var l=y.value.findIndex((function(e){return e.id===n}));y.value.splice(l,1),C.value=y.value.length,T.value=!0,o.value=o.value-e,x.value=x.value-t,1===y.value.length&&(h.value=!1)},S=function(e,t,n){o.value="increase"===e?o.value+1:o.value-1,"adults"!==t&&(x.value="increase"===e?x.value+1:x.value-1);var l=y.value.findIndex((function(e){return e.id===n}));y.value[l].numberGroups[t].count="increase"===e?y.value[l].numberGroups[t].count+1:y.value[l].numberGroups[t].count-1};return function(e,t){return(0,a.openBlock)(),(0,a.createElementBlock)("div",u,[(0,a.createElementVNode)("span",s,(0,a.toDisplayString)((0,a.unref)(_)),1),(0,a.createElementVNode)("button",{tabIndex:"availability ? '0' : ''",class:"vs-guest-selector__trigger form-control vs-input",onClick:(0,a.withModifiers)(B,["prevent"]),disabled:!e.availability},[(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(C.value)+" ",1),(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(C.value>1?(0,a.unref)(L):(0,a.unref)(k)),1),t[0]||(t[0]=(0,a.createTextVNode)(",  ")),(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(o.value)+" ",1),(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(o.value>1?(0,a.unref)(_):(0,a.unref)(b)),1)],8,r),(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["vs-guest-selector__modal",V.value?"vs-guest-selector__modal--visible":""])},[(0,a.createVNode)(p.default,{class:"align-self-end","data-test":"vs-guest-selector__close-btn",variant:"subtle",icon:"vs-icon-control-dismiss",size:"md","icon-only":"",onClick:(0,a.withModifiers)(N,["prevent"])},{default:(0,a.withCtx)((function(){return[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(f.getLabelText)("close","Close","guests_rooms")),1)]})),_:1}),(0,a.createElementVNode)("div",i,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(y.value,(function(e,t){return(0,a.openBlock)(),(0,a.createBlock)(g.default,{key:e.id,name:"r"+(t+1),"show-remove-btn":h.value,"unit-label":(0,a.unref)(f.getLabelText)("room","Room","guests_rooms")+" "+(t+1),"unit-options":e,"unit-removed":T.value,onNumberChange:S,onOnRemove:E},null,8,["name","show-remove-btn","unit-label","unit-options","unit-removed"])})),128))]),(0,a.createElementVNode)("div",c,[y.value.length<5?((0,a.openBlock)(),(0,a.createBlock)(p.default,{key:0,variant:"secondary",class:"c-search__popup__btn-link me-050 align-self-start",onClick:(0,a.withModifiers)(w,["prevent"])},{default:(0,a.withCtx)((function(){return[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(n)),1)]})),_:1})):(0,a.createCommentVNode)("",!0),y.value.length<5?((0,a.openBlock)(),(0,a.createBlock)(p.default,{key:1,class:"c-search__popup__btn-link c-search__popup__btn-link--pull-right align-self-end",onClick:(0,a.withModifiers)(N,["prevent"])},{default:(0,a.withCtx)((function(){return[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(l)),1)]})),_:1})):(0,a.createCommentVNode)("",!0)])],2),y.value?((0,a.openBlock)(),(0,a.createElementBlock)("input",{key:0,type:"hidden",name:"rooms",id:"room-count",value:C.value,disabled:!e.availability},null,8,d)):(0,a.createCommentVNode)("",!0),y.value?((0,a.openBlock)(),(0,a.createElementBlock)("input",{key:1,type:"hidden",name:"guests",id:"guest-count",value:o.value,disabled:!e.availability},null,8,m)):(0,a.createCommentVNode)("",!0)])}}})},44596:function(e,t,n){"use strict";var l=n(85072),o=n.n(l),a=n(97825),u=n.n(a),s=n(77659),r=n.n(s),i=n(55056),c=n.n(i),d=n(10540),m=n.n(d),v=n(41113),f=n.n(v),g=n(51590),p=n.n(g),b={};b.styleTagTransform=f(),b.setAttributes=c(),b.insert=r().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=m(),o()(p(),b),p()&&p().locals&&p().locals},51590:function(){}},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,4982,6422,8745,8836,378,8896,6216],(function(){return e(e.s=34900)})),e.O()}])}));
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1154],{20476:function(t,n,i){"use strict";i(25136)},25136:function(t,n,i){"use strict";var s=i(85072),e=i.n(s),o=i(97825),a=i.n(o),u=i(77659),l=i.n(u),r=i(55056),c=i.n(r),d=i(10540),v=i.n(d),f=i(41113),g=i.n(f),y=i(81438),P=i.n(y),p={};p.styleTagTransform=g(),p.setAttributes=c(),p.insert=l().bind(null,"head"),p.domAPI=a(),p.insertStyleElement=v(),e()(P(),p),P()&&P().locals&&P().locals},29134:function(t,n,i){"use strict";i.d(n,{A:function(){return s.A}});var s=i(63082)},63082:function(t,n,i){"use strict";var s=i(48836);n.A={name:"VsHeroSectionVideoControl",status:"prototype",release:"0.0.1",components:{VsButton:s.default},inject:{videoPlayingStatus:{default:"Playing"},videoPausedStatus:{default:"Paused"}},emits:["videoToggled"],data:function(){return{isPlaying:!0}},methods:{toggleVideo:function(){this.$emit("videoToggled",this.isPlaying),this.isPlaying?this.isPlaying=!1:this.isPlaying=!0}}}},78773:function(t,n,i){"use strict";i.r(n);var s=i(83514),e=i(29134);i(20476);const o=(0,i(66262).A)(e.A,[["render",s.X]]);n.default=o},81438:function(){},83514:function(t,n,i){"use strict";i.d(n,{X:function(){return s.X}});var s=i(85994)},85994:function(t,n,i){"use strict";i.d(n,{X:function(){return r}});var s=i(20641),e=i(90033),o={"data-test":"vs-hero-section-video-control"},a={"aria-live":"polite",class:"visually-hidden",role:"status"},u={key:0},l={key:1};function r(t,n,i,r,c,d){var v=(0,s.g2)("VsButton");return(0,s.uX)(),(0,s.CE)("div",o,[(0,s.bF)(v,{"icon-only":"",class:"vs-hero-section-video-control",icon:c.isPlaying?"vs-icon-control-pause":"vs-icon-control-play",onClick:d.toggleVideo},{default:(0,s.k6)((function(){return[(0,s.RG)(t.$slots,"default")]})),_:3},8,["icon","onClick"]),(0,s.Lk)("div",a,[c.isPlaying&&d.videoPlayingStatus?((0,s.uX)(),(0,s.CE)("span",u,(0,e.toDisplayString)(d.videoPlayingStatus),1)):(0,s.Q3)("",!0),!c.isPlaying&&d.videoPausedStatus?((0,s.uX)(),(0,s.CE)("span",l,(0,e.toDisplayString)(d.videoPausedStatus),1)):(0,s.Q3)("",!0)])])}}}]);