graphdb-workbench 2.6.0-TR7 → 2.6.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 (321) hide show
  1. package/dist/0.a3b3bef411c35bdc8be5.bundle.js +25 -0
  2. package/dist/{1.e03c90bd5954ca9b5fa7.bundle.js → 1.aab0f9b3a664ffdd46a3.bundle.js} +1 -1
  3. package/dist/10.2f1b7b3050f428758cd0.bundle.js +1 -0
  4. package/dist/{101.da23dac24536f74b5815.bundle.js → 101.d85136c82944d96009d8.bundle.js} +1 -1
  5. package/dist/{102.0a4aa8fcdaac2461ee45.bundle.js → 102.a57d02f54d23e39ab220.bundle.js} +1 -1
  6. package/dist/{104.42f4d10207d67e051eed.bundle.js → 104.30887712ab9f944ce3b5.bundle.js} +1 -1
  7. package/dist/{106.b5d5730844146ca5a17d.bundle.js → 106.dfa270c46faceb444b3a.bundle.js} +1 -1
  8. package/dist/{108.26b1081facbae1a51535.bundle.js → 108.9d2fca01799579fd246a.bundle.js} +1 -1
  9. package/dist/{109.c309c91a2c68099e26a7.bundle.js → 109.41cc535019ec49b7a449.bundle.js} +1 -1
  10. package/dist/{12.30df13cd275e9db26d08.bundle.js → 11.5146ccccd430bce59f6c.bundle.js} +1 -1
  11. package/dist/{110.0d1d7ebe2eeac8b4faef.bundle.js → 110.087f1045498ced6386ac.bundle.js} +1 -1
  12. package/dist/{111.ebfce66a46414fbc5035.bundle.js → 111.d77e3e60f2db63fcd713.bundle.js} +1 -1
  13. package/dist/{112.ebf0f5e54690989b150d.bundle.js → 112.6b5fac36fea6ec10ccf7.bundle.js} +1 -1
  14. package/dist/{113.69b5499240cb809a0fce.bundle.js → 113.85c3c663f3681b21e49d.bundle.js} +1 -1
  15. package/dist/{114.97c6ff9e6faa36ae4c92.bundle.js → 114.635dc2e74009c95bf91e.bundle.js} +1 -1
  16. package/dist/{116.50238606941983d7984f.bundle.js → 116.511ed0fc7766ce1c5dbe.bundle.js} +1 -1
  17. package/dist/{117.bce63009af74c3e9a47e.bundle.js → 117.ff4f162729afc19137ca.bundle.js} +1 -1
  18. package/dist/{13.a8f91fd9198a469d445a.bundle.js → 12.75466fc44ea53c351a67.bundle.js} +1 -1
  19. package/dist/{14.f2d6ffd1bd5125113712.bundle.js → 13.6e2d206f55eeb2c58b2b.bundle.js} +1 -1
  20. package/dist/{131.e1a244126c43896cd7fe.bundle.js → 131.f41a0b6b9036447b1077.bundle.js} +1 -1
  21. package/dist/{135.e8261504f1da852a376c.bundle.js → 135.e71755f6f0278b2943d0.bundle.js} +1 -1
  22. package/dist/{138.07fa96b665a491f213fc.bundle.js → 138.8885afc315c221adb64b.bundle.js} +1 -1
  23. package/dist/{139.dc143faed80495c85bc3.bundle.js → 139.f02901e6087085176dc7.bundle.js} +1 -1
  24. package/dist/14.77134ed08934f63cbe92.bundle.js +1 -0
  25. package/dist/{140.94d586ec81d9e3063c4f.bundle.js → 140.f0e54b9511ca99865d9d.bundle.js} +1 -1
  26. package/dist/{145.645969658a10c86c9ef2.bundle.js → 145.2ea88cbccd93fc9fa454.bundle.js} +1 -1
  27. package/dist/{146.da06a567fbb2421d8782.bundle.js → 146.e7b99166958dc75f43e7.bundle.js} +1 -1
  28. package/dist/{147.31da28c0c793b6d4b3d9.bundle.js → 147.7abb3c6ae63a13eb61a5.bundle.js} +1 -1
  29. package/dist/{148.6d7b7e06222ad071d0b4.bundle.js → 148.b9aa2392ff5063d92341.bundle.js} +1 -1
  30. package/dist/149.c2b7461cdb7018d8a7ac.bundle.js +1 -0
  31. package/dist/{16.a91d31f0b9b876015299.bundle.js → 15.81ca8fb02469ee14c5e4.bundle.js} +1 -1
  32. package/dist/{150.76212c0fbb3040671059.bundle.js → 150.c1303d8109786b40d21a.bundle.js} +1 -1
  33. package/dist/151.b909ba9cb2419e0f91dd.bundle.js +1 -0
  34. package/dist/{151.6352d1c723f9c08c2285.bundle.js → 152.20fec292fccfef232845.bundle.js} +1 -1
  35. package/dist/{152.0e861d13004eb057e32e.bundle.js → 153.7413dfe6871e27f43788.bundle.js} +1 -1
  36. package/dist/{153.14519f8335c9c7e76492.bundle.js → 154.19d1b00bfc1e419adc42.bundle.js} +1 -1
  37. package/dist/155.dd57193f58cc7d5262b8.bundle.js +1 -0
  38. package/dist/{155.c089ba425702a417c119.bundle.js → 156.258d084f62fa73d45ded.bundle.js} +1 -1
  39. package/dist/{156.d6f702761bee674310b6.bundle.js → 157.60074b591e62c10a77ed.bundle.js} +1 -1
  40. package/dist/{157.aec7b9612e637437b517.bundle.js → 158.742c03d8e739b04df049.bundle.js} +1 -1
  41. package/dist/{158.91fa1ebc27afd697c27f.bundle.js → 159.41a2a6b6b485989a9412.bundle.js} +1 -1
  42. package/dist/16.028d7ea5baf358e315cb.bundle.js +3 -0
  43. package/dist/{159.035a1e31b7a3335ca885.bundle.js → 160.7616cb8b729cfbe229fb.bundle.js} +1 -1
  44. package/dist/{160.772b960ac85fbfa35ee0.bundle.js → 161.cc79ca9a079e616ba9e6.bundle.js} +1 -1
  45. package/dist/{161.7f9a2c46e4ceed3c1a1b.bundle.js → 162.78a734f7eb6bd4583f17.bundle.js} +1 -1
  46. package/dist/{162.b4177896a68c72669b9f.bundle.js → 163.5dbf48d936a3c831c9b5.bundle.js} +1 -1
  47. package/dist/{163.f0099072da8e2298b60c.bundle.js → 164.d3220f317e31f573b335.bundle.js} +1 -1
  48. package/dist/{164.746d5d3920914c734dad.bundle.js → 165.4b88e7b3b3a273cb4ed1.bundle.js} +1 -1
  49. package/dist/{165.27a6180d0f3d34f041ed.bundle.js → 166.92928a8fa8ec48d00349.bundle.js} +1 -1
  50. package/dist/{166.35757cd50c9290af0afc.bundle.js → 167.b38a507dbcfd6329cf8c.bundle.js} +1 -1
  51. package/dist/168.c52d0bbbd4224ddadd7c.bundle.js +1 -0
  52. package/dist/169.f6823be6839682f8586c.bundle.js +1 -0
  53. package/dist/17.31f5971e39936437eda8.bundle.js +1 -0
  54. package/dist/{169.600d8d824c825290434c.bundle.js → 170.8baf5e20de2271caf978.bundle.js} +1 -1
  55. package/dist/{170.4e527165141131f3fab5.bundle.js → 171.a46d6b00949dbdbbc38e.bundle.js} +1 -1
  56. package/dist/{171.dddfca13266402e1f383.bundle.js → 172.9b5d17e5c772c53243e9.bundle.js} +1 -1
  57. package/dist/{172.d614a13d7ddf1f24b035.bundle.js → 173.d3bbff40e6f45969410d.bundle.js} +1 -1
  58. package/dist/{173.17b872eb64767f4f0546.bundle.js → 174.6d17f7732045b6f182a0.bundle.js} +1 -1
  59. package/dist/{174.bc53719a59976016e31e.bundle.js → 175.7bc87231bd4677800c77.bundle.js} +1 -1
  60. package/dist/{175.3b63253263f318574534.bundle.js → 176.f7a1a4fdd12ad86f3d08.bundle.js} +1 -1
  61. package/dist/{176.3af968314539e2a18e7f.bundle.js → 177.1023531c905d87b8a4ac.bundle.js} +1 -1
  62. package/dist/{177.4b17d0269a1519575339.bundle.js → 178.cb8324bb00103fb26cfb.bundle.js} +1 -1
  63. package/dist/{178.64d599a0c6df637717b4.bundle.js → 179.e4bea06f7e407436dce7.bundle.js} +1 -1
  64. package/dist/{19.ecd29d95e3cb58e1be47.bundle.js → 18.a18e024d172531f968fa.bundle.js} +1 -1
  65. package/dist/{179.747740f92b7702dcc48e.bundle.js → 180.bd3f5149f861a2586ffb.bundle.js} +1 -1
  66. package/dist/181.393af0e6c19d537f775b.bundle.js +1 -0
  67. package/dist/182.9b7c235aa984ad81ab02.bundle.js +1 -0
  68. package/dist/{182.041784b0022a77256855.bundle.js → 183.2f7def34c47fd1bc38b3.bundle.js} +1 -1
  69. package/dist/{183.f5c5d51fb22c498fa505.bundle.js → 184.a71cd41118f14e2c123f.bundle.js} +1 -1
  70. package/dist/{184.e3f45487fb25f163475a.bundle.js → 185.31a5c2ddc3afdffdc9e5.bundle.js} +1 -1
  71. package/dist/{185.4b8b11cf31d7fb573d19.bundle.js → 186.daffd5d0823f56ba3c54.bundle.js} +1 -1
  72. package/dist/{186.f75fd6491a001c966970.bundle.js → 187.4b22405c17194851a1e1.bundle.js} +1 -1
  73. package/dist/{187.9986962b8a5b139e970d.bundle.js → 188.bce7651d7bd1e88d7689.bundle.js} +1 -1
  74. package/dist/189.4456ac2b4559c9c4e808.bundle.js +1 -0
  75. package/dist/19.ec4fc8946a6edb7dc7c9.bundle.js +1 -0
  76. package/dist/{189.8e5e3adedd441defe4c4.bundle.js → 190.d758ca3d4a14b7273bab.bundle.js} +1 -1
  77. package/dist/{190.66e3bdaa04b4decf2ba3.bundle.js → 191.8c31e698a482ba52ca82.bundle.js} +1 -1
  78. package/dist/{191.9ef6c0f16573bdd9518d.bundle.js → 192.944cc89f4d31c0fd8f79.bundle.js} +1 -1
  79. package/dist/{192.9ad3f67bf0b4fb24ddcf.bundle.js → 193.fad67143e7b911118459.bundle.js} +1 -1
  80. package/dist/194.a4f892be39e071e2552a.bundle.js +1 -0
  81. package/dist/{194.901bc655cc4dcf5b8828.bundle.js → 195.7f8774fd8da98c5897a1.bundle.js} +1 -1
  82. package/dist/{195.83c158392cc91057790a.bundle.js → 196.3ab76ea57aaa91d34511.bundle.js} +1 -1
  83. package/dist/{196.6d5d8cd75bca1a0b3dc7.bundle.js → 197.9bbab0d7f35c2b58914f.bundle.js} +1 -1
  84. package/dist/{197.8ca96ca487a40fa840d8.bundle.js → 198.813986f24f2f7887e738.bundle.js} +1 -1
  85. package/dist/{198.55aaef214f973f2fd765.bundle.js → 199.246f0549d7bdf7c18215.bundle.js} +1 -1
  86. package/dist/2.907f954e4f9e0697612c.bundle.js +1 -0
  87. package/dist/{21.d5df29d93e8f06b119cd.bundle.js → 20.b6d679aabf452ffe8369.bundle.js} +1 -1
  88. package/dist/{199.78325ea1b608d918bace.bundle.js → 200.20f4846b9ed97b60def3.bundle.js} +1 -1
  89. package/dist/{200.3dd11bd82a04bd69210c.bundle.js → 201.768937613e43caedd9fc.bundle.js} +1 -1
  90. package/dist/{201.52d4c7b0be7a81409dea.bundle.js → 202.0d38d4ec1e39e8ca91b7.bundle.js} +1 -1
  91. package/dist/{202.68366d4b80b30a01bb64.bundle.js → 203.a78dd70f65b08ecb58d2.bundle.js} +1 -1
  92. package/dist/{203.32b1161ee403ee6a7a87.bundle.js → 204.e1f61ba757fbc813e6d4.bundle.js} +1 -1
  93. package/dist/{204.e6532d83950ed0d90858.bundle.js → 205.cc2c5786dff7bf31b08c.bundle.js} +1 -1
  94. package/dist/{205.32d53c454812ece54ad3.bundle.js → 206.dadf18fb31b0533b1696.bundle.js} +1 -1
  95. package/dist/{206.b7693b489aab517013c0.bundle.js → 207.44dbc18bb4c8fa07cc66.bundle.js} +1 -1
  96. package/dist/{207.90cd07e725f11e2955a9.bundle.js → 208.dda72c8e3795ba716704.bundle.js} +1 -1
  97. package/dist/{208.c859bf3d849bb6a23309.bundle.js → 209.7f8b6e8e2869b51c554c.bundle.js} +1 -1
  98. package/dist/{22.558319f1b7a334b4c6f7.bundle.js → 21.6fc8ebce5e63eedb5f9e.bundle.js} +1 -1
  99. package/dist/{209.71ae9f27360cea1fea35.bundle.js → 210.6d601b172d76d9bc2c98.bundle.js} +1 -1
  100. package/dist/{210.ac3c6377ae376bb1af4b.bundle.js → 211.ad09e493e9be031887e9.bundle.js} +1 -1
  101. package/dist/{211.0ec643f55b948a8f9f48.bundle.js → 212.364965f963bcd6331e6f.bundle.js} +1 -1
  102. package/dist/{212.a4b953e7f5eb25d75fe7.bundle.js → 213.6c5b540986e7b24a338a.bundle.js} +1 -1
  103. package/dist/{213.a4bb72951f7027af40e7.bundle.js → 214.3c333d59839d2bcd183e.bundle.js} +1 -1
  104. package/dist/{215.2715de57bc29ae12760a.bundle.js → 215.a95cf561d38004eff071.bundle.js} +1 -1
  105. package/dist/{216.481eecbf6ba93bcaf9cd.bundle.js → 216.acdd4ee62af663ab18a1.bundle.js} +1 -1
  106. package/dist/{218.060db62650e72ac409e6.bundle.js → 218.66399da8a64421df67c1.bundle.js} +1 -1
  107. package/dist/{219.da0d3aa938ac7abd5fc4.bundle.js → 219.05c3d5e61c9bb4752e5f.bundle.js} +1 -1
  108. package/dist/22.8ee5985085ab2c4b99f1.bundle.js +2 -0
  109. package/dist/{220.975a8d3d5bb4c9f98f03.bundle.js → 220.069190d187dfc576daed.bundle.js} +1 -1
  110. package/dist/{221.db6ab18cac0e062988f2.bundle.js → 221.3553362f556124c787a8.bundle.js} +1 -1
  111. package/dist/{223.8518540ce17b71ee7d00.bundle.js → 223.37d133ce14e20b0efe2d.bundle.js} +1 -1
  112. package/dist/{23.a73e0d554b13e8be6192.bundle.js → 23.91ef26cbbdeac17b5756.bundle.js} +1 -1
  113. package/dist/{232.a82bb60245703594146d.bundle.js → 232.ddae678620e7c15b8ec4.bundle.js} +1 -1
  114. package/dist/{233.04f3ef286087750260da.bundle.js → 233.007908cb7a913f1554ed.bundle.js} +1 -1
  115. package/dist/{235.da3fa81ece977040e9ae.bundle.js → 235.97d46a9b6277079ae6cc.bundle.js} +1 -1
  116. package/dist/{24.fb8fb91e17bebea57530.bundle.js → 24.498f1aefa71ceb33d2f8.bundle.js} +1 -1
  117. package/dist/242.91371576625ebddd82e9.bundle.js +1 -0
  118. package/dist/243.36fbc0c96d0a35048949.bundle.js +1 -0
  119. package/dist/{244.d46b9193359e7de1daa3.bundle.js → 244.526affae61c05ae944d3.bundle.js} +1 -1
  120. package/dist/{245.1ce3b6cc293a8c72b187.bundle.js → 245.feedc08d977143faa08e.bundle.js} +1 -1
  121. package/dist/{246.0cb817418790a596b441.bundle.js → 246.136fac3b1ce27662490d.bundle.js} +1 -1
  122. package/dist/{25.05618f7474a6e6d47ff2.bundle.js → 25.f5a19d06088f0938fc9f.bundle.js} +1 -1
  123. package/dist/257.943f597bddc0d65103c5.bundle.js +1 -0
  124. package/dist/259.2c88332b7f1b47935a47.bundle.js +1 -1
  125. package/dist/26.85a305c95834a8a1a05a.bundle.js +1 -0
  126. package/dist/260.d745422c537bdd9647bb.bundle.js +1 -1
  127. package/dist/261.7efff7f93f61f061f5ca.bundle.js +1 -1
  128. package/dist/{270.ac5c5d3247ad275e7009.bundle.js → 269.601d4fc4300f4553d75c.bundle.js} +1 -1
  129. package/dist/27.92bfb161b420732902a3.bundle.js +1 -0
  130. package/dist/{271.9a3928b874295c3742c9.bundle.js → 270.e9d338a5cf954fbc1f4c.bundle.js} +1 -1
  131. package/dist/{272.1a054f1ad3341ea6a8bf.bundle.js → 271.a88eeff63bbc87791af0.bundle.js} +1 -1
  132. package/dist/{273.a76e42437fb947cf800e.bundle.js → 272.ddacc590a66bdb0fa651.bundle.js} +1 -1
  133. package/dist/{274.5c68c6d7373825aa4e86.bundle.js → 273.d45db281162abbe864ae.bundle.js} +1 -1
  134. package/dist/{275.e2dcae6396e8a69cfda6.bundle.js → 274.eca3da80ab4f0b4a3263.bundle.js} +1 -1
  135. package/dist/{276.7f9b39624632a68a5285.bundle.js → 275.509ea766eda3bbcf1562.bundle.js} +1 -1
  136. package/dist/{277.bfe0617252621ed4c42e.bundle.js → 276.f816f19aaa4522373a5f.bundle.js} +1 -1
  137. package/dist/{278.93d21415de115ff1f4ea.bundle.js → 277.6c6b5259fa26936adf41.bundle.js} +1 -1
  138. package/dist/{279.eae641def34a167d2281.bundle.js → 278.bfc453e4fdb94806e6fc.bundle.js} +1 -1
  139. package/dist/{280.1df4667ec8bdeb6dfaea.bundle.js → 279.855b2c767116d91fdc3b.bundle.js} +1 -1
  140. package/dist/28.2e0277168c8f14f9c085.bundle.js +1 -0
  141. package/dist/{281.53c031371f2bb364c04d.bundle.js → 280.95394d461866b83c32b7.bundle.js} +1 -1
  142. package/dist/{282.fe20f54cb2cbcce66407.bundle.js → 281.fcaf9deb44f93c85ef68.bundle.js} +1 -1
  143. package/dist/{283.207dc2ee5d4f42eb8843.bundle.js → 282.bede8a18d3e678b7895d.bundle.js} +1 -1
  144. package/dist/{284.3f82d52f39f429a80a3d.bundle.js → 283.bf3ea5f6f6b8406e5401.bundle.js} +1 -1
  145. package/dist/{285.001918dbfd9d06b076f5.bundle.js → 284.3f34606cfbcefb0a1a47.bundle.js} +1 -1
  146. package/dist/{286.a942f86c8f772d2c5a97.bundle.js → 285.4e95ca9e283ddd26fcbf.bundle.js} +1 -1
  147. package/dist/{287.494a03de1929e1d105ab.bundle.js → 286.8c8f50e9844881f0b028.bundle.js} +1 -1
  148. package/dist/{288.b2b166b7f54396a82703.bundle.js → 287.23b580771ee0d5e65d41.bundle.js} +1 -1
  149. package/dist/288.6cef162ec3cec3cde603.bundle.js +1 -0
  150. package/dist/{290.8f09c520973805dc0b75.bundle.js → 289.c47fa5cd7d5468dce45f.bundle.js} +1 -1
  151. package/dist/29.128101fabb544e88e448.bundle.js +1 -0
  152. package/dist/{291.f74df165a765971f45f8.bundle.js → 290.b9baf8eed99b4447f086.bundle.js} +1 -1
  153. package/dist/{292.c98a310d9505c88dbb03.bundle.js → 291.1e7bf6b667f7698ac645.bundle.js} +1 -1
  154. package/dist/{293.5927b1ccc8652a69f9f6.bundle.js → 292.44bcf6642bd3fac703b4.bundle.js} +1 -1
  155. package/dist/{294.fa4adea2ba4209ed2948.bundle.js → 293.184eb39d3229ef066269.bundle.js} +1 -1
  156. package/dist/{295.101fa72149ab787e61be.bundle.js → 294.338c276decc123976f73.bundle.js} +1 -1
  157. package/dist/{296.f771364da8206ec2bf47.bundle.js → 295.72eea8b2cf594acd85e6.bundle.js} +1 -1
  158. package/dist/{297.3860f145d5e36bd73827.bundle.js → 296.8f11a500bce671ed75db.bundle.js} +1 -1
  159. package/dist/{298.008ebf3a3821b3d63665.bundle.js → 297.71b96380e1103cd792d9.bundle.js} +1 -1
  160. package/dist/{299.ed41fda2bf4ed838a124.bundle.js → 298.39626a266f47903126bf.bundle.js} +1 -1
  161. package/dist/299.d3636e77b768f4300e8c.bundle.js +1 -0
  162. package/dist/3.e877f5e49ef930b8b905.bundle.js +1 -0
  163. package/dist/{30.b0601d9b2eb0378f357b.bundle.js → 30.1ffda412dea3c5f55c24.bundle.js} +1 -1
  164. package/dist/300.c9844b95b03ac7295e4f.bundle.js +1 -0
  165. package/dist/{302.10346bda237ba9c799b7.bundle.js → 301.e9495589c306b342c312.bundle.js} +1 -1
  166. package/dist/{303.859738ec0caf12df13cf.bundle.js → 302.d16e044e23278bf1e922.bundle.js} +1 -1
  167. package/dist/{304.cc77ddd04449a3441850.bundle.js → 303.4ab6b30437bce5474d30.bundle.js} +1 -1
  168. package/dist/{305.c75df156c0f68e0459c2.bundle.js → 304.e055e669c9bad5898984.bundle.js} +1 -1
  169. package/dist/{31.00357926a3dd506cfed4.bundle.js → 31.2c95be2edb9c756e0f13.bundle.js} +1 -1
  170. package/dist/{32.2dff690bb00caa029abd.bundle.js → 32.08cc7807b71cf869e6e2.bundle.js} +1 -1
  171. package/dist/{33.37ed81796994b7ed62c4.bundle.js → 33.601eab9a8c9d80755599.bundle.js} +1 -1
  172. package/dist/{34.abf8789b45b8ea96ff18.bundle.js → 34.b03038da5530dcb82c85.bundle.js} +1 -1
  173. package/dist/{35.e25cce53f1c1db91b953.bundle.js → 35.d337b2f1aeac7bab3100.bundle.js} +2 -2
  174. package/dist/{36.2c564976b0b096602ab8.bundle.js → 36.780bcf12c8d8b5742eac.bundle.js} +1 -1
  175. package/dist/{37.675f0007659d6dccbfb7.bundle.js → 37.2204724b4ae08556283e.bundle.js} +1 -1
  176. package/dist/{38.f34422a7ebc7fbd1a3d9.bundle.js → 38.0edff4c7b76c9652f664.bundle.js} +1 -1
  177. package/dist/{39.013faadc982d2e0d9336.bundle.js → 39.f691f87a4527e58da4a2.bundle.js} +1 -1
  178. package/dist/{4.3ae49ec335f1df4b4021.bundle.js → 4.fe432ceb2b88c03018b3.bundle.js} +1 -1
  179. package/dist/40.53352fda81f370182e99.bundle.js +1 -0
  180. package/dist/{41.69bf4dc04f2a78673ece.bundle.js → 41.5a0ecbdf78c48ddce365.bundle.js} +1 -1
  181. package/dist/{42.cff7a32967655ea47a5d.bundle.js → 42.6a677110f335d516813b.bundle.js} +1 -1
  182. package/dist/{43.9d5fccb177630687a006.bundle.js → 43.bcf30fa642d63c585962.bundle.js} +1 -1
  183. package/dist/{44.4557be8e879e9d9424d6.bundle.js → 44.f3060f0a04c90bc70a36.bundle.js} +1 -1
  184. package/dist/{45.ee8f8aae55544a60ac71.bundle.js → 45.001b1bcbff1d7c9b3288.bundle.js} +1 -1
  185. package/dist/{46.65eadbfe8c59dc269d41.bundle.js → 46.7682ca54e79000d992ab.bundle.js} +1 -1
  186. package/dist/{47.f9a994c85d53f6b9eb98.bundle.js → 47.7e030d52af57062c6527.bundle.js} +1 -1
  187. package/dist/{48.736ef0fb5be450f7f88f.bundle.js → 48.669aedf81599ca0aee35.bundle.js} +1 -1
  188. package/dist/{49.f7cdf694fb74c8356472.bundle.js → 49.319507fd2417a71a157e.bundle.js} +1 -1
  189. package/dist/{5.dd3cfaf9a2a1592206f5.bundle.js → 5.f58f4e96c07a6a7a0e06.bundle.js} +1 -1
  190. package/dist/{50.6f8fd26290d2e6983c3d.bundle.js → 50.91efd0f7c94e635eb31b.bundle.js} +1 -1
  191. package/dist/51.9696bc200e07cfc15860.bundle.js +1 -0
  192. package/dist/{52.0c98d51c1112e976cf19.bundle.js → 52.37332ab2c0675e0a802c.bundle.js} +1 -1
  193. package/dist/{53.4b5fe6ce05e0c783fe29.bundle.js → 53.967c8f3d2a9f33fcfc27.bundle.js} +1 -1
  194. package/dist/{54.aa3428ee30dd14e05d9f.bundle.js → 54.07a064723a033340c51b.bundle.js} +1 -1
  195. package/dist/{55.efa5ad31d67af2c744b2.bundle.js → 55.1f556c49966d089af28e.bundle.js} +1 -1
  196. package/dist/{56.ac94dd0ea4db2a581c35.bundle.js → 56.0bfd1ac12b2c5f9116e5.bundle.js} +1 -1
  197. package/dist/{57.9233b17159cc3c6945ef.bundle.js → 57.19a0ece12b6fb894221d.bundle.js} +1 -1
  198. package/dist/{58.8806cb9a47b2fc28bdfc.bundle.js → 58.b741d32027a50f883617.bundle.js} +1 -1
  199. package/dist/{60.461c92385bbfc8190b68.bundle.js → 59.01fd6bb0dea0e31b8c98.bundle.js} +1 -1
  200. package/dist/{6.9557b6506bf958c26a2a.bundle.js → 6.0685b09a3646005a1521.bundle.js} +1 -1
  201. package/dist/60.dd84d15683316fe6c548.bundle.js +1 -0
  202. package/dist/61.2fdefec6b0e4f2f01dc9.bundle.js +1 -0
  203. package/dist/{62.41d2c2ef3b10e249cc3d.bundle.js → 62.3cda5cf1c8a74f8bccc6.bundle.js} +1 -1
  204. package/dist/{63.79ceab2871c4bf87e565.bundle.js → 63.dbce2c16115eac52fed2.bundle.js} +1 -1
  205. package/dist/{64.e25269fafd7b80074f79.bundle.js → 64.0b46f2876921c15c0f4d.bundle.js} +1 -1
  206. package/dist/{65.274e72f7a969f86decfd.bundle.js → 65.4c044f55fb8e826c87a0.bundle.js} +1 -1
  207. package/dist/{66.67b3d47091fe6530aa39.bundle.js → 66.c8b9472b02654a17b61c.bundle.js} +1 -1
  208. package/dist/{67.e0f4b94ebc82fee55aca.bundle.js → 67.958136cd17ad37887b60.bundle.js} +1 -1
  209. package/dist/{68.1c621dfd5257b2c18e11.bundle.js → 68.b4bf34276a3cab5e48bf.bundle.js} +1 -1
  210. package/dist/{69.1276f759153f8028a437.bundle.js → 69.68337b9a2e3104600ff6.bundle.js} +1 -1
  211. package/dist/{7.215fb90676ad005678a5.bundle.js → 7.15f6406e6baaef520b7f.bundle.js} +1 -1
  212. package/dist/{70.4d4e64191987cf37cdfa.bundle.js → 70.e04eced6ee3b7d712377.bundle.js} +1 -1
  213. package/dist/{71.ba412850727546ca9e65.bundle.js → 71.0fbdedcc573e4e38ff6a.bundle.js} +1 -1
  214. package/dist/{72.38694f9e5cf82efcec93.bundle.js → 72.e71caf5330e0c1cece04.bundle.js} +1 -1
  215. package/dist/{73.6a1697ff88885fd26dc9.bundle.js → 73.298162fe9ad207efe8a5.bundle.js} +1 -1
  216. package/dist/{74.6fde68e288d8e4277ed6.bundle.js → 74.b57c202b34d9d8effbcb.bundle.js} +1 -1
  217. package/dist/{75.497bd1a7aea851d96296.bundle.js → 75.8be72a221b92aa667da7.bundle.js} +1 -1
  218. package/dist/{76.5e2b21f991515d0d19bf.bundle.js → 76.0f45a150d03cf8aeeb9d.bundle.js} +1 -1
  219. package/dist/{77.90e14a1db3003d600a7f.bundle.js → 77.257e393d86a8fb9f2102.bundle.js} +1 -1
  220. package/dist/{78.4bbce98263e92664ab76.bundle.js → 78.83432ef1cff39b57aa50.bundle.js} +1 -1
  221. package/dist/{79.57f1baf03c17fa5d4ecf.bundle.js → 79.74e2421bfb8f6c563a99.bundle.js} +1 -1
  222. package/dist/{8.31311bef7b4e3d07b172.bundle.js → 8.df1e59fdf8864051f4b0.bundle.js} +2 -2
  223. package/dist/{80.73b9a4e922936baa0574.bundle.js → 80.53a2f5637376be338bb5.bundle.js} +1 -1
  224. package/dist/{81.22b0aca7b4f9137a0882.bundle.js → 81.a48e2d16edd121965d2f.bundle.js} +1 -1
  225. package/dist/{82.4e90f4fa2c1642a82980.bundle.js → 82.bde6d42f833167581069.bundle.js} +1 -1
  226. package/dist/{83.3dbe889b4ba264a9d674.bundle.js → 83.4bb7fb45433f0902ba64.bundle.js} +1 -1
  227. package/dist/{84.833096ee7ee9d0b926e2.bundle.js → 84.3fe74c343dd811256a58.bundle.js} +1 -1
  228. package/dist/85.e34e2854ea217304bf69.bundle.js +1 -0
  229. package/dist/{88.9ee9ff59ae44adabb225.bundle.js → 88.a54c809c84dbef177321.bundle.js} +1 -1
  230. package/dist/9.3890e642c0ae619d2c59.bundle.js +1 -0
  231. package/dist/{90.b6a2d473b83c0962a11f.bundle.js → 90.82bdd586c3a8e362fd99.bundle.js} +1 -1
  232. package/dist/{92.b19c893704dcb4660ede.bundle.js → 92.c68c7391efc7d3b46a0d.bundle.js} +1 -1
  233. package/dist/{93.1d771358d292c85ea6a9.bundle.js → 93.daf27be7933412f1637f.bundle.js} +1 -1
  234. package/dist/{94.29b7382aeb902f46d24a.bundle.js → 94.e7ab23159456b757afa9.bundle.js} +1 -1
  235. package/dist/{96.b8ea5582fc702c107cfd.bundle.js → 96.e01346a08ab153a02364.bundle.js} +1 -1
  236. package/dist/{98.fd14853ecbdcc01894e9.bundle.js → 98.1f20ae086eeefbf60b9f.bundle.js} +1 -1
  237. package/dist/{bundle.e8a8019cba24aec4c600.bundle.js → bundle.782865d765633c869a40.bundle.js} +22 -22
  238. package/dist/css/aclmanagement.css +71 -12
  239. package/dist/css/autocomplete-select.css +2 -1
  240. package/dist/css/bootstrap-graphdb-theme.css +3 -0
  241. package/dist/css/lib/ontotext-yasgui-web-component.css +9 -0
  242. package/dist/i18n/locale-en.json +15 -17
  243. package/dist/i18n/locale-fr.json +15 -17
  244. package/dist/index.html +5 -5
  245. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +5 -4
  246. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  247. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  248. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  249. package/dist/js/angular/import/templates/settingsModal.html +0 -18
  250. package/dist/js/angular/security/templates/user.html +1 -1
  251. package/dist/license-checker.json +28 -28
  252. package/dist/{main.d146b6bf3b36c70d7eb4.css → main.cd9080d130335332d006.css} +1 -1
  253. package/dist/pages/aclmanagement.html +83 -55
  254. package/dist/pages/autocomplete.html +1 -1
  255. package/dist/pages/choose-repository-type.html +1 -1
  256. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  257. package/dist/pages/create-index.html +1 -1
  258. package/dist/pages/dependencies.html +1 -1
  259. package/dist/pages/domainRangeInfo.html +2 -2
  260. package/dist/pages/edit.html +1 -1
  261. package/dist/pages/explore.html +1 -1
  262. package/dist/pages/export.html +2 -20
  263. package/dist/pages/find.html +1 -1
  264. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  265. package/dist/pages/graphs-visualizations.html +7 -7
  266. package/dist/pages/guides.html +1 -1
  267. package/dist/pages/import.html +1 -1
  268. package/dist/pages/jdbc-create.html +1 -1
  269. package/dist/pages/monitor/backup-and-restore.html +1 -1
  270. package/dist/pages/monitor/queries.html +1 -1
  271. package/dist/pages/monitor/resources.html +1 -1
  272. package/dist/pages/namespaces.html +2 -2
  273. package/dist/pages/plugins.html +1 -1
  274. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  275. package/dist/pages/rdfrank.html +2 -2
  276. package/dist/pages/repositories.html +1 -1
  277. package/dist/pages/repository.html +1 -1
  278. package/dist/pages/similarity-indexes.html +1 -1
  279. package/dist/pages/sparql-editor.html +1 -1
  280. package/dist/pages/sparql-template-create.html +1 -1
  281. package/dist/pages/webapi.html +2 -2
  282. package/dist/{polyfills-dom.c264909e933fbc136d2e.bundle.js → polyfills-dom.e5e420bcb04603449d09.bundle.js} +1 -1
  283. package/dist/res/swagger/index.html +27 -27
  284. package/dist/{vendors~polyfills-core-js.4c9bf30520de19c215c1.bundle.js → vendors~polyfills-core-js.efe4b0ec258663b8b247.bundle.js} +1 -1
  285. package/package.json +2 -2
  286. package/dist/0.57d3540baa17edfe5cb2.bundle.js +0 -25
  287. package/dist/10.fcb4c283ed0e3ff77b9d.bundle.js +0 -1
  288. package/dist/11.e99d653419379ecf1b23.bundle.js +0 -1
  289. package/dist/149.e6ef25aca0b2356c2293.bundle.js +0 -1
  290. package/dist/15.b7f9dea17c384ee4f501.bundle.js +0 -1
  291. package/dist/154.a4116ecb8a9036e69532.bundle.js +0 -1
  292. package/dist/167.5c7c94a187107facac9c.bundle.js +0 -1
  293. package/dist/168.3e88b975a713f94e7d39.bundle.js +0 -1
  294. package/dist/17.f3951ee36cae3c2e59e2.bundle.js +0 -3
  295. package/dist/18.ae49723fee4c6316d3a0.bundle.js +0 -1
  296. package/dist/180.93416941c0938f77058c.bundle.js +0 -1
  297. package/dist/181.6ff5034f9a143adaa8a3.bundle.js +0 -1
  298. package/dist/188.a2cfced84824c4dfe8a5.bundle.js +0 -1
  299. package/dist/193.536e27e756a0f3c43b78.bundle.js +0 -1
  300. package/dist/2.3e6f434d5cdba922bb1d.bundle.js +0 -1
  301. package/dist/20.5ca7e302158bd768359d.bundle.js +0 -1
  302. package/dist/214.57cf0895f70c7c940ce5.bundle.js +0 -1
  303. package/dist/242.b5be51c553871ce3d83a.bundle.js +0 -1
  304. package/dist/243.c56f69b8c7dd3a2be144.bundle.js +0 -1
  305. package/dist/257.1e51f84ae10ed1a8a23b.bundle.js +0 -1
  306. package/dist/26.4eeeb7afd51795af82d7.bundle.js +0 -1
  307. package/dist/269.aec62cb6b5fa398be182.bundle.js +0 -1
  308. package/dist/27.e6c49ef111cabef46fd7.bundle.js +0 -1
  309. package/dist/28.9b2e80653eb69e4525ef.bundle.js +0 -1
  310. package/dist/289.7afbd014836c2b589df6.bundle.js +0 -1
  311. package/dist/29.a3413b59c038000244e5.bundle.js +0 -1
  312. package/dist/3.5b3776ce9f03e23885e4.bundle.js +0 -1
  313. package/dist/300.7182234269fde947567e.bundle.js +0 -1
  314. package/dist/301.2ec6cf72222278c83955.bundle.js +0 -1
  315. package/dist/40.cef0c3d8ef5a88d4a6e8.bundle.js +0 -1
  316. package/dist/51.36a5ca508d953a43df6d.bundle.js +0 -1
  317. package/dist/59.eb1a39fa936028cf3d6d.bundle.js +0 -1
  318. package/dist/61.f9061b24728ef92e2702.bundle.js +0 -1
  319. package/dist/85.172aa928154b446a004e.bundle.js +0 -1
  320. package/dist/9.bb8dc22bb967a40f67fe.bundle.js +0 -2
  321. package/dist/js/angular/export/templates/exportSettingsModal.html +0 -57
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[35],{419:function(t,e){
2
- /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var t=8,e=9,i=13,n=27,s=32,o=38,r=40,a=37,l=39,h=46,u=188,c=9007199254740991,p=["text","email","url"],d=angular.module("ngTagsInput",[]);d.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(e,n,o,r,d,g){function f(t,e,i,n){var s,o,a,l,h={};return s=function(e){return g.safeToString(e[t.displayProperty])},o=function(e,i){e[t.displayProperty]=i},a=function(e){var n=s(e),o=n&&n.length>=t.minLength&&n.length<=t.maxLength&&t.allowedTagsPattern.test(n)&&!g.findInObjectArray(h.items,e,t.keyProperty||t.displayProperty);return r.when(o&&i({$tag:e})).then(g.promisifyValue)},l=function(t){return r.when(n({$tag:t})).then(g.promisifyValue)},h.items=[],h.addText=function(t){var e={};return o(e,t),h.add(e)},h.add=function(i){var n=s(i);return t.replaceSpacesWithDashes&&(n=g.replaceSpacesWithDashes(n)),o(i,n),a(i).then((function(){h.items.push(i),e.trigger("tag-added",{$tag:i})})).catch((function(){n&&e.trigger("invalid-tag",{$tag:i})}))},h.remove=function(t){var i=h.items[t];return l(i).then((function(){return h.items.splice(t,1),h.clearSelection(),e.trigger("tag-removed",{$tag:i}),i}))},h.select=function(t){0>t?t=h.items.length-1:t>=h.items.length&&(t=0),h.index=t,h.selected=h.items[t]},h.selectPrior=function(){h.select(--h.index)},h.selectNext=function(){h.select(++h.index)},h.removeSelected=function(){return h.remove(h.index)},h.clearSelection=function(){h.selected=null,h.index=-1},h.getItems=function(){return t.useStrings?h.items.map(s):h.items},h.clearSelection(),h}function m(t){return-1!==p.indexOf(t)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(t,e,i){t.events=g.simplePubSub(),d.load("tagsInput",t,e,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",m],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,c],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,c],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),t.tagList=new f(t.options,t.events,g.handleUndefinedResult(t.onTagAdding,!0),g.handleUndefinedResult(t.onTagRemoving,!0)),this.registerAutocomplete=function(){return i.find("input"),{addTag:function(e){return t.tagList.add(e)},getTags:function(){return t.tagList.items},getCurrentTagText:function(){return t.newTag.text()},getOptions:function(){return t.options},getTemplateScope:function(){return t.templateScope},on:function(e,i){return t.events.on(e,i,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return t.options},removeTag:function(e){t.disabled||t.tagList.remove(e)}}}}],link:function(r,c,p,d){var f,m,b=[i,u,s,t,h,a,l],v=r.tagList,y=r.events,x=r.options,w=c.find("input"),S=["minTags","maxTags","allowLeftoverText"];f=function(){d.$setValidity("maxTags",v.items.length<=x.maxTags),d.$setValidity("minTags",v.items.length>=x.minTags),d.$setValidity("leftoverText",!(!r.hasFocus&&!x.allowLeftoverText)||!r.newTag.text())},m=function(){e((function(){w[0].focus()}))},d.$isEmpty=function(t){return!t||!t.length},r.newTag={text:function(t){return angular.isDefined(t)?(r.text=t,void y.trigger("input-change",t)):r.text||""},invalid:null},r.track=function(t){return t[x.keyProperty||x.displayProperty]},r.getTagClass=function(t,e){var i=t===v.selected;return[r.tagClass({$tag:t,$index:e,$selected:i}),{selected:i}]},r.$watch("tags",(function(t){if(t){if(v.items=g.makeObjectArray(t,x.displayProperty),x.useStrings)return;r.tags=v.items}else v.items=[]})),r.$watch("tags.length",(function(){f(),d.$validate()})),p.$observe("disabled",(function(t){r.disabled=t})),r.eventHandlers={input:{keydown:function(t){y.trigger("input-keydown",t)},focus:function(){r.hasFocus||(r.hasFocus=!0,y.trigger("input-focus"))},blur:function(){e((function(){var t=n.prop("activeElement"),e=t===w[0],i=c[0].contains(t);(e||!i)&&(r.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(t){t.getTextData=function(){var e=t.clipboardData||t.originalEvent&&t.originalEvent.clipboardData;return e?e.getData("text/plain"):o.clipboardData.getData("Text")},y.trigger("input-paste",t)}},host:{click:function(){r.disabled||m()}},tag:{click:function(t){y.trigger("tag-clicked",{$tag:t})}}},y.on("tag-added",r.onTagAdded).on("invalid-tag",r.onInvalidTag).on("tag-removed",r.onTagRemoved).on("tag-clicked",r.onTagClicked).on("tag-added",(function(){r.newTag.text("")})).on("tag-added tag-removed",(function(){r.tags=v.getItems(),d.$setDirty(),m()})).on("invalid-tag",(function(){r.newTag.invalid=!0})).on("option-change",(function(t){-1!==S.indexOf(t.name)&&f()})).on("input-change",(function(){v.clearSelection(),r.newTag.invalid=null})).on("input-focus",(function(){c.triggerHandler("focus"),d.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&v.addText(r.newTag.text()),c.triggerHandler("blur"),f()})).on("input-keydown",(function(e){var n,o,c,p,d=e.keyCode,f={};g.isModifierOn(e)||-1===b.indexOf(d)||(f[i]=x.addOnEnter,f[u]=x.addOnComma,f[s]=x.addOnSpace,n=!x.addFromAutocompleteOnly&&f[d],o=(d===t||d===h)&&v.selected,p=d===t&&0===r.newTag.text().length&&x.enableEditingLastTag,c=(d===t||d===a||d===l)&&0===r.newTag.text().length&&!x.enableEditingLastTag,n?v.addText(r.newTag.text()):p?(v.selectPrior(),v.removeSelected().then((function(t){t&&r.newTag.text(t[x.displayProperty])}))):o?v.removeSelected():c&&(d===a||d===t?v.selectPrior():d===l&&v.selectNext()),(n||c||o||p)&&e.preventDefault())})).on("input-paste",(function(t){if(x.addOnPaste){var e=t.getTextData().split(x.pasteSplitPattern);e.length>1&&(e.forEach((function(t){v.addText(t)})),t.preventDefault())}}))}}}]),d.directive("tiTagItem",["tiUtil",function(t){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(e,i,n,s){var o=s.registerTagItem(),r=o.getOptions();e.$$template=r.template,e.$$removeTagSymbol=r.removeTagSymbol,e.$getDisplayText=function(){return t.safeToString(e.data[r.displayProperty])},e.$removeTag=function(){o.removeTag(e.$index)},e.$watch("$parent.$index",(function(t){e.$index=t}))}}}]),d.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(t,s,a,l,h,u){function c(t,e,i){var n,s,o,r={};return o=function(){return e.tagsInput.keyProperty||e.tagsInput.displayProperty},n=function(t,i){return t.filter((function(t){return!u.findInObjectArray(i,t,o(),(function(t,i){return e.tagsInput.replaceSpacesWithDashes&&(t=u.replaceSpacesWithDashes(t),i=u.replaceSpacesWithDashes(i)),u.defaultComparer(t,i)}))}))},r.reset=function(){s=null,r.items=[],r.visible=!1,r.index=-1,r.selected=null,r.query=null},r.show=function(){e.selectFirstMatch?r.select(0):r.selected=null,r.visible=!0},r.load=u.debounce((function(i,a){r.query=i;var h=l.when(t({$query:i}));s=h,h.then((function(t){h===s&&(t=u.makeObjectArray(t.data||t,o()),t=n(t,a),r.items=t.slice(0,e.maxResultsToShow),r.items.length>0?r.show():r.reset())}))}),e.debounceDelay),r.selectNext=function(){r.select(++r.index)},r.selectPrior=function(){r.select(--r.index)},r.select=function(t){0>t?t=r.items.length-1:t>=r.items.length&&(t=0),r.index=t,r.selected=r.items[t],i.trigger("suggestion-selected",t)},r.reset(),r}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(t,e,i){t.events=u.simplePubSub(),h.load("autoComplete",t,i,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),t.suggestionList=new c(t.source,t.options,t.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return t.options},getQuery:function(){return t.suggestionList.query}}}}],link:function(t,s,a,l){var h,c=[i,e,n,o,r],p=t.suggestionList,d=l.registerAutocomplete(),g=t.options,f=t.events;g.tagsInput=d.getOptions(),h=function(t){return t&&t.length>=g.minLength||!t&&g.loadOnEmpty},t.templateScope=d.getTemplateScope(),t.addSuggestionByIndex=function(e){p.select(e),t.addSuggestion()},t.addSuggestion=function(){var t=!1;return p.selected&&(d.addTag(angular.copy(p.selected)),p.reset(),t=!0),t},t.track=function(t){return t[g.tagsInput.keyProperty||g.tagsInput.displayProperty]},t.getSuggestionClass=function(e,i){var n=e===p.selected;return[t.matchClass({$match:e,$index:i,$selected:n}),{selected:n}]},d.on("tag-added tag-removed invalid-tag input-blur",(function(){p.reset()})).on("input-change",(function(t){h(t)?p.load(t,d.getTags()):p.reset()})).on("input-focus",(function(){var t=d.getCurrentTagText();g.loadOnFocus&&h(t)&&p.load(t,d.getTags())})).on("input-keydown",(function(s){var a=s.keyCode,l=!1;if(!u.isModifierOn(s)&&-1!==c.indexOf(a))return p.visible?a===r?(p.selectNext(),l=!0):a===o?(p.selectPrior(),l=!0):a===n?(p.reset(),l=!0):(a===i||a===e)&&(l=t.addSuggestion()):a===r&&t.options.loadOnDownArrow&&(p.load(d.getCurrentTagText(),d.getTags()),l=!0),l?(s.preventDefault(),s.stopImmediatePropagation(),!1):void 0})),f.on("suggestion-selected",(function(t){!function(t,e){var i=t.find("li").eq(e),n=i.parent(),s=i.prop("offsetTop"),o=i.prop("offsetHeight"),r=n.prop("clientHeight"),a=n.prop("scrollTop");a>s?n.prop("scrollTop",s):s+o>r+a&&n.prop("scrollTop",s+o-r)}(s,t)}))}}}]),d.directive("tiAutocompleteMatch",["$sce","tiUtil",function(t,e){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(i,n,s,o){var r=o.registerAutocompleteMatch(),a=r.getOptions();i.$$template=a.template,i.$index=i.$parent.$index,i.$highlight=function(i){return a.highlightMatchedText&&(i=e.safeHighlight(i,r.getQuery())),t.trustAsHtml(i)},i.$getDisplayText=function(){return e.safeToString(i.data[a.displayProperty||a.tagsInput.displayProperty])}}}}]),d.directive("tiTranscludeAppend",(function(){return function(t,e,i,n,s){s((function(t){e.append(t)}))}})),d.directive("tiAutosize",["tagsInputConfig",function(t){return{restrict:"A",require:"ngModel",link:function(e,i,n,s){var o,r,a=t.getTextAutosizeThreshold();(o=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),i.parent().append(o),r=function(t){var e,s=t;return angular.isString(s)&&0===s.length&&(s=n.placeholder),s&&(o.text(s),o.css("display",""),e=o.prop("offsetWidth"),o.css("display","none")),i.css("width",e?e+a+"px":""),t},s.$parsers.unshift(r),s.$formatters.unshift(r),n.$observe("placeholder",(function(t){s.$modelValue||r(t)}))}}}]),d.directive("tiBindAttrs",(function(){return function(t,e,i){t.$watch(i.tiBindAttrs,(function(t){angular.forEach(t,(function(t,e){i.$set(e,t)}))}),!0)}})),d.provider("tagsInputConfig",(function(){var t={},e={},i=3;this.setDefaults=function(e,i){return t[e]=i,this},this.setActiveInterpolation=function(t,i){return e[t]=i,this},this.setTextAutosizeThreshold=function(t){return i=t,this},this.$get=["$interpolate",function(n){var s={};return s[String]=function(t){return t},s[Number]=function(t){return parseInt(t,10)},s[Boolean]=function(t){return"true"===t.toLowerCase()},s[RegExp]=function(t){return new RegExp(t)},{load:function(i,o,r,a){var l=function(){return!0};o.options={},angular.forEach(a,(function(a,h){var u,c,p,d,g,f;u=a[0],c=a[1],p=a[2]||l,d=s[u],g=function(){var e=t[i]&&t[i][h];return angular.isDefined(e)?e:c},f=function(t){o.options[h]=t&&p(t)?d(t):g()},e[i]&&e[i][h]?r.$observe(h,(function(t){f(t),o.events.trigger("option-change",{name:h,newValue:t})})):f(r[h]&&n(r[h])(o.$parent))}))},getTextAutosizeThreshold:function(){return i}}}]})),d.factory("tiUtil",["$timeout","$q",function(t,e){var i={debounce:function(e,i){var n;return function(){var s=arguments;t.cancel(n),n=t((function(){e.apply(null,s)}),i)}},makeObjectArray:function(t,e){if(!angular.isArray(t)||0===t.length||angular.isObject(t[0]))return t;var i=[];return t.forEach((function(t){var n={};n[e]=t,i.push(n)})),i},findInObjectArray:function(t,e,n,s){var o=null;return s=s||i.defaultComparer,t.some((function(t){return s(t[n],e[n])?(o=t,!0):void 0})),o},defaultComparer:function(t,e){return i.safeToString(t).toLowerCase()===i.safeToString(e).toLowerCase()},safeHighlight:function(t,e){if(t=i.encodeHTML(t),!(e=i.encodeHTML(e)))return t;var n=new RegExp("&[^;]+;|"+function(t){return t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(e),"gi");return t.replace(n,(function(t){return t.toLowerCase()===e.toLowerCase()?"<em>"+t+"</em>":t}))},safeToString:function(t){return angular.isUndefined(t)||null==t?"":t.toString().trim()},encodeHTML:function(t){return i.safeToString(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(t,e){return function(){var i=t.apply(null,arguments);return angular.isUndefined(i)?e:i}},replaceSpacesWithDashes:function(t){return i.safeToString(t).replace(/\s/g,"-")},isModifierOn:function(t){return t.shiftKey||t.ctrlKey||t.altKey||t.metaKey},promisifyValue:function(t){return t=!!angular.isUndefined(t)||t,e[t?"when":"reject"]()},simplePubSub:function(){var t={};return{on:function(e,i,n){return e.split(" ").forEach((function(e){t[e]||(t[e]=[]),(n?[].unshift:[].push).call(t[e],i)})),this},trigger:function(e,n){return(t[e]||[]).every((function(t){return i.handleUndefinedResult(t,!0)(n)})),this}}}};return i}]),d.run(["$templateCache",function(t){t.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),t.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),t.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),t.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},611:function(t,e){!function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,s,o,r,a=[],l=!0,h=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){h=!0,s=t}finally{try{if(!l&&null!=i.return&&(r=i.return(),Object(r)!==r))return}finally{if(h)throw s}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function n(e,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,(void 0,o=function(e,i){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,i);if("object"!==t(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(s.key,"string"),"symbol"===t(o)?o:String(o)),s)}var o}var s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var i,s;return i=t,(s=[{key:"registerFor",value:function(t){var i,n,s,o;function r(t,i,n){var s=t[0],r=e({top:["scrollTop","pageYOffset","scrollLeft"],left:["scrollLeft","pageXOffset","scrollTop"]}[i],3),a=r[0],l=r[1],h=r[2],u=void 0!==n;return o(s)?u?s.scrollTo(t[h].call(t),n):l in s?s[l]:s.document.documentElement[a]:(u&&(s[a]=n),s[a])}function a(t,n,r){var a,l=function(t,n){var r,a,l,h,u,c,p,d,g,f;if(o(t))return{base:r=document.documentElement[{height:"clientHeight",width:"clientWidth"}[n]],padding:0,border:0,margin:0};var m=e({width:[t.offsetWidth,"Left","Right"],height:[t.offsetHeight,"Top","Bottom"]}[n],3);return r=m[0],p=m[1],d=m[2],c=s(t),g=i(t,c["padding"+p])||0,f=i(t,c["padding"+d])||0,a=i(t,c["border"+p+"Width"])||0,l=i(t,c["border"+d+"Width"])||0,h=c["margin"+p],u=c["margin"+d],{base:r,padding:g+f,border:a+l,margin:(i(t,h)||0)+(i(t,u)||0)}}(t,n);return l.base>0?{base:l.base-l.padding-l.border,outer:l.base,outerfull:l.base+l.margin}[r]:(((a=s(t)[n])<0||null===a)&&(a=t.style[n]||0),{base:(a=parseFloat(a)||0)-l.padding-l.border,outer:a,outerfull:a+l.padding+l.border+l.margin}[r])}return n=angular.element.prototype.css,t.prototype.css=function(t,e){var i=this[0];if(i&&3!==i.nodeType&&8!==i.nodeType&&i.style)return n.call(this,t,e)},o=function(t){return t&&t.document&&t.location&&t.alert&&t.setInterval},window.getComputedStyle?(s=function(t){return window.getComputedStyle(t,null)},i=function(t,e){return parseFloat(e)}):(s=function(t){return t.currentStyle},i=function(t,e){var i,n,s,o,r;return new RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i").test(e)?(i=(r=t.style).left,o=(s=t.runtimeStyle)&&s.left,s&&(s.left=r.left),r.left=e,n=r.pixelLeft,r.left=i,o&&(s.left=o),n):parseFloat(e)}),angular.forEach({before:function(t){var e,i,n,s,o,r;if(i=this[0],(e=(o=this.parent()).contents())[0]===i)return o.prepend(t);for(n=s=1,r=e.length-1;1<=r?s<=r:s>=r;n=1<=r?++s:--s)if(e[n]===i)return void angular.element(e[n-1]).after(t);throw new Error("invalid DOM structure "+i.outerHTML)},height:function(t){return void 0!==t?(angular.isNumber(t)&&(t+="px"),n.call(this,"height",t)):a(this[0],"height","base")},outerHeight:function(t){return a(this[0],"height",t?"outerfull":"outer")},outerWidth:function(t){return a(this[0],"width",t?"outerfull":"outer")},offset:function(t){var e,i,n={top:0,left:0},s=this[0],o=s&&s.ownerDocument;if(arguments.length){if(void 0===t)return this;throw new Error("offset setter method is not implemented")}if(o)return e=o.documentElement,null!=s.getBoundingClientRect&&(n=s.getBoundingClientRect()),i=o.defaultView||o.parentWindow,{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},scrollTop:function(t){return r(this,"top",t)},scrollLeft:function(t){return r(this,"left",t)}},(function(e,i){if(!t.prototype[i])return t.prototype[i]=e}))}}])&&n(i.prototype,s),Object.defineProperty(i,"prototype",{writable:!1}),t}();function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,s=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e);if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===o(s)?s:String(s)),n)}var s}var a="ng-ui-scroll-hide",l=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$animate=e.has&&e.has("$animate")?e.get("$animate"):null,this.isAngularVersionLessThen1_3=1===angular.version.major&&angular.version.minor<3,this.$q=i}var e,i,n;return e=t,n=[{key:"addCSSRules",value:function(){var t,e="."+a,i="display: none",n=document.styleSheets[0];try{t=n.cssRules.length}catch(e){t=0}"insertRule"in n?n.insertRule(e+"{"+i+"}",t):"addRule"in n&&n.addRule(e,i,t)}}],(i=[{key:"hideElement",value:function(t){t.element.addClass(a)}},{key:"showElement",value:function(t){t.element.removeClass(a)}},{key:"insertElement",value:function(t,e){return e.after(t),[]}},{key:"removeElement",value:function(t){return t.element.remove(),t.scope.$destroy(),[]}},{key:"insertElementAnimated",value:function(t,e){if(!this.$animate)return this.insertElement(t,e);if(this.isAngularVersionLessThen1_3){var i=this.$q.defer();return this.$animate.enter(t,null,e,(function(){return i.resolve()})),[i.promise]}return[this.$animate.enter(t,null,e)]}},{key:"removeElementAnimated",value:function(t){if(!this.$animate)return this.removeElement(t);if(this.isAngularVersionLessThen1_3){var e=this.$q.defer();return this.$animate.leave(t.element,(function(){return t.scope.$destroy(),e.resolve()})),[e.promise]}return[this.$animate.leave(t.element).then((function(){return t.scope.$destroy()}))]}}])&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),h="prepend",u="append",c="insert",p="remove",d="none";function g(t,e,i){var n=Object.create(Array.prototype);return angular.extend(n,{size:e,reset:function(t){n.remove(0,n.length),n.eof=!1,n.bof=!1,n.first=t,n.next=t,n.minIndex=t,n.maxIndex=t,n.minIndexUser=null,n.maxIndexUser=null},append:function(t){t.forEach((function(t){++n.next,n.insert(u,t)})),n.maxIndex=n.eof?n.next-1:Math.max(n.next-1,n.maxIndex)},prepend:function(t,e){t.reverse().forEach((function(t){e?++n.next:--n.first,n.insert(h,t)})),n.minIndex=n.bof?n.minIndex=n.first:Math.min(n.first,n.minIndex)},insert:function(t,e,i){var s={item:e};if(t%1==0)s.op=c,n.splice(t,0,s),i?n.first--:n.next++;else switch(s.op=t,t){case u:n.push(s);break;case h:n.unshift(s)}},remove:function(e,i){if(angular.isNumber(e)){for(var s=e;s<i;s++)t.removeElement(n[s]);return n.splice(e,i-e)}return n.splice(n.indexOf(e),1),e.shiftTop&&n.first===this.getAbsMinIndex()?this.incrementMinIndex():this.decrementMaxIndex(),e.shiftTop?n.first++:n.next--,n.length||(n.minIndex=Math.min(n.maxIndex,n.minIndex)),t.removeElementAnimated(e)},incrementMinIndex:function(){if(null!==n.minIndexUser){if(n.minIndex>n.minIndexUser)return void n.minIndexUser++;n.minIndex===n.minIndexUser&&n.minIndexUser++}n.minIndex++},decrementMaxIndex:function(){null!==n.maxIndexUser&&n.maxIndex<=n.maxIndexUser&&n.maxIndexUser--,n.maxIndex--},getAbsMinIndex:function(){return null!==n.minIndexUser?Math.min(n.minIndexUser,n.minIndex):n.minIndex},getAbsMaxIndex:function(){return null!==n.maxIndexUser?Math.max(n.maxIndexUser,n.maxIndex):n.maxIndex},effectiveHeight:function(t){if(!t.length)return 0;var e=Number.MAX_VALUE,i=Number.NEGATIVE_INFINITY;return t.forEach((function(t){t.element[0].offsetParent&&(e=Math.min(e,t.element.offset().top),i=Math.max(i,t.element.offset().top+t.element.outerHeight(!0)))})),Math.max(0,i-e)},getItems:function(){return n.filter((function(t){return t.op===d}))},getFirstItem:function(){var t=n.getItems();return t.length?t[0].item:null},getLastItem:function(){var t=n.getItems();return t.length?t[t.length-1].item:null}}),n.reset(i),n}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,s=function(t,e){if("object"!==f(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e);if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===f(s)?s:String(s)),n)}var s}function v(t,e,i){return e&&b(t.prototype,e),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}var y=function(){function t(){m(this,t)}return v(t,[{key:"add",value:function(t){for(var e=this.length-1;e>=0;e--)if(this[e].index===t.scope.$index)return void(this[e].height=t.element.outerHeight());this.push({index:t.scope.$index,height:t.element.outerHeight()}),this.sort((function(t,e){return t.index<e.index?-1:t.index>e.index?1:0}))}},{key:"remove",value:function(t,e){for(var i=t%1==0?t:t.scope.$index,n=t%1==0?e:t.shiftTop,s=this.length-1;s>=0;s--)if(this[s].index===i){this.splice(s,1);break}if(!n)for(var o=this.length-1;o>=0;o--)this[o].index>i&&this[o].index--}},{key:"clear",value:function(){this.length=0}}]),t}();function x(){var t=[];return t.push.apply(t,arguments),Object.setPrototypeOf(t,x.prototype),t}x.prototype=Object.create(Array.prototype),Object.getOwnPropertyNames(y.prototype).forEach((function(t){return x.prototype[t]=y.prototype[t]}));var w=function(){function t(e){m(this,t),this.element=function(t){if(t.nodeType!==Node.ELEMENT_NODE)throw new Error("ui-scroll directive requires an Element node for templating the view");var e;switch(t.tagName.toLowerCase()){case"dl":throw new Error("ui-scroll directive does not support <".concat(t.tagName,"> as a repeating tag: ").concat(t.outerHTML));case"tr":e=angular.element("<table><tr><td><div></div></td></tr></table>").find("tr");break;case"li":e=angular.element("<li></li>");break;default:e=angular.element("<div></div>")}return e}(e),this.cache=new x}return v(t,[{key:"height",value:function(){return this.element.height.apply(this.element,arguments)}}]),t}();function S(t,e,i,n,s,o){var r=null,a=null,l=n&&n.viewport?n.viewport:angular.element(window),h=n&&n.container?n.container:void 0,u=n&&n.scope?n.scope:s;function c(){return l.outerHeight()*o}return l.css({"overflow-anchor":"none","overflow-y":"auto",display:"block"}),angular.extend(l,{getScope:function(){return u},createPaddingElements:function(t){r=new w(t),a=new w(t),i.before(r.element),i.after(a.element),r.height(0),a.height(0)},applyContainerStyle:function(){return!h||(h!==l&&l.css("height",window.getComputedStyle(h[0]).height),l.height()>0)},bottomDataPos:function(){var t=l[0].scrollHeight;return(t=null!=t?t:l[0].document.documentElement.scrollHeight)-a.height()},topDataPos:function(){return r.height()},bottomVisiblePos:function(){return l.scrollTop()+l.outerHeight()},topVisiblePos:function(){return l.scrollTop()},insertElement:function(e,i){return t.insertElement(e,i||r.element)},insertElementAnimated:function(e,i){return t.insertElementAnimated(e,i||r.element)},shouldLoadBottom:function(){return!e.eof&&l.bottomDataPos()<l.bottomVisiblePos()+c()},clipBottom:function(){for(var t=0,i=0,n=0,s=l.bottomDataPos()-l.bottomVisiblePos()-c(),o=e.length-1;o>=0&&!(i+(n=e[o].element.outerHeight(!0))>s);o--)a.cache.add(e[o]),i+=n,t++;t>0&&(e.eof=!1,e.remove(e.length-t,e.length),e.next-=t,l.adjustPaddings())},shouldLoadTop:function(){return!e.bof&&l.topDataPos()>l.topVisiblePos()-c()},clipTop:function(){for(var t=0,i=0,n=0,s=l.topVisiblePos()-l.topDataPos()-c(),o=0;o<e.length&&!(i+(n=e[o].element.outerHeight(!0))>s);o++)r.cache.add(e[o]),i+=n,t++;t>0&&(r.height(r.height()+i),e.bof=!1,e.remove(0,t),e.first+=t)},adjustPaddings:function(){if(e.length){var t=e.reduce((function(t,e){return t+e.element.outerHeight(!0)}),0),i=0,n=0;r.cache.forEach((function(t){t.index<e.first&&(i+=t.height,n++)}));var s=0,o=0;a.cache.forEach((function(t){t.index>=e.next&&(s+=t.height,o++)}));var l=(t+i+s)/(n+o+e.length),h=null!==e.minIndexUser&&e.minIndex>e.minIndexUser,u=null!==e.maxIndexUser&&e.maxIndex<e.maxIndexUser,c=h?(e.minIndex-e.minIndexUser)*l:0,p=u?(e.maxIndexUser-e.maxIndex)*l:0;r.height(i+c),a.height(s+p)}},onAfterMinIndexSet:function(t){if(null!==e.minIndexUser&&e.minIndex>e.minIndexUser){var i=r.height()-t;for(l.scrollTop(l.scrollTop()+i);(i-=l.scrollTop())>0;)a.height(a.height()+i),l.scrollTop(l.scrollTop()+i)}},onAfterPrepend:function(t){if(t.prepended.length){var i=e.effectiveHeight(t.prepended),n=r.height()-i;if(n>=0)r.height(n);else{var s=l.scrollTop(),o=s-n;l.synthetic={previous:s,next:o},r.height(0),l.scrollTop(o)}}},resetTopPadding:function(){r.height(0),r.cache.clear()},resetBottomPadding:function(){a.height(0),a.cache.clear()},removeCacheItem:function(t,e){r.cache.remove(t,e),a.cache.remove(t,e)},removeItem:function(t){return this.removeCacheItem(t),e.remove(t)}}),l}function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,s=function(t,e){if("object"!==T(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e);if("object"!==T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===T(s)?s:String(s)),n)}var s}var V=function(){function t(e,i,n,s,o,r,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$parse=i,this.$attr=n,this.viewport=s,this.buffer=o,this.doAdjust=r,this.reload=a,this.isLoading=!1,this.disabled=!1;var l=s.getScope();this.startScope=l.$parent?l:e,this.publicContext={},this.assignAdapter(n.adapter),this.generatePublicContext()}var e,i;return e=t,(i=[{key:"assignAdapter",value:function(t){if(t&&(t=t.replace(/^\s+|\s+$/gm,""))){var e;try{this.$parse(t).assign(this.startScope,{}),e=this.$parse(t)(this.startScope)}catch(e){throw e.message="Angular ui-scroll Adapter assignment exception.\n"+"Can't parse \"".concat(t,'" expression.\n')+e.message,e}angular.extend(e,this.publicContext),this.publicContext=e}}},{key:"generatePublicContext",value:function(){for(var t=this,e=["reload","applyUpdates","append","prepend","isBOF","isEOF","isEmpty"],i=e.length-1;i>=0;i--)this.publicContext[e[i]]=this[e[i]].bind(this);for(var n=["isLoading","topVisible","topVisibleElement","topVisibleScope","bottomVisible","bottomVisibleElement","bottomVisibleScope"],s=function(e){var i,s=t.$attr[n[e]];Object.defineProperty(t,n[e],{get:function(){return i},set:function(o){i=o,t.publicContext[n[e]]=o,s&&t.$parse(s).assign(t.startScope,o)}})},o=n.length-1;o>=0;o--)s(o);for(var r=["bufferFirst","bufferLast","bufferLength"],a=function(e){Object.defineProperty(t.publicContext,r[e],{get:function(){return t[r[e]]}})},l=r.length-1;l>=0;l--)a(l);Object.defineProperty(this.publicContext,"disabled",{get:function(){return t.disabled},set:function(e){return(t.disabled=e)?null:t.doAdjust()}})}},{key:"loading",value:function(t){this.isLoading=t}},{key:"isBOF",value:function(){return this.buffer.bof}},{key:"isEOF",value:function(){return this.buffer.eof}},{key:"isEmpty",value:function(){return!this.buffer.length}},{key:"bufferLength",get:function(){return this.buffer.getItems().length}},{key:"bufferFirst",get:function(){return this.buffer.getFirstItem()}},{key:"bufferLast",get:function(){return this.buffer.getLastItem()}},{key:"append",value:function(t){this.buffer.append(t),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"prepend",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.prepend(t,e.immutableTop),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"applyUpdates",value:function(t,e,i){"function"==typeof t?this.applyUpdatesFunc(t,e):this.applyUpdatesIndex(t,e,i),this.doAdjust()}},{key:"applyUpdatesFunc",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.slice(0).forEach((function(n){e.applyUpdate(n,t(n.item,n.scope,n.element),i)}))}},{key:"applyUpdatesIndex",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t%1!=0)throw new Error("applyUpdates - "+t+" is not a valid index (should be an integer)");var n=t-this.buffer.first;n>=0&&n<this.buffer.length?this.applyUpdate(this.buffer[n],e,i):t>=this.buffer.getAbsMinIndex()&&t<=this.buffer.getAbsMaxIndex()&&angular.isArray(e)&&!e.length&&(this.viewport.removeCacheItem(t,!i.immutableTop&&t===this.buffer.minIndex),i.immutableTop||t!==this.buffer.getAbsMinIndex()?this.buffer.decrementMaxIndex():this.buffer.incrementMinIndex())}},{key:"applyUpdate",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(angular.isArray(e)){var s=this.buffer.indexOf(t);e.reverse().some((function(e){return e===t.item}))||(t.op=p,n.immutableTop||e.length||(0===s&&this.buffer.bof||0!==s&&this.buffer[s-1].shiftTop)&&(t.shiftTop=!0)),e.forEach((function(e){e===t.item?s--:i.buffer.insert(s+1,e,!n.immutableTop&&-1===s)}))}}},{key:"calculateProperties",value:function(){for(var t=null,e=0,i=!1,n=!1,s=this.buffer.length,o=0;o<s;o++){var r=this.buffer[o],a=r.element.offset().top;if(t!==a){var l=r.element.outerHeight(!0),h=this.viewport.topDataPos()+e+l;!i&&h>this.viewport.topVisiblePos()&&(i=!0,this.topVisible=r.item,this.topVisibleElement=r.element,this.topVisibleScope=r.scope),!n&&(h>=this.viewport.bottomVisiblePos()||o===s-1&&this.isEOF())&&(n=!0,this.bottomVisible=r.item,this.bottomVisibleElement=r.element,this.bottomVisibleScope=r.scope),e+=l}if(t=a,i&&n)break}}}])&&L(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();angular.module("ui.scroll",[]).constant("JQLiteExtras",s).run(["JQLiteExtras",function(t){var e=angular.element;!(window.jQuery&&e.fn&&e.fn.jquery)&&(new t).registerFor(e),l.addCSSRules()}]).directive("uiScrollViewport",(function(){return{restrict:"A",controller:["$scope","$element",function(t,e){var i=this;return this.container=e,this.viewport=e,this.scope=t,angular.forEach(e.children(),(function(t){"tbody"===t.tagName.toLowerCase()&&(i.viewport=angular.element(t))})),this}]}})).directive("uiScroll",["$log","$injector","$rootScope","$timeout","$interval","$q","$parse",function(t,e,i,n,s,o,r){return{require:["?^uiScrollViewport"],restrict:"A",transclude:"element",priority:1e3,terminal:!0,link:function(t,a,f,m,b){var v=f.uiScroll.match(/^\s*(\w+)\s+in\s+([(\w|\$)\.]+)\s*$/);if(!v)throw new Error("Expected uiScroll in form of '_item_ in _datasource_' but got '"+f.uiScroll+"'");function y(t,e,i){return i||(t=null===t?e:Math.floor(t)),isNaN(t)?e:t}function x(e,i,n){return y(r(e)(t),i,n)}var w,T,L=null,H=v[1],k=v[2],E=m[0],P=Math.max(3,x(f.bufferSize,10)),z=Math.max(.3,x(f.padding,.5,!0)),A=(w=f.handleInertia,!0,"boolean"!=typeof(T=r(w)(t))||T),$=x(f.startIndex,1),B=0,I=[],C=new l(e,o),O=new g(C,P,$),R=new S(C,O,a,E,i,z),M=new V(t,r,f,R,O,Z,(function(){K(),R.resetTopPadding(),R.resetBottomPadding(),arguments.length&&($=y(arguments[0],1,!1)),O.reset($),j(L,"minIndex"),j(L,"maxIndex"),Z()}));E&&(E.adapter=M);var D=function(){return"[object Object]"===Object.prototype.toString.call(L)&&"function"==typeof L.get};if(L=r(k)(t),!D()&&(L=e.get(k),!D()))throw new Error(k+" is not a valid datasource");var F=[];function j(t,e){var i;angular.isNumber(t[e])&&(i=t[e],angular.isNumber(i)&&(F=F.filter((function(t){return t.id!==e}))).push({id:e,run:function(){return t[e]=i}}))}function U(t,e,i){var n,s=Object.getOwnPropertyDescriptor(t,e);s&&(s.set||s.get)||(j(t,e),Object.defineProperty(t,e,{set:function(s){if(n=s,!I.length||O.length){O[i]=s;var o=R.topDataPos();R.adjustPaddings(),"minIndex"===e&&R.onAfterMinIndexSet(o)}else j(t,e)},get:function(){return n}}))}U(L,"minIndex","minIndexUser"),U(L,"maxIndex","maxIndexUser");var N=2!==L.get.length?function(t){return L.get(O.next,P,t)}:function(t){L.get({index:O.next,append:O.length?O[O.length-1].item:void 0,count:P},t)},W=2!==L.get.length?function(t){return L.get(O.first-P,P,t)}:function(t){L.get({index:O.first-P,prepend:O.length?O[0].item:void 0,count:P},t)};function q(e){return e&&e!==B||t.$$destroyed}function K(){R.off("resize",it),R.off("scroll",it)}function G(t){return t.element.height()&&t.element[0].offsetParent}function _(t,e){X(t,e,R.insertElement),G(t)||(t.unregisterVisibilityWatcher=t.scope.$watch((function(){return function(t){G(t)&&(O.forEach((function(t){"function"==typeof t.unregisterVisibilityWatcher&&(t.unregisterVisibilityWatcher(),delete t.unregisterVisibilityWatcher)})),I.length||n((function(){return Z()})))}(t)}))),C.hideElement(t)}function X(t,e,i){var n=null,s=e>0?O[e-1].element:void 0;if(b((function(e,o){n=i(e,s),t.element=e,t.scope=o,o[H]=t.item})),M.transform){var o=t.scope.uiScrollTdInitializer;o&&o.linking?M.transform(t.scope,t.element):t.scope.uiScrollTdInitializer={onLink:function(){return M.transform(t.scope,t.element)},scope:t.scope}}return n}function Y(t,e){e.animated.length?o.all(e.animated).then((function(){R.adjustPaddings(),Z(t)})):R.adjustPaddings()}function Q(t,e){R.shouldLoadBottom()?(!e||O.effectiveHeight(e.inserted)>0)&&1===I.push(!0)&&(M.loading(!0),et(t)):R.shouldLoadTop()&&(!e||O.effectiveHeight(e.prepended)>0||I[0])&&1===I.push(!1)&&(M.loading(!0),et(t))}function J(){var e,n,s,o,r=(e=[],n=[],s=[],o=[],O.forEach((function(t,i){switch(t.op){case h:n.unshift(t);break;case u:_(t,i),t.op=d,o.push(t);break;case c:e=e.concat(X(t,i,R.insertElementAnimated)),t.op=d,o.push(t);break;case p:s.push(t)}})),s.forEach((function(t){return e=e.concat(R.removeItem(t))})),n.length&&n.forEach((function(t){_(t),t.op=d})),O.forEach((function(t,e){return t.scope.$index=O.first+e})),{prepended:n,removed:s,inserted:o,animated:e});return!t.$$phase&&!i.$$phase&&t.$digest(),r.inserted.forEach((function(t){return C.showElement(t)})),r.prepended.forEach((function(t){return C.showElement(t)})),r}function Z(t){t||(I=[],t=++B);var e=J();q(t)||(Y(t,e),Q(t),I.length||M.calculateProperties())}function tt(t){var e=J();R.onAfterPrepend(e),q(t)||(Y(t,e),F.forEach((function(t){return t.run()})),F=[],Q(t,e),I.shift(),I.length?et(t):(M.loading(!1),R.on("resize",it),R.on("scroll",it),M.calculateProperties()))}function et(t){I[0]?O.length&&!R.shouldLoadBottom()?tt(t):N((function(e){q(t)||(e.length<P&&(O.eof=!0),e.length>0&&(R.clipTop(),O.append(e)),tt(t))})):O.length&&!R.shouldLoadTop()?tt(t):W((function(e){q(t)||(e.length<P&&(O.bof=!0),e.length>0&&(O.length&&R.clipBottom(),O.prepend(e)),tt(t))}))}function it(){A&&function(){if(R.synthetic){var t=R.synthetic.previous,e=R.synthetic.next;if(R.scrollTop()!==e)return requestAnimationFrame((function(){var i=R.scrollTop(),n=t-i;n>0?R.scrollTop(e-n):R.scrollTop(e),R.synthetic=null})),!0;R.synthetic=null}}()||i.$$phase||M.isLoading||M.disabled||(Q(B),I.length?K():(M.calculateProperties(),!t.$$phase&&t.$digest()))}function nt(t){if(!M.disabled){var e=R[0].scrollTop,i=R[0].scrollHeight-R[0].clientHeight;(0===e&&!O.bof||e===i&&!O.eof)&&t.preventDefault()}}b((function(t,e){R.createPaddingElements(t[0]),e.$destroy(),t.remove()})),t.$on("$destroy",(function(){K(),R.off("mousewheel",nt)})),R.on("mousewheel",nt),function(){var t=0;if(R.applyContainerStyle())Z();else var e=s((function(){if(t++,R.applyContainerStyle()&&(s.cancel(e),Z()),50*t>=500)throw s.cancel(e),Error("ui-scroll directive requires a viewport with non-zero height in ".concat(500,"ms"))}),50)}()}}}])}()},612:function(t,e){!function(){"use strict";angular.module("ui.scroll.jqlite",[])}()},613:function(t,e,i){var n,s,o;/*! angularjs-slider - v7.1.0 - (c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervi.eu>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> - https://github.com/angular-slider/angularjs-slider - 2022-05-26 */!function(r,a){"use strict";s=[i(451)],void 0===(o="function"==typeof(n=function(t){var e=t.module("rzSlider",[]).factory("RzSliderOptions",(function(){var e={floor:0,ceil:null,step:1,precision:0,minRange:null,maxRange:null,restrictedRange:null,skipRestrictedRangesWithArrowKeys:null,pushRange:!1,minLimit:null,maxLimit:null,id:null,translate:null,getLegend:null,stepsArray:null,bindIndexForStepsArray:!1,draggableRange:!1,draggableRangeOnly:!1,showSelectionBar:!1,showSelectionBarEnd:!1,showSelectionBarFromValue:null,showOuterSelectionBars:!1,hidePointerLabels:!1,hideLimitLabels:!1,autoHideLimitLabels:!0,readOnly:!1,disabled:!1,interval:350,showTicks:!1,showTicksValues:!1,ticksArray:null,ticksTooltip:null,ticksValuesTooltip:null,vertical:!1,getSelectionBarColor:null,getTickColor:null,getPointerColor:null,keyboardSupport:!0,scale:1,enforceStep:!0,enforceRange:!1,noSwitching:!1,onlyBindHandles:!1,disableAnimation:!1,onStart:null,onChange:null,onEnd:null,rightToLeft:!1,reversedControls:!1,boundPointerLabels:!0,mergeRangeLabelsIfSame:!1,labelOverlapSeparator:" - ",customTemplateScope:null,logScale:!1,customValueToPosition:null,customPositionToValue:null,selectionBarGradient:null,ariaLabel:null,ariaLabelledBy:null,ariaLabelHigh:null,ariaLabelledByHigh:null},i={},n={options:function(e){t.extend(i,e)},getOptions:function(n){return t.extend({},e,i,n)}};return n})).factory("rzThrottle",["$timeout",function(t){return function(e,i,n){var s,o,r,a=Date.now||function(){return(new Date).getTime()},l=null,h=0;n=n||{};var u=function(){h=a(),l=null,r=e.apply(s,o),s=o=null};return function(){var c=a(),p=i-(c-h);return s=this,o=arguments,0>=p?(t.cancel(l),l=null,h=c,r=e.apply(s,o),s=o=null):l||!1===n.trailing||(l=t(u,p)),r}}}]).factory("RzSlider",["$timeout","$document","$window","$compile","RzSliderOptions","rzThrottle",function(e,i,n,s,o,r){var a=function(t,e){this.scope=t,this.lowValue=0,this.highValue=0,this.sliderElem=e,this.range=void 0!==this.scope.rzSliderModel&&void 0!==this.scope.rzSliderHigh,this.dragging={active:!1,value:0,difference:0,position:0,lowLimit:0,highLimit:0},this.positionProperty="left",this.dimensionProperty="width",this.handleHalfDim=0,this.maxPos=0,this.precision=0,this.step=1,this.tracking="",this.minValue=0,this.maxValue=0,this.valueRange=0,this.intermediateTicks=!1,this.initHasRun=!1,this.firstKeyDown=!1,this.internalChange=!1,this.cmbLabelShown=!1,this.currentFocusElement=null,this.moving=!1,this.fullBar=null,this.selBar=null,this.minH=null,this.maxH=null,this.flrLab=null,this.ceilLab=null,this.minLab=null,this.maxLab=null,this.cmbLab=null,this.ticks=null,this.init()};return a.prototype={init:function(){var e,i,s=this,o=function(){s.calcViewDimensions()};this.applyOptions(),this.syncLowValue(),this.range&&this.syncHighValue(),this.initElemHandles(),this.manageElementsStyle(),this.setDisabledState(),this.calcViewDimensions(),this.setMinAndMax(),this.updateRestrictionBar(),this.addAccessibility(),this.updateCeilLab(),this.updateFloorLab(),this.initHandles(),this.manageEventsBindings(),this.scope.$on("reCalcViewDimensions",o),t.element(n).on("resize",o),this.initHasRun=!0,this.options.disableAnimation&&this.sliderElem.addClass("noanimate"),e=r((function(){s.onLowHandleChange()}),s.options.interval),i=r((function(){s.onHighHandleChange()}),s.options.interval),this.scope.$on("rzSliderForceRender",(function(){s.resetLabelsValue(),e(),s.range&&i(),s.resetSlider()})),this.scope.$watchCollection("rzSliderOptions()",(function(t,e){t!==e&&(s.applyOptions(),s.syncLowValue(),s.range&&s.syncHighValue(),s.resetSlider())})),this.scope.$watch("rzSliderModel",(function(t,i){s.internalChange||t!==i&&e()})),this.scope.$watch("rzSliderHigh",(function(t,e){s.internalChange||t!==e&&(null!=t&&i(),(s.range&&null==t||!s.range&&null!=t)&&(s.applyOptions(),s.resetSlider()))})),this.scope.$on("$destroy",(function(){s.unbindEvents(),t.element(n).off("resize",o),s.currentFocusElement=null}))},findStepIndex:function(e){for(var i=0,n=0;n<this.options.stepsArray.length;n++){var s=this.options.stepsArray[n];if(s===e){i=n;break}if(t.isDate(s)){if(s.getTime()===e.getTime()){i=n;break}}else if(t.isObject(s)&&(t.isDate(s.value)&&s.value.getTime()===e.getTime()||s.value===e)){i=n;break}}return i},syncLowValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.lowValue=this.scope.rzSliderModel:this.lowValue=this.findStepIndex(this.scope.rzSliderModel):this.lowValue=this.scope.rzSliderModel},syncHighValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.highValue=this.scope.rzSliderHigh:this.highValue=this.findStepIndex(this.scope.rzSliderHigh):this.highValue=this.scope.rzSliderHigh},getStepValue:function(e){var i=this.options.stepsArray[e];return t.isDate(i)?i:t.isObject(i)?i.value:i},applyLowValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.scope.rzSliderModel=this.lowValue:this.scope.rzSliderModel=this.getStepValue(this.lowValue):this.scope.rzSliderModel=this.lowValue},applyHighValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.scope.rzSliderHigh=this.highValue:this.scope.rzSliderHigh=this.getStepValue(this.highValue):this.scope.rzSliderHigh=this.highValue},onLowHandleChange:function(){this.syncLowValue(),this.range&&this.syncHighValue(),this.setMinAndMax(),this.updateLowHandle(this.valueToPosition(this.lowValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCmbLabel()},onHighHandleChange:function(){this.syncLowValue(),this.syncHighValue(),this.setMinAndMax(),this.updateHighHandle(this.valueToPosition(this.highValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateCmbLabel(),this.updateAriaAttributes()},applyOptions:function(){var e;e=this.scope.rzSliderOptions?this.scope.rzSliderOptions():{},this.options=o.getOptions(e),this.options.step<=0&&(this.options.step=1),this.range=void 0!==this.scope.rzSliderModel&&void 0!==this.scope.rzSliderHigh,this.options.draggableRange=this.range&&this.options.draggableRange,this.options.draggableRangeOnly=this.range&&this.options.draggableRangeOnly,this.options.draggableRangeOnly&&(this.options.draggableRange=!0),this.options.showTicks=this.options.showTicks||this.options.showTicksValues||!!this.options.ticksArray,this.scope.showTicks=this.options.showTicks,(t.isNumber(this.options.showTicks)||this.options.ticksArray)&&(this.intermediateTicks=!0),this.options.showSelectionBar=this.options.showSelectionBar||this.options.showSelectionBarEnd||null!==this.options.showSelectionBarFromValue,this.options.stepsArray?this.parseStepsArray():(this.options.translate?this.customTrFn=this.options.translate:this.customTrFn=function(t){return String(t)},this.getLegend=this.options.getLegend),this.options.vertical?(this.positionProperty="bottom",this.dimensionProperty="height"):(this.positionProperty="left",this.dimensionProperty="width"),this.options.customTemplateScope&&(this.scope.custom=this.options.customTemplateScope)},parseStepsArray:function(){this.options.floor=0,this.options.ceil=this.options.stepsArray.length-1,this.options.step=1,this.options.translate?this.customTrFn=this.options.translate:this.customTrFn=function(t){return this.options.bindIndexForStepsArray?this.getStepValue(t):t},this.getLegend=function(e){var i=this.options.stepsArray[e];return t.isObject(i)?i.legend:null}},resetSlider:function(){this.resetLabelsValue(),this.manageElementsStyle(),this.addAccessibility(),this.setMinAndMax(),this.updateCeilLab(),this.updateFloorLab(),this.unbindEvents(),this.manageEventsBindings(),this.setDisabledState(),this.calcViewDimensions(),this.updateRestrictionBar(),this.refocusPointerIfNeeded()},refocusPointerIfNeeded:function(){this.currentFocusElement&&(this.onPointerFocus(this.currentFocusElement.pointer,this.currentFocusElement.ref),this.focusElement(this.currentFocusElement.pointer))},ensureRestrictedBarIsArray:function(e){var i=t.element(e);if(this.restrictedBar=[],this.options.restrictedRange){this.options.restrictedRange=Array.isArray(this.options.restrictedRange)?this.options.restrictedRange:[this.options.restrictedRange],this.restrictedBar[0]=i;for(var n=e.parentElement,s=1;s<this.options.restrictedRange.length;s++){var o=document.createElement("span");o.setAttribute("class","rz-bar-wrapper"),o.innerHTML='<span class="rz-bar rz-restricted" ng-style="restrictionStyle"></span>',n.appendChild(o),this.restrictedBar[s]=t.element(o)}}else e.style.visibility="hidden",this.restrictedBar=null},initElemHandles:function(){t.forEach(this.sliderElem.children(),(function(e,i){var n=t.element(e);switch(i){case 0:this.leftOutSelBar=n;break;case 1:this.rightOutSelBar=n;break;case 2:this.fullBar=n;break;case 3:this.selBar=n;break;case 4:this.ensureRestrictedBarIsArray(e);break;case 5:this.minH=n;break;case 6:this.maxH=n;break;case 7:this.flrLab=n;break;case 8:this.ceilLab=n;break;case 9:this.minLab=n;break;case 10:this.maxLab=n;break;case 11:this.cmbLab=n;break;case 12:this.ticks=n}}),this),this.selBar.rzsp=0,this.minH.rzsp=0,this.maxH.rzsp=0,this.flrLab.rzsp=0,this.ceilLab.rzsp=0,this.minLab.rzsp=0,this.maxLab.rzsp=0,this.cmbLab.rzsp=0},manageElementsStyle:function(){this.range?this.maxH.css("display",""):this.maxH.css("display","none"),this.alwaysHide(this.flrLab,this.options.showTicksValues||this.options.hideLimitLabels),this.alwaysHide(this.ceilLab,this.options.showTicksValues||this.options.hideLimitLabels);var t=this.options.showTicksValues&&!this.intermediateTicks;for(var e in this.alwaysHide(this.minLab,t||this.options.hidePointerLabels),this.alwaysHide(this.maxLab,t||!this.range||this.options.hidePointerLabels),this.alwaysHide(this.cmbLab,t||!this.range||this.options.hidePointerLabels),this.alwaysHide(this.selBar,!this.range&&!this.options.showSelectionBar),this.alwaysHide(this.leftOutSelBar,!this.range||!this.options.showOuterSelectionBars),this.restrictedBar)this.restrictedBar[e]&&this.alwaysHide(this.restrictedBar[e],!this.options.restrictedRange[e]);this.alwaysHide(this.rightOutSelBar,!this.range||!this.options.showOuterSelectionBars),this.range&&this.options.showOuterSelectionBars&&this.fullBar.addClass("rz-transparent"),this.options.vertical?this.sliderElem.addClass("rz-vertical"):this.sliderElem.removeClass("rz-vertical"),this.options.draggableRange?this.selBar.addClass("rz-draggable"):this.selBar.removeClass("rz-draggable"),this.intermediateTicks&&this.options.showTicksValues&&this.ticks.addClass("rz-ticks-values-under")},alwaysHide:function(t,e){t.rzAlwaysHide=e,e?this.hideEl(t):this.showEl(t)},manageEventsBindings:function(){this.options.disabled||this.options.readOnly?this.unbindEvents():this.bindEvents()},setDisabledState:function(){this.options.disabled?this.sliderElem.attr("disabled","disabled"):this.sliderElem.attr("disabled",null)},resetLabelsValue:function(){this.minLab.rzsv=void 0,this.maxLab.rzsv=void 0,this.flrLab.rzsv=void 0,this.ceilLab.rzsv=void 0,this.cmbLab.rzsv=void 0,this.resetPosition(this.flrLab),this.resetPosition(this.ceilLab),this.resetPosition(this.cmbLab),this.resetPosition(this.minLab),this.resetPosition(this.maxLab)},initHandles:function(){this.updateLowHandle(this.valueToPosition(this.lowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.highValue)),this.updateSelectionBar(),this.range&&this.updateCmbLabel(),this.updateTicksScale()},translateFn:function(t,e,i,n){n=void 0===n||n;var s="",o=!1,r=e.hasClass("no-label-injection");n?(this.options.stepsArray&&!this.options.bindIndexForStepsArray&&(t=this.getStepValue(t)),s=String(this.customTrFn(t,this.options.id,i))):s=String(t),(void 0===e.rzsv||e.rzsv.length!==s.length||e.rzsv.length>0&&0===e.rzsd)&&(o=!0,e.rzsv=s),r||e.html(s),this.scope[i+"Label"]=s,o&&this.getDimension(e)},setMinAndMax:function(){if(this.step=+this.options.step,this.precision=+this.options.precision,this.minValue=this.options.floor,this.options.logScale&&0===this.minValue)throw Error("Can't use floor=0 with logarithmic scale");this.options.enforceStep&&(this.lowValue=this.roundStep(this.lowValue),this.range&&(this.highValue=this.roundStep(this.highValue))),null!=this.options.ceil?this.maxValue=this.options.ceil:this.maxValue=this.options.ceil=this.range?this.highValue:this.lowValue,this.options.enforceRange&&(this.lowValue=this.sanitizeValue(this.lowValue),this.range&&(this.highValue=this.sanitizeValue(this.highValue))),this.applyLowValue(),this.range&&this.applyHighValue(),this.valueRange=this.maxValue-this.minValue},addAccessibility:function(){this.minH.attr("role","slider"),this.updateAriaAttributes(),!this.options.keyboardSupport||this.options.readOnly||this.options.disabled?this.minH.attr("tabindex",""):this.minH.attr("tabindex","0"),this.options.vertical?this.minH.attr("aria-orientation","vertical"):this.minH.attr("aria-orientation","horizontal"),this.options.ariaLabel?this.minH.attr("aria-label",this.options.ariaLabel):this.options.ariaLabelledBy&&this.minH.attr("aria-labelledby",this.options.ariaLabelledBy),this.range&&(this.maxH.attr("role","slider"),!this.options.keyboardSupport||this.options.readOnly||this.options.disabled?this.maxH.attr("tabindex",""):this.maxH.attr("tabindex","0"),this.options.vertical?this.maxH.attr("aria-orientation","vertical"):this.maxH.attr("aria-orientation","horizontal"),this.options.ariaLabelHigh?this.maxH.attr("aria-label",this.options.ariaLabelHigh):this.options.ariaLabelledByHigh&&this.maxH.attr("aria-labelledby",this.options.ariaLabelledByHigh))},updateAriaAttributes:function(){this.minH.attr({"aria-valuenow":this.scope.rzSliderModel,"aria-valuetext":this.customTrFn(this.scope.rzSliderModel,this.options.id,"model"),"aria-valuemin":this.minValue,"aria-valuemax":this.maxValue}),this.range&&this.maxH.attr({"aria-valuenow":this.scope.rzSliderHigh,"aria-valuetext":this.customTrFn(this.scope.rzSliderHigh,this.options.id,"high"),"aria-valuemin":this.minValue,"aria-valuemax":this.maxValue})},calcViewDimensions:function(){var t=this.getDimension(this.minH);if(this.handleHalfDim=t/2,this.barDimension=this.getDimension(this.fullBar),this.maxPos=this.barDimension-t,this.getDimension(this.sliderElem),this.sliderElem.rzsp=this.sliderElem[0].getBoundingClientRect()[this.positionProperty],this.initHasRun){this.updateFloorLab(),this.updateCeilLab(),this.initHandles();var i=this;e((function(){i.updateTicksScale()}))}},updateTicksScale:function(){if(this.options.showTicks){var e=this.options.ticksArray||this.getTicksArray(),i=this.options.vertical?"translateY":"translateX",n=this;this.options.rightToLeft&&e.reverse(),this.scope.ticks=e.map((function(e){var s=null;t.isObject(e)&&(s=e.legend,e=e.value);var o=n.valueToPosition(e);n.options.vertical&&(o=n.maxPos-o);var r=i+"("+Math.round(o)+"px)",a={legend:s,selected:n.isTickSelected(e),style:{"-webkit-transform":r,"-moz-transform":r,"-o-transform":r,"-ms-transform":r,transform:r}};return a.selected&&n.options.getSelectionBarColor&&(a.style["background-color"]=n.getSelectionBarColor()),!a.selected&&n.options.getTickColor&&(a.style["background-color"]=n.getTickColor(e)),n.options.ticksTooltip&&(a.tooltip=n.options.ticksTooltip(e),a.tooltipPlacement=n.options.vertical?"right":"top"),(!0===n.options.showTicksValues||e%n.options.showTicksValues==0)&&(a.value=n.getDisplayValue(e,"tick-value"),n.options.ticksValuesTooltip&&(a.valueTooltip=n.options.ticksValuesTooltip(e),a.valueTooltipPlacement=n.options.vertical?"right":"top")),n.getLegend&&((s=n.getLegend(e,n.options.id))&&(a.legend=s)),a}))}},getTicksArray:function(){var t=this.step,e=[];this.intermediateTicks&&(t=this.options.showTicks);for(var i=this.minValue;i<=this.maxValue;i+=t)e.push(i);return e},isTickSelected:function(t){if(!this.range)if(null!==this.options.showSelectionBarFromValue){var e=this.options.showSelectionBarFromValue;if(this.lowValue>e&&t>=e&&t<=this.lowValue)return!0;if(this.lowValue<e&&e>=t&&t>=this.lowValue)return!0}else if(this.options.showSelectionBarEnd){if(t>=this.lowValue)return!0}else if(this.options.showSelectionBar&&t<=this.lowValue)return!0;return!!(this.range&&t>=this.lowValue&&t<=this.highValue)},updateFloorLab:function(){this.translateFn(this.minValue,this.flrLab,"floor"),this.getDimension(this.flrLab);var t=this.options.rightToLeft?this.barDimension-this.flrLab.rzsd:0;this.setPosition(this.flrLab,t)},updateCeilLab:function(){this.translateFn(this.maxValue,this.ceilLab,"ceil"),this.getDimension(this.ceilLab);var t=this.options.rightToLeft?0:this.barDimension-this.ceilLab.rzsd;this.setPosition(this.ceilLab,t)},updateHandles:function(t,e){"lowValue"===t?this.updateLowHandle(e):this.updateHighHandle(e),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCmbLabel()},getHandleLabelPos:function(t,e){var i=this[t].rzsd,n=e-i/2+this.handleHalfDim,s=this.barDimension-i;return this.options.boundPointerLabels?this.options.rightToLeft&&"minLab"===t||!this.options.rightToLeft&&"maxLab"===t?Math.min(n,s):Math.min(Math.max(n,0),s):n},updateLowHandle:function(t){if(this.setPosition(this.minH,t),this.translateFn(this.lowValue,this.minLab,"model"),this.setPosition(this.minLab,this.getHandleLabelPos("minLab",t)),this.options.getPointerColor){var e=this.getPointerColor("min");this.scope.minPointerStyle={backgroundColor:e}}this.options.autoHideLimitLabels&&this.shFloorCeil()},updateHighHandle:function(t){if(this.setPosition(this.maxH,t),this.translateFn(this.highValue,this.maxLab,"high"),this.setPosition(this.maxLab,this.getHandleLabelPos("maxLab",t)),this.options.getPointerColor){var e=this.getPointerColor("max");this.scope.maxPointerStyle={backgroundColor:e}}this.options.autoHideLimitLabels&&this.shFloorCeil()},shFloorCeil:function(){if(!this.options.hidePointerLabels){var t=!1,e=!1,i=this.isLabelBelowFloorLab(this.minLab),n=this.isLabelAboveCeilLab(this.minLab),s=this.isLabelAboveCeilLab(this.maxLab),o=this.isLabelBelowFloorLab(this.cmbLab),r=this.isLabelAboveCeilLab(this.cmbLab);if(i?(t=!0,this.hideEl(this.flrLab)):(t=!1,this.showEl(this.flrLab)),n?(e=!0,this.hideEl(this.ceilLab)):(e=!1,this.showEl(this.ceilLab)),this.range){var a=this.cmbLabelShown?r:s,l=this.cmbLabelShown?o:i;a?this.hideEl(this.ceilLab):e||this.showEl(this.ceilLab),l?this.hideEl(this.flrLab):t||this.showEl(this.flrLab)}}},isLabelBelowFloorLab:function(t){var e=this.options.rightToLeft,i=t.rzsp,n=t.rzsd,s=this.flrLab.rzsp,o=this.flrLab.rzsd;return e?i+n>=s-2:s+o+2>=i},isLabelAboveCeilLab:function(t){var e=this.options.rightToLeft,i=t.rzsp,n=t.rzsd,s=this.ceilLab.rzsp,o=this.ceilLab.rzsd;return e?s+o+2>=i:i+n>=s-2},updateRestrictionBar:function(){var t=0,e=0;if(this.options.restrictedRange)for(var i in this.options.restrictedRange=Array.isArray(this.options.restrictedRange)?this.options.restrictedRange:[this.options.restrictedRange],this.options.restrictedRange){var n=this.valueToPosition(this.options.restrictedRange[i].from),s=this.valueToPosition(this.options.restrictedRange[i].to);e=Math.abs(s-n),t=this.options.rightToLeft?s+this.handleHalfDim:n+this.handleHalfDim,this.setDimension(this.restrictedBar[i],e),this.setPosition(this.restrictedBar[i],t)}},updateSelectionBar:function(){var t=0,e=0,i=this.options.rightToLeft?!this.options.showSelectionBarEnd:this.options.showSelectionBarEnd,n=this.options.rightToLeft?this.maxH.rzsp+this.handleHalfDim:this.minH.rzsp+this.handleHalfDim;if(this.range)e=Math.abs(this.maxH.rzsp-this.minH.rzsp),t=n;else if(null!==this.options.showSelectionBarFromValue){var s=this.options.showSelectionBarFromValue,o=this.valueToPosition(s);(this.options.rightToLeft?this.lowValue<=s:this.lowValue>s)?(e=this.minH.rzsp-o,t=o+this.handleHalfDim):(e=o-this.minH.rzsp,t=this.minH.rzsp+this.handleHalfDim)}else i?(e=Math.abs(this.maxPos-this.minH.rzsp)+this.handleHalfDim,t=this.minH.rzsp+this.handleHalfDim):(e=this.minH.rzsp+this.handleHalfDim,t=0);if(this.setDimension(this.selBar,e),this.setPosition(this.selBar,t),this.range&&this.options.showOuterSelectionBars&&(this.options.rightToLeft?(this.setDimension(this.rightOutSelBar,t),this.setPosition(this.rightOutSelBar,0),this.setDimension(this.leftOutSelBar,this.getDimension(this.fullBar)-(t+e)),this.setPosition(this.leftOutSelBar,t+e)):(this.setDimension(this.leftOutSelBar,t),this.setPosition(this.leftOutSelBar,0),this.setDimension(this.rightOutSelBar,this.getDimension(this.fullBar)-(t+e)),this.setPosition(this.rightOutSelBar,t+e))),this.options.getSelectionBarColor){var r=this.getSelectionBarColor();this.scope.barStyle={backgroundColor:r}}else if(this.options.selectionBarGradient){var a=null!==this.options.showSelectionBarFromValue?this.valueToPosition(this.options.showSelectionBarFromValue):0,l=a-t>0^i,h=this.options.vertical?l?"bottom":"top":l?"left":"right";this.scope.barStyle={backgroundImage:"linear-gradient(to "+h+", "+this.options.selectionBarGradient.from+" 0%,"+this.options.selectionBarGradient.to+" 100%)"},this.options.vertical?(this.scope.barStyle.backgroundPosition="center "+(a+e+t+(l?-this.handleHalfDim:0))+"px",this.scope.barStyle.backgroundSize="100% "+(this.barDimension-this.handleHalfDim)+"px"):(this.scope.barStyle.backgroundPosition=a-t+(l?this.handleHalfDim:0)+"px center",this.scope.barStyle.backgroundSize=this.barDimension-this.handleHalfDim+"px 100%")}},getSelectionBarColor:function(){return this.range?this.options.getSelectionBarColor(this.scope.rzSliderModel,this.scope.rzSliderHigh):this.options.getSelectionBarColor(this.scope.rzSliderModel)},getPointerColor:function(t){return"max"===t?this.options.getPointerColor(this.scope.rzSliderHigh,t):this.options.getPointerColor(this.scope.rzSliderModel,t)},getTickColor:function(t){return this.options.getTickColor(t)},updateCmbLabel:function(){if(this.options.rightToLeft?this.minLab.rzsp-this.minLab.rzsd-10<=this.maxLab.rzsp:this.minLab.rzsp+this.minLab.rzsd+10>=this.maxLab.rzsp){var t,e=this.getDisplayValue(this.lowValue,"model"),i=this.getDisplayValue(this.highValue,"high");t=this.options.mergeRangeLabelsIfSame&&e===i?e:this.options.rightToLeft?i+this.options.labelOverlapSeparator+e:e+this.options.labelOverlapSeparator+i,this.translateFn(t,this.cmbLab,"cmb",!1);var n=this.options.boundPointerLabels?Math.min(Math.max(this.selBar.rzsp+this.selBar.rzsd/2-this.cmbLab.rzsd/2,0),this.barDimension-this.cmbLab.rzsd):this.selBar.rzsp+this.selBar.rzsd/2-this.cmbLab.rzsd/2;this.setPosition(this.cmbLab,n),this.cmbLabelShown=!0,this.hideEl(this.minLab),this.hideEl(this.maxLab),this.showEl(this.cmbLab)}else this.cmbLabelShown=!1,this.updateHighHandle(this.valueToPosition(this.highValue)),this.updateLowHandle(this.valueToPosition(this.lowValue)),this.showEl(this.maxLab),this.showEl(this.minLab),this.hideEl(this.cmbLab);this.options.autoHideLimitLabels&&this.shFloorCeil()},getDisplayValue:function(t,e){return this.options.stepsArray&&!this.options.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.customTrFn(t,this.options.id,e)},roundStep:function(t,e){var i=e||this.step,n=parseFloat((t-this.minValue)/i).toPrecision(12);return n=Math.round(+n)*i,+(this.minValue+n).toFixed(this.precision)},hideEl:function(t){return t.css({visibility:"hidden"})},showEl:function(t){return t.rzAlwaysHide?t:t.css({visibility:"visible"})},setPosition:function(t,e){t.rzsp=e;var i={};return i[this.positionProperty]=Math.round(e)+"px",t.css(i),e},resetPosition:function(t){t.css({left:null,bottom:null})},getDimension:function(t){var e=t[0].getBoundingClientRect();return this.options.vertical?t.rzsd=(e.bottom-e.top)*this.options.scale:t.rzsd=(e.right-e.left)*this.options.scale,t.rzsd},setDimension:function(t,e){t.rzsd=e;var i={};return i[this.dimensionProperty]=Math.round(e)+"px",t.css(i),e},sanitizeValue:function(t){return Math.min(Math.max(t,this.minValue),this.maxValue)},valueToPosition:function(t){var e=this.linearValueToPosition;this.options.customValueToPosition?e=this.options.customValueToPosition:this.options.logScale&&(e=this.logValueToPosition);var i=e(t=this.sanitizeValue(t),this.minValue,this.maxValue)||0;return this.options.rightToLeft&&(i=1-i),i*this.maxPos},linearValueToPosition:function(t,e,i){return(t-e)/(i-e)},logValueToPosition:function(t,e,i){return((t=Math.log(t))-(e=Math.log(e)))/((i=Math.log(i))-e)},positionToValue:function(t){var e=t/this.maxPos;this.options.rightToLeft&&(e=1-e);var i=this.linearPositionToValue;return this.options.customPositionToValue?i=this.options.customPositionToValue:this.options.logScale&&(i=this.logPositionToValue),i(e,this.minValue,this.maxValue)||0},linearPositionToValue:function(t,e,i){return t*(i-e)+e},logPositionToValue:function(t,e,i){e=Math.log(e);var n=t*((i=Math.log(i))-e)+e;return Math.exp(n)},getEventAttr:function(t,e){return void 0===t.originalEvent?t[e]:t.originalEvent[e]},getEventXY:function(t,e){var i=this.options.vertical?"clientY":"clientX";if(void 0!==t[i])return t[i];var n=this.getEventAttr(t,"touches");if(void 0!==e)for(var s=0;s<n.length;s++)if(n[s].identifier===e)return n[s][i];return n[0][i]},getEventPosition:function(t,e){var i=this.sliderElem.rzsp;return(this.options.vertical?-this.getEventXY(t,e)+i:this.getEventXY(t,e)-i)*this.options.scale-this.handleHalfDim},getEventNames:function(t){var e={moveEvent:"",endEvent:""};return this.getEventAttr(t,"touches")?(e.moveEvent="touchmove",e.endEvent="touchend"):(e.moveEvent="mousemove",e.endEvent="mouseup"),e},getNearestHandle:function(t){if(!this.range)return this.minH;var e=this.getEventPosition(t),i=Math.abs(e-this.minH.rzsp),n=Math.abs(e-this.maxH.rzsp);return n>i?this.minH:i>n?this.maxH:this.options.rightToLeft?e>this.minH.rzsp?this.minH:this.maxH:e<this.minH.rzsp?this.minH:this.maxH},focusElement:function(t){t[0].focus()},bindEvents:function(){var e,i,n;this.options.draggableRange?(e="rzSliderDrag",i=this.onDragStart,n=this.onDragMove):(e="lowValue",i=this.onStart,n=this.onMove),this.options.onlyBindHandles||(this.selBar.on("mousedown",t.bind(this,i,null,e)),this.selBar.on("mousedown",t.bind(this,n,this.selBar))),this.options.draggableRangeOnly?(this.minH.on("mousedown",t.bind(this,i,null,e)),this.maxH.on("mousedown",t.bind(this,i,null,e))):(this.minH.on("mousedown",t.bind(this,this.onStart,this.minH,"lowValue")),this.range&&this.maxH.on("mousedown",t.bind(this,this.onStart,this.maxH,"highValue")),this.options.onlyBindHandles||(this.fullBar.on("mousedown",t.bind(this,this.onStart,null,null)),this.fullBar.on("mousedown",t.bind(this,this.onMove,this.fullBar)),this.ticks.on("mousedown",t.bind(this,this.onStart,null,null)),this.ticks.on("mousedown",t.bind(this,this.onTickClick,this.ticks)))),this.options.onlyBindHandles||(this.selBar.on("touchstart",t.bind(this,i,null,e)),this.selBar.on("touchstart",t.bind(this,n,this.selBar))),this.options.draggableRangeOnly?(this.minH.on("touchstart",t.bind(this,i,null,e)),this.maxH.on("touchstart",t.bind(this,i,null,e))):(this.minH.on("touchstart",t.bind(this,this.onStart,this.minH,"lowValue")),this.range&&this.maxH.on("touchstart",t.bind(this,this.onStart,this.maxH,"highValue")),this.options.onlyBindHandles||(this.fullBar.on("touchstart",t.bind(this,this.onStart,null,null)),this.fullBar.on("touchstart",t.bind(this,this.onMove,this.fullBar)),this.ticks.on("touchstart",t.bind(this,this.onStart,null,null)),this.ticks.on("touchstart",t.bind(this,this.onTickClick,this.ticks)))),this.options.keyboardSupport&&(this.minH.on("focus",t.bind(this,this.onPointerFocus,this.minH,"lowValue")),this.range&&this.maxH.on("focus",t.bind(this,this.onPointerFocus,this.maxH,"highValue")))},unbindEvents:function(){this.minH.off(),this.maxH.off(),this.fullBar.off(),this.selBar.off(),this.ticks.off()},onStart:function(e,n,s){var o,r,a=this.getEventNames(s);s.stopPropagation(),s.preventDefault(),this.calcViewDimensions(),e?this.tracking=n:(e=this.getNearestHandle(s),this.tracking=e===this.minH?"lowValue":"highValue"),e.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(e),o=t.bind(this,this.dragging.active?this.onDragMove:this.onMove,e),r=t.bind(this,this.onEnd,o),i.on(a.moveEvent,o),i.on(a.endEvent,r),this.endHandlerToBeRemovedOnEnd=r,this.callOnStart();var l=this.getEventAttr(s,"changedTouches");l&&(this.touchId||(this.isDragging=!0,this.touchId=l[0].identifier))},onMove:function(e,i,n){this.options.disableAnimation||this.moving&&this.sliderElem.addClass("noanimate"),this.moving=!0;var s,o=this.getEventAttr(i,"changedTouches");if(o)for(var r=0;r<o.length;r++)if(o[r].identifier===this.touchId){s=o[r];break}if(!o||s){var a,l=this.getEventPosition(i,s?s.identifier:void 0),h=this.options.rightToLeft?this.minValue:this.maxValue,u=this.options.rightToLeft?this.maxValue:this.minValue;0>=l?a=u:l>=this.maxPos?a=h:(a=this.positionToValue(l),a=n&&t.isNumber(this.options.showTicks)?this.roundStep(a,this.options.showTicks):this.roundStep(a)),this.positionTrackingHandle(a)}},onEnd:function(t,e){this.moving=!1,this.options.disableAnimation||this.sliderElem.removeClass("noanimate");var n=this.getEventAttr(e,"changedTouches");if(!n||n[0].identifier===this.touchId){this.isDragging=!1,this.touchId=null,this.options.keyboardSupport||(this.minH.removeClass("rz-active"),this.maxH.removeClass("rz-active"),this.tracking=""),this.dragging.active=!1;var s=this.getEventNames(e);i.off(s.moveEvent,t),i.off(s.endEvent,this.endHandlerToBeRemovedOnEnd),this.endHandlerToBeRemovedOnEnd=null,this.callOnEnd()}},onTickClick:function(t,e){this.onMove(t,e,!0)},onPointerFocus:function(e,i){this.tracking=i,e.one("blur",t.bind(this,this.onPointerBlur,e)),e.on("keydown",t.bind(this,this.onKeyboardEvent)),e.on("keyup",t.bind(this,this.onKeyUp)),this.firstKeyDown=!0,e.addClass("rz-active"),this.currentFocusElement={pointer:e,ref:i}},onKeyUp:function(){this.firstKeyDown=!0,this.callOnEnd()},onPointerBlur:function(t){t.off("keydown"),t.off("keyup"),t.removeClass("rz-active"),this.isDragging||(this.tracking="",this.currentFocusElement=null)},skipRestrictedRanges:function(t,e){if(this.options.restrictedRange&&Array.isArray(this.options.restrictedRange))for(var i in this.options.restrictedRange){var n=this.options.restrictedRange[i];if(0===n.from&&0===e&&[37,40].includes(t)||n.to>=this.options.restrictedRange[this.options.restrictedRange.length-1].to&&e>=this.options.restrictedRange[this.options.restrictedRange.length-1].to&&[38,39].includes(t))return e;n.to>e&&e>n.from&&(e=Math.abs(n.to-e)>Math.abs(n.from-e)?n.to:n.from)}return e},getKeyActions:function(t){var e=t+this.step,i=t-this.step,n=t+this.valueRange/10,s=t-this.valueRange/10;this.options.reversedControls&&(e=t-this.step,i=t+this.step,n=t-this.valueRange/10,s=t+this.valueRange/10);var o={UP:e,DOWN:i,LEFT:i,RIGHT:e,PAGEUP:n,PAGEDOWN:s,HOME:this.options.reversedControls?this.maxValue:this.minValue,END:this.options.reversedControls?this.minValue:this.maxValue};return this.options.rightToLeft&&(o.LEFT=e,o.RIGHT=i,this.options.vertical&&(o.UP=i,o.DOWN=e)),o},onKeyboardEvent:function(t){var i=t.keyCode||t.which,n=this[this.tracking],s=this.getKeyActions(n)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[i]];if(null!=s&&""!==this.tracking){t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.callOnStart());var o=this;e((function(){var t=o.roundStep(o.sanitizeValue(s));if(t=o.options.skipRestrictedRangesWithArrowKeys?o.skipRestrictedRanges(i,t):t,o.options.draggableRangeOnly){var e,n,r=o.highValue-o.lowValue;"lowValue"===o.tracking?(e=t,(n=t+r)>o.maxValue&&(e=(n=o.maxValue)-r)):(n=t,(e=t-r)<o.minValue&&(n=(e=o.minValue)+r)),o.positionTrackingBar(e,n)}else o.positionTrackingHandle(t)}))}},onDragStart:function(t,e,i){var n=this.getEventPosition(i);this.dragging={active:!0,value:this.positionToValue(n),difference:this.highValue-this.lowValue,lowLimit:this.options.rightToLeft?this.minH.rzsp-n:n-this.minH.rzsp,highLimit:this.options.rightToLeft?n-this.maxH.rzsp:this.maxH.rzsp-n},this.onStart(t,e,i)},getValue:function(t,e,i,n){var s,o=this.options.rightToLeft;return s="min"===t?i?n?o?this.minValue:this.maxValue-this.dragging.difference:o?this.maxValue-this.dragging.difference:this.minValue:o?this.positionToValue(e+this.dragging.lowLimit):this.positionToValue(e-this.dragging.lowLimit):i?n?o?this.minValue+this.dragging.difference:this.maxValue:o?this.maxValue:this.minValue+this.dragging.difference:o?this.positionToValue(e+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(e-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(s)},onDragMove:function(t,e){this.options.disableAnimation||this.moving&&this.sliderElem.addClass("noanimate"),this.moving=!0;var i,n,s,o,r,a,l,h,u=this.getEventPosition(e);if(this.options.rightToLeft?(s=this.dragging.lowLimit,o=this.dragging.highLimit,l=this.maxH,h=this.minH):(s=this.dragging.highLimit,o=this.dragging.lowLimit,l=this.minH,h=this.maxH),r=o>=u,a=u>=this.maxPos-s,r){if(0===l.rzsp)return;i=this.getValue("min",u,!0,!1),n=this.getValue("max",u,!0,!1)}else if(a){if(h.rzsp===this.maxPos)return;n=this.getValue("max",u,!0,!0),i=this.getValue("min",u,!0,!0)}else i=this.getValue("min",u,!1),n=this.getValue("max",u,!1);this.positionTrackingBar(i,n)},positionTrackingBar:function(t,e){null!=this.options.minLimit&&t<this.options.minLimit&&(e=(t=this.options.minLimit)+this.dragging.difference),null!=this.options.maxLimit&&e>this.options.maxLimit&&(t=(e=this.options.maxLimit)-this.dragging.difference),this.lowValue=t,this.highValue=e,this.applyLowValue(),this.range&&this.applyHighValue(),this.applyModel(!0),this.updateHandles("lowValue",this.valueToPosition(t)),this.updateHandles("highValue",this.valueToPosition(e))},positionTrackingHandle:function(t){var e=!1;t=this.applyMinMaxLimit(t),t=this.applyRestrictedRange(t),this.range&&(this.options.pushRange?(t=this.applyPushRange(t),e=!0):(this.options.noSwitching&&("lowValue"===this.tracking&&t>this.highValue?t=this.applyMinMaxRange(this.highValue):"highValue"===this.tracking&&t<this.lowValue&&(t=this.applyMinMaxRange(this.lowValue))),t=this.applyMinMaxRange(t),"lowValue"===this.tracking&&t>this.highValue?(this.lowValue=this.highValue,this.applyLowValue(),this.applyModel(),this.updateHandles(this.tracking,this.maxH.rzsp),this.updateAriaAttributes(),this.tracking="highValue",this.minH.removeClass("rz-active"),this.maxH.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(this.maxH),e=!0):"highValue"===this.tracking&&t<this.lowValue&&(this.highValue=this.lowValue,this.applyHighValue(),this.applyModel(),this.updateHandles(this.tracking,this.minH.rzsp),this.updateAriaAttributes(),this.tracking="lowValue",this.maxH.removeClass("rz-active"),this.minH.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(this.minH),e=!0))),this[this.tracking]!==t&&(this[this.tracking]=t,"lowValue"===this.tracking?this.applyLowValue():this.applyHighValue(),this.applyModel(),this.updateHandles(this.tracking,this.valueToPosition(t)),this.updateAriaAttributes(),e=!0),e&&this.applyModel(!0)},applyMinMaxLimit:function(t){return null!=this.options.minLimit&&t<this.options.minLimit?this.options.minLimit:null!=this.options.maxLimit&&t>this.options.maxLimit?this.options.maxLimit:t},applyMinMaxRange:function(t){var e="lowValue"===this.tracking?this.highValue:this.lowValue,i=Math.abs(t-e);return null!=this.options.minRange&&i<this.options.minRange?"lowValue"===this.tracking?this.highValue-this.options.minRange:this.lowValue+this.options.minRange:null!=this.options.maxRange&&i>this.options.maxRange?"lowValue"===this.tracking?this.highValue-this.options.maxRange:this.lowValue+this.options.maxRange:t},applyRestrictedRange:function(t){for(var e in this.options.restrictedRange)if(null!=this.options.restrictedRange[e]&&t>this.options.restrictedRange[e].from&&t<this.options.restrictedRange[e].to){var i=(this.options.restrictedRange[e].to-this.options.restrictedRange[e].from)/2;if("lowValue"===this.tracking)return t>this.options.restrictedRange[e].from+i?this.options.restrictedRange[e].to:this.options.restrictedRange[e].from;if("highValue"===this.tracking)return t<this.options.restrictedRange[e].to-i?this.options.restrictedRange[e].from:this.options.restrictedRange[e].to}return t},applyPushRange:function(t){var e="lowValue"===this.tracking?this.highValue-t:t-this.lowValue,i=null!==this.options.minRange?this.options.minRange:this.options.step,n=this.options.maxRange;return i>e?("lowValue"===this.tracking?(this.highValue=Math.min(t+i,this.maxValue),t=this.highValue-i,this.applyHighValue(),this.updateHandles("highValue",this.valueToPosition(this.highValue))):(this.lowValue=Math.max(t-i,this.minValue),t=this.lowValue+i,this.applyLowValue(),this.updateHandles("lowValue",this.valueToPosition(this.lowValue))),this.updateAriaAttributes()):null!==n&&e>n&&("lowValue"===this.tracking?(this.highValue=t+n,this.applyHighValue(),this.updateHandles("highValue",this.valueToPosition(this.highValue))):(this.lowValue=t-n,this.applyLowValue(),this.updateHandles("lowValue",this.valueToPosition(this.lowValue))),this.updateAriaAttributes()),t},applyModel:function(t){this.internalChange=!0,this.scope.$apply(),t&&this.callOnChange(),this.internalChange=!1},callOnStart:function(){if(this.options.onStart){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync((function(){t.options.onStart(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)}))}},callOnChange:function(){if(this.options.onChange){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync((function(){t.options.onChange(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)}))}},callOnEnd:function(){if(this.options.onEnd){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync((function(){t.options.onEnd(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)}))}this.scope.$emit("slideEnded")}},a}]).directive("rzslider",["RzSlider",function(t){return{restrict:"AE",replace:!0,scope:{rzSliderModel:"=?",rzSliderHigh:"=?",rzSliderOptions:"&?",rzSliderTplUrl:"@"},templateUrl:function(t,e){return e.rzSliderTplUrl||"rzSliderTpl.html"},link:function(e,i){e.slider=new t(e,i)}}}]);return e.run(["$templateCache",function(t){t.put("rzSliderTpl.html",'<div class=rzslider><span class="rz-bar-wrapper rz-left-out-selection"><span class=rz-bar></span></span> <span class="rz-bar-wrapper rz-right-out-selection"><span class=rz-bar></span></span> <span class=rz-bar-wrapper><span class=rz-bar></span></span> <span class=rz-bar-wrapper><span class="rz-bar rz-selection" ng-style=barStyle></span></span> <span class=rz-bar-wrapper><span class="rz-bar rz-restricted" ng-style=restrictionStyle></span></span> <span class="rz-pointer rz-pointer-min" ng-style=minPointerStyle></span> <span class="rz-pointer rz-pointer-max" ng-style=maxPointerStyle></span> <span class="rz-bubble rz-limit rz-floor"></span> <span class="rz-bubble rz-limit rz-ceil"></span> <span class="rz-bubble rz-model-value"></span> <span class="rz-bubble rz-model-high"></span> <span class=rz-bubble></span><ul ng-show=showTicks class=rz-ticks><li ng-repeat="t in ticks track by $index" class=rz-tick ng-class="{\'rz-selected\': t.selected}" ng-style=t.style ng-attr-uib-tooltip="{{ t.tooltip }}" ng-attr-tooltip-placement={{t.tooltipPlacement}} ng-attr-tooltip-append-to-body="{{ t.tooltip ? true : undefined}}"><span ng-if="t.value != null" class=rz-tick-value ng-attr-uib-tooltip="{{ t.valueTooltip }}" ng-attr-tooltip-placement={{t.valueTooltipPlacement}}>{{ t.value }}</span> <span ng-if="t.legend != null" class=rz-tick-legend>{{ t.legend }}</span></li></ul></div>')}]),e.name})?n.apply(e,s):n)||(t.exports=o)}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[35],{418:function(t,e){
2
+ /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var t=8,e=9,i=13,n=27,s=32,o=38,r=40,a=37,l=39,h=46,u=188,c=9007199254740991,p=["text","email","url"],d=angular.module("ngTagsInput",[]);d.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(e,n,o,r,d,g){function f(t,e,i,n){var s,o,a,l,h={};return s=function(e){return g.safeToString(e[t.displayProperty])},o=function(e,i){e[t.displayProperty]=i},a=function(e){var n=s(e),o=n&&n.length>=t.minLength&&n.length<=t.maxLength&&t.allowedTagsPattern.test(n)&&!g.findInObjectArray(h.items,e,t.keyProperty||t.displayProperty);return r.when(o&&i({$tag:e})).then(g.promisifyValue)},l=function(t){return r.when(n({$tag:t})).then(g.promisifyValue)},h.items=[],h.addText=function(t){var e={};return o(e,t),h.add(e)},h.add=function(i){var n=s(i);return t.replaceSpacesWithDashes&&(n=g.replaceSpacesWithDashes(n)),o(i,n),a(i).then((function(){h.items.push(i),e.trigger("tag-added",{$tag:i})})).catch((function(){n&&e.trigger("invalid-tag",{$tag:i})}))},h.remove=function(t){var i=h.items[t];return l(i).then((function(){return h.items.splice(t,1),h.clearSelection(),e.trigger("tag-removed",{$tag:i}),i}))},h.select=function(t){0>t?t=h.items.length-1:t>=h.items.length&&(t=0),h.index=t,h.selected=h.items[t]},h.selectPrior=function(){h.select(--h.index)},h.selectNext=function(){h.select(++h.index)},h.removeSelected=function(){return h.remove(h.index)},h.clearSelection=function(){h.selected=null,h.index=-1},h.getItems=function(){return t.useStrings?h.items.map(s):h.items},h.clearSelection(),h}function m(t){return-1!==p.indexOf(t)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(t,e,i){t.events=g.simplePubSub(),d.load("tagsInput",t,e,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",m],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,c],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,c],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),t.tagList=new f(t.options,t.events,g.handleUndefinedResult(t.onTagAdding,!0),g.handleUndefinedResult(t.onTagRemoving,!0)),this.registerAutocomplete=function(){return i.find("input"),{addTag:function(e){return t.tagList.add(e)},getTags:function(){return t.tagList.items},getCurrentTagText:function(){return t.newTag.text()},getOptions:function(){return t.options},getTemplateScope:function(){return t.templateScope},on:function(e,i){return t.events.on(e,i,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return t.options},removeTag:function(e){t.disabled||t.tagList.remove(e)}}}}],link:function(r,c,p,d){var f,m,b=[i,u,s,t,h,a,l],v=r.tagList,y=r.events,x=r.options,w=c.find("input"),S=["minTags","maxTags","allowLeftoverText"];f=function(){d.$setValidity("maxTags",v.items.length<=x.maxTags),d.$setValidity("minTags",v.items.length>=x.minTags),d.$setValidity("leftoverText",!(!r.hasFocus&&!x.allowLeftoverText)||!r.newTag.text())},m=function(){e((function(){w[0].focus()}))},d.$isEmpty=function(t){return!t||!t.length},r.newTag={text:function(t){return angular.isDefined(t)?(r.text=t,void y.trigger("input-change",t)):r.text||""},invalid:null},r.track=function(t){return t[x.keyProperty||x.displayProperty]},r.getTagClass=function(t,e){var i=t===v.selected;return[r.tagClass({$tag:t,$index:e,$selected:i}),{selected:i}]},r.$watch("tags",(function(t){if(t){if(v.items=g.makeObjectArray(t,x.displayProperty),x.useStrings)return;r.tags=v.items}else v.items=[]})),r.$watch("tags.length",(function(){f(),d.$validate()})),p.$observe("disabled",(function(t){r.disabled=t})),r.eventHandlers={input:{keydown:function(t){y.trigger("input-keydown",t)},focus:function(){r.hasFocus||(r.hasFocus=!0,y.trigger("input-focus"))},blur:function(){e((function(){var t=n.prop("activeElement"),e=t===w[0],i=c[0].contains(t);(e||!i)&&(r.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(t){t.getTextData=function(){var e=t.clipboardData||t.originalEvent&&t.originalEvent.clipboardData;return e?e.getData("text/plain"):o.clipboardData.getData("Text")},y.trigger("input-paste",t)}},host:{click:function(){r.disabled||m()}},tag:{click:function(t){y.trigger("tag-clicked",{$tag:t})}}},y.on("tag-added",r.onTagAdded).on("invalid-tag",r.onInvalidTag).on("tag-removed",r.onTagRemoved).on("tag-clicked",r.onTagClicked).on("tag-added",(function(){r.newTag.text("")})).on("tag-added tag-removed",(function(){r.tags=v.getItems(),d.$setDirty(),m()})).on("invalid-tag",(function(){r.newTag.invalid=!0})).on("option-change",(function(t){-1!==S.indexOf(t.name)&&f()})).on("input-change",(function(){v.clearSelection(),r.newTag.invalid=null})).on("input-focus",(function(){c.triggerHandler("focus"),d.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&v.addText(r.newTag.text()),c.triggerHandler("blur"),f()})).on("input-keydown",(function(e){var n,o,c,p,d=e.keyCode,f={};g.isModifierOn(e)||-1===b.indexOf(d)||(f[i]=x.addOnEnter,f[u]=x.addOnComma,f[s]=x.addOnSpace,n=!x.addFromAutocompleteOnly&&f[d],o=(d===t||d===h)&&v.selected,p=d===t&&0===r.newTag.text().length&&x.enableEditingLastTag,c=(d===t||d===a||d===l)&&0===r.newTag.text().length&&!x.enableEditingLastTag,n?v.addText(r.newTag.text()):p?(v.selectPrior(),v.removeSelected().then((function(t){t&&r.newTag.text(t[x.displayProperty])}))):o?v.removeSelected():c&&(d===a||d===t?v.selectPrior():d===l&&v.selectNext()),(n||c||o||p)&&e.preventDefault())})).on("input-paste",(function(t){if(x.addOnPaste){var e=t.getTextData().split(x.pasteSplitPattern);e.length>1&&(e.forEach((function(t){v.addText(t)})),t.preventDefault())}}))}}}]),d.directive("tiTagItem",["tiUtil",function(t){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(e,i,n,s){var o=s.registerTagItem(),r=o.getOptions();e.$$template=r.template,e.$$removeTagSymbol=r.removeTagSymbol,e.$getDisplayText=function(){return t.safeToString(e.data[r.displayProperty])},e.$removeTag=function(){o.removeTag(e.$index)},e.$watch("$parent.$index",(function(t){e.$index=t}))}}}]),d.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(t,s,a,l,h,u){function c(t,e,i){var n,s,o,r={};return o=function(){return e.tagsInput.keyProperty||e.tagsInput.displayProperty},n=function(t,i){return t.filter((function(t){return!u.findInObjectArray(i,t,o(),(function(t,i){return e.tagsInput.replaceSpacesWithDashes&&(t=u.replaceSpacesWithDashes(t),i=u.replaceSpacesWithDashes(i)),u.defaultComparer(t,i)}))}))},r.reset=function(){s=null,r.items=[],r.visible=!1,r.index=-1,r.selected=null,r.query=null},r.show=function(){e.selectFirstMatch?r.select(0):r.selected=null,r.visible=!0},r.load=u.debounce((function(i,a){r.query=i;var h=l.when(t({$query:i}));s=h,h.then((function(t){h===s&&(t=u.makeObjectArray(t.data||t,o()),t=n(t,a),r.items=t.slice(0,e.maxResultsToShow),r.items.length>0?r.show():r.reset())}))}),e.debounceDelay),r.selectNext=function(){r.select(++r.index)},r.selectPrior=function(){r.select(--r.index)},r.select=function(t){0>t?t=r.items.length-1:t>=r.items.length&&(t=0),r.index=t,r.selected=r.items[t],i.trigger("suggestion-selected",t)},r.reset(),r}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(t,e,i){t.events=u.simplePubSub(),h.load("autoComplete",t,i,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),t.suggestionList=new c(t.source,t.options,t.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return t.options},getQuery:function(){return t.suggestionList.query}}}}],link:function(t,s,a,l){var h,c=[i,e,n,o,r],p=t.suggestionList,d=l.registerAutocomplete(),g=t.options,f=t.events;g.tagsInput=d.getOptions(),h=function(t){return t&&t.length>=g.minLength||!t&&g.loadOnEmpty},t.templateScope=d.getTemplateScope(),t.addSuggestionByIndex=function(e){p.select(e),t.addSuggestion()},t.addSuggestion=function(){var t=!1;return p.selected&&(d.addTag(angular.copy(p.selected)),p.reset(),t=!0),t},t.track=function(t){return t[g.tagsInput.keyProperty||g.tagsInput.displayProperty]},t.getSuggestionClass=function(e,i){var n=e===p.selected;return[t.matchClass({$match:e,$index:i,$selected:n}),{selected:n}]},d.on("tag-added tag-removed invalid-tag input-blur",(function(){p.reset()})).on("input-change",(function(t){h(t)?p.load(t,d.getTags()):p.reset()})).on("input-focus",(function(){var t=d.getCurrentTagText();g.loadOnFocus&&h(t)&&p.load(t,d.getTags())})).on("input-keydown",(function(s){var a=s.keyCode,l=!1;if(!u.isModifierOn(s)&&-1!==c.indexOf(a))return p.visible?a===r?(p.selectNext(),l=!0):a===o?(p.selectPrior(),l=!0):a===n?(p.reset(),l=!0):(a===i||a===e)&&(l=t.addSuggestion()):a===r&&t.options.loadOnDownArrow&&(p.load(d.getCurrentTagText(),d.getTags()),l=!0),l?(s.preventDefault(),s.stopImmediatePropagation(),!1):void 0})),f.on("suggestion-selected",(function(t){!function(t,e){var i=t.find("li").eq(e),n=i.parent(),s=i.prop("offsetTop"),o=i.prop("offsetHeight"),r=n.prop("clientHeight"),a=n.prop("scrollTop");a>s?n.prop("scrollTop",s):s+o>r+a&&n.prop("scrollTop",s+o-r)}(s,t)}))}}}]),d.directive("tiAutocompleteMatch",["$sce","tiUtil",function(t,e){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(i,n,s,o){var r=o.registerAutocompleteMatch(),a=r.getOptions();i.$$template=a.template,i.$index=i.$parent.$index,i.$highlight=function(i){return a.highlightMatchedText&&(i=e.safeHighlight(i,r.getQuery())),t.trustAsHtml(i)},i.$getDisplayText=function(){return e.safeToString(i.data[a.displayProperty||a.tagsInput.displayProperty])}}}}]),d.directive("tiTranscludeAppend",(function(){return function(t,e,i,n,s){s((function(t){e.append(t)}))}})),d.directive("tiAutosize",["tagsInputConfig",function(t){return{restrict:"A",require:"ngModel",link:function(e,i,n,s){var o,r,a=t.getTextAutosizeThreshold();(o=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),i.parent().append(o),r=function(t){var e,s=t;return angular.isString(s)&&0===s.length&&(s=n.placeholder),s&&(o.text(s),o.css("display",""),e=o.prop("offsetWidth"),o.css("display","none")),i.css("width",e?e+a+"px":""),t},s.$parsers.unshift(r),s.$formatters.unshift(r),n.$observe("placeholder",(function(t){s.$modelValue||r(t)}))}}}]),d.directive("tiBindAttrs",(function(){return function(t,e,i){t.$watch(i.tiBindAttrs,(function(t){angular.forEach(t,(function(t,e){i.$set(e,t)}))}),!0)}})),d.provider("tagsInputConfig",(function(){var t={},e={},i=3;this.setDefaults=function(e,i){return t[e]=i,this},this.setActiveInterpolation=function(t,i){return e[t]=i,this},this.setTextAutosizeThreshold=function(t){return i=t,this},this.$get=["$interpolate",function(n){var s={};return s[String]=function(t){return t},s[Number]=function(t){return parseInt(t,10)},s[Boolean]=function(t){return"true"===t.toLowerCase()},s[RegExp]=function(t){return new RegExp(t)},{load:function(i,o,r,a){var l=function(){return!0};o.options={},angular.forEach(a,(function(a,h){var u,c,p,d,g,f;u=a[0],c=a[1],p=a[2]||l,d=s[u],g=function(){var e=t[i]&&t[i][h];return angular.isDefined(e)?e:c},f=function(t){o.options[h]=t&&p(t)?d(t):g()},e[i]&&e[i][h]?r.$observe(h,(function(t){f(t),o.events.trigger("option-change",{name:h,newValue:t})})):f(r[h]&&n(r[h])(o.$parent))}))},getTextAutosizeThreshold:function(){return i}}}]})),d.factory("tiUtil",["$timeout","$q",function(t,e){var i={debounce:function(e,i){var n;return function(){var s=arguments;t.cancel(n),n=t((function(){e.apply(null,s)}),i)}},makeObjectArray:function(t,e){if(!angular.isArray(t)||0===t.length||angular.isObject(t[0]))return t;var i=[];return t.forEach((function(t){var n={};n[e]=t,i.push(n)})),i},findInObjectArray:function(t,e,n,s){var o=null;return s=s||i.defaultComparer,t.some((function(t){return s(t[n],e[n])?(o=t,!0):void 0})),o},defaultComparer:function(t,e){return i.safeToString(t).toLowerCase()===i.safeToString(e).toLowerCase()},safeHighlight:function(t,e){if(t=i.encodeHTML(t),!(e=i.encodeHTML(e)))return t;var n=new RegExp("&[^;]+;|"+function(t){return t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(e),"gi");return t.replace(n,(function(t){return t.toLowerCase()===e.toLowerCase()?"<em>"+t+"</em>":t}))},safeToString:function(t){return angular.isUndefined(t)||null==t?"":t.toString().trim()},encodeHTML:function(t){return i.safeToString(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(t,e){return function(){var i=t.apply(null,arguments);return angular.isUndefined(i)?e:i}},replaceSpacesWithDashes:function(t){return i.safeToString(t).replace(/\s/g,"-")},isModifierOn:function(t){return t.shiftKey||t.ctrlKey||t.altKey||t.metaKey},promisifyValue:function(t){return t=!!angular.isUndefined(t)||t,e[t?"when":"reject"]()},simplePubSub:function(){var t={};return{on:function(e,i,n){return e.split(" ").forEach((function(e){t[e]||(t[e]=[]),(n?[].unshift:[].push).call(t[e],i)})),this},trigger:function(e,n){return(t[e]||[]).every((function(t){return i.handleUndefinedResult(t,!0)(n)})),this}}}};return i}]),d.run(["$templateCache",function(t){t.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),t.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),t.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),t.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},610:function(t,e){!function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,s,o,r,a=[],l=!0,h=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){h=!0,s=t}finally{try{if(!l&&null!=i.return&&(r=i.return(),Object(r)!==r))return}finally{if(h)throw s}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function n(e,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,(void 0,o=function(e,i){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,i);if("object"!==t(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(s.key,"string"),"symbol"===t(o)?o:String(o)),s)}var o}var s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var i,s;return i=t,(s=[{key:"registerFor",value:function(t){var i,n,s,o;function r(t,i,n){var s=t[0],r=e({top:["scrollTop","pageYOffset","scrollLeft"],left:["scrollLeft","pageXOffset","scrollTop"]}[i],3),a=r[0],l=r[1],h=r[2],u=void 0!==n;return o(s)?u?s.scrollTo(t[h].call(t),n):l in s?s[l]:s.document.documentElement[a]:(u&&(s[a]=n),s[a])}function a(t,n,r){var a,l=function(t,n){var r,a,l,h,u,c,p,d,g,f;if(o(t))return{base:r=document.documentElement[{height:"clientHeight",width:"clientWidth"}[n]],padding:0,border:0,margin:0};var m=e({width:[t.offsetWidth,"Left","Right"],height:[t.offsetHeight,"Top","Bottom"]}[n],3);return r=m[0],p=m[1],d=m[2],c=s(t),g=i(t,c["padding"+p])||0,f=i(t,c["padding"+d])||0,a=i(t,c["border"+p+"Width"])||0,l=i(t,c["border"+d+"Width"])||0,h=c["margin"+p],u=c["margin"+d],{base:r,padding:g+f,border:a+l,margin:(i(t,h)||0)+(i(t,u)||0)}}(t,n);return l.base>0?{base:l.base-l.padding-l.border,outer:l.base,outerfull:l.base+l.margin}[r]:(((a=s(t)[n])<0||null===a)&&(a=t.style[n]||0),{base:(a=parseFloat(a)||0)-l.padding-l.border,outer:a,outerfull:a+l.padding+l.border+l.margin}[r])}return n=angular.element.prototype.css,t.prototype.css=function(t,e){var i=this[0];if(i&&3!==i.nodeType&&8!==i.nodeType&&i.style)return n.call(this,t,e)},o=function(t){return t&&t.document&&t.location&&t.alert&&t.setInterval},window.getComputedStyle?(s=function(t){return window.getComputedStyle(t,null)},i=function(t,e){return parseFloat(e)}):(s=function(t){return t.currentStyle},i=function(t,e){var i,n,s,o,r;return new RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i").test(e)?(i=(r=t.style).left,o=(s=t.runtimeStyle)&&s.left,s&&(s.left=r.left),r.left=e,n=r.pixelLeft,r.left=i,o&&(s.left=o),n):parseFloat(e)}),angular.forEach({before:function(t){var e,i,n,s,o,r;if(i=this[0],(e=(o=this.parent()).contents())[0]===i)return o.prepend(t);for(n=s=1,r=e.length-1;1<=r?s<=r:s>=r;n=1<=r?++s:--s)if(e[n]===i)return void angular.element(e[n-1]).after(t);throw new Error("invalid DOM structure "+i.outerHTML)},height:function(t){return void 0!==t?(angular.isNumber(t)&&(t+="px"),n.call(this,"height",t)):a(this[0],"height","base")},outerHeight:function(t){return a(this[0],"height",t?"outerfull":"outer")},outerWidth:function(t){return a(this[0],"width",t?"outerfull":"outer")},offset:function(t){var e,i,n={top:0,left:0},s=this[0],o=s&&s.ownerDocument;if(arguments.length){if(void 0===t)return this;throw new Error("offset setter method is not implemented")}if(o)return e=o.documentElement,null!=s.getBoundingClientRect&&(n=s.getBoundingClientRect()),i=o.defaultView||o.parentWindow,{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},scrollTop:function(t){return r(this,"top",t)},scrollLeft:function(t){return r(this,"left",t)}},(function(e,i){if(!t.prototype[i])return t.prototype[i]=e}))}}])&&n(i.prototype,s),Object.defineProperty(i,"prototype",{writable:!1}),t}();function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,s=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e);if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===o(s)?s:String(s)),n)}var s}var a="ng-ui-scroll-hide",l=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$animate=e.has&&e.has("$animate")?e.get("$animate"):null,this.isAngularVersionLessThen1_3=1===angular.version.major&&angular.version.minor<3,this.$q=i}var e,i,n;return e=t,n=[{key:"addCSSRules",value:function(){var t,e="."+a,i="display: none",n=document.styleSheets[0];try{t=n.cssRules.length}catch(e){t=0}"insertRule"in n?n.insertRule(e+"{"+i+"}",t):"addRule"in n&&n.addRule(e,i,t)}}],(i=[{key:"hideElement",value:function(t){t.element.addClass(a)}},{key:"showElement",value:function(t){t.element.removeClass(a)}},{key:"insertElement",value:function(t,e){return e.after(t),[]}},{key:"removeElement",value:function(t){return t.element.remove(),t.scope.$destroy(),[]}},{key:"insertElementAnimated",value:function(t,e){if(!this.$animate)return this.insertElement(t,e);if(this.isAngularVersionLessThen1_3){var i=this.$q.defer();return this.$animate.enter(t,null,e,(function(){return i.resolve()})),[i.promise]}return[this.$animate.enter(t,null,e)]}},{key:"removeElementAnimated",value:function(t){if(!this.$animate)return this.removeElement(t);if(this.isAngularVersionLessThen1_3){var e=this.$q.defer();return this.$animate.leave(t.element,(function(){return t.scope.$destroy(),e.resolve()})),[e.promise]}return[this.$animate.leave(t.element).then((function(){return t.scope.$destroy()}))]}}])&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),h="prepend",u="append",c="insert",p="remove",d="none";function g(t,e,i){var n=Object.create(Array.prototype);return angular.extend(n,{size:e,reset:function(t){n.remove(0,n.length),n.eof=!1,n.bof=!1,n.first=t,n.next=t,n.minIndex=t,n.maxIndex=t,n.minIndexUser=null,n.maxIndexUser=null},append:function(t){t.forEach((function(t){++n.next,n.insert(u,t)})),n.maxIndex=n.eof?n.next-1:Math.max(n.next-1,n.maxIndex)},prepend:function(t,e){t.reverse().forEach((function(t){e?++n.next:--n.first,n.insert(h,t)})),n.minIndex=n.bof?n.minIndex=n.first:Math.min(n.first,n.minIndex)},insert:function(t,e,i){var s={item:e};if(t%1==0)s.op=c,n.splice(t,0,s),i?n.first--:n.next++;else switch(s.op=t,t){case u:n.push(s);break;case h:n.unshift(s)}},remove:function(e,i){if(angular.isNumber(e)){for(var s=e;s<i;s++)t.removeElement(n[s]);return n.splice(e,i-e)}return n.splice(n.indexOf(e),1),e.shiftTop&&n.first===this.getAbsMinIndex()?this.incrementMinIndex():this.decrementMaxIndex(),e.shiftTop?n.first++:n.next--,n.length||(n.minIndex=Math.min(n.maxIndex,n.minIndex)),t.removeElementAnimated(e)},incrementMinIndex:function(){if(null!==n.minIndexUser){if(n.minIndex>n.minIndexUser)return void n.minIndexUser++;n.minIndex===n.minIndexUser&&n.minIndexUser++}n.minIndex++},decrementMaxIndex:function(){null!==n.maxIndexUser&&n.maxIndex<=n.maxIndexUser&&n.maxIndexUser--,n.maxIndex--},getAbsMinIndex:function(){return null!==n.minIndexUser?Math.min(n.minIndexUser,n.minIndex):n.minIndex},getAbsMaxIndex:function(){return null!==n.maxIndexUser?Math.max(n.maxIndexUser,n.maxIndex):n.maxIndex},effectiveHeight:function(t){if(!t.length)return 0;var e=Number.MAX_VALUE,i=Number.NEGATIVE_INFINITY;return t.forEach((function(t){t.element[0].offsetParent&&(e=Math.min(e,t.element.offset().top),i=Math.max(i,t.element.offset().top+t.element.outerHeight(!0)))})),Math.max(0,i-e)},getItems:function(){return n.filter((function(t){return t.op===d}))},getFirstItem:function(){var t=n.getItems();return t.length?t[0].item:null},getLastItem:function(){var t=n.getItems();return t.length?t[t.length-1].item:null}}),n.reset(i),n}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,s=function(t,e){if("object"!==f(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e);if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===f(s)?s:String(s)),n)}var s}function v(t,e,i){return e&&b(t.prototype,e),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}var y=function(){function t(){m(this,t)}return v(t,[{key:"add",value:function(t){for(var e=this.length-1;e>=0;e--)if(this[e].index===t.scope.$index)return void(this[e].height=t.element.outerHeight());this.push({index:t.scope.$index,height:t.element.outerHeight()}),this.sort((function(t,e){return t.index<e.index?-1:t.index>e.index?1:0}))}},{key:"remove",value:function(t,e){for(var i=t%1==0?t:t.scope.$index,n=t%1==0?e:t.shiftTop,s=this.length-1;s>=0;s--)if(this[s].index===i){this.splice(s,1);break}if(!n)for(var o=this.length-1;o>=0;o--)this[o].index>i&&this[o].index--}},{key:"clear",value:function(){this.length=0}}]),t}();function x(){var t=[];return t.push.apply(t,arguments),Object.setPrototypeOf(t,x.prototype),t}x.prototype=Object.create(Array.prototype),Object.getOwnPropertyNames(y.prototype).forEach((function(t){return x.prototype[t]=y.prototype[t]}));var w=function(){function t(e){m(this,t),this.element=function(t){if(t.nodeType!==Node.ELEMENT_NODE)throw new Error("ui-scroll directive requires an Element node for templating the view");var e;switch(t.tagName.toLowerCase()){case"dl":throw new Error("ui-scroll directive does not support <".concat(t.tagName,"> as a repeating tag: ").concat(t.outerHTML));case"tr":e=angular.element("<table><tr><td><div></div></td></tr></table>").find("tr");break;case"li":e=angular.element("<li></li>");break;default:e=angular.element("<div></div>")}return e}(e),this.cache=new x}return v(t,[{key:"height",value:function(){return this.element.height.apply(this.element,arguments)}}]),t}();function S(t,e,i,n,s,o){var r=null,a=null,l=n&&n.viewport?n.viewport:angular.element(window),h=n&&n.container?n.container:void 0,u=n&&n.scope?n.scope:s;function c(){return l.outerHeight()*o}return l.css({"overflow-anchor":"none","overflow-y":"auto",display:"block"}),angular.extend(l,{getScope:function(){return u},createPaddingElements:function(t){r=new w(t),a=new w(t),i.before(r.element),i.after(a.element),r.height(0),a.height(0)},applyContainerStyle:function(){return!h||(h!==l&&l.css("height",window.getComputedStyle(h[0]).height),l.height()>0)},bottomDataPos:function(){var t=l[0].scrollHeight;return(t=null!=t?t:l[0].document.documentElement.scrollHeight)-a.height()},topDataPos:function(){return r.height()},bottomVisiblePos:function(){return l.scrollTop()+l.outerHeight()},topVisiblePos:function(){return l.scrollTop()},insertElement:function(e,i){return t.insertElement(e,i||r.element)},insertElementAnimated:function(e,i){return t.insertElementAnimated(e,i||r.element)},shouldLoadBottom:function(){return!e.eof&&l.bottomDataPos()<l.bottomVisiblePos()+c()},clipBottom:function(){for(var t=0,i=0,n=0,s=l.bottomDataPos()-l.bottomVisiblePos()-c(),o=e.length-1;o>=0&&!(i+(n=e[o].element.outerHeight(!0))>s);o--)a.cache.add(e[o]),i+=n,t++;t>0&&(e.eof=!1,e.remove(e.length-t,e.length),e.next-=t,l.adjustPaddings())},shouldLoadTop:function(){return!e.bof&&l.topDataPos()>l.topVisiblePos()-c()},clipTop:function(){for(var t=0,i=0,n=0,s=l.topVisiblePos()-l.topDataPos()-c(),o=0;o<e.length&&!(i+(n=e[o].element.outerHeight(!0))>s);o++)r.cache.add(e[o]),i+=n,t++;t>0&&(r.height(r.height()+i),e.bof=!1,e.remove(0,t),e.first+=t)},adjustPaddings:function(){if(e.length){var t=e.reduce((function(t,e){return t+e.element.outerHeight(!0)}),0),i=0,n=0;r.cache.forEach((function(t){t.index<e.first&&(i+=t.height,n++)}));var s=0,o=0;a.cache.forEach((function(t){t.index>=e.next&&(s+=t.height,o++)}));var l=(t+i+s)/(n+o+e.length),h=null!==e.minIndexUser&&e.minIndex>e.minIndexUser,u=null!==e.maxIndexUser&&e.maxIndex<e.maxIndexUser,c=h?(e.minIndex-e.minIndexUser)*l:0,p=u?(e.maxIndexUser-e.maxIndex)*l:0;r.height(i+c),a.height(s+p)}},onAfterMinIndexSet:function(t){if(null!==e.minIndexUser&&e.minIndex>e.minIndexUser){var i=r.height()-t;for(l.scrollTop(l.scrollTop()+i);(i-=l.scrollTop())>0;)a.height(a.height()+i),l.scrollTop(l.scrollTop()+i)}},onAfterPrepend:function(t){if(t.prepended.length){var i=e.effectiveHeight(t.prepended),n=r.height()-i;if(n>=0)r.height(n);else{var s=l.scrollTop(),o=s-n;l.synthetic={previous:s,next:o},r.height(0),l.scrollTop(o)}}},resetTopPadding:function(){r.height(0),r.cache.clear()},resetBottomPadding:function(){a.height(0),a.cache.clear()},removeCacheItem:function(t,e){r.cache.remove(t,e),a.cache.remove(t,e)},removeItem:function(t){return this.removeCacheItem(t),e.remove(t)}}),l}function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,s=function(t,e){if("object"!==T(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e);if("object"!==T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===T(s)?s:String(s)),n)}var s}var V=function(){function t(e,i,n,s,o,r,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$parse=i,this.$attr=n,this.viewport=s,this.buffer=o,this.doAdjust=r,this.reload=a,this.isLoading=!1,this.disabled=!1;var l=s.getScope();this.startScope=l.$parent?l:e,this.publicContext={},this.assignAdapter(n.adapter),this.generatePublicContext()}var e,i;return e=t,(i=[{key:"assignAdapter",value:function(t){if(t&&(t=t.replace(/^\s+|\s+$/gm,""))){var e;try{this.$parse(t).assign(this.startScope,{}),e=this.$parse(t)(this.startScope)}catch(e){throw e.message="Angular ui-scroll Adapter assignment exception.\n"+"Can't parse \"".concat(t,'" expression.\n')+e.message,e}angular.extend(e,this.publicContext),this.publicContext=e}}},{key:"generatePublicContext",value:function(){for(var t=this,e=["reload","applyUpdates","append","prepend","isBOF","isEOF","isEmpty"],i=e.length-1;i>=0;i--)this.publicContext[e[i]]=this[e[i]].bind(this);for(var n=["isLoading","topVisible","topVisibleElement","topVisibleScope","bottomVisible","bottomVisibleElement","bottomVisibleScope"],s=function(e){var i,s=t.$attr[n[e]];Object.defineProperty(t,n[e],{get:function(){return i},set:function(o){i=o,t.publicContext[n[e]]=o,s&&t.$parse(s).assign(t.startScope,o)}})},o=n.length-1;o>=0;o--)s(o);for(var r=["bufferFirst","bufferLast","bufferLength"],a=function(e){Object.defineProperty(t.publicContext,r[e],{get:function(){return t[r[e]]}})},l=r.length-1;l>=0;l--)a(l);Object.defineProperty(this.publicContext,"disabled",{get:function(){return t.disabled},set:function(e){return(t.disabled=e)?null:t.doAdjust()}})}},{key:"loading",value:function(t){this.isLoading=t}},{key:"isBOF",value:function(){return this.buffer.bof}},{key:"isEOF",value:function(){return this.buffer.eof}},{key:"isEmpty",value:function(){return!this.buffer.length}},{key:"bufferLength",get:function(){return this.buffer.getItems().length}},{key:"bufferFirst",get:function(){return this.buffer.getFirstItem()}},{key:"bufferLast",get:function(){return this.buffer.getLastItem()}},{key:"append",value:function(t){this.buffer.append(t),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"prepend",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.prepend(t,e.immutableTop),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"applyUpdates",value:function(t,e,i){"function"==typeof t?this.applyUpdatesFunc(t,e):this.applyUpdatesIndex(t,e,i),this.doAdjust()}},{key:"applyUpdatesFunc",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.slice(0).forEach((function(n){e.applyUpdate(n,t(n.item,n.scope,n.element),i)}))}},{key:"applyUpdatesIndex",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t%1!=0)throw new Error("applyUpdates - "+t+" is not a valid index (should be an integer)");var n=t-this.buffer.first;n>=0&&n<this.buffer.length?this.applyUpdate(this.buffer[n],e,i):t>=this.buffer.getAbsMinIndex()&&t<=this.buffer.getAbsMaxIndex()&&angular.isArray(e)&&!e.length&&(this.viewport.removeCacheItem(t,!i.immutableTop&&t===this.buffer.minIndex),i.immutableTop||t!==this.buffer.getAbsMinIndex()?this.buffer.decrementMaxIndex():this.buffer.incrementMinIndex())}},{key:"applyUpdate",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(angular.isArray(e)){var s=this.buffer.indexOf(t);e.reverse().some((function(e){return e===t.item}))||(t.op=p,n.immutableTop||e.length||(0===s&&this.buffer.bof||0!==s&&this.buffer[s-1].shiftTop)&&(t.shiftTop=!0)),e.forEach((function(e){e===t.item?s--:i.buffer.insert(s+1,e,!n.immutableTop&&-1===s)}))}}},{key:"calculateProperties",value:function(){for(var t=null,e=0,i=!1,n=!1,s=this.buffer.length,o=0;o<s;o++){var r=this.buffer[o],a=r.element.offset().top;if(t!==a){var l=r.element.outerHeight(!0),h=this.viewport.topDataPos()+e+l;!i&&h>this.viewport.topVisiblePos()&&(i=!0,this.topVisible=r.item,this.topVisibleElement=r.element,this.topVisibleScope=r.scope),!n&&(h>=this.viewport.bottomVisiblePos()||o===s-1&&this.isEOF())&&(n=!0,this.bottomVisible=r.item,this.bottomVisibleElement=r.element,this.bottomVisibleScope=r.scope),e+=l}if(t=a,i&&n)break}}}])&&L(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();angular.module("ui.scroll",[]).constant("JQLiteExtras",s).run(["JQLiteExtras",function(t){var e=angular.element;!(window.jQuery&&e.fn&&e.fn.jquery)&&(new t).registerFor(e),l.addCSSRules()}]).directive("uiScrollViewport",(function(){return{restrict:"A",controller:["$scope","$element",function(t,e){var i=this;return this.container=e,this.viewport=e,this.scope=t,angular.forEach(e.children(),(function(t){"tbody"===t.tagName.toLowerCase()&&(i.viewport=angular.element(t))})),this}]}})).directive("uiScroll",["$log","$injector","$rootScope","$timeout","$interval","$q","$parse",function(t,e,i,n,s,o,r){return{require:["?^uiScrollViewport"],restrict:"A",transclude:"element",priority:1e3,terminal:!0,link:function(t,a,f,m,b){var v=f.uiScroll.match(/^\s*(\w+)\s+in\s+([(\w|\$)\.]+)\s*$/);if(!v)throw new Error("Expected uiScroll in form of '_item_ in _datasource_' but got '"+f.uiScroll+"'");function y(t,e,i){return i||(t=null===t?e:Math.floor(t)),isNaN(t)?e:t}function x(e,i,n){return y(r(e)(t),i,n)}var w,T,L=null,H=v[1],k=v[2],E=m[0],P=Math.max(3,x(f.bufferSize,10)),z=Math.max(.3,x(f.padding,.5,!0)),A=(w=f.handleInertia,!0,"boolean"!=typeof(T=r(w)(t))||T),$=x(f.startIndex,1),B=0,I=[],C=new l(e,o),O=new g(C,P,$),R=new S(C,O,a,E,i,z),M=new V(t,r,f,R,O,Z,(function(){K(),R.resetTopPadding(),R.resetBottomPadding(),arguments.length&&($=y(arguments[0],1,!1)),O.reset($),j(L,"minIndex"),j(L,"maxIndex"),Z()}));E&&(E.adapter=M);var D=function(){return"[object Object]"===Object.prototype.toString.call(L)&&"function"==typeof L.get};if(L=r(k)(t),!D()&&(L=e.get(k),!D()))throw new Error(k+" is not a valid datasource");var F=[];function j(t,e){var i;angular.isNumber(t[e])&&(i=t[e],angular.isNumber(i)&&(F=F.filter((function(t){return t.id!==e}))).push({id:e,run:function(){return t[e]=i}}))}function U(t,e,i){var n,s=Object.getOwnPropertyDescriptor(t,e);s&&(s.set||s.get)||(j(t,e),Object.defineProperty(t,e,{set:function(s){if(n=s,!I.length||O.length){O[i]=s;var o=R.topDataPos();R.adjustPaddings(),"minIndex"===e&&R.onAfterMinIndexSet(o)}else j(t,e)},get:function(){return n}}))}U(L,"minIndex","minIndexUser"),U(L,"maxIndex","maxIndexUser");var N=2!==L.get.length?function(t){return L.get(O.next,P,t)}:function(t){L.get({index:O.next,append:O.length?O[O.length-1].item:void 0,count:P},t)},W=2!==L.get.length?function(t){return L.get(O.first-P,P,t)}:function(t){L.get({index:O.first-P,prepend:O.length?O[0].item:void 0,count:P},t)};function q(e){return e&&e!==B||t.$$destroyed}function K(){R.off("resize",it),R.off("scroll",it)}function G(t){return t.element.height()&&t.element[0].offsetParent}function _(t,e){X(t,e,R.insertElement),G(t)||(t.unregisterVisibilityWatcher=t.scope.$watch((function(){return function(t){G(t)&&(O.forEach((function(t){"function"==typeof t.unregisterVisibilityWatcher&&(t.unregisterVisibilityWatcher(),delete t.unregisterVisibilityWatcher)})),I.length||n((function(){return Z()})))}(t)}))),C.hideElement(t)}function X(t,e,i){var n=null,s=e>0?O[e-1].element:void 0;if(b((function(e,o){n=i(e,s),t.element=e,t.scope=o,o[H]=t.item})),M.transform){var o=t.scope.uiScrollTdInitializer;o&&o.linking?M.transform(t.scope,t.element):t.scope.uiScrollTdInitializer={onLink:function(){return M.transform(t.scope,t.element)},scope:t.scope}}return n}function Y(t,e){e.animated.length?o.all(e.animated).then((function(){R.adjustPaddings(),Z(t)})):R.adjustPaddings()}function Q(t,e){R.shouldLoadBottom()?(!e||O.effectiveHeight(e.inserted)>0)&&1===I.push(!0)&&(M.loading(!0),et(t)):R.shouldLoadTop()&&(!e||O.effectiveHeight(e.prepended)>0||I[0])&&1===I.push(!1)&&(M.loading(!0),et(t))}function J(){var e,n,s,o,r=(e=[],n=[],s=[],o=[],O.forEach((function(t,i){switch(t.op){case h:n.unshift(t);break;case u:_(t,i),t.op=d,o.push(t);break;case c:e=e.concat(X(t,i,R.insertElementAnimated)),t.op=d,o.push(t);break;case p:s.push(t)}})),s.forEach((function(t){return e=e.concat(R.removeItem(t))})),n.length&&n.forEach((function(t){_(t),t.op=d})),O.forEach((function(t,e){return t.scope.$index=O.first+e})),{prepended:n,removed:s,inserted:o,animated:e});return!t.$$phase&&!i.$$phase&&t.$digest(),r.inserted.forEach((function(t){return C.showElement(t)})),r.prepended.forEach((function(t){return C.showElement(t)})),r}function Z(t){t||(I=[],t=++B);var e=J();q(t)||(Y(t,e),Q(t),I.length||M.calculateProperties())}function tt(t){var e=J();R.onAfterPrepend(e),q(t)||(Y(t,e),F.forEach((function(t){return t.run()})),F=[],Q(t,e),I.shift(),I.length?et(t):(M.loading(!1),R.on("resize",it),R.on("scroll",it),M.calculateProperties()))}function et(t){I[0]?O.length&&!R.shouldLoadBottom()?tt(t):N((function(e){q(t)||(e.length<P&&(O.eof=!0),e.length>0&&(R.clipTop(),O.append(e)),tt(t))})):O.length&&!R.shouldLoadTop()?tt(t):W((function(e){q(t)||(e.length<P&&(O.bof=!0),e.length>0&&(O.length&&R.clipBottom(),O.prepend(e)),tt(t))}))}function it(){A&&function(){if(R.synthetic){var t=R.synthetic.previous,e=R.synthetic.next;if(R.scrollTop()!==e)return requestAnimationFrame((function(){var i=R.scrollTop(),n=t-i;n>0?R.scrollTop(e-n):R.scrollTop(e),R.synthetic=null})),!0;R.synthetic=null}}()||i.$$phase||M.isLoading||M.disabled||(Q(B),I.length?K():(M.calculateProperties(),!t.$$phase&&t.$digest()))}function nt(t){if(!M.disabled){var e=R[0].scrollTop,i=R[0].scrollHeight-R[0].clientHeight;(0===e&&!O.bof||e===i&&!O.eof)&&t.preventDefault()}}b((function(t,e){R.createPaddingElements(t[0]),e.$destroy(),t.remove()})),t.$on("$destroy",(function(){K(),R.off("mousewheel",nt)})),R.on("mousewheel",nt),function(){var t=0;if(R.applyContainerStyle())Z();else var e=s((function(){if(t++,R.applyContainerStyle()&&(s.cancel(e),Z()),50*t>=500)throw s.cancel(e),Error("ui-scroll directive requires a viewport with non-zero height in ".concat(500,"ms"))}),50)}()}}}])}()},611:function(t,e){!function(){"use strict";angular.module("ui.scroll.jqlite",[])}()},612:function(t,e,i){var n,s,o;/*! angularjs-slider - v7.1.0 - (c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervi.eu>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> - https://github.com/angular-slider/angularjs-slider - 2022-05-26 */!function(r,a){"use strict";s=[i(450)],void 0===(o="function"==typeof(n=function(t){var e=t.module("rzSlider",[]).factory("RzSliderOptions",(function(){var e={floor:0,ceil:null,step:1,precision:0,minRange:null,maxRange:null,restrictedRange:null,skipRestrictedRangesWithArrowKeys:null,pushRange:!1,minLimit:null,maxLimit:null,id:null,translate:null,getLegend:null,stepsArray:null,bindIndexForStepsArray:!1,draggableRange:!1,draggableRangeOnly:!1,showSelectionBar:!1,showSelectionBarEnd:!1,showSelectionBarFromValue:null,showOuterSelectionBars:!1,hidePointerLabels:!1,hideLimitLabels:!1,autoHideLimitLabels:!0,readOnly:!1,disabled:!1,interval:350,showTicks:!1,showTicksValues:!1,ticksArray:null,ticksTooltip:null,ticksValuesTooltip:null,vertical:!1,getSelectionBarColor:null,getTickColor:null,getPointerColor:null,keyboardSupport:!0,scale:1,enforceStep:!0,enforceRange:!1,noSwitching:!1,onlyBindHandles:!1,disableAnimation:!1,onStart:null,onChange:null,onEnd:null,rightToLeft:!1,reversedControls:!1,boundPointerLabels:!0,mergeRangeLabelsIfSame:!1,labelOverlapSeparator:" - ",customTemplateScope:null,logScale:!1,customValueToPosition:null,customPositionToValue:null,selectionBarGradient:null,ariaLabel:null,ariaLabelledBy:null,ariaLabelHigh:null,ariaLabelledByHigh:null},i={},n={options:function(e){t.extend(i,e)},getOptions:function(n){return t.extend({},e,i,n)}};return n})).factory("rzThrottle",["$timeout",function(t){return function(e,i,n){var s,o,r,a=Date.now||function(){return(new Date).getTime()},l=null,h=0;n=n||{};var u=function(){h=a(),l=null,r=e.apply(s,o),s=o=null};return function(){var c=a(),p=i-(c-h);return s=this,o=arguments,0>=p?(t.cancel(l),l=null,h=c,r=e.apply(s,o),s=o=null):l||!1===n.trailing||(l=t(u,p)),r}}}]).factory("RzSlider",["$timeout","$document","$window","$compile","RzSliderOptions","rzThrottle",function(e,i,n,s,o,r){var a=function(t,e){this.scope=t,this.lowValue=0,this.highValue=0,this.sliderElem=e,this.range=void 0!==this.scope.rzSliderModel&&void 0!==this.scope.rzSliderHigh,this.dragging={active:!1,value:0,difference:0,position:0,lowLimit:0,highLimit:0},this.positionProperty="left",this.dimensionProperty="width",this.handleHalfDim=0,this.maxPos=0,this.precision=0,this.step=1,this.tracking="",this.minValue=0,this.maxValue=0,this.valueRange=0,this.intermediateTicks=!1,this.initHasRun=!1,this.firstKeyDown=!1,this.internalChange=!1,this.cmbLabelShown=!1,this.currentFocusElement=null,this.moving=!1,this.fullBar=null,this.selBar=null,this.minH=null,this.maxH=null,this.flrLab=null,this.ceilLab=null,this.minLab=null,this.maxLab=null,this.cmbLab=null,this.ticks=null,this.init()};return a.prototype={init:function(){var e,i,s=this,o=function(){s.calcViewDimensions()};this.applyOptions(),this.syncLowValue(),this.range&&this.syncHighValue(),this.initElemHandles(),this.manageElementsStyle(),this.setDisabledState(),this.calcViewDimensions(),this.setMinAndMax(),this.updateRestrictionBar(),this.addAccessibility(),this.updateCeilLab(),this.updateFloorLab(),this.initHandles(),this.manageEventsBindings(),this.scope.$on("reCalcViewDimensions",o),t.element(n).on("resize",o),this.initHasRun=!0,this.options.disableAnimation&&this.sliderElem.addClass("noanimate"),e=r((function(){s.onLowHandleChange()}),s.options.interval),i=r((function(){s.onHighHandleChange()}),s.options.interval),this.scope.$on("rzSliderForceRender",(function(){s.resetLabelsValue(),e(),s.range&&i(),s.resetSlider()})),this.scope.$watchCollection("rzSliderOptions()",(function(t,e){t!==e&&(s.applyOptions(),s.syncLowValue(),s.range&&s.syncHighValue(),s.resetSlider())})),this.scope.$watch("rzSliderModel",(function(t,i){s.internalChange||t!==i&&e()})),this.scope.$watch("rzSliderHigh",(function(t,e){s.internalChange||t!==e&&(null!=t&&i(),(s.range&&null==t||!s.range&&null!=t)&&(s.applyOptions(),s.resetSlider()))})),this.scope.$on("$destroy",(function(){s.unbindEvents(),t.element(n).off("resize",o),s.currentFocusElement=null}))},findStepIndex:function(e){for(var i=0,n=0;n<this.options.stepsArray.length;n++){var s=this.options.stepsArray[n];if(s===e){i=n;break}if(t.isDate(s)){if(s.getTime()===e.getTime()){i=n;break}}else if(t.isObject(s)&&(t.isDate(s.value)&&s.value.getTime()===e.getTime()||s.value===e)){i=n;break}}return i},syncLowValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.lowValue=this.scope.rzSliderModel:this.lowValue=this.findStepIndex(this.scope.rzSliderModel):this.lowValue=this.scope.rzSliderModel},syncHighValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.highValue=this.scope.rzSliderHigh:this.highValue=this.findStepIndex(this.scope.rzSliderHigh):this.highValue=this.scope.rzSliderHigh},getStepValue:function(e){var i=this.options.stepsArray[e];return t.isDate(i)?i:t.isObject(i)?i.value:i},applyLowValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.scope.rzSliderModel=this.lowValue:this.scope.rzSliderModel=this.getStepValue(this.lowValue):this.scope.rzSliderModel=this.lowValue},applyHighValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.scope.rzSliderHigh=this.highValue:this.scope.rzSliderHigh=this.getStepValue(this.highValue):this.scope.rzSliderHigh=this.highValue},onLowHandleChange:function(){this.syncLowValue(),this.range&&this.syncHighValue(),this.setMinAndMax(),this.updateLowHandle(this.valueToPosition(this.lowValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCmbLabel()},onHighHandleChange:function(){this.syncLowValue(),this.syncHighValue(),this.setMinAndMax(),this.updateHighHandle(this.valueToPosition(this.highValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateCmbLabel(),this.updateAriaAttributes()},applyOptions:function(){var e;e=this.scope.rzSliderOptions?this.scope.rzSliderOptions():{},this.options=o.getOptions(e),this.options.step<=0&&(this.options.step=1),this.range=void 0!==this.scope.rzSliderModel&&void 0!==this.scope.rzSliderHigh,this.options.draggableRange=this.range&&this.options.draggableRange,this.options.draggableRangeOnly=this.range&&this.options.draggableRangeOnly,this.options.draggableRangeOnly&&(this.options.draggableRange=!0),this.options.showTicks=this.options.showTicks||this.options.showTicksValues||!!this.options.ticksArray,this.scope.showTicks=this.options.showTicks,(t.isNumber(this.options.showTicks)||this.options.ticksArray)&&(this.intermediateTicks=!0),this.options.showSelectionBar=this.options.showSelectionBar||this.options.showSelectionBarEnd||null!==this.options.showSelectionBarFromValue,this.options.stepsArray?this.parseStepsArray():(this.options.translate?this.customTrFn=this.options.translate:this.customTrFn=function(t){return String(t)},this.getLegend=this.options.getLegend),this.options.vertical?(this.positionProperty="bottom",this.dimensionProperty="height"):(this.positionProperty="left",this.dimensionProperty="width"),this.options.customTemplateScope&&(this.scope.custom=this.options.customTemplateScope)},parseStepsArray:function(){this.options.floor=0,this.options.ceil=this.options.stepsArray.length-1,this.options.step=1,this.options.translate?this.customTrFn=this.options.translate:this.customTrFn=function(t){return this.options.bindIndexForStepsArray?this.getStepValue(t):t},this.getLegend=function(e){var i=this.options.stepsArray[e];return t.isObject(i)?i.legend:null}},resetSlider:function(){this.resetLabelsValue(),this.manageElementsStyle(),this.addAccessibility(),this.setMinAndMax(),this.updateCeilLab(),this.updateFloorLab(),this.unbindEvents(),this.manageEventsBindings(),this.setDisabledState(),this.calcViewDimensions(),this.updateRestrictionBar(),this.refocusPointerIfNeeded()},refocusPointerIfNeeded:function(){this.currentFocusElement&&(this.onPointerFocus(this.currentFocusElement.pointer,this.currentFocusElement.ref),this.focusElement(this.currentFocusElement.pointer))},ensureRestrictedBarIsArray:function(e){var i=t.element(e);if(this.restrictedBar=[],this.options.restrictedRange){this.options.restrictedRange=Array.isArray(this.options.restrictedRange)?this.options.restrictedRange:[this.options.restrictedRange],this.restrictedBar[0]=i;for(var n=e.parentElement,s=1;s<this.options.restrictedRange.length;s++){var o=document.createElement("span");o.setAttribute("class","rz-bar-wrapper"),o.innerHTML='<span class="rz-bar rz-restricted" ng-style="restrictionStyle"></span>',n.appendChild(o),this.restrictedBar[s]=t.element(o)}}else e.style.visibility="hidden",this.restrictedBar=null},initElemHandles:function(){t.forEach(this.sliderElem.children(),(function(e,i){var n=t.element(e);switch(i){case 0:this.leftOutSelBar=n;break;case 1:this.rightOutSelBar=n;break;case 2:this.fullBar=n;break;case 3:this.selBar=n;break;case 4:this.ensureRestrictedBarIsArray(e);break;case 5:this.minH=n;break;case 6:this.maxH=n;break;case 7:this.flrLab=n;break;case 8:this.ceilLab=n;break;case 9:this.minLab=n;break;case 10:this.maxLab=n;break;case 11:this.cmbLab=n;break;case 12:this.ticks=n}}),this),this.selBar.rzsp=0,this.minH.rzsp=0,this.maxH.rzsp=0,this.flrLab.rzsp=0,this.ceilLab.rzsp=0,this.minLab.rzsp=0,this.maxLab.rzsp=0,this.cmbLab.rzsp=0},manageElementsStyle:function(){this.range?this.maxH.css("display",""):this.maxH.css("display","none"),this.alwaysHide(this.flrLab,this.options.showTicksValues||this.options.hideLimitLabels),this.alwaysHide(this.ceilLab,this.options.showTicksValues||this.options.hideLimitLabels);var t=this.options.showTicksValues&&!this.intermediateTicks;for(var e in this.alwaysHide(this.minLab,t||this.options.hidePointerLabels),this.alwaysHide(this.maxLab,t||!this.range||this.options.hidePointerLabels),this.alwaysHide(this.cmbLab,t||!this.range||this.options.hidePointerLabels),this.alwaysHide(this.selBar,!this.range&&!this.options.showSelectionBar),this.alwaysHide(this.leftOutSelBar,!this.range||!this.options.showOuterSelectionBars),this.restrictedBar)this.restrictedBar[e]&&this.alwaysHide(this.restrictedBar[e],!this.options.restrictedRange[e]);this.alwaysHide(this.rightOutSelBar,!this.range||!this.options.showOuterSelectionBars),this.range&&this.options.showOuterSelectionBars&&this.fullBar.addClass("rz-transparent"),this.options.vertical?this.sliderElem.addClass("rz-vertical"):this.sliderElem.removeClass("rz-vertical"),this.options.draggableRange?this.selBar.addClass("rz-draggable"):this.selBar.removeClass("rz-draggable"),this.intermediateTicks&&this.options.showTicksValues&&this.ticks.addClass("rz-ticks-values-under")},alwaysHide:function(t,e){t.rzAlwaysHide=e,e?this.hideEl(t):this.showEl(t)},manageEventsBindings:function(){this.options.disabled||this.options.readOnly?this.unbindEvents():this.bindEvents()},setDisabledState:function(){this.options.disabled?this.sliderElem.attr("disabled","disabled"):this.sliderElem.attr("disabled",null)},resetLabelsValue:function(){this.minLab.rzsv=void 0,this.maxLab.rzsv=void 0,this.flrLab.rzsv=void 0,this.ceilLab.rzsv=void 0,this.cmbLab.rzsv=void 0,this.resetPosition(this.flrLab),this.resetPosition(this.ceilLab),this.resetPosition(this.cmbLab),this.resetPosition(this.minLab),this.resetPosition(this.maxLab)},initHandles:function(){this.updateLowHandle(this.valueToPosition(this.lowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.highValue)),this.updateSelectionBar(),this.range&&this.updateCmbLabel(),this.updateTicksScale()},translateFn:function(t,e,i,n){n=void 0===n||n;var s="",o=!1,r=e.hasClass("no-label-injection");n?(this.options.stepsArray&&!this.options.bindIndexForStepsArray&&(t=this.getStepValue(t)),s=String(this.customTrFn(t,this.options.id,i))):s=String(t),(void 0===e.rzsv||e.rzsv.length!==s.length||e.rzsv.length>0&&0===e.rzsd)&&(o=!0,e.rzsv=s),r||e.html(s),this.scope[i+"Label"]=s,o&&this.getDimension(e)},setMinAndMax:function(){if(this.step=+this.options.step,this.precision=+this.options.precision,this.minValue=this.options.floor,this.options.logScale&&0===this.minValue)throw Error("Can't use floor=0 with logarithmic scale");this.options.enforceStep&&(this.lowValue=this.roundStep(this.lowValue),this.range&&(this.highValue=this.roundStep(this.highValue))),null!=this.options.ceil?this.maxValue=this.options.ceil:this.maxValue=this.options.ceil=this.range?this.highValue:this.lowValue,this.options.enforceRange&&(this.lowValue=this.sanitizeValue(this.lowValue),this.range&&(this.highValue=this.sanitizeValue(this.highValue))),this.applyLowValue(),this.range&&this.applyHighValue(),this.valueRange=this.maxValue-this.minValue},addAccessibility:function(){this.minH.attr("role","slider"),this.updateAriaAttributes(),!this.options.keyboardSupport||this.options.readOnly||this.options.disabled?this.minH.attr("tabindex",""):this.minH.attr("tabindex","0"),this.options.vertical?this.minH.attr("aria-orientation","vertical"):this.minH.attr("aria-orientation","horizontal"),this.options.ariaLabel?this.minH.attr("aria-label",this.options.ariaLabel):this.options.ariaLabelledBy&&this.minH.attr("aria-labelledby",this.options.ariaLabelledBy),this.range&&(this.maxH.attr("role","slider"),!this.options.keyboardSupport||this.options.readOnly||this.options.disabled?this.maxH.attr("tabindex",""):this.maxH.attr("tabindex","0"),this.options.vertical?this.maxH.attr("aria-orientation","vertical"):this.maxH.attr("aria-orientation","horizontal"),this.options.ariaLabelHigh?this.maxH.attr("aria-label",this.options.ariaLabelHigh):this.options.ariaLabelledByHigh&&this.maxH.attr("aria-labelledby",this.options.ariaLabelledByHigh))},updateAriaAttributes:function(){this.minH.attr({"aria-valuenow":this.scope.rzSliderModel,"aria-valuetext":this.customTrFn(this.scope.rzSliderModel,this.options.id,"model"),"aria-valuemin":this.minValue,"aria-valuemax":this.maxValue}),this.range&&this.maxH.attr({"aria-valuenow":this.scope.rzSliderHigh,"aria-valuetext":this.customTrFn(this.scope.rzSliderHigh,this.options.id,"high"),"aria-valuemin":this.minValue,"aria-valuemax":this.maxValue})},calcViewDimensions:function(){var t=this.getDimension(this.minH);if(this.handleHalfDim=t/2,this.barDimension=this.getDimension(this.fullBar),this.maxPos=this.barDimension-t,this.getDimension(this.sliderElem),this.sliderElem.rzsp=this.sliderElem[0].getBoundingClientRect()[this.positionProperty],this.initHasRun){this.updateFloorLab(),this.updateCeilLab(),this.initHandles();var i=this;e((function(){i.updateTicksScale()}))}},updateTicksScale:function(){if(this.options.showTicks){var e=this.options.ticksArray||this.getTicksArray(),i=this.options.vertical?"translateY":"translateX",n=this;this.options.rightToLeft&&e.reverse(),this.scope.ticks=e.map((function(e){var s=null;t.isObject(e)&&(s=e.legend,e=e.value);var o=n.valueToPosition(e);n.options.vertical&&(o=n.maxPos-o);var r=i+"("+Math.round(o)+"px)",a={legend:s,selected:n.isTickSelected(e),style:{"-webkit-transform":r,"-moz-transform":r,"-o-transform":r,"-ms-transform":r,transform:r}};return a.selected&&n.options.getSelectionBarColor&&(a.style["background-color"]=n.getSelectionBarColor()),!a.selected&&n.options.getTickColor&&(a.style["background-color"]=n.getTickColor(e)),n.options.ticksTooltip&&(a.tooltip=n.options.ticksTooltip(e),a.tooltipPlacement=n.options.vertical?"right":"top"),(!0===n.options.showTicksValues||e%n.options.showTicksValues==0)&&(a.value=n.getDisplayValue(e,"tick-value"),n.options.ticksValuesTooltip&&(a.valueTooltip=n.options.ticksValuesTooltip(e),a.valueTooltipPlacement=n.options.vertical?"right":"top")),n.getLegend&&((s=n.getLegend(e,n.options.id))&&(a.legend=s)),a}))}},getTicksArray:function(){var t=this.step,e=[];this.intermediateTicks&&(t=this.options.showTicks);for(var i=this.minValue;i<=this.maxValue;i+=t)e.push(i);return e},isTickSelected:function(t){if(!this.range)if(null!==this.options.showSelectionBarFromValue){var e=this.options.showSelectionBarFromValue;if(this.lowValue>e&&t>=e&&t<=this.lowValue)return!0;if(this.lowValue<e&&e>=t&&t>=this.lowValue)return!0}else if(this.options.showSelectionBarEnd){if(t>=this.lowValue)return!0}else if(this.options.showSelectionBar&&t<=this.lowValue)return!0;return!!(this.range&&t>=this.lowValue&&t<=this.highValue)},updateFloorLab:function(){this.translateFn(this.minValue,this.flrLab,"floor"),this.getDimension(this.flrLab);var t=this.options.rightToLeft?this.barDimension-this.flrLab.rzsd:0;this.setPosition(this.flrLab,t)},updateCeilLab:function(){this.translateFn(this.maxValue,this.ceilLab,"ceil"),this.getDimension(this.ceilLab);var t=this.options.rightToLeft?0:this.barDimension-this.ceilLab.rzsd;this.setPosition(this.ceilLab,t)},updateHandles:function(t,e){"lowValue"===t?this.updateLowHandle(e):this.updateHighHandle(e),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCmbLabel()},getHandleLabelPos:function(t,e){var i=this[t].rzsd,n=e-i/2+this.handleHalfDim,s=this.barDimension-i;return this.options.boundPointerLabels?this.options.rightToLeft&&"minLab"===t||!this.options.rightToLeft&&"maxLab"===t?Math.min(n,s):Math.min(Math.max(n,0),s):n},updateLowHandle:function(t){if(this.setPosition(this.minH,t),this.translateFn(this.lowValue,this.minLab,"model"),this.setPosition(this.minLab,this.getHandleLabelPos("minLab",t)),this.options.getPointerColor){var e=this.getPointerColor("min");this.scope.minPointerStyle={backgroundColor:e}}this.options.autoHideLimitLabels&&this.shFloorCeil()},updateHighHandle:function(t){if(this.setPosition(this.maxH,t),this.translateFn(this.highValue,this.maxLab,"high"),this.setPosition(this.maxLab,this.getHandleLabelPos("maxLab",t)),this.options.getPointerColor){var e=this.getPointerColor("max");this.scope.maxPointerStyle={backgroundColor:e}}this.options.autoHideLimitLabels&&this.shFloorCeil()},shFloorCeil:function(){if(!this.options.hidePointerLabels){var t=!1,e=!1,i=this.isLabelBelowFloorLab(this.minLab),n=this.isLabelAboveCeilLab(this.minLab),s=this.isLabelAboveCeilLab(this.maxLab),o=this.isLabelBelowFloorLab(this.cmbLab),r=this.isLabelAboveCeilLab(this.cmbLab);if(i?(t=!0,this.hideEl(this.flrLab)):(t=!1,this.showEl(this.flrLab)),n?(e=!0,this.hideEl(this.ceilLab)):(e=!1,this.showEl(this.ceilLab)),this.range){var a=this.cmbLabelShown?r:s,l=this.cmbLabelShown?o:i;a?this.hideEl(this.ceilLab):e||this.showEl(this.ceilLab),l?this.hideEl(this.flrLab):t||this.showEl(this.flrLab)}}},isLabelBelowFloorLab:function(t){var e=this.options.rightToLeft,i=t.rzsp,n=t.rzsd,s=this.flrLab.rzsp,o=this.flrLab.rzsd;return e?i+n>=s-2:s+o+2>=i},isLabelAboveCeilLab:function(t){var e=this.options.rightToLeft,i=t.rzsp,n=t.rzsd,s=this.ceilLab.rzsp,o=this.ceilLab.rzsd;return e?s+o+2>=i:i+n>=s-2},updateRestrictionBar:function(){var t=0,e=0;if(this.options.restrictedRange)for(var i in this.options.restrictedRange=Array.isArray(this.options.restrictedRange)?this.options.restrictedRange:[this.options.restrictedRange],this.options.restrictedRange){var n=this.valueToPosition(this.options.restrictedRange[i].from),s=this.valueToPosition(this.options.restrictedRange[i].to);e=Math.abs(s-n),t=this.options.rightToLeft?s+this.handleHalfDim:n+this.handleHalfDim,this.setDimension(this.restrictedBar[i],e),this.setPosition(this.restrictedBar[i],t)}},updateSelectionBar:function(){var t=0,e=0,i=this.options.rightToLeft?!this.options.showSelectionBarEnd:this.options.showSelectionBarEnd,n=this.options.rightToLeft?this.maxH.rzsp+this.handleHalfDim:this.minH.rzsp+this.handleHalfDim;if(this.range)e=Math.abs(this.maxH.rzsp-this.minH.rzsp),t=n;else if(null!==this.options.showSelectionBarFromValue){var s=this.options.showSelectionBarFromValue,o=this.valueToPosition(s);(this.options.rightToLeft?this.lowValue<=s:this.lowValue>s)?(e=this.minH.rzsp-o,t=o+this.handleHalfDim):(e=o-this.minH.rzsp,t=this.minH.rzsp+this.handleHalfDim)}else i?(e=Math.abs(this.maxPos-this.minH.rzsp)+this.handleHalfDim,t=this.minH.rzsp+this.handleHalfDim):(e=this.minH.rzsp+this.handleHalfDim,t=0);if(this.setDimension(this.selBar,e),this.setPosition(this.selBar,t),this.range&&this.options.showOuterSelectionBars&&(this.options.rightToLeft?(this.setDimension(this.rightOutSelBar,t),this.setPosition(this.rightOutSelBar,0),this.setDimension(this.leftOutSelBar,this.getDimension(this.fullBar)-(t+e)),this.setPosition(this.leftOutSelBar,t+e)):(this.setDimension(this.leftOutSelBar,t),this.setPosition(this.leftOutSelBar,0),this.setDimension(this.rightOutSelBar,this.getDimension(this.fullBar)-(t+e)),this.setPosition(this.rightOutSelBar,t+e))),this.options.getSelectionBarColor){var r=this.getSelectionBarColor();this.scope.barStyle={backgroundColor:r}}else if(this.options.selectionBarGradient){var a=null!==this.options.showSelectionBarFromValue?this.valueToPosition(this.options.showSelectionBarFromValue):0,l=a-t>0^i,h=this.options.vertical?l?"bottom":"top":l?"left":"right";this.scope.barStyle={backgroundImage:"linear-gradient(to "+h+", "+this.options.selectionBarGradient.from+" 0%,"+this.options.selectionBarGradient.to+" 100%)"},this.options.vertical?(this.scope.barStyle.backgroundPosition="center "+(a+e+t+(l?-this.handleHalfDim:0))+"px",this.scope.barStyle.backgroundSize="100% "+(this.barDimension-this.handleHalfDim)+"px"):(this.scope.barStyle.backgroundPosition=a-t+(l?this.handleHalfDim:0)+"px center",this.scope.barStyle.backgroundSize=this.barDimension-this.handleHalfDim+"px 100%")}},getSelectionBarColor:function(){return this.range?this.options.getSelectionBarColor(this.scope.rzSliderModel,this.scope.rzSliderHigh):this.options.getSelectionBarColor(this.scope.rzSliderModel)},getPointerColor:function(t){return"max"===t?this.options.getPointerColor(this.scope.rzSliderHigh,t):this.options.getPointerColor(this.scope.rzSliderModel,t)},getTickColor:function(t){return this.options.getTickColor(t)},updateCmbLabel:function(){if(this.options.rightToLeft?this.minLab.rzsp-this.minLab.rzsd-10<=this.maxLab.rzsp:this.minLab.rzsp+this.minLab.rzsd+10>=this.maxLab.rzsp){var t,e=this.getDisplayValue(this.lowValue,"model"),i=this.getDisplayValue(this.highValue,"high");t=this.options.mergeRangeLabelsIfSame&&e===i?e:this.options.rightToLeft?i+this.options.labelOverlapSeparator+e:e+this.options.labelOverlapSeparator+i,this.translateFn(t,this.cmbLab,"cmb",!1);var n=this.options.boundPointerLabels?Math.min(Math.max(this.selBar.rzsp+this.selBar.rzsd/2-this.cmbLab.rzsd/2,0),this.barDimension-this.cmbLab.rzsd):this.selBar.rzsp+this.selBar.rzsd/2-this.cmbLab.rzsd/2;this.setPosition(this.cmbLab,n),this.cmbLabelShown=!0,this.hideEl(this.minLab),this.hideEl(this.maxLab),this.showEl(this.cmbLab)}else this.cmbLabelShown=!1,this.updateHighHandle(this.valueToPosition(this.highValue)),this.updateLowHandle(this.valueToPosition(this.lowValue)),this.showEl(this.maxLab),this.showEl(this.minLab),this.hideEl(this.cmbLab);this.options.autoHideLimitLabels&&this.shFloorCeil()},getDisplayValue:function(t,e){return this.options.stepsArray&&!this.options.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.customTrFn(t,this.options.id,e)},roundStep:function(t,e){var i=e||this.step,n=parseFloat((t-this.minValue)/i).toPrecision(12);return n=Math.round(+n)*i,+(this.minValue+n).toFixed(this.precision)},hideEl:function(t){return t.css({visibility:"hidden"})},showEl:function(t){return t.rzAlwaysHide?t:t.css({visibility:"visible"})},setPosition:function(t,e){t.rzsp=e;var i={};return i[this.positionProperty]=Math.round(e)+"px",t.css(i),e},resetPosition:function(t){t.css({left:null,bottom:null})},getDimension:function(t){var e=t[0].getBoundingClientRect();return this.options.vertical?t.rzsd=(e.bottom-e.top)*this.options.scale:t.rzsd=(e.right-e.left)*this.options.scale,t.rzsd},setDimension:function(t,e){t.rzsd=e;var i={};return i[this.dimensionProperty]=Math.round(e)+"px",t.css(i),e},sanitizeValue:function(t){return Math.min(Math.max(t,this.minValue),this.maxValue)},valueToPosition:function(t){var e=this.linearValueToPosition;this.options.customValueToPosition?e=this.options.customValueToPosition:this.options.logScale&&(e=this.logValueToPosition);var i=e(t=this.sanitizeValue(t),this.minValue,this.maxValue)||0;return this.options.rightToLeft&&(i=1-i),i*this.maxPos},linearValueToPosition:function(t,e,i){return(t-e)/(i-e)},logValueToPosition:function(t,e,i){return((t=Math.log(t))-(e=Math.log(e)))/((i=Math.log(i))-e)},positionToValue:function(t){var e=t/this.maxPos;this.options.rightToLeft&&(e=1-e);var i=this.linearPositionToValue;return this.options.customPositionToValue?i=this.options.customPositionToValue:this.options.logScale&&(i=this.logPositionToValue),i(e,this.minValue,this.maxValue)||0},linearPositionToValue:function(t,e,i){return t*(i-e)+e},logPositionToValue:function(t,e,i){e=Math.log(e);var n=t*((i=Math.log(i))-e)+e;return Math.exp(n)},getEventAttr:function(t,e){return void 0===t.originalEvent?t[e]:t.originalEvent[e]},getEventXY:function(t,e){var i=this.options.vertical?"clientY":"clientX";if(void 0!==t[i])return t[i];var n=this.getEventAttr(t,"touches");if(void 0!==e)for(var s=0;s<n.length;s++)if(n[s].identifier===e)return n[s][i];return n[0][i]},getEventPosition:function(t,e){var i=this.sliderElem.rzsp;return(this.options.vertical?-this.getEventXY(t,e)+i:this.getEventXY(t,e)-i)*this.options.scale-this.handleHalfDim},getEventNames:function(t){var e={moveEvent:"",endEvent:""};return this.getEventAttr(t,"touches")?(e.moveEvent="touchmove",e.endEvent="touchend"):(e.moveEvent="mousemove",e.endEvent="mouseup"),e},getNearestHandle:function(t){if(!this.range)return this.minH;var e=this.getEventPosition(t),i=Math.abs(e-this.minH.rzsp),n=Math.abs(e-this.maxH.rzsp);return n>i?this.minH:i>n?this.maxH:this.options.rightToLeft?e>this.minH.rzsp?this.minH:this.maxH:e<this.minH.rzsp?this.minH:this.maxH},focusElement:function(t){t[0].focus()},bindEvents:function(){var e,i,n;this.options.draggableRange?(e="rzSliderDrag",i=this.onDragStart,n=this.onDragMove):(e="lowValue",i=this.onStart,n=this.onMove),this.options.onlyBindHandles||(this.selBar.on("mousedown",t.bind(this,i,null,e)),this.selBar.on("mousedown",t.bind(this,n,this.selBar))),this.options.draggableRangeOnly?(this.minH.on("mousedown",t.bind(this,i,null,e)),this.maxH.on("mousedown",t.bind(this,i,null,e))):(this.minH.on("mousedown",t.bind(this,this.onStart,this.minH,"lowValue")),this.range&&this.maxH.on("mousedown",t.bind(this,this.onStart,this.maxH,"highValue")),this.options.onlyBindHandles||(this.fullBar.on("mousedown",t.bind(this,this.onStart,null,null)),this.fullBar.on("mousedown",t.bind(this,this.onMove,this.fullBar)),this.ticks.on("mousedown",t.bind(this,this.onStart,null,null)),this.ticks.on("mousedown",t.bind(this,this.onTickClick,this.ticks)))),this.options.onlyBindHandles||(this.selBar.on("touchstart",t.bind(this,i,null,e)),this.selBar.on("touchstart",t.bind(this,n,this.selBar))),this.options.draggableRangeOnly?(this.minH.on("touchstart",t.bind(this,i,null,e)),this.maxH.on("touchstart",t.bind(this,i,null,e))):(this.minH.on("touchstart",t.bind(this,this.onStart,this.minH,"lowValue")),this.range&&this.maxH.on("touchstart",t.bind(this,this.onStart,this.maxH,"highValue")),this.options.onlyBindHandles||(this.fullBar.on("touchstart",t.bind(this,this.onStart,null,null)),this.fullBar.on("touchstart",t.bind(this,this.onMove,this.fullBar)),this.ticks.on("touchstart",t.bind(this,this.onStart,null,null)),this.ticks.on("touchstart",t.bind(this,this.onTickClick,this.ticks)))),this.options.keyboardSupport&&(this.minH.on("focus",t.bind(this,this.onPointerFocus,this.minH,"lowValue")),this.range&&this.maxH.on("focus",t.bind(this,this.onPointerFocus,this.maxH,"highValue")))},unbindEvents:function(){this.minH.off(),this.maxH.off(),this.fullBar.off(),this.selBar.off(),this.ticks.off()},onStart:function(e,n,s){var o,r,a=this.getEventNames(s);s.stopPropagation(),s.preventDefault(),this.calcViewDimensions(),e?this.tracking=n:(e=this.getNearestHandle(s),this.tracking=e===this.minH?"lowValue":"highValue"),e.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(e),o=t.bind(this,this.dragging.active?this.onDragMove:this.onMove,e),r=t.bind(this,this.onEnd,o),i.on(a.moveEvent,o),i.on(a.endEvent,r),this.endHandlerToBeRemovedOnEnd=r,this.callOnStart();var l=this.getEventAttr(s,"changedTouches");l&&(this.touchId||(this.isDragging=!0,this.touchId=l[0].identifier))},onMove:function(e,i,n){this.options.disableAnimation||this.moving&&this.sliderElem.addClass("noanimate"),this.moving=!0;var s,o=this.getEventAttr(i,"changedTouches");if(o)for(var r=0;r<o.length;r++)if(o[r].identifier===this.touchId){s=o[r];break}if(!o||s){var a,l=this.getEventPosition(i,s?s.identifier:void 0),h=this.options.rightToLeft?this.minValue:this.maxValue,u=this.options.rightToLeft?this.maxValue:this.minValue;0>=l?a=u:l>=this.maxPos?a=h:(a=this.positionToValue(l),a=n&&t.isNumber(this.options.showTicks)?this.roundStep(a,this.options.showTicks):this.roundStep(a)),this.positionTrackingHandle(a)}},onEnd:function(t,e){this.moving=!1,this.options.disableAnimation||this.sliderElem.removeClass("noanimate");var n=this.getEventAttr(e,"changedTouches");if(!n||n[0].identifier===this.touchId){this.isDragging=!1,this.touchId=null,this.options.keyboardSupport||(this.minH.removeClass("rz-active"),this.maxH.removeClass("rz-active"),this.tracking=""),this.dragging.active=!1;var s=this.getEventNames(e);i.off(s.moveEvent,t),i.off(s.endEvent,this.endHandlerToBeRemovedOnEnd),this.endHandlerToBeRemovedOnEnd=null,this.callOnEnd()}},onTickClick:function(t,e){this.onMove(t,e,!0)},onPointerFocus:function(e,i){this.tracking=i,e.one("blur",t.bind(this,this.onPointerBlur,e)),e.on("keydown",t.bind(this,this.onKeyboardEvent)),e.on("keyup",t.bind(this,this.onKeyUp)),this.firstKeyDown=!0,e.addClass("rz-active"),this.currentFocusElement={pointer:e,ref:i}},onKeyUp:function(){this.firstKeyDown=!0,this.callOnEnd()},onPointerBlur:function(t){t.off("keydown"),t.off("keyup"),t.removeClass("rz-active"),this.isDragging||(this.tracking="",this.currentFocusElement=null)},skipRestrictedRanges:function(t,e){if(this.options.restrictedRange&&Array.isArray(this.options.restrictedRange))for(var i in this.options.restrictedRange){var n=this.options.restrictedRange[i];if(0===n.from&&0===e&&[37,40].includes(t)||n.to>=this.options.restrictedRange[this.options.restrictedRange.length-1].to&&e>=this.options.restrictedRange[this.options.restrictedRange.length-1].to&&[38,39].includes(t))return e;n.to>e&&e>n.from&&(e=Math.abs(n.to-e)>Math.abs(n.from-e)?n.to:n.from)}return e},getKeyActions:function(t){var e=t+this.step,i=t-this.step,n=t+this.valueRange/10,s=t-this.valueRange/10;this.options.reversedControls&&(e=t-this.step,i=t+this.step,n=t-this.valueRange/10,s=t+this.valueRange/10);var o={UP:e,DOWN:i,LEFT:i,RIGHT:e,PAGEUP:n,PAGEDOWN:s,HOME:this.options.reversedControls?this.maxValue:this.minValue,END:this.options.reversedControls?this.minValue:this.maxValue};return this.options.rightToLeft&&(o.LEFT=e,o.RIGHT=i,this.options.vertical&&(o.UP=i,o.DOWN=e)),o},onKeyboardEvent:function(t){var i=t.keyCode||t.which,n=this[this.tracking],s=this.getKeyActions(n)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[i]];if(null!=s&&""!==this.tracking){t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.callOnStart());var o=this;e((function(){var t=o.roundStep(o.sanitizeValue(s));if(t=o.options.skipRestrictedRangesWithArrowKeys?o.skipRestrictedRanges(i,t):t,o.options.draggableRangeOnly){var e,n,r=o.highValue-o.lowValue;"lowValue"===o.tracking?(e=t,(n=t+r)>o.maxValue&&(e=(n=o.maxValue)-r)):(n=t,(e=t-r)<o.minValue&&(n=(e=o.minValue)+r)),o.positionTrackingBar(e,n)}else o.positionTrackingHandle(t)}))}},onDragStart:function(t,e,i){var n=this.getEventPosition(i);this.dragging={active:!0,value:this.positionToValue(n),difference:this.highValue-this.lowValue,lowLimit:this.options.rightToLeft?this.minH.rzsp-n:n-this.minH.rzsp,highLimit:this.options.rightToLeft?n-this.maxH.rzsp:this.maxH.rzsp-n},this.onStart(t,e,i)},getValue:function(t,e,i,n){var s,o=this.options.rightToLeft;return s="min"===t?i?n?o?this.minValue:this.maxValue-this.dragging.difference:o?this.maxValue-this.dragging.difference:this.minValue:o?this.positionToValue(e+this.dragging.lowLimit):this.positionToValue(e-this.dragging.lowLimit):i?n?o?this.minValue+this.dragging.difference:this.maxValue:o?this.maxValue:this.minValue+this.dragging.difference:o?this.positionToValue(e+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(e-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(s)},onDragMove:function(t,e){this.options.disableAnimation||this.moving&&this.sliderElem.addClass("noanimate"),this.moving=!0;var i,n,s,o,r,a,l,h,u=this.getEventPosition(e);if(this.options.rightToLeft?(s=this.dragging.lowLimit,o=this.dragging.highLimit,l=this.maxH,h=this.minH):(s=this.dragging.highLimit,o=this.dragging.lowLimit,l=this.minH,h=this.maxH),r=o>=u,a=u>=this.maxPos-s,r){if(0===l.rzsp)return;i=this.getValue("min",u,!0,!1),n=this.getValue("max",u,!0,!1)}else if(a){if(h.rzsp===this.maxPos)return;n=this.getValue("max",u,!0,!0),i=this.getValue("min",u,!0,!0)}else i=this.getValue("min",u,!1),n=this.getValue("max",u,!1);this.positionTrackingBar(i,n)},positionTrackingBar:function(t,e){null!=this.options.minLimit&&t<this.options.minLimit&&(e=(t=this.options.minLimit)+this.dragging.difference),null!=this.options.maxLimit&&e>this.options.maxLimit&&(t=(e=this.options.maxLimit)-this.dragging.difference),this.lowValue=t,this.highValue=e,this.applyLowValue(),this.range&&this.applyHighValue(),this.applyModel(!0),this.updateHandles("lowValue",this.valueToPosition(t)),this.updateHandles("highValue",this.valueToPosition(e))},positionTrackingHandle:function(t){var e=!1;t=this.applyMinMaxLimit(t),t=this.applyRestrictedRange(t),this.range&&(this.options.pushRange?(t=this.applyPushRange(t),e=!0):(this.options.noSwitching&&("lowValue"===this.tracking&&t>this.highValue?t=this.applyMinMaxRange(this.highValue):"highValue"===this.tracking&&t<this.lowValue&&(t=this.applyMinMaxRange(this.lowValue))),t=this.applyMinMaxRange(t),"lowValue"===this.tracking&&t>this.highValue?(this.lowValue=this.highValue,this.applyLowValue(),this.applyModel(),this.updateHandles(this.tracking,this.maxH.rzsp),this.updateAriaAttributes(),this.tracking="highValue",this.minH.removeClass("rz-active"),this.maxH.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(this.maxH),e=!0):"highValue"===this.tracking&&t<this.lowValue&&(this.highValue=this.lowValue,this.applyHighValue(),this.applyModel(),this.updateHandles(this.tracking,this.minH.rzsp),this.updateAriaAttributes(),this.tracking="lowValue",this.maxH.removeClass("rz-active"),this.minH.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(this.minH),e=!0))),this[this.tracking]!==t&&(this[this.tracking]=t,"lowValue"===this.tracking?this.applyLowValue():this.applyHighValue(),this.applyModel(),this.updateHandles(this.tracking,this.valueToPosition(t)),this.updateAriaAttributes(),e=!0),e&&this.applyModel(!0)},applyMinMaxLimit:function(t){return null!=this.options.minLimit&&t<this.options.minLimit?this.options.minLimit:null!=this.options.maxLimit&&t>this.options.maxLimit?this.options.maxLimit:t},applyMinMaxRange:function(t){var e="lowValue"===this.tracking?this.highValue:this.lowValue,i=Math.abs(t-e);return null!=this.options.minRange&&i<this.options.minRange?"lowValue"===this.tracking?this.highValue-this.options.minRange:this.lowValue+this.options.minRange:null!=this.options.maxRange&&i>this.options.maxRange?"lowValue"===this.tracking?this.highValue-this.options.maxRange:this.lowValue+this.options.maxRange:t},applyRestrictedRange:function(t){for(var e in this.options.restrictedRange)if(null!=this.options.restrictedRange[e]&&t>this.options.restrictedRange[e].from&&t<this.options.restrictedRange[e].to){var i=(this.options.restrictedRange[e].to-this.options.restrictedRange[e].from)/2;if("lowValue"===this.tracking)return t>this.options.restrictedRange[e].from+i?this.options.restrictedRange[e].to:this.options.restrictedRange[e].from;if("highValue"===this.tracking)return t<this.options.restrictedRange[e].to-i?this.options.restrictedRange[e].from:this.options.restrictedRange[e].to}return t},applyPushRange:function(t){var e="lowValue"===this.tracking?this.highValue-t:t-this.lowValue,i=null!==this.options.minRange?this.options.minRange:this.options.step,n=this.options.maxRange;return i>e?("lowValue"===this.tracking?(this.highValue=Math.min(t+i,this.maxValue),t=this.highValue-i,this.applyHighValue(),this.updateHandles("highValue",this.valueToPosition(this.highValue))):(this.lowValue=Math.max(t-i,this.minValue),t=this.lowValue+i,this.applyLowValue(),this.updateHandles("lowValue",this.valueToPosition(this.lowValue))),this.updateAriaAttributes()):null!==n&&e>n&&("lowValue"===this.tracking?(this.highValue=t+n,this.applyHighValue(),this.updateHandles("highValue",this.valueToPosition(this.highValue))):(this.lowValue=t-n,this.applyLowValue(),this.updateHandles("lowValue",this.valueToPosition(this.lowValue))),this.updateAriaAttributes()),t},applyModel:function(t){this.internalChange=!0,this.scope.$apply(),t&&this.callOnChange(),this.internalChange=!1},callOnStart:function(){if(this.options.onStart){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync((function(){t.options.onStart(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)}))}},callOnChange:function(){if(this.options.onChange){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync((function(){t.options.onChange(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)}))}},callOnEnd:function(){if(this.options.onEnd){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync((function(){t.options.onEnd(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)}))}this.scope.$emit("slideEnded")}},a}]).directive("rzslider",["RzSlider",function(t){return{restrict:"AE",replace:!0,scope:{rzSliderModel:"=?",rzSliderHigh:"=?",rzSliderOptions:"&?",rzSliderTplUrl:"@"},templateUrl:function(t,e){return e.rzSliderTplUrl||"rzSliderTpl.html"},link:function(e,i){e.slider=new t(e,i)}}}]);return e.run(["$templateCache",function(t){t.put("rzSliderTpl.html",'<div class=rzslider><span class="rz-bar-wrapper rz-left-out-selection"><span class=rz-bar></span></span> <span class="rz-bar-wrapper rz-right-out-selection"><span class=rz-bar></span></span> <span class=rz-bar-wrapper><span class=rz-bar></span></span> <span class=rz-bar-wrapper><span class="rz-bar rz-selection" ng-style=barStyle></span></span> <span class=rz-bar-wrapper><span class="rz-bar rz-restricted" ng-style=restrictionStyle></span></span> <span class="rz-pointer rz-pointer-min" ng-style=minPointerStyle></span> <span class="rz-pointer rz-pointer-max" ng-style=maxPointerStyle></span> <span class="rz-bubble rz-limit rz-floor"></span> <span class="rz-bubble rz-limit rz-ceil"></span> <span class="rz-bubble rz-model-value"></span> <span class="rz-bubble rz-model-high"></span> <span class=rz-bubble></span><ul ng-show=showTicks class=rz-ticks><li ng-repeat="t in ticks track by $index" class=rz-tick ng-class="{\'rz-selected\': t.selected}" ng-style=t.style ng-attr-uib-tooltip="{{ t.tooltip }}" ng-attr-tooltip-placement={{t.tooltipPlacement}} ng-attr-tooltip-append-to-body="{{ t.tooltip ? true : undefined}}"><span ng-if="t.value != null" class=rz-tick-value ng-attr-uib-tooltip="{{ t.valueTooltip }}" ng-attr-tooltip-placement={{t.valueTooltipPlacement}}>{{ t.value }}</span> <span ng-if="t.legend != null" class=rz-tick-legend>{{ t.legend }}</span></li></ul></div>')}]),e.name})?n.apply(e,s):n)||(t.exports=o)}()}}]);
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[36,217,218],{189:function(e,t){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);function n(e){return{getStatus:function(){return e.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return e.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return e.get("rest/rdfrank/filtering")},toggleFiltering:function(t){return e.post("rest/rdfrank/filtering?enabled="+t)},filter:function(t){return e.get("rest/rdfrank/filtering/"+t)},updateFilter:function(t,n){return e.put("rest/rdfrank/filtering/"+t,n)},deleteFilter:function(t,n){return e.delete("rest/rdfrank/filtering/"+t,{data:n,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return e.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(t){return e.post("rest/rdfrank/include-explicit?enabled="+t)},includeImplicit:function(){return e.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(t){return e.post("rest/rdfrank/include-implicit?enabled="+t)},compute:function(){return e.post("rest/rdfrank/compute")},computeIncremental:function(){return e.post("rest/rdfrank/compute-incremental")},interrupt:function(){return e.post("rest/rdfrank/interrupt")}}}n.$inject=["$http"]},270:function(e,t,n){"use strict";n.r(t);n(7),n(24),n(27),n(189),n(419);var r=n(75),i=n(0);angular.module("graphdb.framework.rdfrank",["ngRoute","ngTagsInput","graphdb.framework.utils.uriutils","graphdb.framework.rest.rdfrank.service"]).controller("RDFRankCtrl",["$scope","$interval","toastr","$repositories","$licenseService","$timeout","ClassInstanceDetailsService","UriUtils","RDF4JRepositoriesRestService","RdfRankRestService","$translate",function(e,t,n,o,a,s,c,u,l,g,d){let p;function f(){p&&t.cancel(p)}e.pluginName="rdfrank",e.setPluginIsActive=function(t){e.pluginIsActive=t};const m=function(){g.getStatus().success((function(t){e.currentRankStatus=t})).error((function(e){n.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),g.checkRdfRankPluginEnabled().success((function(t){e.pluginFound=!0===t,e.pluginFound?(l.getNamespaces(o.getActiveRepository()).then(r.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);n.error(t,d.instant("error.getting.namespaces.for.repo"))}),m(),h(),v()):e.loading=!1})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const h=function(){g.checkFilteringEnabled().success((function(t){e.filteringEnabled=t})).error((function(e){n.error(getError(e))}))},v=function(){Object.values(e.filterLists).forEach((function(e){g.filter(e.predicate).success((function(t){return e.elements=t})).error((function(e){n.error(getError(e))}))})),g.includeExplicit().success((function(t){e.includeExplicit=t})).error((function(e){n.error(getError(e))})),g.includeImplicit().success((function(t){e.includeImplicit=t})).error((function(e){n.error(getError(e))}))};e.rdfStatus={CANCELED:"CANCELED",COMPUTED:"COMPUTED",COMPUTING:"COMPUTING",EMPTY:"EMPTY",ERROR:"ERROR",OUTDATED:"OUTDATED",CONFIG_CHANGED:"CONFIG_CHANGED"},e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs"}},e.setLoader=function(t,n){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||d.instant("common.loading")},e.computeRank=function(){e.setLoader(!0,d.instant("rdfrank.full.computation")),g.compute().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.computeIncrementalRank=function(){e.setLoader(!0,d.instant("rdfrank.incremental.computation")),g.computeIncremental().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptComputation=function(){e.setLoader(!0,d.instant("index.interrupt")),g.interrupt().success((function(){m()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return o.getDegradedReason()},e.$on("repositoryIsSet",(function(){f(),a.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),T())})),e.toggleFiltering=function(){g.toggleFiltering(!e.filteringEnabled).success((function(){m(),h(),v()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeExplicit=function(){g.toggleIncludeExplicit(!e.includeExplicit).success((function(){m(),v()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeImplicit=function(){g.toggleIncludeImplicit(!e.includeImplicit).success((function(){m(),v()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))};e.addToList=function(t,r){let o=r.text.toString();if(o=u.expandPrefix(o,e.namespaces),u.isValidIri(r,o)&&""!==o)!function(e,t){const r={iri:t};g.updateFilter(e.predicate,r).success((function(){m(),v()})).error((function(e){n.error(getError(e)),v()}))}(t,o);else{v();const e=Object(i.decodeHTML)(d.instant("not.valid.iri",{value:r.text.toString()}));n.error(e)}};e.deleteFromList=function(t,r){!function(e,t){const r={iri:t};g.deleteFilter(e.predicate,r).success((function(){m(),v()})).error((function(e){n.error(getError(e))}))}(t,r.text,e.namespaces)};const T=function(){p=t((function(){e.$broadcast("checkIsActive"),e.pluginFound&&m()}),5e3)};e.$on("$destroy",(function(){f()}));a.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),T())}])},419:function(e,t){
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[36,217,218],{190:function(e,t){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);function n(e){return{getStatus:function(){return e.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return e.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return e.get("rest/rdfrank/filtering")},toggleFiltering:function(t){return e.post("rest/rdfrank/filtering?enabled="+t)},filter:function(t){return e.get("rest/rdfrank/filtering/"+t)},updateFilter:function(t,n){return e.put("rest/rdfrank/filtering/"+t,n)},deleteFilter:function(t,n){return e.delete("rest/rdfrank/filtering/"+t,{data:n,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return e.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(t){return e.post("rest/rdfrank/include-explicit?enabled="+t)},includeImplicit:function(){return e.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(t){return e.post("rest/rdfrank/include-implicit?enabled="+t)},compute:function(){return e.post("rest/rdfrank/compute")},computeIncremental:function(){return e.post("rest/rdfrank/compute-incremental")},interrupt:function(){return e.post("rest/rdfrank/interrupt")}}}n.$inject=["$http"]},270:function(e,t,n){"use strict";n.r(t);n(7),n(25),n(27),n(190),n(418);var r=n(75),i=n(0);angular.module("graphdb.framework.rdfrank",["ngRoute","ngTagsInput","graphdb.framework.utils.uriutils","graphdb.framework.rest.rdfrank.service"]).controller("RDFRankCtrl",["$scope","$interval","toastr","$repositories","$licenseService","$timeout","ClassInstanceDetailsService","UriUtils","RDF4JRepositoriesRestService","RdfRankRestService","$translate",function(e,t,n,o,a,s,c,u,l,g,d){let p;function f(){p&&t.cancel(p)}e.pluginName="rdfrank",e.setPluginIsActive=function(t){e.pluginIsActive=t};const m=function(){g.getStatus().success((function(t){e.currentRankStatus=t})).error((function(e){n.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),g.checkRdfRankPluginEnabled().success((function(t){e.pluginFound=!0===t,e.pluginFound?(l.getNamespaces(o.getActiveRepository()).then(r.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);n.error(t,d.instant("error.getting.namespaces.for.repo"))}),m(),h(),v()):e.loading=!1})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const h=function(){g.checkFilteringEnabled().success((function(t){e.filteringEnabled=t})).error((function(e){n.error(getError(e))}))},v=function(){Object.values(e.filterLists).forEach((function(e){g.filter(e.predicate).success((function(t){return e.elements=t})).error((function(e){n.error(getError(e))}))})),g.includeExplicit().success((function(t){e.includeExplicit=t})).error((function(e){n.error(getError(e))})),g.includeImplicit().success((function(t){e.includeImplicit=t})).error((function(e){n.error(getError(e))}))};e.rdfStatus={CANCELED:"CANCELED",COMPUTED:"COMPUTED",COMPUTING:"COMPUTING",EMPTY:"EMPTY",ERROR:"ERROR",OUTDATED:"OUTDATED",CONFIG_CHANGED:"CONFIG_CHANGED"},e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs"}},e.setLoader=function(t,n){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||d.instant("common.loading")},e.computeRank=function(){e.setLoader(!0,d.instant("rdfrank.full.computation")),g.compute().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.computeIncrementalRank=function(){e.setLoader(!0,d.instant("rdfrank.incremental.computation")),g.computeIncremental().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptComputation=function(){e.setLoader(!0,d.instant("index.interrupt")),g.interrupt().success((function(){m()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return o.getDegradedReason()},e.$on("repositoryIsSet",(function(){f(),a.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),T())})),e.toggleFiltering=function(){g.toggleFiltering(!e.filteringEnabled).success((function(){m(),h(),v()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeExplicit=function(){g.toggleIncludeExplicit(!e.includeExplicit).success((function(){m(),v()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeImplicit=function(){g.toggleIncludeImplicit(!e.includeImplicit).success((function(){m(),v()})).error((function(e){n.error(getError(e))})).finally((function(){e.setLoader(!1)}))};e.addToList=function(t,r){let o=r.text.toString();if(o=u.expandPrefix(o,e.namespaces),u.isValidIri(r,o)&&""!==o)!function(e,t){const r={iri:t};g.updateFilter(e.predicate,r).success((function(){m(),v()})).error((function(e){n.error(getError(e)),v()}))}(t,o);else{v();const e=Object(i.decodeHTML)(d.instant("not.valid.iri",{value:r.text.toString()}));n.error(e)}};e.deleteFromList=function(t,r){!function(e,t){const r={iri:t};g.deleteFilter(e.predicate,r).success((function(){m(),v()})).error((function(e){n.error(getError(e))}))}(t,r.text,e.namespaces)};const T=function(){p=t((function(){e.$broadcast("checkIsActive"),e.pluginFound&&m()}),5e3)};e.$on("$destroy",(function(){f()}));a.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),T())}])},418:function(e,t){
2
2
  /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,o=38,a=40,s=37,c=39,u=46,l=188,g=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,o,a,p,f){function m(e,t,n,r){var i,o,s,c,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},o=function(t,n){t[e.displayProperty]=n},s=function(t){var r=i(t),o=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return a.when(o&&n({$tag:t})).then(f.promisifyValue)},c=function(e){return a.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return o(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),o(n,r),s(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return c(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==d.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,g],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,g],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(a,g,d,p){var m,h,v=[n,l,i,e,u,s,c],T=a.tagList,y=a.events,x=a.options,$=g.find("input"),b=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!a.hasFocus&&!x.allowLeftoverText)||!a.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},a.newTag={text:function(e){return angular.isDefined(e)?(a.text=e,void y.trigger("input-change",e)):a.text||""},invalid:null},a.track=function(e){return e[x.keyProperty||x.displayProperty]},a.getTagClass=function(e,t){var n=e===T.selected;return[a.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},a.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;a.tags=T.items}else T.items=[]})),a.$watch("tags.length",(function(){m(),p.$validate()})),d.$observe("disabled",(function(e){a.disabled=e})),a.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){a.hasFocus||(a.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=g[0].contains(e);(t||!n)&&(a.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):o.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){a.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",a.onTagAdded).on("invalid-tag",a.onInvalidTag).on("tag-removed",a.onTagRemoved).on("tag-clicked",a.onTagClicked).on("tag-added",(function(){a.newTag.text("")})).on("tag-added tag-removed",(function(){a.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){a.newTag.invalid=!0})).on("option-change",(function(e){-1!==b.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),a.newTag.invalid=null})).on("input-focus",(function(){g.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(a.newTag.text()),g.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,o,g,d,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],o=(p===e||p===u)&&T.selected,d=p===e&&0===a.newTag.text().length&&x.enableEditingLastTag,g=(p===e||p===s||p===c)&&0===a.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(a.newTag.text()):d?(T.selectPrior(),T.removeSelected().then((function(e){e&&a.newTag.text(e[x.displayProperty])}))):o?T.removeSelected():g&&(p===s||p===e?T.selectPrior():p===c&&T.selectNext()),(r||g||o||d)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var o=i.registerTagItem(),a=o.getOptions();t.$$template=a.template,t.$$removeTagSymbol=a.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[a.displayProperty])},t.$removeTag=function(){o.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,s,c,u,l){function g(e,t,n){var r,i,o,a={};return o=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,o(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},a.reset=function(){i=null,a.items=[],a.visible=!1,a.index=-1,a.selected=null,a.query=null},a.show=function(){t.selectFirstMatch?a.select(0):a.selected=null,a.visible=!0},a.load=l.debounce((function(n,s){a.query=n;var u=c.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,o()),e=r(e,s),a.items=e.slice(0,t.maxResultsToShow),a.items.length>0?a.show():a.reset())}))}),t.debounceDelay),a.selectNext=function(){a.select(++a.index)},a.selectPrior=function(){a.select(--a.index)},a.select=function(e){0>e?e=a.items.length-1:e>=a.items.length&&(e=0),a.index=e,a.selected=a.items[e],n.trigger("suggestion-selected",e)},a.reset(),a}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new g(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,s,c){var u,g=[n,t,r,o,a],d=e.suggestionList,p=c.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){d.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return d.selected&&(p.addTag(angular.copy(d.selected)),d.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===d.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){d.reset()})).on("input-change",(function(e){u(e)?d.load(e,p.getTags()):d.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(i){var s=i.keyCode,c=!1;if(!l.isModifierOn(i)&&-1!==g.indexOf(s))return d.visible?s===a?(d.selectNext(),c=!0):s===o?(d.selectPrior(),c=!0):s===r?(d.reset(),c=!0):(s===n||s===t)&&(c=e.addSuggestion()):s===a&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),c=!0),c?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),o=n.prop("offsetHeight"),a=r.prop("clientHeight"),s=r.prop("scrollTop");s>i?r.prop("scrollTop",i):i+o>a+s&&r.prop("scrollTop",i+o-a)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,o){var a=o.registerAutocompleteMatch(),s=a.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,a.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var o,a,s=e.getTextAutosizeThreshold();(o=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(o),a=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(o.text(i),o.css("display",""),t=o.prop("offsetWidth"),o.css("display","none")),n.css("width",t?t+s+"px":""),e},i.$parsers.unshift(a),i.$formatters.unshift(a),r.$observe("placeholder",(function(e){i.$modelValue||a(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,o,a,s){var c=function(){return!0};o.options={},angular.forEach(s,(function(s,u){var l,g,d,p,f,m;l=s[0],g=s[1],d=s[2]||c,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:g},m=function(e){o.options[u]=e&&d(e)?p(e):f()},t[n]&&t[n][u]?a.$observe(u,(function(e){m(e),o.events.trigger("option-change",{name:u,newValue:e})})):m(a[u]&&r(a[u])(o.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var o=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(o=e,!0):void 0})),o},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},75:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[37,99,194,195],{185:function(e,a,n){"use strict";n.r(a);n(7),n(26),n(25),n(31);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},186:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},262:function(e,a,n){"use strict";n.r(a);n(7),n(24),n(25),n(185),n(186),n(77),n(483);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])},77:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",(function(){return{template:'<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true"></uib-pagination>'}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[37,99,195,196],{186:function(e,a,n){"use strict";n.r(a);n(7),n(26),n(24),n(31);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},187:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},262:function(e,a,n){"use strict";n.r(a);n(7),n(25),n(24),n(186),n(187),n(77),n(482);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])},77:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",(function(){return{template:'<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true"></uib-pagination>'}}))}}]);